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