Browse Source

供应商用户关联管理失去焦点

hella_online_20240829
zhang_li 4 months ago
parent
commit
a73e44d485
  1. 23
      src/views/wms/basicDataManage/systemSetting/supplierUser/supplierUser.data.ts

23
src/views/wms/basicDataManage/systemSetting/supplierUser/supplierUser.data.ts

@ -114,13 +114,23 @@ export const SupplierUser = useCrudSchemas(reactive<CrudSchema[]>([
form: { form: {
// labelMessage: '信息提示说明!!!', // labelMessage: '信息提示说明!!!',
componentProps: { componentProps: {
enterSearch: true,
dialogWidth:'1025px',//搜索出来弹窗的宽度 dialogWidth:'1025px',//搜索出来弹窗的宽度
isSearchList: true, isSearchList: true,
searchListPlaceholder: '请选用户信息', searchListPlaceholder: '请选用户信息',
searchField: 'username', searchField: 'username',
searchTitle: '用户信息', searchTitle: '用户信息',
searchAllSchemas: User.allSchemas, searchAllSchemas: User.allSchemas,
searchPage: UserApi.getUserPage searchPage: UserApi.getUserPage,
// 失去焦点校验参数
verificationParams: [{
key: 'username',
action: '==',
value: '',
isMainValue: false,
isSearch: 'true',
isFormModel: true,
}]
} }
}, },
isSearch: true, isSearch: true,
@ -153,7 +163,16 @@ export const SupplierUser = useCrudSchemas(reactive<CrudSchema[]>([
searchField: 'code', searchField: 'code',
searchTitle: '供应商信息', searchTitle: '供应商信息',
searchAllSchemas: Supplier.allSchemas, searchAllSchemas: Supplier.allSchemas,
searchPage: SupplierApi.getSupplierPage searchPage: SupplierApi.getSupplierPage,
// 失去焦点校验参数
verificationParams: [{
key: 'code',
action: '==',
value: '',
isMainValue: false,
isSearch: 'true',
isFormModel: true,
}]
} }
} }
}, },

Loading…
Cancel
Save