fix:光芯检验时不合格数不可编辑
This commit is contained in:
parent
7b341ebb78
commit
64045138fc
|
@ -91,6 +91,7 @@
|
||||||
v-model="form.count_notok"
|
v-model="form.count_notok"
|
||||||
style="width: 100%"
|
style="width: 100%"
|
||||||
:precision="0"
|
:precision="0"
|
||||||
|
disabled
|
||||||
@change="handleCountNotokChange"
|
@change="handleCountNotokChange"
|
||||||
></el-input-number>
|
></el-input-number>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
|
@ -271,6 +272,7 @@ export default {
|
||||||
let that = this;
|
let that = this;
|
||||||
that.$API.qm.qct.getQct.req({ material: that.itemObj.material,type:'out',tag:'process' }).then((res) => {
|
that.$API.qm.qct.getQct.req({ material: that.itemObj.material,type:'out',tag:'process' }).then((res) => {
|
||||||
console.log(res)
|
console.log(res)
|
||||||
|
that.qct = res.id;
|
||||||
res.qct_defects.forEach((item) => {
|
res.qct_defects.forEach((item) => {
|
||||||
that.form[item.defect_name] = 0;
|
that.form[item.defect_name] = 0;
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in New Issue