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', + } } }, {