diff --git a/src/views/wms/purchasereceiptManage/supplierdeliver/demandforecastingMain/demandforecastingMain.data.ts b/src/views/wms/purchasereceiptManage/supplierdeliver/demandforecastingMain/demandforecastingMain.data.ts index 801001d62..674600562 100644 --- a/src/views/wms/purchasereceiptManage/supplierdeliver/demandforecastingMain/demandforecastingMain.data.ts +++ b/src/views/wms/purchasereceiptManage/supplierdeliver/demandforecastingMain/demandforecastingMain.data.ts @@ -132,6 +132,7 @@ export const DemandforecastingMain = useCrudSchemas(reactive([ table: { width: 150 }, + isTable:false, isForm: false, form: { value: 'PurchasePrediction', @@ -171,7 +172,6 @@ export const DemandforecastingMain = useCrudSchemas(reactive([ { label: '创建时间', field: 'createTime', - isTable: true, formatter: dateFormatter, detail: { dateFormat: 'YYYY-MM-DD HH:mm:ss' @@ -180,6 +180,7 @@ export const DemandforecastingMain = useCrudSchemas(reactive([ table: { width: 180 }, + isTable:false, form: { component: 'DatePicker', componentProps: { @@ -198,6 +199,7 @@ export const DemandforecastingMain = useCrudSchemas(reactive([ table: { width: 150 }, + isTable:false, isForm: false, }, { @@ -259,6 +261,7 @@ export const DemandforecastingDetail = useCrudSchemas(reactive([ width: 180 }, isTableForm: false, + hiddenInMain:true, form: { componentProps: { disbaled: true @@ -431,6 +434,26 @@ export const DemandforecastingDetail = useCrudSchemas(reactive([ disabled: true } }, + { + label: '计划数量', + field: 'planQty', + sort: 'custom', + table: { + width: 150 + }, + form: { + component: 'InputNumber', + componentProps: { + min: 1, + precision: 6 + } + }, + tableForm: { + type: 'InputNumber', + min: 1, + precision: 6 + } + }, { label: '备注', field: 'remark', @@ -472,27 +495,6 @@ export const DemandforecastingDetail = useCrudSchemas(reactive([ isTableForm: false, isForm: false, }, - { - label: '计划数量', - field: 'planQty', - sort: 'custom', - table: { - width: 150 - }, - form: { - component: 'InputNumber', - componentProps: { - min: 1, - precision: 6 - } - }, - tableForm: { - type: 'InputNumber', - min: 1, - precision: 6 - } - }, - { label: '最后更新时间', field: 'updateTime',