diff --git a/src/views/wms/purchasereceiptManage/supplierdeliver/demandforecastingMain/demandforecastingMain.data.ts b/src/views/wms/purchasereceiptManage/supplierdeliver/demandforecastingMain/demandforecastingMain.data.ts index 110b85c76..684532850 100644 --- a/src/views/wms/purchasereceiptManage/supplierdeliver/demandforecastingMain/demandforecastingMain.data.ts +++ b/src/views/wms/purchasereceiptManage/supplierdeliver/demandforecastingMain/demandforecastingMain.data.ts @@ -62,6 +62,7 @@ export const DemandforecastingMain = useCrudSchemas(reactive([ label: '发布时间', field: 'publishTime', formatter: dateFormatter, + isTable: false, detail: { dateFormat: 'YYYY-MM-DD HH:mm:ss' }, @@ -83,7 +84,7 @@ export const DemandforecastingMain = useCrudSchemas(reactive([ { label: '开始时间', field: 'beginTime', - isTable: true, + isTable: false, formatter: dateFormatter, detail: { dateFormat: 'YYYY-MM-DD HH:mm:ss' @@ -106,7 +107,7 @@ export const DemandforecastingMain = useCrudSchemas(reactive([ { label: '结束时间', field: 'endTime', - isTable: true, + isTable: false, formatter: dateFormatter, detail: { dateFormat: 'YYYY-MM-DD HH:mm:ss' @@ -229,6 +230,7 @@ export const DemandforecastingMain = useCrudSchemas(reactive([ table: { width: 150 }, + isSearch:true, isTable:false, isForm: false, }, @@ -249,6 +251,7 @@ export const DemandforecastingMain = useCrudSchemas(reactive([ table: { width: 150 }, + isSearch:true, isTable:false, isForm: false, }, @@ -259,6 +262,18 @@ export const DemandforecastingMain = useCrudSchemas(reactive([ table: { width: 150 }, + isSearch:true, + isTable:false, + isForm: false, + }, + { + label: '物料代码', + field: 'itemCode', + sort: 'custom', + table: { + width: 150 + }, + isSearch:true, isTable:false, isForm: false, }, @@ -315,7 +330,7 @@ export const DemandforecastingDetail = useCrudSchemas(reactive([ dictType: DICT_TYPE.PREDICT_TIME_TYPE, sort: 'custom', dictClass: 'string', - isTable: true, + isTable: false, table: { width: 150 }, @@ -334,6 +349,7 @@ export const DemandforecastingDetail = useCrudSchemas(reactive([ table: { width: 180 }, + isTable:false, form: { component: 'DatePicker', componentProps: { diff --git a/src/views/wms/purchasereceiptManage/supplierdeliver/demandforecastingSupplierMain/demandforecastingMain.data.ts b/src/views/wms/purchasereceiptManage/supplierdeliver/demandforecastingSupplierMain/demandforecastingMain.data.ts index 110b85c76..561ce9eee 100644 --- a/src/views/wms/purchasereceiptManage/supplierdeliver/demandforecastingSupplierMain/demandforecastingMain.data.ts +++ b/src/views/wms/purchasereceiptManage/supplierdeliver/demandforecastingSupplierMain/demandforecastingMain.data.ts @@ -58,6 +58,17 @@ export const DemandforecastingMain = useCrudSchemas(reactive([ width: 150 }, }, + { + label: '物料代码', + field: 'itemCode', + sort: 'custom', + table: { + width: 150 + }, + isSearch:true, + isTable:false, + isForm: false, + }, { label: '发布时间', field: 'publishTime', @@ -69,6 +80,7 @@ export const DemandforecastingMain = useCrudSchemas(reactive([ table: { width: 180 }, + isTable: false, form: { component: 'DatePicker', componentProps: { @@ -88,6 +100,7 @@ export const DemandforecastingMain = useCrudSchemas(reactive([ detail: { dateFormat: 'YYYY-MM-DD HH:mm:ss' }, + isTable: false, sort: 'custom', table: { width: 180 @@ -111,6 +124,7 @@ export const DemandforecastingMain = useCrudSchemas(reactive([ detail: { dateFormat: 'YYYY-MM-DD HH:mm:ss' }, + isTable: false, sort: 'custom', table: { width: 180 @@ -124,7 +138,6 @@ export const DemandforecastingMain = useCrudSchemas(reactive([ valueFormat: 'x', } }, - isForm: false, }, { label: '业务类型', @@ -294,6 +307,14 @@ export const DemandforecastingMainRules = reactive({ * @returns {Array} 要货预测子表 */ export const DemandforecastingDetail = useCrudSchemas(reactive([ + { + label: '是否已读', + field: 'isRead', + sort: 'custom', + table: { + width: 150 + }, + }, { label: '单据号', field: 'number', @@ -315,7 +336,7 @@ export const DemandforecastingDetail = useCrudSchemas(reactive([ dictType: DICT_TYPE.PREDICT_TIME_TYPE, sort: 'custom', dictClass: 'string', - isTable: true, + isTable: false, table: { width: 150 },