给单据添加供应商和客户的快捷添加入口

This commit is contained in:
季圣华
2021-10-19 00:36:47 +08:00
parent e390bebec4
commit 24e041fc75
12 changed files with 172 additions and 10 deletions

View File

@@ -138,6 +138,22 @@ export const FinancialModalMixin = {
}
})
},
addSupplier() {
this.$refs.vendorModalForm.add();
this.$refs.vendorModalForm.title = "新增";
this.$refs.vendorModalForm.disableSubmit = false;
},
addCustomer() {
this.$refs.customerModalForm.add();
this.$refs.customerModalForm.title = "新增客户(提醒:如果找不到新添加的客户,请到用户管理检查是否分配了该客户权限)";
this.$refs.customerModalForm.disableSubmit = false;
},
vendorModalFormOk() {
this.initSupplier()
},
customerModalFormOk() {
this.initCustomer()
},
//单元值改变一个字符就触发一次
onValueChange(event) {
let that = this