Browse Source

基础数据管理 时间格式统一修改

master
陈薪名 1 year ago
parent
commit
6eea1323f4
  1. 8
      src/views/wms/basicDataManage/factoryModeling/enterprise/enterprise.data.ts
  2. 8
      src/views/wms/basicDataManage/itemManage/bom/bom.data.ts
  3. 8
      src/views/wms/basicDataManage/itemManage/itembasic/itembasic.data.ts
  4. 8
      src/views/wms/basicDataManage/itemManage/itempackaging/itempackaging.data.ts
  5. 8
      src/views/wms/basicDataManage/itemManage/productionlineitem/productionlineitem.data.ts
  6. 8
      src/views/wms/basicDataManage/itemManage/stdcostprice/stdcostprice.data.ts

8
src/views/wms/basicDataManage/factoryModeling/enterprise/enterprise.data.ts

@ -116,6 +116,14 @@ export const Enterprise = useCrudSchemas(reactive<CrudSchema[]>([
} }
}, },
isForm: false, isForm: false,
form: {
component: 'DatePicker',
componentProps: {
type: 'datetime',
dateFormat: 'YYYY-MM-DD HH:mm:ss',
valueFormat: 'x',
}
}
}, },
{ {
label: '操作', label: '操作',

8
src/views/wms/basicDataManage/itemManage/bom/bom.data.ts

@ -176,6 +176,14 @@ export const Bom = useCrudSchemas(reactive<CrudSchema[]>([
}, },
table: { table: {
width: 180 width: 180
},
form: {
component: 'DatePicker',
componentProps: {
type: 'datetime',
dateFormat: 'YYYY-MM-DD HH:mm:ss',
valueFormat: 'x',
}
} }
}, },
{ {

8
src/views/wms/basicDataManage/itemManage/itembasic/itembasic.data.ts

@ -386,6 +386,14 @@ export const Itembasic = useCrudSchemas(reactive<CrudSchema[]>([
table: { table: {
width: 180 width: 180
}, },
form: {
component: 'DatePicker',
componentProps: {
type: 'datetime',
dateFormat: 'YYYY-MM-DD HH:mm:ss',
valueFormat: 'x',
}
}
}, },
{ {
label: '创建者', label: '创建者',

8
src/views/wms/basicDataManage/itemManage/itempackaging/itempackaging.data.ts

@ -234,6 +234,14 @@ export const Itempackaging = useCrudSchemas(reactive<CrudSchema[]>([
}, },
table: { table: {
width: 180 width: 180
},
form: {
component: 'DatePicker',
componentProps: {
type: 'datetime',
dateFormat: 'YYYY-MM-DD HH:mm:ss',
valueFormat: 'x',
}
} }
}, },
{ {

8
src/views/wms/basicDataManage/itemManage/productionlineitem/productionlineitem.data.ts

@ -150,6 +150,14 @@ export const Productionlineitem = useCrudSchemas(reactive<CrudSchema[]>([
formatter: dateFormatter, formatter: dateFormatter,
detail: { detail: {
dateFormat : 'YYYY-MM-DD HH:mm:ss' dateFormat : 'YYYY-MM-DD HH:mm:ss'
},
form: {
component: 'DatePicker',
componentProps: {
type: 'datetime',
dateFormat: 'YYYY-MM-DD HH:mm:ss',
valueFormat: 'x',
}
} }
}, },
{ {

8
src/views/wms/basicDataManage/itemManage/stdcostprice/stdcostprice.data.ts

@ -138,6 +138,14 @@ export const Stdcostprice = useCrudSchemas(reactive<CrudSchema[]>([
formatter: dateFormatter, formatter: dateFormatter,
detail: { detail: {
dateFormat: 'YYYY-MM-DD HH:mm:ss' dateFormat: 'YYYY-MM-DD HH:mm:ss'
},
form: {
component: 'DatePicker',
componentProps: {
type: 'datetime',
dateFormat: 'YYYY-MM-DD HH:mm:ss',
valueFormat: 'x',
}
} }
}, },
{ {

Loading…
Cancel
Save