退料入库
This commit is contained in:
parent
033f4ba75f
commit
d936851fb6
|
|
@ -169,7 +169,7 @@
|
||||||
<el-select
|
<el-select
|
||||||
v-model="codeForm.putInType"
|
v-model="codeForm.putInType"
|
||||||
placeholder="请选择入库来源"
|
placeholder="请选择入库来源"
|
||||||
clearable filterable
|
filterable
|
||||||
style="width: 220px"
|
style="width: 220px"
|
||||||
@change="changePutInType"
|
@change="changePutInType"
|
||||||
>
|
>
|
||||||
|
|
@ -685,12 +685,6 @@ export default {
|
||||||
num: [
|
num: [
|
||||||
{ required: true, message: "待入库总数不能为空", trigger: "blur" }
|
{ 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
|
this.isPutInType = true
|
||||||
} else {
|
} else {
|
||||||
this.isPutInType = false
|
this.isPutInType = false
|
||||||
|
this.$nextTick(() => {
|
||||||
|
this.$set(this.codeForm, 'unitId', null)
|
||||||
|
this.$set(this.codeForm, 'proId', null)
|
||||||
|
})
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
// 领料单位
|
// 领料单位
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue