fix:检验表中的检测项添加加入物料信息字段
This commit is contained in:
parent
e8508bfc67
commit
af13ba23af
|
@ -127,6 +127,14 @@
|
|||
</xtSelect>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column prop="addto_wpr" label="加入物料信息">
|
||||
<template #default="scope">
|
||||
<el-switch
|
||||
:disabled="!scope.row.isEdit"
|
||||
v-model="scope.row.addto_wpr"
|
||||
></el-switch>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column prop="type" label="备注">
|
||||
<template #default="scope">
|
||||
<span v-if="!scope.row.isEdit">{{ scope.row.note }}</span>
|
||||
|
@ -290,14 +298,15 @@ export default {
|
|||
tracing: "",
|
||||
qct: this.qctId,
|
||||
material: "",
|
||||
edit: false,
|
||||
isEdit: true,
|
||||
},
|
||||
defectaddTemplate:{
|
||||
qct: this.qctId,
|
||||
defect: "",
|
||||
note:'',
|
||||
sort:'',
|
||||
edit: false,
|
||||
isEdit: true,
|
||||
addto_wpr:false,
|
||||
rule_expression:'',
|
||||
},
|
||||
testitemaddTemplate:{
|
||||
|
@ -305,7 +314,7 @@ export default {
|
|||
note:'',
|
||||
sort:'',
|
||||
testitem:'',
|
||||
edit: false,
|
||||
isEdit: true,
|
||||
},
|
||||
defectrow:{},
|
||||
testitemrow:{},
|
||||
|
|
Loading…
Reference in New Issue