From 6eea1323f48e4986f0fd6c9ee7408594948e4f02 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=88=E8=96=AA=E5=90=8D?= <942005050@qq.com> Date: Wed, 8 Nov 2023 10:53:32 +0800 Subject: [PATCH] =?UTF-8?q?=E5=9F=BA=E7=A1=80=E6=95=B0=E6=8D=AE=E7=AE=A1?= =?UTF-8?q?=E7=90=86=20=E6=97=B6=E9=97=B4=E6=A0=BC=E5=BC=8F=E7=BB=9F?= =?UTF-8?q?=E4=B8=80=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../factoryModeling/enterprise/enterprise.data.ts | 8 ++++++++ .../wms/basicDataManage/itemManage/bom/bom.data.ts | 8 ++++++++ .../itemManage/itembasic/itembasic.data.ts | 10 +++++++++- .../itemManage/itempackaging/itempackaging.data.ts | 8 ++++++++ .../productionlineitem/productionlineitem.data.ts | 8 ++++++++ .../itemManage/stdcostprice/stdcostprice.data.ts | 8 ++++++++ 6 files changed, 49 insertions(+), 1 deletion(-) diff --git a/src/views/wms/basicDataManage/factoryModeling/enterprise/enterprise.data.ts b/src/views/wms/basicDataManage/factoryModeling/enterprise/enterprise.data.ts index 23058e131..1d547ccf1 100644 --- a/src/views/wms/basicDataManage/factoryModeling/enterprise/enterprise.data.ts +++ b/src/views/wms/basicDataManage/factoryModeling/enterprise/enterprise.data.ts @@ -116,6 +116,14 @@ export const Enterprise = useCrudSchemas(reactive([ } }, isForm: false, + form: { + component: 'DatePicker', + componentProps: { + type: 'datetime', + dateFormat: 'YYYY-MM-DD HH:mm:ss', + valueFormat: 'x', + } + } }, { label: '操作', diff --git a/src/views/wms/basicDataManage/itemManage/bom/bom.data.ts b/src/views/wms/basicDataManage/itemManage/bom/bom.data.ts index 91c99c7cf..fa3186f04 100644 --- a/src/views/wms/basicDataManage/itemManage/bom/bom.data.ts +++ b/src/views/wms/basicDataManage/itemManage/bom/bom.data.ts @@ -176,6 +176,14 @@ export const Bom = useCrudSchemas(reactive([ }, table: { width: 180 + }, + form: { + component: 'DatePicker', + componentProps: { + type: 'datetime', + dateFormat: 'YYYY-MM-DD HH:mm:ss', + valueFormat: 'x', + } } }, { diff --git a/src/views/wms/basicDataManage/itemManage/itembasic/itembasic.data.ts b/src/views/wms/basicDataManage/itemManage/itembasic/itembasic.data.ts index e7a3f8721..34181546b 100644 --- a/src/views/wms/basicDataManage/itemManage/itembasic/itembasic.data.ts +++ b/src/views/wms/basicDataManage/itemManage/itembasic/itembasic.data.ts @@ -385,7 +385,15 @@ export const Itembasic = useCrudSchemas(reactive([ }, table: { width: 180 - } , + }, + form: { + component: 'DatePicker', + componentProps: { + type: 'datetime', + dateFormat: 'YYYY-MM-DD HH:mm:ss', + valueFormat: 'x', + } + } }, { label: '创建者', diff --git a/src/views/wms/basicDataManage/itemManage/itempackaging/itempackaging.data.ts b/src/views/wms/basicDataManage/itemManage/itempackaging/itempackaging.data.ts index 3ab854996..981b67e23 100644 --- a/src/views/wms/basicDataManage/itemManage/itempackaging/itempackaging.data.ts +++ b/src/views/wms/basicDataManage/itemManage/itempackaging/itempackaging.data.ts @@ -234,6 +234,14 @@ export const Itempackaging = useCrudSchemas(reactive([ }, table: { width: 180 + }, + form: { + component: 'DatePicker', + componentProps: { + type: 'datetime', + dateFormat: 'YYYY-MM-DD HH:mm:ss', + valueFormat: 'x', + } } }, { diff --git a/src/views/wms/basicDataManage/itemManage/productionlineitem/productionlineitem.data.ts b/src/views/wms/basicDataManage/itemManage/productionlineitem/productionlineitem.data.ts index ec55197da..556b47240 100644 --- a/src/views/wms/basicDataManage/itemManage/productionlineitem/productionlineitem.data.ts +++ b/src/views/wms/basicDataManage/itemManage/productionlineitem/productionlineitem.data.ts @@ -150,6 +150,14 @@ export const Productionlineitem = useCrudSchemas(reactive([ formatter: dateFormatter, detail: { dateFormat : 'YYYY-MM-DD HH:mm:ss' + }, + form: { + component: 'DatePicker', + componentProps: { + type: 'datetime', + dateFormat: 'YYYY-MM-DD HH:mm:ss', + valueFormat: 'x', + } } }, { diff --git a/src/views/wms/basicDataManage/itemManage/stdcostprice/stdcostprice.data.ts b/src/views/wms/basicDataManage/itemManage/stdcostprice/stdcostprice.data.ts index 7559548fd..8a0cd0c31 100644 --- a/src/views/wms/basicDataManage/itemManage/stdcostprice/stdcostprice.data.ts +++ b/src/views/wms/basicDataManage/itemManage/stdcostprice/stdcostprice.data.ts @@ -138,6 +138,14 @@ export const Stdcostprice = useCrudSchemas(reactive([ formatter: dateFormatter, detail: { dateFormat: 'YYYY-MM-DD HH:mm:ss' + }, + form: { + component: 'DatePicker', + componentProps: { + type: 'datetime', + dateFormat: 'YYYY-MM-DD HH:mm:ss', + valueFormat: 'x', + } } }, {