给单据增加账户的快捷录入功能

This commit is contained in:
季圣华
2021-10-24 23:54:13 +08:00
parent 595bb87076
commit d6957647f1
8 changed files with 63 additions and 1 deletions

View File

@@ -230,6 +230,11 @@ export const BillModalMixin = {
this.$refs.depotModalForm.title = "新增仓库";
this.$refs.depotModalForm.disableSubmit = false;
},
addAccount() {
this.$refs.accountModalForm.add();
this.$refs.accountModalForm.title = "新增结算账户";
this.$refs.accountModalForm.disableSubmit = false;
},
vendorModalFormOk() {
this.initSupplier()
},
@@ -242,6 +247,9 @@ export const BillModalMixin = {
depotModalFormOk() {
this.initDepot()
},
accountModalFormOk() {
this.initAccount()
},
onAdded(event) {
const { row, target } = event
getAction('/depot/findDepotByCurrentUser').then((res) => {