|
|
@@ -233,31 +233,12 @@
|
|
|
<!-- *** fixed="right" -->
|
|
|
<el-table-column
|
|
|
label="处置状态"
|
|
|
- prop="disposalStatus"
|
|
|
+ prop="disposeType"
|
|
|
align="center"
|
|
|
:show-overflow-tooltip="true"
|
|
|
>
|
|
|
<template slot-scope="scope">
|
|
|
- <span
|
|
|
- v-if="scope.row.disposalStatus == 1 && form.qualityType == 2"
|
|
|
- >返工</span
|
|
|
- >
|
|
|
- <span
|
|
|
- v-if="scope.row.disposalStatus == 2 && form.qualityType == 2"
|
|
|
- >返修</span
|
|
|
- >
|
|
|
- <span v-if="scope.row.disposalStatus == 3">报废</span>
|
|
|
- <span
|
|
|
- v-if="scope.row.disposalStatus == 4 && form.qualityType == 2"
|
|
|
- >降级使用</span
|
|
|
- >
|
|
|
- <span
|
|
|
- v-if="scope.row.disposalStatus == 5 && form.qualityType == 2"
|
|
|
- >让步接收</span
|
|
|
- >
|
|
|
- <span v-if="scope.row.disposalStatus == 6">留样</span>
|
|
|
- <span v-if="scope.row.disposalStatus == 7">消耗</span>
|
|
|
- <span v-if="scope.row.disposalStatus == 8">回用</span>
|
|
|
+ <span>{{ disposeTypeList[scope.row.disposeType] }}</span>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
<!-- *** fixed="right" -->
|
|
|
@@ -468,7 +449,7 @@
|
|
|
},
|
|
|
activeName: {
|
|
|
handler(newVal) {
|
|
|
- this.activeNameKK=newVal
|
|
|
+ this.activeNameKK = newVal;
|
|
|
// console.log(newVal);
|
|
|
}
|
|
|
}
|
|
|
@@ -486,6 +467,18 @@
|
|
|
},
|
|
|
data() {
|
|
|
return {
|
|
|
+ disposeTypeList: {
|
|
|
+ 1: '返工',
|
|
|
+ 2: '返修',
|
|
|
+ 3: '报废',
|
|
|
+ 4: '降级使用',
|
|
|
+ 5: '让步接收',
|
|
|
+ 6: '留样',
|
|
|
+ 7: '消耗',
|
|
|
+ 8: '回用/归批',
|
|
|
+ 9: '转试销',
|
|
|
+ 10: '退货'
|
|
|
+ },
|
|
|
templateList: [],
|
|
|
planTemplateList: [],
|
|
|
activeNameKK: '',
|