给单据增加仓库快捷输入功能

This commit is contained in:
季圣华
2021-10-24 23:07:21 +08:00
parent 3fb0fa8a7f
commit 595bb87076
15 changed files with 127 additions and 15 deletions

View File

@@ -225,6 +225,11 @@ export const BillModalMixin = {
this.$refs.memberModalForm.title = "新增会员";
this.$refs.memberModalForm.disableSubmit = false;
},
addDepot() {
this.$refs.depotModalForm.add();
this.$refs.depotModalForm.title = "新增仓库";
this.$refs.depotModalForm.disableSubmit = false;
},
vendorModalFormOk() {
this.initSupplier()
},
@@ -234,6 +239,9 @@ export const BillModalMixin = {
memberModalFormOk() {
this.initRetail()
},
depotModalFormOk() {
this.initDepot()
},
onAdded(event) {
const { row, target } = event
getAction('/depot/findDepotByCurrentUser').then((res) => {