供应商单据选择分库清空单据类型选择

tagView
zhengmingliang 3 years ago
parent 54de7f7e4f
commit 3425fb6655

@ -777,6 +777,7 @@ export default {
}); });
}, },
getBusType() { getBusType() {
this.formData.billType=null;
let query = { let query = {
enabled: true, enabled: true,
invWarehouseCode: this.formData.invWarehouseCode invWarehouseCode: this.formData.invWarehouseCode
@ -956,7 +957,9 @@ export default {
this.findSubInvByInv(this.$store.getters.locInvCode); this.findSubInvByInv(this.$store.getters.locInvCode);
this.formData.invWarehouseCode = this.$store.getters.locSubInvCode; this.formData.invWarehouseCode = this.$store.getters.locSubInvCode;
this.corpOrderIdDisabled = false; this.corpOrderIdDisabled = false;
if(this.formData.invWarehouseCode!=null){
this.getBusType(); this.getBusType();
}
if (JSON.stringify(this.$route.query) === '{}') { if (JSON.stringify(this.$route.query) === '{}') {
// this.formData.corpOrderId = new Date().getTime() + (Math.ceil(Math.random() * 10 + 10) + ''); // this.formData.corpOrderId = new Date().getTime() + (Math.ceil(Math.random() * 10 + 10) + '');
let date = new Date(); let date = new Date();

@ -927,6 +927,7 @@ export default {
}, },
getBusType() { getBusType() {
this.formData.billType=null;
let query = { let query = {
enabled: true, enabled: true,
invWarehouseCode: this.formData.invWarehouseCode invWarehouseCode: this.formData.invWarehouseCode
@ -1023,7 +1024,9 @@ export default {
} }
if(this.formData.invWarehouseCode!=null){
this.getBusType(); this.getBusType();
}
this.findSubInvs(); this.findSubInvs();
}, },
}; };

Loading…
Cancel
Save