Browse Source

客户月台

master_hella_20240701
yufei0306 5 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,
form: {
// labelMessage: '信息提示说明!!!',
// // labelMessage: '信息提示说明!!!',
componentProps: {
isSearchList: true, // 开启查询弹窗
searchListPlaceholder: '请选择库位代码', // 输入框占位文本
searchField: 'code', // 查询弹窗赋值字段
searchTitle: '库位基础信息', // 查询弹窗标题
searchAllSchemas: Location.allSchemas, // 查询弹窗所需类
searchPage: LocationApi.getLocationPage, // 查询弹窗所需分页方法
searchCondition: [{
key: 'available',
value: 'TRUE',
action: '==',
isSearch: true,
isMainValue: false
}]
disabled:true
// isSearchList: true, // 开启查询弹窗
// searchListPlaceholder: '请选择库位代码', // 输入框占位文本
// searchField: 'code', // 查询弹窗赋值字段
// searchTitle: '库位基础信息', // 查询弹窗标题
// searchAllSchemas: Location.allSchemas, // 查询弹窗所需类
// searchPage: LocationApi.getLocationPage, // 查询弹窗所需分页方法
// searchCondition: [{
// key: 'available',
// value: 'TRUE',
// action: '==',
// isSearch: true,
// isMainValue: false
// }]
}
}
},

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

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

Loading…
Cancel
Save