新增业务单据单据类型与分库切换问题

fencang
anthonywj 3 years ago
parent 476826c921
commit 91d1c5fef5

@ -1173,7 +1173,7 @@ export default {
this.curAction = this.getActionItem(this.formData.billType); this.curAction = this.getActionItem(this.formData.billType);
if (this.curAction != null) { if (this.curAction != null) {
} else { } else {
this.curAction = {corpType:0,genUnit: false,changeEnable:false,}; this.curAction = {corpType: 0, genUnit: false, changeEnable: false,};
this.formData.billType = null; this.formData.billType = null;
} }
} }
@ -1231,13 +1231,18 @@ export default {
actionChange(item) { actionChange(item) {
this.curAction = this.getActionItem(item); this.curAction = this.getActionItem(item);
this.formData.corpName = ''; this.formData.corpName = '';
// this.locInChange();
// this.findMethod(); if (this.$isNotBlank(this.formData.fromSubInvCode)) {
this.formData.fromSubInvCode = '';
}
// '';
this.locInChange();
this.findMethod();
}, },
locInChange() { locInChange() {
this.$forceUpdate(); this.$forceUpdate();
// this.getBusType(); // this.getBusType();
this.invChange(); // this.invChange();
this.findStorageMethod(); this.findStorageMethod();
}, },

Loading…
Cancel
Save