From cdedec8ef9a8c8587c89e7744416b31b7eea8edd Mon Sep 17 00:00:00 2001 From: zhang_li <2235006734@qqq.com> Date: Fri, 13 Dec 2024 14:03:46 +0800 Subject: [PATCH] YT-1643 --- .../productionMainAssemble.data.ts | 69 ++++++++++--------- 1 file changed, 35 insertions(+), 34 deletions(-) diff --git a/src/views/wms/productionManage/productionplan/productionMainAssemble/productionMainAssemble.data.ts b/src/views/wms/productionManage/productionplan/productionMainAssemble/productionMainAssemble.data.ts index 5b1c263f5..68af09485 100644 --- a/src/views/wms/productionManage/productionplan/productionMainAssemble/productionMainAssemble.data.ts +++ b/src/views/wms/productionManage/productionplan/productionMainAssemble/productionMainAssemble.data.ts @@ -856,40 +856,7 @@ export const ProductionDetail = useCrudSchemas(reactive([ }] }, }, - { - label: '计划日期', - field: 'planDate', - formatter: dateFormatter2, - detail: { - dateFormat: 'YYYY-MM-DD' - }, - sort: 'custom', - table: { - width: 120 - }, - search: { - component: 'DatePicker', - componentProps: { - valueFormat: 'YYYY-MM-DD', - type: 'daterange', - defaultTime: [new Date('1 00:00:00'), new Date('1 23:59:59')] - } - }, - isSearch: true, - isTableForm: false, - isForm: false, - // hiddenInMain: true, - sortSearchDefault: 4, - form: { - component: 'DatePicker', - componentProps: { - style: { width: '100%' }, - type: 'date', - dateFormat: 'YYYY-MM-DD', - valueFormat: 'x', - } - }, - }, + { label: '计划数量', field: 'planQty', @@ -932,6 +899,40 @@ export const ProductionDetail = useCrudSchemas(reactive([ type: 'Select' } }, + { + label: '计划日期', + field: 'planDate', + formatter: dateFormatter2, + detail: { + dateFormat: 'YYYY-MM-DD' + }, + sort: 'custom', + table: { + width: 120 + }, + search: { + component: 'DatePicker', + componentProps: { + valueFormat: 'YYYY-MM-DD', + type: 'daterange', + defaultTime: [new Date('1 00:00:00'), new Date('1 23:59:59')] + } + }, + isSearch: true, + isTableForm: false, + isForm: false, + // hiddenInMain: true, + sortSearchDefault: 4, + form: { + component: 'DatePicker', + componentProps: { + style: { width: '100%' }, + type: 'date', + dateFormat: 'YYYY-MM-DD', + valueFormat: 'x', + } + }, + }, { label: '完工数量', field: 'goodQty',