给零售单据增加会员的快捷录入

This commit is contained in:
季圣华
2021-10-21 00:47:10 +08:00
parent c259b89faf
commit 0e9ceb82d5
3 changed files with 36 additions and 2 deletions

View File

@@ -220,12 +220,20 @@ export const BillModalMixin = {
this.$refs.customerModalForm.title = "新增客户(提醒:如果找不到新添加的客户,请到用户管理检查是否分配了该客户权限)";
this.$refs.customerModalForm.disableSubmit = false;
},
addMember() {
this.$refs.memberModalForm.add();
this.$refs.memberModalForm.title = "新增会员";
this.$refs.memberModalForm.disableSubmit = false;
},
vendorModalFormOk() {
this.initSupplier()
},
customerModalFormOk() {
this.initCustomer()
},
memberModalFormOk() {
this.initRetail()
},
onAdded(event) {
const { row, target } = event
getAction('/depot/findDepotByCurrentUser').then((res) => {