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

Loading…
Cancel
Save