fix:生产入库添加wm

This commit is contained in:
shijing 2025-03-20 13:38:32 +08:00
parent c99dfeb465
commit 6c10a0d5d6
1 changed files with 14 additions and 0 deletions

View File

@ -53,6 +53,8 @@
clearable
style="width: 100%"
:disabled="inputBatchDisable"
@clear="selectBatchClear"
@change="selectChange"
>
<el-option
v-for="item in wbatchOptions"
@ -410,6 +412,17 @@ export default {
}
});
},
selectChange(item){
console.log(item)
let that = this;
that.wbatchOptions.forEach((item) => {
if(that.form.batch == item.batch){
that.form.count = item.count;
that.form.wm = item.id;
}
})
},
selectMaterialChange(item) {
var that = this;
var type = this.form.type;
@ -446,6 +459,7 @@ export default {
},
selectBatchClear() {
this.form.mb = "";
this.form.wm = "";
this.form.batch = "";
this.form.count = "";
this.form.warehouse = "";