rev:修改bug入库
This commit is contained in:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user