Browse Source

客户物料代码校验

hella_online_20241024
yufei_wang 1 month ago
parent
commit
3271c7bd7d
  1. 20
      src/views/wms/basicDataManage/customerManage/customeritem/customeritem.data.ts

20
src/views/wms/basicDataManage/customerManage/customeritem/customeritem.data.ts

@ -37,7 +37,15 @@ export const Customeritem = useCrudSchemas(reactive<CrudSchema[]>([
key: 'available', key: 'available',
value: 'TRUE', value: 'TRUE',
isMainValue: false isMainValue: false
}] }],
verificationParams: [{
key: 'code',
action: '==',
value: '',
isMainValue: false,
isSearch: 'true',
isFormModel: true
}], // 失去焦点校验参数
} }
}, },
isSearch: true isSearch: true
@ -63,7 +71,15 @@ export const Customeritem = useCrudSchemas(reactive<CrudSchema[]>([
key: 'available', key: 'available',
value: 'TRUE', value: 'TRUE',
isMainValue: false isMainValue: false
}] }],
verificationParams: [{
key: 'code',
action: '==',
value: '',
isMainValue: false,
isSearch: 'true',
isFormModel: true
}], // 失去焦点校验参数
} }
}, },
isSearch: true isSearch: true

Loading…
Cancel
Save