rev:修改bug入库

This commit is contained in:
zhangzhiqiang
2023-06-03 17:14:04 +08:00
parent e495271f23
commit 3c34900441
3 changed files with 22 additions and 16 deletions

View File

@@ -25,9 +25,9 @@
>
<el-option
v-for="item in materialList"
:key="item.BATCH_SEQ"
:label="item.ITEM_CODE"
:value="item.ITEM_CODE"
:key="item.batch_seq"
:label="item.item_code"
:value="item.item_code"
/>
</el-select>
</el-form-item>
@@ -102,13 +102,6 @@ export default {
default: null
}
},
watch: {
dialogShow: {
handler(newValue, oldValue) {
this.dialogVisible = newValue
}
}
},
data() {
return {
materialList: [],
@@ -119,6 +112,13 @@ export default {
}
}
},
watch: {
dialogShow: {
handler(newValue, oldValue) {
this.dialogVisible = newValue
}
}
},
methods: {
handleClose(done) {
this.$confirm('确认关闭?')
@@ -140,15 +140,15 @@ export default {
},
changePcsn(val) {
this.materialList.forEach(item => {
if (item.ITEM_CODE === val) {
this.form1.pcsn = item.BATCH_SEQ
if (item.item_code === val) {
this.form1.pcsn = item.batch_seq
}
})
},
blurPerson(val) {
// 调用接口查询对应的人员信息
crudBagrecord.blurPerson({ 'return_code': val }).then(res => {
this.form1.return_person = res.EMPEE_NAME
this.form1.return_person = res.empee_name
})
},
groupBag() {