Browse Source

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

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

Loading…
Cancel
Save