退料入库

This commit is contained in:
binbin_pan 2024-04-07 17:46:16 +08:00
parent 033f4ba75f
commit d936851fb6
1 changed files with 5 additions and 7 deletions

View File

@ -169,7 +169,7 @@
<el-select
v-model="codeForm.putInType"
placeholder="请选择入库来源"
clearable filterable
filterable
style="width: 220px"
@change="changePutInType"
>
@ -685,12 +685,6 @@ export default {
num: [
{ required: true, message: "待入库总数不能为空", trigger: "blur" }
],
unitId: [
{ required: true, message: "领料单位不能为空", trigger: "change" }
],
proId: [
{ required: true, message: "领料工程不能为空", trigger: "change" }
],
}
};
},
@ -1109,6 +1103,10 @@ export default {
this.isPutInType = true
} else {
this.isPutInType = false
this.$nextTick(() => {
this.$set(this.codeForm, 'unitId', null)
this.$set(this.codeForm, 'proId', null)
})
}
},
//