Browse Source

客户月台改为查询主表的字段,因为子表客户月台为空

master_hella_20240701
TengXF 5 months ago
parent
commit
1e61bf3243
  1. 91
      src/views/wms/deliversettlementManage/deliverplan/deliverPlanMain/deliverPlanMain.data.ts

91
src/views/wms/deliversettlementManage/deliverplan/deliverPlanMain/deliverPlanMain.data.ts

@ -100,6 +100,7 @@ export const DeliverPlanMain = useCrudSchemas(reactive<CrudSchema[]>([
}, },
isTableForm: false, isTableForm: false,
isForm: true, isForm: true,
isSearch: true,
// tableForm:{ // tableForm:{
// isInpuFocusShow: true, // 开启查询弹窗 // isInpuFocusShow: true, // 开启查询弹窗
// searchListPlaceholder: '请选择客户月台代码', // searchListPlaceholder: '请选择客户月台代码',
@ -537,51 +538,51 @@ export const DeliverPlanDetail = useCrudSchemas(reactive<CrudSchema[]>([
} }
} }
}, },
{ // {
label: '客户月台', // label: '客户月台',
field: 'customerDockCode', // field: 'customerDockCode',
sort: 'custom', // sort: 'custom',
table: { // table: {
width: 150 // width: 150
}, // },
hiddenInMain: true, // hiddenInMain: true,
isTableForm: false, // isTableForm: false,
tableForm:{ // tableForm:{
isInpuFocusShow: true, // 开启查询弹窗 // isInpuFocusShow: true, // 开启查询弹窗
searchListPlaceholder: '请选择客户月台代码', // searchListPlaceholder: '请选择客户月台代码',
searchField: 'code', // searchField: 'code',
searchTitle: '客户月台基础信息', // searchTitle: '客户月台基础信息',
searchAllSchemas: Customerdock.allSchemas, // searchAllSchemas: Customerdock.allSchemas,
searchPage: CustomerDockApi.pageCustomerCodeToCustomerDock, // searchPage: CustomerDockApi.pageCustomerCodeToCustomerDock,
searchCondition: [{ // searchCondition: [{
key: 'available', // key: 'available',
value: 'TRUE', // value: 'TRUE',
},{ // },{
key: 'customerCode', // key: 'customerCode',
value: 'customerCode', // value: 'customerCode',
isMainValue: true // isMainValue: true
}] // }]
}, // },
form: { // form: {
componentProps: { // componentProps: {
isSearchList: true, // isSearchList: true,
searchListPlaceholder: '请选择客户月台代码', // searchListPlaceholder: '请选择客户月台代码',
searchField: 'code', // searchField: 'code',
searchTitle: '客户月台基础信息', // searchTitle: '客户月台基础信息',
searchAllSchemas: Customerdock.allSchemas, // searchAllSchemas: Customerdock.allSchemas,
searchPage: CustomerDockApi.pageCustomerCodeToCustomerDock, // searchPage: CustomerDockApi.pageCustomerCodeToCustomerDock,
searchCondition: [{ // searchCondition: [{
key: 'available', // key: 'available',
value: 'TRUE', // value: 'TRUE',
isMainValue: false // isMainValue: false
},{ // },{
key: 'customerCode', // key: 'customerCode',
value: 'customerCode', // value: 'customerCode',
isMainValue: true // isMainValue: true
}] // }]
} // }
}, // },
}, // },
{ {
label: '物料代码', label: '物料代码',
field: 'itemCode', field: 'itemCode',

Loading…
Cancel
Save