diff --git a/src/views/wms/basicDataManage/customerManage/customer/customer.data.ts b/src/views/wms/basicDataManage/customerManage/customer/customer.data.ts index 9c1472a0a..800f1e5dc 100644 --- a/src/views/wms/basicDataManage/customerManage/customer/customer.data.ts +++ b/src/views/wms/basicDataManage/customerManage/customer/customer.data.ts @@ -18,6 +18,16 @@ export const Customer = useCrudSchemas(reactive([ fixed: 'left' }, }, + { + label: '顺引代码', + field: 'shunyinCode', + isSearch: true, + sort: 'custom', + table: { + width: 150, + fixed: 'left' + }, + }, { label: '名称', field: 'name', @@ -294,6 +304,9 @@ export const CustomerRules = reactive({ { max: 50, message: '不得超过50个字符', trigger: 'blur' }, { validator:validateYS, message: '请输入正确的代码', trigger: 'blur'} ], + shunyinCode: [ + { max: 50, message: '不得超过50个字符', trigger: 'blur' } + ], name: [ { max: 50, message: '不得超过50个字符', trigger: 'blur' } ],