From e2b41b5e2b82876eea66bd4fbc96bcd6650d69c8 Mon Sep 17 00:00:00 2001 From: zhaoxuebing <1291173720@qq.com> Date: Fri, 31 May 2024 15:21:07 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A6=81=E8=B4=A7=E9=A2=84=E6=B5=8B=E4=BF=AE?= =?UTF-8?q?=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../demandforecastingMain.data.ts | 46 ++++++++++--------- 1 file changed, 24 insertions(+), 22 deletions(-) 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',