优化供应商和客户的校验逻辑

This commit is contained in:
季圣华
2021-12-03 00:28:58 +08:00
parent 3abb818f5e
commit f504a1a0ea
4 changed files with 4 additions and 1 deletions

View File

@@ -141,6 +141,7 @@
validateSupplierName(rule, value, callback){
let params = {
name: value,
type: '会员',
id: this.model.id?this.model.id:0
};
checkSupplier(params).then((res)=>{