Browse Source

客户月台

master_hella_20240701
yufei0306 6 months ago
parent
commit
d2456ce5c0
  1. 29
      src/views/wms/basicDataManage/customerManage/customerdock/customerdock.data.ts
  2. 3
      src/views/wms/basicDataManage/customerManage/customerdock/index.vue

29
src/views/wms/basicDataManage/customerManage/customerdock/customerdock.data.ts

@ -140,21 +140,22 @@ export const Customerdock = useCrudSchemas(reactive<CrudSchema[]>([
}, },
isForm:true, isForm:true,
form: { form: {
// labelMessage: '信息提示说明!!!', // // labelMessage: '信息提示说明!!!',
componentProps: { componentProps: {
isSearchList: true, // 开启查询弹窗 disabled:true
searchListPlaceholder: '请选择库位代码', // 输入框占位文本 // isSearchList: true, // 开启查询弹窗
searchField: 'code', // 查询弹窗赋值字段 // searchListPlaceholder: '请选择库位代码', // 输入框占位文本
searchTitle: '库位基础信息', // 查询弹窗标题 // searchField: 'code', // 查询弹窗赋值字段
searchAllSchemas: Location.allSchemas, // 查询弹窗所需类 // searchTitle: '库位基础信息', // 查询弹窗标题
searchPage: LocationApi.getLocationPage, // 查询弹窗所需分页方法 // searchAllSchemas: Location.allSchemas, // 查询弹窗所需类
searchCondition: [{ // searchPage: LocationApi.getLocationPage, // 查询弹窗所需分页方法
key: 'available', // searchCondition: [{
value: 'TRUE', // key: 'available',
action: '==', // value: 'TRUE',
isSearch: true, // action: '==',
isMainValue: false // isSearch: true,
}] // isMainValue: false
// }]
} }
} }
}, },

3
src/views/wms/basicDataManage/customerManage/customerdock/index.vue

@ -204,6 +204,9 @@ const searchTableSuccess = (formField, searchField, val, formRef) => {
nextTick(() => { nextTick(() => {
const setV = {} const setV = {}
setV[formField] = val[0][searchField] setV[formField] = val[0][searchField]
if(formField=='code'){
setV['defaultLocationCode'] = val[0]['defaultLocationCode']
}
formRef.setValues(setV) formRef.setValues(setV)
}) })
} }

Loading…
Cancel
Save