去掉排序

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

@@ -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>