Compare commits

...

2 Commits

  1. 13
      src/views/wms/basicDataManage/customerManage/customer/customer.data.ts

13
src/views/wms/basicDataManage/customerManage/customer/customer.data.ts

@ -18,6 +18,16 @@ export const Customer = useCrudSchemas(reactive<CrudSchema[]>([
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' }
],

Loading…
Cancel
Save