1.修复扫码单据添加产品后仓库和分库信息消失问题

2.修复新增业务单据,未选择分库的情况下可以录入产品导致分库后续无法选择的问题
fencang
x_z 3 years ago
parent fa348cd1b4
commit 1bee98985a

@ -90,11 +90,7 @@
</div>
</el-col>
<el-col :span="8" v-if="corpOrderIdDisabled">
<el-input disabled v-model="formData.invName"></el-input>
</el-col>
<el-col :span="8" v-if="!corpOrderIdDisabled">
<el-col :span="8">
<el-form-item prop="locStorageCode">
<el-select v-model="formData.locStorageCode" placeholder="当前仓库信息" clearable
@change="locCHange"
@ -117,11 +113,7 @@
</div>
</el-col>
<el-col :span="8" v-if="corpOrderIdDisabled">
<el-input disabled v-model="formData.subInvName"></el-input>
</el-col>
<el-col :span="8" v-if="!corpOrderIdDisabled">
<el-col :span="8">
<el-form-item prop="locStorageCode">
<el-select v-model="formData.invWarehouseCode" placeholder="当前分库信息" clearable
:disabled="corpOrderIdDisabled">
@ -582,6 +574,9 @@ export default {
});
},
addCode(event) {
debugger
console.log(this.formData)
console.log(this.storageList)
if (event == null) {
} else event.target.select();
this.sictomText = "";

@ -769,6 +769,10 @@ export default {
this.$message.error("往来信息和单据类型不能为空!")
return;
}
if (this.$isBlank(this.formData.locStorageCode) || this.$isBlank(this.formData.invWarehouseCode)) {
this.$message.error("当前仓库和当前分库不能为空!");
return;
}
this.code = "";
this.$refs.multipleTable.setCurrentRow();
this.currentRow = {};
@ -797,8 +801,6 @@ export default {
} else {
this.selectProductVisible = true;
}
return;
}
this.code = this.code.trim();

Loading…
Cancel
Save