去掉排序

This commit is contained in:
zhangdingyu
2019-10-23 13:52:05 +08:00
parent 109c1ada91
commit ca6f5b5936
10 changed files with 96 additions and 99 deletions

View File

@@ -31,7 +31,7 @@
height="400px"
size="mini"
@row-click="searchTable2">
<el-table-column label="采购合同编号" sortable prop="采购合同编号" align="center" min-width="100">
<el-table-column label="采购合同编号" prop="采购合同编号" align="center" min-width="100">
<template slot-scope="scope">
{{ scope.row.采购合同编号 }}
</template>
@@ -41,17 +41,17 @@
{{ scope.row.采购合同名称 }}
</template>
</el-table-column>
<el-table-column label="交货日期" sortable prop="交货日期" align="center" min-width="100">
<el-table-column label="交货日期" prop="交货日期" align="center" min-width="100">
<template slot-scope="scope">
{{ scope.row.交货日期 }}
</template>
</el-table-column>
<el-table-column label="供应商" sortable prop="供应商名称" align="center" min-width="150">
<el-table-column label="供应商" prop="供应商名称" align="center" min-width="150">
<template slot-scope="scope">
{{ scope.row.供应商名称 }}
</template>
</el-table-column>
<el-table-column label="采购员" sortable prop="姓名" align="center" min-width="70">
<el-table-column label="采购员" prop="姓名" align="center" min-width="70">
<template slot-scope="scope">
{{ scope.row.姓名 }}
</template>

View File

@@ -134,7 +134,7 @@
<!--{{ scope.row.项目名称 }}-->
<!--</template>-->
<!--</el-table-column>-->
<el-table-column label="机床图号" sortable align="center" min-width="100" prop="机床图号">
<el-table-column label="机床图号" align="center" min-width="100" prop="机床图号">
<template slot-scope="scope">
{{ scope.row.机床图号 }}
</template>
@@ -159,17 +159,17 @@
<!--{{ scope.row.物料品种 }}-->
<!--</template>-->
<!--</el-table-column>-->
<el-table-column label="名称" sortable align="center" min-width="100" prop="名称">
<el-table-column label="名称" align="center" min-width="100" prop="名称">
<template slot-scope="scope">
{{ scope.row.物料名称 }}
</template>
</el-table-column>
<el-table-column label="图号或型号" sortable align="center" min-width="120" prop="物料型号">
<el-table-column label="图号或型号" align="center" min-width="120" prop="物料型号">
<template slot-scope="scope">
{{ scope.row.物料型号 }}
</template>
</el-table-column>
<el-table-column label="规格" sortable align="center" min-width="150" prop="物料规格">
<el-table-column label="规格" align="center" min-width="150" prop="物料规格">
<template slot-scope="scope">
{{ scope.row.物料规格 }}
</template>
@@ -472,7 +472,7 @@
<!--<el-row style="margin-bottom: 10px">-->
<!--<el-table v-loading="" :data="tableData13" size="mini" style="max-height: 600px" height="500px" border stripe @selection-change="handleSelectionChange3">-->
<!--<el-table-column :selectable="selectable" align="center" type="selection"/>-->
<!--<el-table-column align="center" label="采购情况" sortable prop="询价状态编号" min-width="100px">-->
<!--<el-table-column align="center" label="采购情况" prop="询价状态编号" min-width="100px">-->
<!--<template slot-scope="scope">-->
<!--<el-tag v-if="scope.row.人员编号===''" type="primary" size="small">未分配</el-tag>-->
<!--<el-tag v-if="parseInt(scope.row.询价状态编号)===1&&scope.row.人员编号!==''" type="warning" size="small">未询价</el-tag>-->
@@ -480,12 +480,12 @@
<!--<el-tag v-if="parseInt(scope.row.采购状态编号)===3" type="info" size="small">已采购</el-tag>-->
<!--</template>-->
<!--</el-table-column>-->
<!--<el-table-column align="center" label="项目名称" sortable prop="项目名称" min-width="100px">-->
<!--<el-table-column align="center" label="项目名称" prop="项目名称" min-width="100px">-->
<!--<template slot-scope="scope">-->
<!--{{ scope.row.项目名称 }}-->
<!--</template>-->
<!--</el-table-column>-->
<!--<el-table-column align="center" sortable prop="机床图号" label="机床图号" min-width="100px">-->
<!--<el-table-column align="center" prop="机床图号" label="机床图号" min-width="100px">-->
<!--<template slot-scope="scope">-->
<!--{{ scope.row.机床图号 }}-->
<!--</template>-->
@@ -495,27 +495,27 @@
<!--{{ scope.row.组号 }}-->
<!--</template>-->
<!--</el-table-column>-->
<!--<el-table-column align="center" sortable prop="物料类别" label="物料类别" min-width="100px">-->
<!--<el-table-column align="center" prop="物料类别" label="物料类别" min-width="100px">-->
<!--<template slot-scope="scope">-->
<!--{{ scope.row.物料类别 }}-->
<!--</template>-->
<!--</el-table-column>-->
<!--<el-table-column align="center" sortable prop="物料品种" label="物料品种" min-width="100px">-->
<!--<el-table-column align="center" prop="物料品种" label="物料品种" min-width="100px">-->
<!--<template slot-scope="scope">-->
<!--{{ scope.row.物料品种 }}-->
<!--</template>-->
<!--</el-table-column>-->
<!--<el-table-column align="center" sortable prop="物料型号" label="图号或型号" min-width="110px">-->
<!--<el-table-column align="center" prop="物料型号" label="图号或型号" min-width="110px">-->
<!--<template slot-scope="scope">-->
<!--{{ scope.row.物料型号 }}-->
<!--</template>-->
<!--</el-table-column>-->
<!--<el-table-column align="center" sortable prop="物料名称" label="名称" min-width="100px">-->
<!--<el-table-column align="center" prop="物料名称" label="名称" min-width="100px">-->
<!--<template slot-scope="scope">-->
<!--{{ scope.row.物料名称 }}-->
<!--</template>-->
<!--</el-table-column>-->
<!--<el-table-column align="center" sortable prop="物料规格" label="规格" min-width="100px">-->
<!--<el-table-column align="center" prop="物料规格" label="规格" min-width="100px">-->
<!--<template slot-scope="scope">-->
<!--{{ scope.row.物料规格 }}-->
<!--</template>-->
@@ -530,7 +530,7 @@
<!--{{ scope.row.备注 }}-->
<!--</template>-->
<!--</el-table-column>-->
<!--<el-table-column align="center" sortable prop="供货商" label="供货商" min-width="100px">-->
<!--<el-table-column align="center" prop="供货商" label="供货商" min-width="100px">-->
<!--<template slot-scope="scope">-->
<!--{{ scope.row.供货商 }}-->
<!--</template>-->

View File

@@ -2,7 +2,7 @@
<div class="components-container">
<el-card>
<el-row>
<span> &nbsp;:</span>
<!--<span> &nbsp;:</span>-->
<el-select v-model="supplierValue11" clearable filterable size="small" placeholder="供应商" @focus="fetchData11()" @change="selectHetong()">
<el-option
v-for="item in supplier11"
@@ -10,7 +10,7 @@
:label="item.label"
:value="item.value"/>
</el-select>
<span>合同编号:</span>
<!--<span>合同编号:</span>-->
<el-select v-model="contractNumValue" filterable size="small" placeholder="合同编号" @change="contractChange">
<el-option
v-for="item in contractNums"
@@ -18,7 +18,7 @@
:label="item.label"
:value="item.value"/>
</el-select>
<span>|| :</span>
<!--<span>|| :</span>-->
<el-select v-model="supplierValue" clearable filterable size="small" placeholder="供应商" @focus="fetchData" @change="supplierChange9745">
<el-option
v-for="item in supplier"
@@ -26,9 +26,9 @@
:label="item.label"
:value="item.value"/>
</el-select>
<span>合同名称:</span>
<!--<span>合同名称:</span>-->
<el-input v-model="contractName" size="small"/>
<span>是否含税:</span>
<!--<span>是否含税:</span>-->
<el-input v-model="taxRate" size="small"/>
<el-tooltip :content="hasTax" placement="top">
<el-switch
@@ -40,15 +40,15 @@
</el-tooltip>
</el-row>
<el-row style="margin-top: 10px">
<span>交货日期:</span>
<!--<span>交货日期:</span>-->
<el-input v-model="deliveryDate" :disabled="!contractNumValue" size="small" type="textarea" rows="1" @blur="contractHeaderChange"/>
<span>开票信息:</span>
<!--<span>开票信息:</span>-->
<el-input v-model="invoiceInfo" :disabled="!contractNumValue" size="small" type="textarea" rows="1" @blur="contractHeaderChange"/>
<span>支付 日期:</span>
<!--<span>支付 日期:</span>-->
<el-input v-model="payDate" :disabled="!contractNumValue" size="small" type="textarea" rows="1" @blur="contractHeaderChange"/>
<span>支付方式:</span>
<!--<span>支付方式:</span>-->
<el-input v-model="payMethod" :disabled="!contractNumValue" size="small" type="textarea" rows="1" @blur="contractHeaderChange"/>
<span>其他说明:</span>
<!--<span>其他说明:</span>-->
<el-input v-model="otherInfo" :disabled="!contractNumValue" size="small" type="textarea" rows="1" @blur="contractHeaderChange"/>
<el-button v-if="quickChangePrice" size="mini" style="margin: 0px 0 0 10px" @click="quickChangePrice=!quickChangePrice">快速修改价格</el-button>
<el-button v-else size="mini" style="margin: 10px 0 0 10px" @click="quickChangePrice=!quickChangePrice">还原</el-button>

View File

@@ -42,29 +42,29 @@
size="mini"
@selection-change="handleSelectionChange1">
<el-table-column :selectable="selectable" align="center" width="50" type="selection"/>
<el-table-column label="物料状态" sortable prop="询价状态编号" align="center" width="100">
<el-table-column label="物料状态" prop="询价状态编号" align="center" width="100">
<template slot-scope="scope">
<el-tag v-if="parseInt(scope.row.询价状态编号)===1" type="warning" size="small">未询价</el-tag>
<el-tag v-if="parseInt(scope.row.询价状态编号)===3&&parseInt(scope.row.采购状态编号)!==3" type="success" size="small">已询价</el-tag>
<el-tag v-if="parseInt(scope.row.询价状态编号)!==1&&parseInt(scope.row.采购状态编号)===3" type="info" size="small" @click="unbindPart(scope.row)">已采购</el-tag>
</template>
</el-table-column>
<el-table-column :filters="supplierFilters" :filter-method="filterHandler" sortable prop="供货商" label="供货商" align="center" min-width="100">
<el-table-column :filters="supplierFilters" :filter-method="filterHandler" prop="供货商" label="供货商" align="center" min-width="100">
<template slot-scope="scope">
{{ scope.row.供货商 }}
</template>
</el-table-column>
<el-table-column label="任务分配时间" sortable prop="任务分配时间" align="center" min-width="120">
<el-table-column label="任务分配时间" prop="任务分配时间" align="center" min-width="120">
<template slot-scope="scope">
{{ scope.row.任务分配时间.split(' ')[0] }}
</template>
</el-table-column>
<el-table-column label="机床图号" sortable prop="机床图号" align="center" min-width="100">
<el-table-column label="机床图号" prop="机床图号" align="center" min-width="100">
<template slot-scope="scope">
{{ scope.row.机床图号 }}
</template>
</el-table-column>
<el-table-column label="组号" sortable prop="组号" align="center" min-width="80">
<el-table-column label="组号" prop="组号" align="center" min-width="80">
<template slot-scope="scope">
{{ scope.row.组号 }}
</template>
@@ -74,22 +74,22 @@
{{ scope.row.物料类别 }}
</template>
</el-table-column>
<el-table-column label="物料品种" sortable prop="物料品种" align="center" min-width="100">
<el-table-column label="物料品种" prop="物料品种" align="center" min-width="100">
<template slot-scope="scope">
{{ scope.row.物料品种 }}
</template>
</el-table-column>
<el-table-column label="名称" align="center" sortable prop="物料名称" min-width="100" show-overflow-tooltip>
<el-table-column label="名称" align="center" prop="物料名称" min-width="100" show-overflow-tooltip>
<template slot-scope="scope">
{{ scope.row.物料名称 }}
</template>
</el-table-column>
<el-table-column label="图号或型号" sortable prop="物料型号" align="center" min-width="100">
<el-table-column label="图号或型号" prop="物料型号" align="center" min-width="100">
<template slot-scope="scope">
{{ scope.row.物料型号 }}
</template>
</el-table-column>
<el-table-column label="规格" align="center" sortable prop="物料规格" min-width="200" show-overflow-tooltip>
<el-table-column label="规格" align="center" prop="物料规格" min-width="200" show-overflow-tooltip>
<template slot-scope="scope">
{{ scope.row.物料规格 }}
</template>
@@ -296,7 +296,7 @@
<el-tag v-if="arrival(scope.row)" type="success" size="small">全部到货</el-tag>
</template>
</el-table-column>
<el-table-column label="离线合同编号" sortable prop="离线合同编号" align="center" min-width="170">
<el-table-column label="离线合同编号" prop="离线合同编号" align="center" min-width="170">
<template slot-scope="scope">
{{ scope.row.离线合同编号 }}
</template>
@@ -306,17 +306,17 @@
{{ scope.row.离线合同名称 }}
</template>
</el-table-column>
<el-table-column label="供应商" sortable prop="供应商名称" align="center" min-width="250" show-overflow-tooltip>
<el-table-column label="供应商" prop="供应商名称" align="center" min-width="250" show-overflow-tooltip>
<template slot-scope="scope">
{{ scope.row.供应商名称 }}
</template>
</el-table-column>
<el-table-column label="采购员" sortable prop="采购员" align="center" min-width="80">
<el-table-column label="采购员" prop="采购员" align="center" min-width="80">
<template slot-scope="scope">
{{ scope.row.采购员 }}
</template>
</el-table-column>
<el-table-column label="创建日期" sortable prop="创建日期" align="center" width="100">
<el-table-column label="创建日期" prop="创建日期" align="center" width="100">
<template slot-scope="scope">
{{ scope.row.创建日期.split(' ')[0] }}
</template>

View File

@@ -33,17 +33,17 @@
</div>
<h3 style="margin-top: 0">请款表</h3>
<el-table v-loading="" :data="tableData1" border style="max-height: 500px;" height="500px" size="mini" stripe>
<el-table-column label="供应商" sortable prop="供应商名称" align="center" min-width="250" show-overflow-tooltip>
<el-table-column label="供应商" prop="供应商名称" align="center" min-width="250" show-overflow-tooltip>
<template slot-scope="scope">
{{ scope.row.供应商名称 }}
</template>
</el-table-column>
<el-table-column label="请款时间" sortable prop="。请款时间" align="center" min-width="150">
<el-table-column label="请款时间" prop="。请款时间" align="center" min-width="150">
<template slot-scope="scope">
{{ scope.row.请款时间 }}
</template>
</el-table-column>
<el-table-column label="请款人" sortable prop="姓名" align="center" min-width="80">
<el-table-column label="请款人" prop="姓名" align="center" min-width="80">
<template slot-scope="scope">
{{ scope.row.姓名 }}
</template>

View File

@@ -54,7 +54,7 @@
</el-form>
</template>
</el-table-column>
<el-table-column label="采购合同号" sortable prop="采购合同编号" align="center" min-width="100">
<el-table-column label="采购合同号" prop="采购合同编号" align="center" min-width="100">
<template slot-scope="scope">
{{ scope.row.采购合同编号 }}
</template>
@@ -64,32 +64,32 @@
{{ scope.row.采购合同名称 }}
</template>
</el-table-column>
<el-table-column label="供应商" sortable prop="供应商名称" align="center" min-width="150">
<el-table-column label="供应商" prop="供应商名称" align="center" min-width="150">
<template slot-scope="scope">
{{ scope.row.供应商名称 }}
</template>
</el-table-column>
<el-table-column label="采购员" sortable prop="姓名" align="center" min-width="60">
<el-table-column label="采购员" prop="姓名" align="center" min-width="60">
<template slot-scope="scope">
{{ scope.row.姓名 }}
</template>
</el-table-column>
<el-table-column label="合同总额" sortable prop="合同金额" align="center" min-width="70" fixed="right">
<el-table-column label="合同总额" prop="合同金额" align="center" min-width="70" fixed="right">
<template slot-scope="scope">
{{ scope.row.合同总额 }}
</template>
</el-table-column>
<el-table-column label="欠款金额" sortable prop="已付金额" align="center" min-width="70" fixed="right">
<el-table-column label="欠款金额" prop="已付金额" align="center" min-width="70" fixed="right">
<template slot-scope="scope">
{{ (Number(scope.row.合同总额)-Number(scope.row.已付金额)).toFixed(2) }}
</template>
</el-table-column>
<el-table-column label="已付金额" sortable prop="已付金额" align="center" min-width="70" fixed="right">
<el-table-column label="已付金额" prop="已付金额" align="center" min-width="70" fixed="right">
<template slot-scope="scope">
{{ Number(scope.row.已付金额).toFixed(2) }}
</template>
</el-table-column>
<el-table-column label="付款进度" sortable prop="付款进度" align="center" min-width="150" fixed="right">
<el-table-column label="付款进度" prop="付款进度" align="center" min-width="150" fixed="right">
<template slot-scope="scope">
<el-progress
:text-inside="true"

View File

@@ -19,7 +19,7 @@
</div>
<h3>付款计划</h3>
<el-table :data="tableData0" size="mini" border style="max-height: 250px;" height="250px" highlight-current-row @row-click="searchContract">
<el-table-column label="计划状态" sortable prop="计划付款日期" width="100" align="center">
<el-table-column label="计划状态" prop="计划付款日期" width="100" align="center">
<template slot-scope="scope">
<el-tag v-if="timeToStamp(scope.row.计划付款日期) <= getDate" type="danger" size="small">已拖期</el-tag>
<el-tag v-if="timeToStamp(scope.row.计划付款日期) > getDate" type="success" size="small">未拖期</el-tag>
@@ -40,17 +40,17 @@
{{ scope.row.计划付款备注 }}
</template>
</el-table-column>
<el-table-column label="采购合同编号" sortable prop="采购合同编号" min-width="100" align="center" show-overflow-tooltip>
<el-table-column label="采购合同编号" prop="采购合同编号" min-width="100" align="center" show-overflow-tooltip>
<template slot-scope="scope">
{{ scope.row.采购合同编号 }}
</template>
</el-table-column>
<el-table-column label="采购合同名称" sortable prop="采购合同名称" min-width="100" align="center">
<el-table-column label="采购合同名称" prop="采购合同名称" min-width="100" align="center">
<template slot-scope="scope">
{{ scope.row.采购合同名称 }}
</template>
</el-table-column>
<el-table-column label="供应商" sortable prop="供应商名称" min-width="150" align="center">
<el-table-column label="供应商" prop="供应商名称" min-width="150" align="center">
<template slot-scope="scope">
{{ scope.row.供应商名称 }}
</template>
@@ -86,17 +86,17 @@
</div>
<h3>请款表</h3>
<el-table v-loading="" :data="tableData1" border style="max-height: 500px;" height="500px" size="mini" stripe>
<el-table-column label="供应商" sortable prop="供应商名称" align="center" min-width="250" show-overflow-tooltip>
<el-table-column label="供应商" prop="供应商名称" align="center" min-width="250" show-overflow-tooltip>
<template slot-scope="scope">
{{ scope.row.供应商名称 }}
</template>
</el-table-column>
<el-table-column label="请款时间" sortable prop="请款时间" align="center" min-width="150">
<el-table-column label="请款时间" prop="请款时间" align="center" min-width="150">
<template slot-scope="scope">
{{ scope.row.请款时间 }}
</template>
</el-table-column>
<el-table-column label="请款人" sortable prop="姓名" align="center" min-width="80">
<el-table-column label="请款人" prop="姓名" align="center" min-width="80">
<template slot-scope="scope">
{{ scope.row.姓名 }}
</template>

View File

@@ -110,7 +110,7 @@
</el-form>
</template>
</el-table-column>
<el-table-column label="供应商" sortable prop="供应商名称" align="center" width="150" show-overflow-tooltip>
<el-table-column label="供应商" prop="供应商名称" align="center" width="150" show-overflow-tooltip>
<template slot-scope="scope">
{{ scope.row.供应商名称 }}
</template>
@@ -120,19 +120,19 @@
{{ scope.row.采购合同名称 }}
</template>
</el-table-column>
<el-table-column label="采购合同号" sortable prop="采购合同编号" align="center" min-width="160">
<el-table-column label="采购合同号" prop="采购合同编号" align="center" min-width="160">
<template slot-scope="scope">
{{ scope.row.采购合同编号 }}
</template>
</el-table-column>
<el-table-column label="审核情况" sortable prop="审核情况内容" align="center" min-width="100">
<el-table-column label="审核情况" prop="审核情况内容" align="center" min-width="100">
<template slot-scope="scope">
<el-tag v-if="scope.row.审核情况内容==='未审核'" type="primary" size="small">未审核</el-tag>
<el-tag v-if="scope.row.审核情况内容==='通过审核'" type="success" size="small">已通过</el-tag>
<el-tag v-if="scope.row.审核情况内容==='未通过审核'" type="danger" size="small">未通过</el-tag>
</template>
</el-table-column>
<el-table-column label="审批情况" sortable prop="审批情况内容" align="center" min-width="100">
<el-table-column label="审批情况" prop="审批情况内容" align="center" min-width="100">
<template slot-scope="scope">
<el-tag v-if="scope.row.审批情况内容==='未审批'" type="primary" size="small">未审批</el-tag>
<el-tag v-if="scope.row.审批情况内容==='通过审批'" type="success" size="small">已通过</el-tag>
@@ -166,7 +166,7 @@
<span v-else></span>
</template>
</el-table-column>
<el-table-column label="采购员" sortable prop="姓名" align="center" min-width="90">
<el-table-column label="采购员" prop="姓名" align="center" min-width="90">
<template slot-scope="scope">
{{ scope.row.姓名 }}
</template>

View File

@@ -39,7 +39,7 @@
<el-tabs v-model="PartType" type="border-card" @tab-click="searchTable()">
<el-tab-pane label="标准件" name="标准件">
<el-table :data="tableData0" size="mini" style="max-height: 600px" height="600px" border stripe>
<el-table-column align="center" sortable prop="询价状态编号" label="采购状态" width="100px">
<el-table-column align="center" prop="询价状态编号" label="采购状态" width="100px">
<template slot-scope="scope">
<el-tag v-if="!scope.row.人员编号" type="primary" size="small">未分配</el-tag>
<el-tag v-if="parseInt(scope.row.询价状态编号)===1&&scope.row.人员编号!==''" type="warning" size="small">未询价</el-tag>
@@ -47,17 +47,17 @@
<el-tag v-if="parseInt(scope.row.询价状态编号)===3&&parseInt(scope.row.采购状态编号)===3" type="info" size="small">已采购</el-tag>
</template>
</el-table-column>
<el-table-column align="center" label="机床图号" sortable prop="机床图号" width="100px" show-overflow-tooltip>
<el-table-column align="center" label="机床图号" prop="机床图号" width="100px" show-overflow-tooltip>
<template slot-scope="scope">
{{ scope.row.机床图号 }}
</template>
</el-table-column>
<el-table-column align="center" label="组号" sortable prop="组号" width="80px">
<el-table-column align="center" label="组号" prop="组号" width="80px">
<template slot-scope="scope">
{{ scope.row.组号 }}
</template>
</el-table-column>
<el-table-column align="center" label="名称" sortable prop="物料名称" width="100px" show-overflow-tooltip>
<el-table-column align="center" label="名称" prop="物料名称" width="100px" show-overflow-tooltip>
<template slot-scope="scope">
{{ scope.row.物料名称 }}
</template>
@@ -67,12 +67,12 @@
{{ scope.row.物料型号 }}
</template>
</el-table-column>
<el-table-column align="center" label="规格" sortable prop="物料规格" min-width="200px" show-overflow-tooltip>
<el-table-column align="center" label="规格" prop="物料规格" min-width="200px" show-overflow-tooltip>
<template slot-scope="scope">
{{ scope.row.物料规格 }}
</template>
</el-table-column>
<el-table-column align="center" label="供货商" sortable prop="供货商" min-width="100px" show-overflow-tooltip>
<el-table-column align="center" label="供货商" prop="供货商" min-width="100px" show-overflow-tooltip>
<template slot-scope="scope">
{{ scope.row.供货商 || '—' }}
</template>
@@ -97,7 +97,7 @@
{{ parseInt(scope.row.询价状态编号)===1&&scope.row.人员编号!=='' ? '—' : scope.row.已到货数量 || scope.row.离线到货数量 || '—' }}
</template>
</el-table-column>
<el-table-column align="center" label="供应商" sortable prop="供应商名称" min-width="150px" show-overflow-tooltip>
<el-table-column align="center" label="供应商" prop="供应商名称" min-width="150px" show-overflow-tooltip>
<template slot-scope="scope">
{{ parseInt(scope.row.询价状态编号)===1&&scope.row.人员编号!=='' ? '—' : scope.row.供应商名称 || scope.row.离线合同供应商名称 || '—' }}
</template>
@@ -127,7 +127,7 @@
</el-tab-pane>
<el-tab-pane label="外购件" name="外购件">
<el-table :data="tableData1" size="mini" style="max-height: 600px" height="600px" border stripe>
<el-table-column align="center" label="采购状态" sortable prop="询价状态编号" width="100px">
<el-table-column align="center" label="采购状态" prop="询价状态编号" width="100px">
<template slot-scope="scope">
<el-tag v-if="!scope.row.人员编号" type="primary" size="small">未分配</el-tag>
<el-tag v-if="parseInt(scope.row.询价状态编号)===1&&scope.row.人员编号!==''" type="warning" size="small">未询价</el-tag>
@@ -135,17 +135,17 @@
<el-tag v-if="parseInt(scope.row.询价状态编号)===3&&parseInt(scope.row.采购状态编号)===3" type="info" size="small">已采购</el-tag>
</template>
</el-table-column>
<el-table-column align="center" label="机床图号" sortable prop="机床图号" width="100px" show-overflow-tooltip>
<el-table-column align="center" label="机床图号" prop="机床图号" width="100px" show-overflow-tooltip>
<template slot-scope="scope">
{{ scope.row.机床图号 }}
</template>
</el-table-column>
<el-table-column align="center" label="组号" sortable prop="组号" width="80px">
<el-table-column align="center" label="组号" prop="组号" width="80px">
<template slot-scope="scope">
{{ scope.row.组号 }}
</template>
</el-table-column>
<el-table-column align="center" label="名称" sortable prop="物料名称" width="100px" show-overflow-tooltip>
<el-table-column align="center" label="名称" prop="物料名称" width="100px" show-overflow-tooltip>
<template slot-scope="scope">
{{ scope.row.物料名称 }}
</template>
@@ -155,12 +155,12 @@
{{ scope.row.物料型号 }}
</template>
</el-table-column>
<el-table-column align="center" label="规格" sortable prop="物料规格" min-width="200px" show-overflow-tooltip>
<el-table-column align="center" label="规格" prop="物料规格" min-width="200px" show-overflow-tooltip>
<template slot-scope="scope">
{{ scope.row.物料规格 }}
</template>
</el-table-column>
<el-table-column align="center" label="供货商" sortable prop="供货商" min-width="100px" show-overflow-tooltip>
<el-table-column align="center" label="供货商" prop="供货商" min-width="100px" show-overflow-tooltip>
<template slot-scope="scope">
{{ scope.row.供货商 || '—' }}
</template>
@@ -185,7 +185,7 @@
{{ parseInt(scope.row.询价状态编号)===1&&scope.row.人员编号!=='' ? '—' : scope.row.已到货数量 || scope.row.离线到货数量 || '—' }}
</template>
</el-table-column>
<el-table-column align="center" label="供应商" sortable prop="供应商名称" min-width="150px" show-overflow-tooltip>
<el-table-column align="center" label="供应商" prop="供应商名称" min-width="150px" show-overflow-tooltip>
<template slot-scope="scope">
{{ parseInt(scope.row.询价状态编号)===1&&scope.row.人员编号!=='' ? '—' : scope.row.供应商名称 || scope.row.离线合同供应商名称 || '—' }}
</template>
@@ -215,7 +215,7 @@
</el-tab-pane>
<el-tab-pane label="基本件" name="基本件">
<el-table :data="tableData2" size="mini" style="max-height: 600px" height="600px" border stripe>
<el-table-column align="center" label="采购状态" sortable prop="询价状态编号" width="100px">
<el-table-column align="center" label="采购状态" prop="询价状态编号" width="100px">
<template slot-scope="scope">
<el-tag v-if="!scope.row.人员编号" type="primary" size="small">未分配</el-tag>
<el-tag v-if="parseInt(scope.row.询价状态编号)===1&&scope.row.人员编号!==''" type="warning" size="small">未询价</el-tag>
@@ -223,17 +223,17 @@
<el-tag v-if="parseInt(scope.row.询价状态编号)===3&&parseInt(scope.row.采购状态编号)===3" type="info" size="small">已采购</el-tag>
</template>
</el-table-column>
<el-table-column align="center" label="机床图号" sortable prop="机床图号" width="100px" show-overflow-tooltip>
<el-table-column align="center" label="机床图号" prop="机床图号" width="100px" show-overflow-tooltip>
<template slot-scope="scope">
{{ scope.row.机床图号 }}
</template>
</el-table-column>
<el-table-column align="center" label="组号" sortable prop="组号" width="80px">
<el-table-column align="center" label="组号" prop="组号" width="80px">
<template slot-scope="scope">
{{ scope.row.组号 }}
</template>
</el-table-column>
<el-table-column align="center" label="名称" sortable prop="物料名称" min-width="100px" show-overflow-tooltip>
<el-table-column align="center" label="名称" prop="物料名称" min-width="100px" show-overflow-tooltip>
<template slot-scope="scope">
{{ scope.row.零件名称 }}
</template>
@@ -243,7 +243,7 @@
{{ scope.row.零件图号 }}
</template>
</el-table-column>
<el-table-column align="center" label="规格" sortable prop="规格" min-width="100px" show-overflow-tooltip>
<el-table-column align="center" label="规格" prop="规格" min-width="100px" show-overflow-tooltip>
<template slot-scope="scope">
{{ scope.row.规格 }}
</template>
@@ -253,7 +253,7 @@
{{ scope.row.材料 }}
</template>
</el-table-column>
<el-table-column align="center" label="供货商" sortable prop="供货商" min-width="100px" show-overflow-tooltip>
<el-table-column align="center" label="供货商" prop="供货商" min-width="100px" show-overflow-tooltip>
<template slot-scope="scope">
{{ scope.row.供货商 || '—' }}
</template>
@@ -278,7 +278,7 @@
{{ parseInt(scope.row.询价状态编号)===1&&scope.row.人员编号!=='' ? '—' : scope.row.已到货数量 || '—' }}
</template>
</el-table-column>
<el-table-column align="center" label="供应商" sortable prop="供应商名称" min-width="100px" show-overflow-tooltip>
<el-table-column align="center" label="供应商" prop="供应商名称" min-width="100px" show-overflow-tooltip>
<template slot-scope="scope">
{{ parseInt(scope.row.询价状态编号)===1&&scope.row.人员编号!=='' ? '—' : scope.row.供应商名称 || '—' }}
</template>

View File

@@ -70,17 +70,17 @@
</el-table>
</template>
</el-table-column>
<el-table-column label="采购合同编号" sortable prop="采购合同编号" align="center" min-width="100">
<el-table-column label="采购合同编号" prop="采购合同编号" align="center" min-width="100">
<template slot-scope="scope">
{{ scope.row.采购合同编号 }}
</template>
</el-table-column>
<el-table-column label="采购合同名称" sortable prop="采购合同名称" align="center" min-width="100">
<el-table-column label="采购合同名称" prop="采购合同名称" align="center" min-width="100">
<template slot-scope="scope">
{{ scope.row.采购合同名称 }}
</template>
</el-table-column>
<el-table-column label="供应商" sortable prop="供应商名称" align="center" min-width="200">
<el-table-column label="供应商" prop="供应商名称" align="center" min-width="200">
<template slot-scope="scope">
{{ scope.row.供应商名称 }}
</template>
@@ -302,18 +302,15 @@ export default {
margin: 0
}
.subTableHeader {
th {
background: #8ff4ea !important;
color: black;
th {
background: #8ff4ea !important;
color: black;
}
tr.el-table__row td {
background-color: #d8e5f6 !important;
}
tr.el-table__row.el-table__row--striped td {
background: #e9f0f9 !important;
}
}
tr.el-table__row td {
background-color: #d8e5f6 !important;
}
tr.el-table__row.el-table__row--striped td {
background: #e9f0f9 !important;
}
}
</style>