给商品、供应商、客户等模块的名称校验长度进行修改
This commit is contained in:
@@ -116,7 +116,7 @@
|
||||
supplier:{
|
||||
rules: [
|
||||
{ required: true, message: '请输入名称!' },
|
||||
{ min: 2, max: 30, message: '长度在 2 到 30 个字符', trigger: 'blur' },
|
||||
{ min: 2, max: 60, message: '长度在 2 到 60 个字符', trigger: 'blur' },
|
||||
{ validator: this.validateSupplierName}
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user