Browse Source

客户增加顺引客户代码

intex
liuchen864 7 days ago
parent
commit
cb3bd2f04f
  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' fixed: 'left'
}, },
}, },
{
label: '顺引代码',
field: 'shunyinCode',
isSearch: true,
sort: 'custom',
table: {
width: 150,
fixed: 'left'
},
},
{ {
label: '名称', label: '名称',
field: 'name', field: 'name',
@ -294,6 +304,9 @@ export const CustomerRules = reactive({
{ max: 50, message: '不得超过50个字符', trigger: 'blur' }, { max: 50, message: '不得超过50个字符', trigger: 'blur' },
{ validator:validateYS, message: '请输入正确的代码', trigger: 'blur'} { validator:validateYS, message: '请输入正确的代码', trigger: 'blur'}
], ],
shunyinCode: [
{ max: 50, message: '不得超过50个字符', trigger: 'blur' }
],
name: [ name: [
{ max: 50, message: '不得超过50个字符', trigger: 'blur' } { max: 50, message: '不得超过50个字符', trigger: 'blur' }
], ],

Loading…
Cancel
Save