diff --git a/src/views/wms/basicDataManage/customerManage/customerDeliveryForecast/customerDeliveryForecast.data.ts b/src/views/wms/basicDataManage/customerManage/customerDeliveryForecast/customerDeliveryForecast.data.ts index ef6fdafa5..3d10ce6f2 100644 --- a/src/views/wms/basicDataManage/customerManage/customerDeliveryForecast/customerDeliveryForecast.data.ts +++ b/src/views/wms/basicDataManage/customerManage/customerDeliveryForecast/customerDeliveryForecast.data.ts @@ -56,15 +56,11 @@ export const CustomerDeliveryForecast = useCrudSchemas(reactive([ label: '客户代码', field: 'schdCust', sort: 'custom', - isTable:false, - isForm: false, }, { label: '发货至', field: 'schdShipto', sort: 'custom', - isTable:false, - isForm: false, }, { label: '码头', @@ -85,7 +81,7 @@ export const CustomerDeliveryForecast = useCrudSchemas(reactive([ enterSearch: true, isSearchList: true, // 开启查询弹窗 searchListPlaceholder: '请选择物料代码', // 输入框占位文本 - searchField: 'itemCode', // 查询弹窗赋值字段 + searchField: 'code', // 查询弹窗赋值字段 searchTitle: '物料基础信息', // 查询弹窗标题 searchAllSchemas: Itembasic.allSchemas, // 查询弹窗所需类 searchPage: itembasicApi.getItembasicPage, // 查询弹窗所需分页方法 @@ -134,8 +130,6 @@ export const CustomerDeliveryForecast = useCrudSchemas(reactive([ label: '净需求', field: 'schdNetReq', sort: 'custom', - isTable:false, - isForm: false, }, { label: '需求日期', @@ -195,8 +189,11 @@ export const CustomerDeliveryForecast = useCrudSchemas(reactive([ label: '客户零件号', field: 'schdCustpart', sort: 'custom', - isTable:false, - isForm: false, + }, + { + label: '客户名称', + field: 'schdCustName', + sort: 'custom', }, { label: '包装代码', @@ -209,15 +206,11 @@ export const CustomerDeliveryForecast = useCrudSchemas(reactive([ label: '模型年', field: 'schdModelyr', sort: 'custom', - isTable:false, - isForm: false, }, { label: '客户参考', field: 'schdCustref', sort: 'custom', - isTable:false, - isForm: false, }, { label: '先前累计需求数量', @@ -256,9 +249,12 @@ export const CustomerDeliveryForecast = useCrudSchemas(reactive([ { label: '是否可用', field: 'available', + dictType: DICT_TYPE.TRUE_FALSE, + dictClass: 'string', sort: 'custom', - isTable:false, - isForm: false, + table: { + width: 150 + }, }, // { // label: '操作', diff --git a/src/views/wms/basicDataManage/customerManage/customerDeliveryForecast/index.vue b/src/views/wms/basicDataManage/customerManage/customerDeliveryForecast/index.vue index aa712aeb1..c0ec5e2ba 100644 --- a/src/views/wms/basicDataManage/customerManage/customerDeliveryForecast/index.vue +++ b/src/views/wms/basicDataManage/customerManage/customerDeliveryForecast/index.vue @@ -1,7 +1,7 @@