Commit e91251e1 authored by jingnan's avatar jingnan 👀

串件单序列号修改

parent 74a014c3
......@@ -131,6 +131,16 @@ export default {
changeEvent(value) {
const obj = JSON.parse(value)
this.$set(this.form, 'extMaterial', obj)
this.$set(this.form, 'sourceSerno', '')
this.$set(this.form, 'sourceApprovalCert', '')
this.$set(this.form, 'sourceProductDrawver', '')
this.$set(this.form, 'sourceElecHardwareNo', '')
this.$set(this.form, 'sourceSoftConfPieceNo', '')
this.$set(this.form, 'targetSerno', '')
this.$set(this.form, 'targetApprovalCert', '')
this.$set(this.form, 'targetProductDrawver', '')
this.$set(this.form, 'targetElecHardwareNo', '')
this.$set(this.form, 'targetSoftConfPieceNo', '')
},
remoteMethod(query) {
if (query && query.length >= 2) {
......
......@@ -73,7 +73,7 @@ export default {
this.getSortiesByCode(val)
},
'form.extMaterial': function(val) {
this.findCanReplaceSerno(val.id, this.selVal)
// this.findCanReplaceSerno(val.id, this.selVal)
},
selVal(val) {
this.$set(this.form, this.itemObj.key, val)
......@@ -91,7 +91,7 @@ export default {
}
})
if (this.form.extMaterial) {
this.findCanReplaceSerno(this.form.extMaterial.id, val)
// this.findCanReplaceSerno(this.form.extMaterial.id, val)
}
}
},
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment