|
|
@@ -17,9 +17,13 @@
|
|
|
</el-link>
|
|
|
</template>
|
|
|
|
|
|
- <template v-slot:qualityPlanName="{ row }">
|
|
|
- <div v-if="row.qualityPlanId"> {{ row.qualityPlanName }}</div>
|
|
|
- <div v-else><el-tag size="mini">自建</el-tag></div>
|
|
|
+<!-- <template v-slot:qualityPlanName="{ row }">-->
|
|
|
+<!-- <div v-if="row.qualityPlanId"> {{ row.qualityPlanName }}</div>-->
|
|
|
+<!-- <div v-else><el-tag size="mini">自建</el-tag></div>-->
|
|
|
+<!-- </template>-->
|
|
|
+ <template v-slot:sourceCode="{ row }">
|
|
|
+ <div v-if="row.qualityType ==1"> {{ row.qualityPlanCode }}</div>
|
|
|
+ <div v-if="row.qualityType == 2">{{ row.workOrderCode }}</div>
|
|
|
</template>
|
|
|
|
|
|
<template v-slot:files="scope">
|
|
|
@@ -111,8 +115,8 @@ export default {
|
|
|
fixed: 'left'
|
|
|
},
|
|
|
{
|
|
|
- prop: 'qualityPlanName',
|
|
|
- slot: 'qualityPlanName',
|
|
|
+ prop: 'name',
|
|
|
+ slot: 'name',
|
|
|
width: 120,
|
|
|
label: '质检工单名称',
|
|
|
align: 'center',
|
|
|
@@ -120,11 +124,42 @@ export default {
|
|
|
},
|
|
|
{
|
|
|
label: '来源单号',
|
|
|
- prop: 'workOrderCode',
|
|
|
+ prop: 'sourceCode',
|
|
|
+ slot: 'sourceCode',
|
|
|
align: 'center',
|
|
|
width: 160,
|
|
|
showOverflowTooltip: true
|
|
|
},
|
|
|
+ {
|
|
|
+ label: '类型',
|
|
|
+ prop: 'qualityType',
|
|
|
+ slot: 'qualityType',
|
|
|
+ align: 'center',
|
|
|
+ width: 120,
|
|
|
+ showOverflowTooltip: true
|
|
|
+ },
|
|
|
+ {
|
|
|
+ label: '取样类型',
|
|
|
+ prop: 'qualityMode',
|
|
|
+ slot: 'qualityMode',
|
|
|
+ align: 'center',
|
|
|
+ width: 120,
|
|
|
+ showOverflowTooltip: true
|
|
|
+ },{
|
|
|
+ prop: 'qualityName',
|
|
|
+ label: '质检人',
|
|
|
+ align: 'center',
|
|
|
+ width: 120,
|
|
|
+ showOverflowTooltip: true
|
|
|
+ },
|
|
|
+ {
|
|
|
+ prop: 'qualityTime',
|
|
|
+ label: '质检时间',
|
|
|
+ align: 'center',
|
|
|
+ width: 120,
|
|
|
+ showOverflowTooltip: true
|
|
|
+ },
|
|
|
+
|
|
|
{
|
|
|
prop: 'productCode',
|
|
|
width: 120,
|
|
|
@@ -158,22 +193,7 @@ export default {
|
|
|
align: 'center',
|
|
|
showOverflowTooltip: true
|
|
|
},
|
|
|
- {
|
|
|
- label: '类型',
|
|
|
- prop: 'qualityType',
|
|
|
- slot: 'qualityType',
|
|
|
- align: 'center',
|
|
|
- width: 120,
|
|
|
- showOverflowTooltip: true
|
|
|
- },
|
|
|
- {
|
|
|
- label: '取样类型',
|
|
|
- prop: 'qualityMode',
|
|
|
- slot: 'qualityMode',
|
|
|
- align: 'center',
|
|
|
- width: 120,
|
|
|
- showOverflowTooltip: true
|
|
|
- },
|
|
|
+
|
|
|
{
|
|
|
prop: 'produceTaskName',
|
|
|
label: '工序',
|
|
|
@@ -217,20 +237,7 @@ export default {
|
|
|
align: 'center',
|
|
|
showOverflowTooltip: true
|
|
|
},
|
|
|
- {
|
|
|
- prop: 'qualityTime',
|
|
|
- label: '质检时间',
|
|
|
- align: 'center',
|
|
|
- width: 120,
|
|
|
- showOverflowTooltip: true
|
|
|
- },
|
|
|
- {
|
|
|
- prop: 'qualityName',
|
|
|
- label: '质检人',
|
|
|
- align: 'center',
|
|
|
- width: 120,
|
|
|
- showOverflowTooltip: true
|
|
|
- },
|
|
|
+
|
|
|
{
|
|
|
label: '附件',
|
|
|
prop: 'accessory',
|