云
11 小时以前 937b2da73b69ae81e4722f4924b974681c7290d8
style(date-picker): 统一日期选择器格式为日期模式

- 将所有日期选择器的 showTime 属性设置为 false
- 将所有日期选择器的 format 格式统一为 YYYY-MM-DD
- 修改多个表单中的日期字段组件属性配置
- 调整时间显示格式从日期时间格式改为仅日期格式
- 更新 MES、ERP、HRM 等模块中的日期相关组件配置
- 在客户池数据表中新增负责人和所属部门字段
已修改116个文件
438 ■■■■■ 文件已修改
src/views/basicData/mdm/data.ts 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/basicData/mdm/unit/data.ts 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/crm/customer/pool/data.ts 10 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/crm/customer/pool/index.vue 14 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/erp/finance/account/data.ts 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/erp/finance/payment/data.ts 4 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/erp/finance/payment/detail/approve/index.vue 6 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/erp/finance/receipt/data.ts 4 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/erp/product/category/data.ts 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/erp/product/product/data.ts 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/erp/product/unit/data.ts 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/erp/purchase/in/data.ts 4 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/erp/purchase/invoice/data.ts 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/erp/purchase/invoice/detail/approve/index.vue 6 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/erp/purchase/order/data.ts 4 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/erp/purchase/order/detail/index.vue 10 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/erp/purchase/request/data.ts 4 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/erp/purchase/request/detail/index.vue 10 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/erp/purchase/return/data.ts 4 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/erp/sale/customer/data.ts 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/erp/sale/out/data.ts 4 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/erp/sale/return/data.ts 4 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/erp/stock/check/data.ts 4 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/erp/stock/in/data.ts 4 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/erp/stock/move/data.ts 4 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/erp/stock/out/data.ts 4 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/erp/stock/record/data.ts 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/erp/stock/warehouse/data.ts 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/erp/stock/warehouseMapping/data.ts 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/hrm/attendance/exception/data.ts 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/hrm/attendance/exception/detail/approve/index.vue 4 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/hrm/attendance/holiday/data.ts 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/hrm/employee/contract/data.ts 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/hrm/employee/data.ts 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/hrm/leave/data.ts 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/hrm/leave/detail/approve/index.vue 4 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/hrm/overtime/data.ts 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/hrm/overtime/detail/approve/index.vue 4 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/hrm/resignation/data.ts 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/hrm/resignation/detail/approve/index.vue 6 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/hrm/salary/employee-social-security/data.ts 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/hrm/salary/leave-type-config/data.ts 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/hrm/salary/payment/data.ts 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/hrm/salary/social-security-scheme/data.ts 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/hrm/salary/structure/data.ts 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/hrm/transfer/data.ts 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/hrm/transfer/detail/approve/index.vue 6 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/mes/cal/plan/data.ts 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/mes/cal/team/data.ts 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/mes/dv/checkplan/data.ts 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/mes/dv/checkrecord/data.ts 8 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/mes/dv/machinery/data.ts 16 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/mes/dv/machinery/modules/check-record-list.vue 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/mes/dv/machinery/modules/mainten-record-list.vue 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/mes/dv/machinery/modules/repair-list.vue 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/mes/dv/machinery/type/data.ts 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/mes/dv/maintenrecord/data.ts 8 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/mes/dv/metering/data.ts 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/mes/dv/meteringcheck/data.ts 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/mes/dv/subject/data.ts 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/mes/md/autocode/data.ts 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/mes/md/item/data.ts 4 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/mes/md/item/type/data.ts 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/mes/md/workstation/data.ts 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/mes/pd/archive/data.ts 4 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/mes/pd/project/data.ts 4 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/mes/pd/project/detail/data.ts 4 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/mes/pd/project/modules/task/data.ts 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/mes/pd/project/modules/version-change/data.ts 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/mes/pro/andon/record/data.ts 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/mes/pro/feedback/modules/batch-input-dialog.vue 4 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/mes/pro/mps/data.ts 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/mes/pro/process/data.ts 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/mes/pro/route/data.ts 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/mes/pro/workorder/data.ts 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/mes/pro/workrecord/data.ts 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/mes/process-design/parameter/data.ts 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/mes/process-design/process/data.ts 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/mes/process-design/route/data.ts 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/mes/process-design/template/data.ts 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/mes/qc/batchtrace/data.ts 4 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/mes/qc/defect/data.ts 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/mes/qc/indicator/data.ts 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/mes/qc/ledger/data.ts 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/mes/qc/ncr/data.ts 4 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/mes/qc/report/instance/data.ts 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/mes/qc/report/template/data.ts 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/mes/qc/rqc/data.ts 6 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/mes/qc/template/data.ts 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/mes/tm/tool/data.ts 12 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/mes/tm/tool/type/data.ts 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/srm/supplierApply/detail/index.vue 4 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/wls/barcode/data.ts 6 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/wls/materialstock/data.ts 4 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/wls/productissue/data.ts 6 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/wls/returnissue/data.ts 6 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/wls/returnvendor/data.ts 6 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/wls/sn/data.ts 4 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/wls/warehouse/area/data.ts 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/wls/warehouse/data.ts 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/wls/warehouse/location/data.ts 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/wms/md/item/brand/data.ts 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/wms/md/item/category/data.ts 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/wms/md/warehouse/data.ts 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/wms/order/check/data.ts 6 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/wms/order/check/index.vue 6 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/wms/order/check/modules/print.vue 6 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/wms/order/movement/data.ts 6 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/wms/order/movement/index.vue 6 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/wms/order/movement/modules/print.vue 6 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/wms/order/receipt/data.ts 6 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/wms/order/receipt/index.vue 6 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/wms/order/receipt/modules/print.vue 6 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/wms/order/shipment/data.ts 6 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/wms/order/shipment/index.vue 6 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/wms/order/shipment/modules/print.vue 6 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/basicData/mdm/data.ts
@@ -588,7 +588,7 @@
      field: "createTime",
      title: "创建时间",
      minWidth: 180,
      formatter: "formatDateTime",
      formatter: 'formatDate',
    },
    {
      field: "isBatchManaged",
src/views/basicData/mdm/unit/data.ts
@@ -119,7 +119,7 @@
      field: 'createTime',
      title: '创建时间',
      minWidth: 180,
      formatter: 'formatDateTime',
      formatter: 'formatDate',
    },
    {
      title: '操作',
src/views/crm/customer/pool/data.ts
@@ -142,6 +142,16 @@
      minWidth: 200,
    },
    {
      title: '负责人',
      field: 'ownerUserName',
      minWidth: 100,
    },
    {
      title: '所属部门',
      field: 'ownerUserDeptName',
      minWidth: 100,
    },
    {
      title: '更新时间',
      field: 'updateTime',
      minWidth: 180,
src/views/crm/customer/pool/index.vue
@@ -37,6 +37,14 @@
  const records: CrmCustomerApi.Customer[] = row
    ? [row]
    : gridApi.grid.getCheckboxRecords();
  if (
    records.some(
      (item) => item.ownerUserId != null || item.autoPoolEnabled === false,
    )
  ) {
    message.warning('仅可领取或分配无负责人且允许流入公海的客户');
    return [];
  }
  const ids = records.map((item) => item.id!);
  if (ids.length === 0) {
    message.warning('请先勾选客户');
@@ -98,6 +106,10 @@
    columns: useGridColumns(),
    height: 'auto',
    keepSource: true,
    checkboxConfig: {
      checkMethod: ({ row }: { row: CrmCustomerApi.Customer }) =>
        row.ownerUserId == null && row.autoPoolEnabled !== false,
    },
    proxyConfig: {
      ajax: {
        query: async ({ page }, formValues) => {
@@ -161,6 +173,7 @@
              type: 'link',
              auth: ['crm:customer:receive'],
              disabled: receiving,
              ifShow: row.ownerUserId == null && row.autoPoolEnabled !== false,
              onClick: () => handleReceive(row),
            },
            {
@@ -168,6 +181,7 @@
              type: 'link',
              auth: ['crm:customer:distribute'],
              disabled: receiving,
              ifShow: row.ownerUserId == null && row.autoPoolEnabled !== false,
              onClick: () => handleDistribute(row),
            },
          ]"
src/views/erp/finance/account/data.ts
@@ -179,7 +179,7 @@
      field: 'createTime',
      title: '创建时间',
      minWidth: 180,
      formatter: 'formatDateTime',
      formatter: 'formatDate',
    },
    {
      title: '操作',
src/views/erp/finance/payment/data.ts
@@ -41,8 +41,8 @@
      componentProps: {
        disabled: formType === 'detail',
        placeholder: '选择付款时间',
        showTime: true,
        format: 'YYYY-MM-DD HH:mm:ss',
        showTime: false,
        format: 'YYYY-MM-DD',
        valueFormat: 'YYYY-MM-DD HH:mm:ss',
      },
      rules: 'required',
src/views/erp/finance/payment/detail/approve/index.vue
@@ -7,7 +7,7 @@
import { ContentWrap } from '@vben/common-ui';
import { DICT_TYPE } from '@vben/constants';
import { erpPriceInputFormatter, formatDateTime } from '@vben/utils';
import { erpPriceInputFormatter, formatDate } from '@vben/utils';
import { Spin } from 'ant-design-vue';
@@ -94,7 +94,7 @@
    {
      label: '付款时间',
      field: 'paymentTime',
      render: (val) => formatDateTime(val) as string,
      render: (val) => formatDate(val) as string,
    },
    {
      label: '合计金额(元)',
@@ -123,7 +123,7 @@
    {
      label: '创建时间',
      field: 'createTime',
      render: (val) => formatDateTime(val) as string,
      render: (val) => formatDate(val) as string,
    },
    { label: '备注', field: 'remark', render: textRender },
  ] as DescriptionItemSchema[],
src/views/erp/finance/receipt/data.ts
@@ -40,8 +40,8 @@
      componentProps: {
        disabled: formType === 'detail',
        placeholder: '选择收款时间',
        showTime: true,
        format: 'YYYY-MM-DD HH:mm:ss',
        showTime: false,
        format: 'YYYY-MM-DD',
        valueFormat: 'YYYY-MM-DD HH:mm:ss',
      },
      rules: 'required',
src/views/erp/product/category/data.ts
@@ -138,7 +138,7 @@
    {
      field: 'createTime',
      title: '创建时间',
      formatter: 'formatDateTime',
      formatter: 'formatDate',
    },
    {
      title: '操作',
src/views/erp/product/product/data.ts
@@ -243,7 +243,7 @@
      field: 'createTime',
      title: '创建时间',
      minWidth: 180,
      formatter: 'formatDateTime',
      formatter: 'formatDate',
    },
    {
      title: '操作',
src/views/erp/product/unit/data.ts
@@ -91,7 +91,7 @@
      field: 'createTime',
      title: '创建时间',
      minWidth: 180,
      formatter: 'formatDateTime',
      formatter: 'formatDate',
    },
    {
      title: '操作',
src/views/erp/purchase/in/data.ts
@@ -45,8 +45,8 @@
      componentProps: {
        disabled: formType === 'detail',
        placeholder: '选择入库时间',
        showTime: true,
        format: 'YYYY-MM-DD HH:mm:ss',
        showTime: false,
        format: 'YYYY-MM-DD',
        valueFormat: 'YYYY-MM-DD HH:mm:ss',
      },
      rules: 'required',
src/views/erp/purchase/invoice/data.ts
@@ -225,7 +225,7 @@
      title: '来票日期',
      field: 'invoiceTime',
      minWidth: 150,
      formatter: 'formatDateTime',
      formatter: 'formatDate',
    },
    {
      title: '备注',
src/views/erp/purchase/invoice/detail/approve/index.vue
@@ -5,7 +5,7 @@
import { onMounted, ref } from 'vue';
import { ContentWrap } from '@vben/common-ui';
import { erpPriceInputFormatter, formatDateTime } from '@vben/utils';
import { erpPriceInputFormatter, formatDate } from '@vben/utils';
import { Spin } from 'ant-design-vue';
@@ -50,13 +50,13 @@
    {
      label: '开票日期',
      field: 'invoiceTime',
      render: (val) => formatDateTime(val) as string,
      render: (val) => formatDate(val) as string,
    },
    { label: '创建人', field: 'creatorName', render: textRender },
    {
      label: '创建时间',
      field: 'createTime',
      render: (val) => formatDateTime(val) as string,
      render: (val) => formatDate(val) as string,
    },
    { label: '备注', field: 'remark', render: textRender },
  ] as DescriptionItemSchema[],
src/views/erp/purchase/order/data.ts
@@ -43,8 +43,8 @@
      component: 'DatePicker',
      componentProps: {
        placeholder: '选择订单时间',
        showTime: true,
        format: 'YYYY-MM-DD HH:mm:ss',
        showTime: false,
        format: 'YYYY-MM-DD',
        valueFormat: 'YYYY-MM-DD HH:mm:ss',
      },
      rules: 'required',
src/views/erp/purchase/order/detail/index.vue
@@ -6,11 +6,7 @@
import { ContentWrap } from '@vben/common-ui';
import { DICT_TYPE } from '@vben/constants';
import {
  erpCountInputFormatter,
  erpPriceInputFormatter,
  formatDateTime,
} from '@vben/utils';
import { erpCountInputFormatter, erpPriceInputFormatter, formatDate } from '@vben/utils';
import { Spin, Tag } from 'ant-design-vue';
@@ -52,7 +48,7 @@
    {
      label: '订单时间',
      field: 'orderTime',
      render: (val) => formatDateTime(val) as string,
      render: (val) => formatDate(val) as string,
    },
    {
      label: '合计数量',
@@ -89,7 +85,7 @@
    {
      label: '创建时间',
      field: 'createTime',
      render: (val) => formatDateTime(val) as string,
      render: (val) => formatDate(val) as string,
    },
    { label: '备注', field: 'remark', render: textRender },
  ] as DescriptionItemSchema[],
src/views/erp/purchase/request/data.ts
@@ -46,8 +46,8 @@
      component: 'DatePicker',
      componentProps: {
        placeholder: '选择申请时间',
        showTime: true,
        format: 'YYYY-MM-DD HH:mm:ss',
        showTime: false,
        format: 'YYYY-MM-DD',
        valueFormat: 'YYYY-MM-DD HH:mm:ss',
        disabled: formType === 'detail',
      },
src/views/erp/purchase/request/detail/index.vue
@@ -7,11 +7,7 @@
import { ContentWrap } from '@vben/common-ui';
import { DICT_TYPE } from '@vben/constants';
import {
  erpCountInputFormatter,
  erpPriceInputFormatter,
  formatDateTime,
} from '@vben/utils';
import { erpCountInputFormatter, erpPriceInputFormatter, formatDate } from '@vben/utils';
import { Spin } from 'ant-design-vue';
@@ -114,7 +110,7 @@
    {
      label: '申请时间',
      field: 'requestTime',
      render: (val) => formatDateTime(val) as string,
      render: (val) => formatDate(val) as string,
    },
    { label: '供应商名称', field: 'supplierName', render: textRender },
    {
@@ -132,7 +128,7 @@
    {
      label: '创建时间',
      field: 'createTime',
      render: (val) => formatDateTime(val) as string,
      render: (val) => formatDate(val) as string,
    },
    { label: '备注', field: 'remark', render: textRender },
  ] as DescriptionItemSchema[],
src/views/erp/purchase/return/data.ts
@@ -45,8 +45,8 @@
      componentProps: {
        disabled: formType === 'detail',
        placeholder: '选择退货时间',
        showTime: true,
        format: 'YYYY-MM-DD HH:mm:ss',
        showTime: false,
        format: 'YYYY-MM-DD',
        valueFormat: 'YYYY-MM-DD HH:mm:ss',
      },
      rules: 'required',
src/views/erp/sale/customer/data.ts
@@ -229,7 +229,7 @@
      field: 'createTime',
      title: '创建时间',
      minWidth: 180,
      formatter: 'formatDateTime',
      formatter: 'formatDate',
    },
    {
      title: '操作',
src/views/erp/sale/out/data.ts
@@ -45,8 +45,8 @@
      componentProps: {
        disabled: formType === 'detail',
        placeholder: '选择出库时间',
        showTime: true,
        format: 'YYYY-MM-DD HH:mm:ss',
        showTime: false,
        format: 'YYYY-MM-DD',
        valueFormat: 'YYYY-MM-DD HH:mm:ss',
      },
      rules: 'required',
src/views/erp/sale/return/data.ts
@@ -45,8 +45,8 @@
      componentProps: {
        disabled: formType === 'detail',
        placeholder: '选择退货时间',
        showTime: true,
        format: 'YYYY-MM-DD HH:mm:ss',
        showTime: false,
        format: 'YYYY-MM-DD',
        valueFormat: 'YYYY-MM-DD HH:mm:ss',
      },
      rules: 'required',
src/views/erp/stock/check/data.ts
@@ -40,8 +40,8 @@
      component: 'DatePicker',
      componentProps: {
        placeholder: '选择盘点时间',
        showTime: true,
        format: 'YYYY-MM-DD HH:mm:ss',
        showTime: false,
        format: 'YYYY-MM-DD',
        valueFormat: 'YYYY-MM-DD HH:mm:ss',
      },
      rules: 'required',
src/views/erp/stock/in/data.ts
@@ -41,8 +41,8 @@
      component: 'DatePicker',
      componentProps: {
        placeholder: '选择入库时间',
        showTime: true,
        format: 'YYYY-MM-DD HH:mm:ss',
        showTime: false,
        format: 'YYYY-MM-DD',
        valueFormat: 'YYYY-MM-DD HH:mm:ss',
      },
      rules: 'required',
src/views/erp/stock/move/data.ts
@@ -40,8 +40,8 @@
      component: 'DatePicker',
      componentProps: {
        placeholder: '选择调度时间',
        showTime: true,
        format: 'YYYY-MM-DD HH:mm:ss',
        showTime: false,
        format: 'YYYY-MM-DD',
        valueFormat: 'YYYY-MM-DD HH:mm:ss',
      },
      rules: 'required',
src/views/erp/stock/out/data.ts
@@ -41,8 +41,8 @@
      component: 'DatePicker',
      componentProps: {
        placeholder: '选择出库时间',
        showTime: true,
        format: 'YYYY-MM-DD HH:mm:ss',
        showTime: false,
        format: 'YYYY-MM-DD',
        valueFormat: 'YYYY-MM-DD HH:mm:ss',
      },
      rules: 'required',
src/views/erp/stock/record/data.ts
@@ -107,7 +107,7 @@
      field: 'createTime',
      title: '出入库日期',
      width: 180,
      formatter: 'formatDateTime',
      formatter: 'formatDate',
    },
    {
      field: 'count',
src/views/erp/stock/warehouse/data.ts
@@ -196,7 +196,7 @@
      field: 'createTime',
      title: '创建时间',
      minWidth: 180,
      formatter: 'formatDateTime',
      formatter: 'formatDate',
    },
    {
      title: '操作',
src/views/erp/stock/warehouseMapping/data.ts
@@ -84,7 +84,7 @@
      field: 'createTime',
      title: '创建时间',
      width: 180,
      formatter: 'formatDateTime',
      formatter: 'formatDate',
    },
    {
      title: '操作',
src/views/hrm/attendance/exception/data.ts
@@ -129,7 +129,7 @@
      field: 'createTime',
      title: '创建时间',
      width: 180,
      formatter: 'formatDateTime',
      formatter: 'formatDate',
    },
    {
      title: '操作',
src/views/hrm/attendance/exception/detail/approve/index.vue
@@ -6,7 +6,7 @@
import { ContentWrap } from '@vben/common-ui';
import { DICT_TYPE } from '@vben/constants';
import { formatDateTime } from '@vben/utils';
import { formatDateTime, formatDate } from '@vben/utils';
import { Spin } from 'ant-design-vue';
@@ -49,7 +49,7 @@
    {
      label: '创建时间',
      field: 'createTime',
      render: (val) => formatDateTime(val) as string,
      render: (val) => formatDate(val) as string,
    },
  ] as DescriptionItemSchema[],
});
src/views/hrm/attendance/holiday/data.ts
@@ -155,7 +155,7 @@
      field: 'createTime',
      title: '创建时间',
      width: 180,
      formatter: 'formatDateTime',
      formatter: 'formatDate',
    },
    {
      title: '操作',
src/views/hrm/employee/contract/data.ts
@@ -285,7 +285,7 @@
      field: 'createTime',
      title: '创建时间',
      width: 180,
      formatter: 'formatDateTime',
      formatter: 'formatDate',
    },
    {
      title: '操作',
src/views/hrm/employee/data.ts
@@ -385,7 +385,7 @@
      field: 'createTime',
      title: '创建时间',
      width: 180,
      formatter: 'formatDateTime',
      formatter: 'formatDate',
    },
    {
      title: '操作',
src/views/hrm/leave/data.ts
@@ -173,7 +173,7 @@
      field: 'createTime',
      title: '创建时间',
      width: 180,
      formatter: 'formatDateTime',
      formatter: 'formatDate',
    },
    {
      title: '操作',
src/views/hrm/leave/detail/approve/index.vue
@@ -6,7 +6,7 @@
import { ContentWrap } from '@vben/common-ui';
import { DICT_TYPE } from '@vben/constants';
import { formatDateTime } from '@vben/utils';
import { formatDateTime, formatDate } from '@vben/utils';
import { Spin } from 'ant-design-vue';
@@ -60,7 +60,7 @@
    {
      label: '创建时间',
      field: 'createTime',
      render: (val) => formatDateTime(val) as string,
      render: (val) => formatDate(val) as string,
    },
  ] as DescriptionItemSchema[],
});
src/views/hrm/overtime/data.ts
@@ -308,7 +308,7 @@
      field: 'createTime',
      title: '创建时间',
      width: 180,
      formatter: 'formatDateTime',
      formatter: 'formatDate',
    },
    {
      title: '操作',
src/views/hrm/overtime/detail/approve/index.vue
@@ -6,7 +6,7 @@
import { ContentWrap } from '@vben/common-ui';
import { DICT_TYPE } from '@vben/constants';
import { formatDateTime } from '@vben/utils';
import { formatDate } from '@vben/utils';
import { Spin, Tag } from 'ant-design-vue';
@@ -54,7 +54,7 @@
      field: 'status',
      render: (value) => h(DictTag, { type: DICT_TYPE.HRM_AUDIT_STATUS, value }),
    },
    { label: '创建时间', field: 'createTime', render: (value) => formatDateTime(value) as string },
    { label: '创建时间', field: 'createTime', render: (value) => formatDate(value) as string },
  ] as DescriptionItemSchema[],
});
src/views/hrm/resignation/data.ts
@@ -157,7 +157,7 @@
      field: 'createTime',
      title: '创建时间',
      width: 180,
      formatter: 'formatDateTime',
      formatter: 'formatDate',
    },
    {
      title: '操作',
src/views/hrm/resignation/detail/approve/index.vue
@@ -6,7 +6,7 @@
import { ContentWrap } from '@vben/common-ui';
import { DICT_TYPE } from '@vben/constants';
import { formatDateTime } from '@vben/utils';
import { formatDate } from '@vben/utils';
import { Spin } from 'ant-design-vue';
@@ -42,7 +42,7 @@
    {
      label: '预计离职日期',
      field: 'expectedDate',
      render: (val) => formatDateTime(val) as string,
      render: (val) => formatDate(val) as string,
    },
    { label: '离职原因', field: 'reason', render: textRender },
    { label: '交接人', field: 'handoverUserName', render: textRender },
@@ -62,7 +62,7 @@
    {
      label: '创建时间',
      field: 'createTime',
      render: (val) => formatDateTime(val) as string,
      render: (val) => formatDate(val) as string,
    },
  ] as DescriptionItemSchema[],
});
src/views/hrm/salary/employee-social-security/data.ts
@@ -166,7 +166,7 @@
      field: 'createTime',
      title: '创建时间',
      width: 180,
      formatter: 'formatDateTime',
      formatter: 'formatDate',
    },
    {
      title: '操作',
src/views/hrm/salary/leave-type-config/data.ts
@@ -106,7 +106,7 @@
      field: 'createTime',
      title: '创建时间',
      width: 180,
      formatter: 'formatDateTime',
      formatter: 'formatDate',
    },
    {
      title: '操作',
src/views/hrm/salary/payment/data.ts
@@ -65,7 +65,7 @@
      field: 'createTime',
      title: '创建时间',
      width: 180,
      formatter: 'formatDateTime',
      formatter: 'formatDate',
    },
    {
      title: '操作',
src/views/hrm/salary/social-security-scheme/data.ts
@@ -316,7 +316,7 @@
      field: 'createTime',
      title: '创建时间',
      width: 180,
      formatter: 'formatDateTime',
      formatter: 'formatDate',
    },
    {
      title: '操作',
src/views/hrm/salary/structure/data.ts
@@ -150,7 +150,7 @@
      field: 'createTime',
      title: '创建时间',
      width: 180,
      formatter: 'formatDateTime',
      formatter: 'formatDate',
    },
    {
      field: 'actions',
src/views/hrm/transfer/data.ts
@@ -203,7 +203,7 @@
      field: 'createTime',
      title: '创建时间',
      width: 180,
      formatter: 'formatDateTime',
      formatter: 'formatDate',
    },
    {
      title: '操作',
src/views/hrm/transfer/detail/approve/index.vue
@@ -6,7 +6,7 @@
import { ContentWrap } from '@vben/common-ui';
import { DICT_TYPE } from '@vben/constants';
import { formatDateTime } from '@vben/utils';
import { formatDate } from '@vben/utils';
import { Spin } from 'ant-design-vue';
@@ -44,7 +44,7 @@
    {
      label: '生效日期',
      field: 'effectiveDate',
      render: (val) => formatDateTime(val) as string,
      render: (val) => formatDate(val) as string,
    },
    { label: '调岗原因', field: 'reason', render: textRender },
    {
@@ -57,7 +57,7 @@
    {
      label: '创建时间',
      field: 'createTime',
      render: (val) => formatDateTime(val) as string,
      render: (val) => formatDate(val) as string,
    },
  ] as DescriptionItemSchema[],
});
src/views/mes/cal/plan/data.ts
@@ -289,7 +289,7 @@
      field: 'createTime',
      title: '创建时间',
      width: 180,
      formatter: 'formatDateTime',
      formatter: 'formatDate',
    },
    {
      title: '操作',
src/views/mes/cal/team/data.ts
@@ -151,7 +151,7 @@
      field: 'createTime',
      title: '创建时间',
      width: 180,
      formatter: 'formatDateTime',
      formatter: 'formatDate',
    },
    {
      title: '操作',
src/views/mes/dv/checkplan/data.ts
@@ -255,7 +255,7 @@
      field: 'createTime',
      title: '创建时间',
      width: 180,
      formatter: 'formatDateTime',
      formatter: 'formatDate',
    },
    {
      title: '操作',
src/views/mes/dv/checkrecord/data.ts
@@ -76,9 +76,9 @@
      label: '点检时间',
      component: 'DatePicker',
      componentProps: {
        format: 'YYYY-MM-DD HH:mm:ss',
        format: 'YYYY-MM-DD',
        placeholder: '请选择点检时间',
        showTime: true,
        showTime: false,
        valueFormat: 'YYYY-MM-DD HH:mm:ss',
      },
      rules: 'required',
@@ -146,7 +146,7 @@
      field: 'checkTime',
      title: '点检时间',
      width: 180,
      formatter: 'formatDateTime',
      formatter: 'formatDate',
    },
    { field: 'nickname', title: '点检人', minWidth: 120 },
    {
@@ -162,7 +162,7 @@
      field: 'createTime',
      title: '创建时间',
      width: 180,
      formatter: 'formatDateTime',
      formatter: 'formatDate',
    },
    {
      title: '操作',
src/views/mes/dv/machinery/data.ts
@@ -150,8 +150,8 @@
      componentProps: {
        class: '!w-full',
        disabled: true,
        format: 'YYYY-MM-DD HH:mm:ss',
        showTime: true,
        format: 'YYYY-MM-DD',
        showTime: false,
        valueFormat: 'YYYY-MM-DD HH:mm:ss',
      },
      dependencies: {
@@ -166,8 +166,8 @@
      componentProps: {
        class: '!w-full',
        disabled: true,
        format: 'YYYY-MM-DD HH:mm:ss',
        showTime: true,
        format: 'YYYY-MM-DD',
        showTime: false,
        valueFormat: 'YYYY-MM-DD HH:mm:ss',
      },
      dependencies: {
@@ -262,19 +262,19 @@
      field: 'lastCheckTime',
      title: '最近点检时间',
      width: 180,
      formatter: 'formatDateTime',
      formatter: 'formatDate',
    },
    {
      field: 'lastMaintenTime',
      title: '最近保养时间',
      width: 180,
      formatter: 'formatDateTime',
      formatter: 'formatDate',
    },
    {
      field: 'createTime',
      title: '创建时间',
      width: 180,
      formatter: 'formatDateTime',
      formatter: 'formatDate',
    },
    {
      title: '操作',
@@ -368,7 +368,7 @@
      field: 'createTime',
      title: '创建时间',
      width: 160,
      formatter: 'formatDateTime',
      formatter: 'formatDate',
    },
  ];
}
src/views/mes/dv/machinery/modules/check-record-list.vue
@@ -28,7 +28,7 @@
        field: 'checkTime',
        title: '点检时间',
        width: 180,
        formatter: 'formatDateTime',
        formatter: 'formatDate',
      },
      { field: 'nickname', title: '操作人', minWidth: 120 },
      {
src/views/mes/dv/machinery/modules/mainten-record-list.vue
@@ -28,7 +28,7 @@
        field: 'maintenTime',
        title: '保养时间',
        width: 180,
        formatter: 'formatDateTime',
        formatter: 'formatDate',
      },
      { field: 'nickname', title: '操作人', minWidth: 120 },
      {
src/views/mes/dv/machinery/modules/repair-list.vue
@@ -29,7 +29,7 @@
        field: 'requireDate',
        title: '报修日期',
        width: 180,
        formatter: 'formatDateTime',
        formatter: 'formatDate',
      },
      { field: 'nickname', title: '操作人', minWidth: 120 },
      {
src/views/mes/dv/machinery/type/data.ts
@@ -178,7 +178,7 @@
      field: 'createTime',
      title: '创建时间',
      width: 180,
      formatter: 'formatDateTime',
      formatter: 'formatDate',
    },
    {
      title: '操作',
src/views/mes/dv/maintenrecord/data.ts
@@ -76,9 +76,9 @@
      label: '保养时间',
      component: 'DatePicker',
      componentProps: {
        format: 'YYYY-MM-DD HH:mm:ss',
        format: 'YYYY-MM-DD',
        placeholder: '请选择保养时间',
        showTime: true,
        showTime: false,
        valueFormat: 'YYYY-MM-DD HH:mm:ss',
      },
      rules: 'required',
@@ -146,7 +146,7 @@
      field: 'maintenTime',
      title: '保养时间',
      width: 180,
      formatter: 'formatDateTime',
      formatter: 'formatDate',
    },
    { field: 'nickname', title: '保养人', minWidth: 120 },
    {
@@ -162,7 +162,7 @@
      field: 'createTime',
      title: '创建时间',
      width: 180,
      formatter: 'formatDateTime',
      formatter: 'formatDate',
    },
    {
      title: '操作',
src/views/mes/dv/metering/data.ts
@@ -361,7 +361,7 @@
      field: 'createTime',
      title: '创建时间',
      width: 180,
      formatter: 'formatDateTime',
      formatter: 'formatDate',
    },
    {
      title: '操作',
src/views/mes/dv/meteringcheck/data.ts
@@ -201,7 +201,7 @@
      field: 'createTime',
      title: '创建时间',
      width: 180,
      formatter: 'formatDateTime',
      formatter: 'formatDate',
    },
    {
      title: '操作',
src/views/mes/dv/subject/data.ts
@@ -196,7 +196,7 @@
      field: 'createTime',
      title: '创建时间',
      width: 180,
      formatter: 'formatDateTime',
      formatter: 'formatDate',
    },
    {
      title: '操作',
src/views/mes/md/autocode/data.ts
@@ -214,7 +214,7 @@
      field: 'createTime',
      title: '创建时间',
      width: 180,
      formatter: 'formatDateTime',
      formatter: 'formatDate',
    },
    {
      title: '操作',
src/views/mes/md/item/data.ts
@@ -327,7 +327,7 @@
      field: 'createTime',
      title: '创建时间',
      width: 180,
      formatter: 'formatDateTime',
      formatter: 'formatDate',
    },
    {
      title: '操作',
@@ -417,7 +417,7 @@
      field: 'createTime',
      title: '创建时间',
      width: 180,
      formatter: 'formatDateTime',
      formatter: 'formatDate',
    },
  ];
}
src/views/mes/md/item/type/data.ts
@@ -213,7 +213,7 @@
      field: 'createTime',
      title: '创建时间',
      width: 180,
      formatter: 'formatDateTime',
      formatter: 'formatDate',
    },
    {
      title: '操作',
src/views/mes/md/workstation/data.ts
@@ -277,7 +277,7 @@
      field: 'createTime',
      title: '创建时间',
      width: 180,
      formatter: 'formatDateTime',
      formatter: 'formatDate',
    },
    {
      title: '操作',
src/views/mes/pd/archive/data.ts
@@ -64,14 +64,14 @@
      field: 'archiveTime',
      title: '归档时间',
      minWidth: 160,
      formatter: 'formatDateTime',
      formatter: 'formatDate',
    },
    { field: 'updaterNickname', title: '更新人', minWidth: 100 },
    {
      field: 'updateTime',
      title: '更新时间',
      minWidth: 160,
      formatter: 'formatDateTime',
      formatter: 'formatDate',
    },
src/views/mes/pd/project/data.ts
@@ -268,7 +268,7 @@
      field: "createTime",
      title: "创建时间",
      minWidth: 160,
      formatter: "formatDateTime",
      formatter: 'formatDate',
    },
    {
      field: "action",
@@ -454,7 +454,7 @@
      field: "uploadTime",
      title: "上传时间",
      minWidth: 160,
      formatter: "formatDateTime",
      formatter: 'formatDate',
    },
    {
      field: "action",
src/views/mes/pd/project/detail/data.ts
@@ -3,7 +3,7 @@
import { h } from 'vue';
import { DICT_TYPE } from '#/packages/constants/src';
import { formatDate, formatDateTime } from '#/packages/utils/src';
import { formatDate } from '#/packages/utils/src';
import { DictTag } from '#/components/dict-tag';
@@ -31,7 +31,7 @@
    {
      field: 'createTime',
      label: '创建时间',
      render: (val) => (val ? formatDateTime(val) : '-'),
      render: (val) => (val ? formatDate(val) : '-'),
    },
    { field: 'remark', label: '备注' },
  ];
src/views/mes/pd/project/modules/task/data.ts
@@ -57,7 +57,7 @@
      field: 'createTime',
      title: '创建时间',
      minWidth: 160,
      formatter: 'formatDateTime',
      formatter: 'formatDate',
    },
    {
      field: 'action',
src/views/mes/pd/project/modules/version-change/data.ts
@@ -54,7 +54,7 @@
      field: 'createTime',
      title: '申请时间',
      minWidth: 160,
      formatter: 'formatDateTime',
      formatter: 'formatDate',
    },
  ];
src/views/mes/pro/andon/record/data.ts
@@ -89,7 +89,7 @@
      field: 'createTime',
      title: '发起时间',
      width: 180,
      formatter: 'formatDateTime',
      formatter: 'formatDate',
    },
    { field: 'reason', title: '呼叫原因', minWidth: 160 },
    {
src/views/mes/pro/feedback/modules/batch-input-dialog.vue
@@ -65,7 +65,7 @@
        fieldName: 'expireDate',
        label: '有效期',
        component: 'DatePicker',
        componentProps: { class: 'w-full', format: 'YYYY-MM-DD', valueFormat: 'YYYY-MM-DD HH:mm:ss', showTime: true, placeholder: '请选择有效期' },
        componentProps: { class: 'w-full', format: 'YYYY-MM-DD', valueFormat: 'YYYY-MM-DD HH:mm:ss', showTime: false, placeholder: '请选择有效期' },
        rules: 'required',
      });
    }
@@ -74,7 +74,7 @@
        fieldName: 'receiptDate',
        label: '入库日期',
        component: 'DatePicker',
        componentProps: { class: 'w-full', format: 'YYYY-MM-DD', valueFormat: 'YYYY-MM-DD HH:mm:ss', showTime: true, placeholder: '请选择入库日期' },
        componentProps: { class: 'w-full', format: 'YYYY-MM-DD', valueFormat: 'YYYY-MM-DD HH:mm:ss', showTime: false, placeholder: '请选择入库日期' },
        rules: 'required',
      });
    }
src/views/mes/pro/mps/data.ts
@@ -287,7 +287,7 @@
      field: 'createTime',
      title: '创建时间',
      width: 180,
      formatter: 'formatDateTime',
      formatter: 'formatDate',
    },
    {
      title: '操作',
src/views/mes/pro/process/data.ts
@@ -161,7 +161,7 @@
      field: 'createTime',
      title: '创建时间',
      width: 180,
      formatter: 'formatDateTime',
      formatter: 'formatDate',
    },
    {
      title: '操作',
src/views/mes/pro/route/data.ts
@@ -167,7 +167,7 @@
      field: 'createTime',
      title: '创建时间',
      width: 180,
      formatter: 'formatDateTime',
      formatter: 'formatDate',
    },
    {
      title: '操作',
src/views/mes/pro/workorder/data.ts
@@ -504,7 +504,7 @@
      field: 'createTime',
      title: '创建时间',
      width: 180,
      formatter: 'formatDateTime',
      formatter: 'formatDate',
    },
    {
      title: '操作',
src/views/mes/pro/workrecord/data.ts
@@ -101,7 +101,7 @@
      field: 'createTime',
      title: '创建时间',
      width: 180,
      formatter: 'formatDateTime',
      formatter: 'formatDate',
    },
  ];
}
src/views/mes/process-design/parameter/data.ts
@@ -166,7 +166,7 @@
      field: "createTime",
      title: "创建时间",
      width: 180,
      formatter: "formatDateTime",
      formatter: 'formatDate',
    },
    {
      title: "操作",
src/views/mes/process-design/process/data.ts
@@ -161,7 +161,7 @@
      field: 'createTime',
      title: '创建时间',
      width: 180,
      formatter: 'formatDateTime',
      formatter: 'formatDate',
    },
    {
      title: '操作',
src/views/mes/process-design/route/data.ts
@@ -154,7 +154,7 @@
      field: "createTime",
      title: "创建时间",
      width: 180,
      formatter: "formatDateTime",
      formatter: 'formatDate',
    },
    {
      title: "操作",
src/views/mes/process-design/template/data.ts
@@ -125,7 +125,7 @@
      field: "createTime",
      title: "创建时间",
      width: 180,
      formatter: "formatDateTime",
      formatter: 'formatDate',
    },
    {
      title: "操作",
src/views/mes/qc/batchtrace/data.ts
@@ -242,7 +242,7 @@
      field: 'receiptDate',
      title: '入库日期',
      minWidth: 160,
      formatter: 'formatDateTime',
      formatter: 'formatDate',
    },
    {
      field: 'purchaseOrderCode',
@@ -303,7 +303,7 @@
      field: 'salesDate',
      title: '出库日期',
      minWidth: 160,
      formatter: 'formatDateTime',
      formatter: 'formatDate',
    },
    {
      field: 'salesOrderCode',
src/views/mes/qc/defect/data.ts
@@ -170,7 +170,7 @@
      field: 'createTime',
      title: '创建时间',
      width: 180,
      formatter: 'formatDateTime',
      formatter: 'formatDate',
    },
    {
      title: '操作',
src/views/mes/qc/indicator/data.ts
@@ -323,7 +323,7 @@
      field: 'createTime',
      title: '创建时间',
      width: 180,
      formatter: 'formatDateTime',
      formatter: 'formatDate',
    },
    {
      title: '操作',
src/views/mes/qc/ledger/data.ts
@@ -179,7 +179,7 @@
      field: 'inspectDate',
      title: '检测日期',
      width: 170,
      formatter: 'formatDateTime',
      formatter: 'formatDate',
    },
    {
      field: 'status',
src/views/mes/qc/ncr/data.ts
@@ -363,7 +363,7 @@
        allowClear: true,
        class: '!w-full',
        placeholder: '请选择创建时间',
        showTime: true,
        showTime: false,
        type: 'date',
      },
    },
@@ -435,7 +435,7 @@
      field: 'createTime',
      title: '创建时间',
      width: 180,
      formatter: 'formatDateTime',
      formatter: 'formatDate',
    },
    {
      title: '操作',
src/views/mes/qc/report/instance/data.ts
@@ -153,7 +153,7 @@
      field: 'createTime',
      title: '生成时间',
      width: 180,
      formatter: 'formatDateTime',
      formatter: 'formatDate',
    },
    {
      title: '操作',
src/views/mes/qc/report/template/data.ts
@@ -217,7 +217,7 @@
      field: 'createTime',
      title: '创建时间',
      width: 180,
      formatter: 'formatDateTime',
      formatter: 'formatDate',
    },
    {
      title: '操作',
src/views/mes/qc/rqc/data.ts
@@ -246,9 +246,9 @@
      label: '检测日期',
      component: 'DatePicker',
      componentProps: {
        format: 'YYYY-MM-DD HH:mm:ss',
        format: 'YYYY-MM-DD',
        placeholder: '请选择检测日期',
        showTime: true,
        showTime: false,
        valueFormat: 'YYYY-MM-DD HH:mm:ss',
      },
      rules: 'required',
@@ -442,7 +442,7 @@
      field: 'inspectDate',
      title: '检测日期',
      width: 160,
      formatter: 'formatDateTime',
      formatter: 'formatDate',
    },
    {
      field: 'inspectorNickname',
src/views/mes/qc/template/data.ts
@@ -185,7 +185,7 @@
      field: 'createTime',
      title: '创建时间',
      width: 180,
      formatter: 'formatDateTime',
      formatter: 'formatDate',
    },
    {
      title: '操作',
src/views/mes/tm/tool/data.ts
@@ -11,7 +11,7 @@
  MesToolStatusEnum,
} from '@vben/constants';
import { getDictOptions } from '@vben/hooks';
import { formatDateTime } from '@vben/utils';
import { formatDate } from '@vben/utils';
import { Button } from 'ant-design-vue';
@@ -181,8 +181,8 @@
      label: '下次保养日期',
      component: 'DatePicker',
      componentProps: {
        format: 'YYYY-MM-DD HH:mm:ss',
        showTime: true,
        format: 'YYYY-MM-DD',
        showTime: false,
        valueFormat: 'YYYY-MM-DD HH:mm:ss',
      },
      dependencies: {
@@ -302,7 +302,7 @@
      formatter: ({ row }) => {
        if (row.maintenType === MesMaintenTypeEnum.REGULAR) {
          return row.nextMaintenDate
            ? formatDateTime(row.nextMaintenDate)
            ? formatDate(row.nextMaintenDate)
            : '-';
        }
        if (row.maintenType === MesMaintenTypeEnum.USAGE) {
@@ -326,7 +326,7 @@
      field: 'createTime',
      title: '创建时间',
      width: 180,
      formatter: 'formatDateTime',
      formatter: 'formatDate',
    },
    {
      title: '操作',
@@ -416,7 +416,7 @@
      field: 'createTime',
      title: '创建时间',
      width: 180,
      formatter: 'formatDateTime',
      formatter: 'formatDate',
    },
  ];
}
src/views/mes/tm/tool/type/data.ts
@@ -211,7 +211,7 @@
      field: 'createTime',
      title: '创建时间',
      width: 180,
      formatter: 'formatDateTime',
      formatter: 'formatDate',
    },
    {
      title: '操作',
src/views/srm/supplierApply/detail/index.vue
@@ -5,7 +5,7 @@
import { h, onMounted, ref } from 'vue';
import { ContentWrap } from '@vben/common-ui';
import { formatDateTime } from '@vben/utils';
import { formatDate } from '@vben/utils';
import { Spin, Tag } from 'ant-design-vue';
@@ -44,7 +44,7 @@
    {
      label: '申请时间',
      field: 'applyTime',
      render: (val) => formatDateTime(val) as string,
      render: (val) => formatDate(val) as string,
    },
    { label: '供应商名称', field: 'supplierName', render: textRender },
    { label: '供应商类型', field: 'supplierType', render: textRender },
src/views/wls/barcode/data.ts
@@ -13,7 +13,7 @@
  MesProWorkOrderStatusEnum,
} from '@vben/constants';
import { getDictOptions } from '@vben/hooks';
import { formatDateTime } from '@vben/utils';
import { formatDate } from '@vben/utils';
import { z } from '#/adapter/form';
import { generateBarcodeContent } from '#/api/mes/wm/barcode';
@@ -674,7 +674,7 @@
      field: 'createTime',
      title: '创建时间',
      width: 180,
      formatter: 'formatDateTime',
      formatter: 'formatDate',
    },
    {
      title: '操作',
@@ -730,7 +730,7 @@
    {
      field: 'createTime',
      label: '创建时间',
      render: (value) => formatDateTime(value) || '-',
      render: (value) => formatDate(value) || '-',
    },
  ];
}
src/views/wls/materialstock/data.ts
@@ -173,7 +173,7 @@
      field: 'receiptTime',
      title: '入库日期',
      width: 180,
      formatter: 'formatDateTime',
      formatter: 'formatDate',
    },
    {
      field: 'frozen',
@@ -373,7 +373,7 @@
      field: 'receiptTime',
      title: '入库日期',
      width: 180,
      formatter: 'formatDateTime',
      formatter: 'formatDate',
    },
    {
      field: 'frozen',
src/views/wls/productissue/data.ts
@@ -100,9 +100,9 @@
      component: 'DatePicker',
      componentProps: {
        class: '!w-full',
        format: 'YYYY-MM-DD HH:mm:ss',
        format: 'YYYY-MM-DD',
        placeholder: '请选择需求时间',
        showTime: true,
        showTime: false,
        valueFormat: 'YYYY-MM-DD HH:mm:ss',
      },
      rules: 'required',
@@ -242,7 +242,7 @@
      field: 'requiredTime',
      title: '需求时间',
      width: 180,
      formatter: 'formatDateTime',
      formatter: 'formatDate',
    },
    {
      field: 'status',
src/views/wls/returnissue/data.ts
@@ -127,9 +127,9 @@
      component: 'DatePicker',
      componentProps: {
        class: '!w-full',
        format: 'YYYY-MM-DD HH:mm:ss',
        format: 'YYYY-MM-DD',
        placeholder: '请选择退料日期',
        showTime: true,
        showTime: false,
        valueFormat: 'YYYY-MM-DD HH:mm:ss',
      },
    },
@@ -225,7 +225,7 @@
      field: 'returnDate',
      title: '退料日期',
      width: 180,
      formatter: 'formatDateTime',
      formatter: 'formatDate',
    },
    {
      field: 'status',
src/views/wls/returnvendor/data.ts
@@ -134,9 +134,9 @@
      component: 'DatePicker',
      componentProps: {
        class: '!w-full',
        format: 'YYYY-MM-DD HH:mm:ss',
        format: 'YYYY-MM-DD',
        placeholder: '请选择退货日期',
        showTime: true,
        showTime: false,
        valueFormat: 'YYYY-MM-DD HH:mm:ss',
      },
      rules: 'required',
@@ -254,7 +254,7 @@
      field: 'returnDate',
      title: '退货日期',
      width: 180,
      formatter: 'formatDateTime',
      formatter: 'formatDate',
    },
    {
      field: 'status',
src/views/wls/sn/data.ts
@@ -123,7 +123,7 @@
      field: 'createTime',
      title: '生成时间',
      width: 180,
      formatter: 'formatDateTime',
      formatter: 'formatDate',
    },
    {
      title: '操作',
@@ -171,7 +171,7 @@
      field: 'createTime',
      title: '生成时间',
      width: 180,
      formatter: 'formatDateTime',
      formatter: 'formatDate',
    },
    {
      title: '操作',
src/views/wls/warehouse/area/data.ts
@@ -327,7 +327,7 @@
      field: 'createTime',
      title: '创建时间',
      width: 180,
      formatter: 'formatDateTime',
      formatter: 'formatDate',
    },
    {
      title: '操作',
src/views/wls/warehouse/data.ts
@@ -210,7 +210,7 @@
      field: 'createTime',
      title: '创建时间',
      width: 180,
      formatter: 'formatDateTime',
      formatter: 'formatDate',
    },
    {
      title: '操作',
src/views/wls/warehouse/location/data.ts
@@ -182,7 +182,7 @@
      field: 'createTime',
      title: '创建时间',
      width: 180,
      formatter: 'formatDateTime',
      formatter: 'formatDate',
    },
    {
      title: '操作',
src/views/wms/md/item/brand/data.ts
@@ -96,7 +96,7 @@
      field: 'createTime',
      title: '创建时间',
      width: 180,
      formatter: 'formatDateTime',
      formatter: 'formatDate',
    },
    {
      title: '操作',
src/views/wms/md/item/category/data.ts
@@ -174,7 +174,7 @@
      field: 'createTime',
      title: '创建时间',
      width: 180,
      formatter: 'formatDateTime',
      formatter: 'formatDate',
    },
    {
      title: '操作',
src/views/wms/md/warehouse/data.ts
@@ -127,7 +127,7 @@
      field: 'createTime',
      title: '创建时间',
      width: 180,
      formatter: 'formatDateTime',
      formatter: 'formatDate',
    },
    {
      title: '操作',
src/views/wms/order/check/data.ts
@@ -7,7 +7,7 @@
import { DICT_TYPE } from '@vben/constants';
import { getDictOptions } from '@vben/hooks';
import { formatDate, formatDateTime } from '@vben/utils';
import { formatDate } from '@vben/utils';
import { z } from '#/adapter/form';
import { getSimpleUserList } from '#/api/system/user';
@@ -334,7 +334,7 @@
    {
      field: 'createTime',
      label: '创建时间',
      render: (val) => formatDateTime(val) || '-',
      render: (val) => formatDate(val) || '-',
    },
    {
      field: 'creatorName',
@@ -344,7 +344,7 @@
    {
      field: 'updateTime',
      label: '更新时间',
      render: (val) => formatDateTime(val) || '-',
      render: (val) => formatDate(val) || '-',
    },
    {
      field: 'updaterName',
src/views/wms/order/check/index.vue
@@ -11,7 +11,7 @@
  OrderStatusEnum,
  OrderUpdateStatusList,
} from '@vben/constants';
import { downloadFileFromBlobPart, formatDateTime } from '@vben/utils';
import { downloadFileFromBlobPart, formatDate } from '@vben/utils';
import { message } from 'ant-design-vue';
@@ -326,11 +326,11 @@
      </template>
      <template #operateInfo="{ row }">
        <div>
          创建:{{ formatDateTime(row.createTime) || '-' }} /
          创建:{{ formatDate(row.createTime) || '-' }} /
          {{ row.creatorName || row.creator || '-' }}
        </div>
        <div>
          更新:{{ formatDateTime(row.updateTime) || '-' }} /
          更新:{{ formatDate(row.updateTime) || '-' }} /
          {{ row.updaterName || row.updater || '-' }}
        </div>
      </template>
src/views/wms/order/check/modules/print.vue
@@ -7,7 +7,7 @@
import { Barcode, BarcodeFormatEnum } from '@vben/common-ui';
import { DICT_TYPE } from '@vben/constants';
import { getDictLabel } from '@vben/hooks';
import { formatDate, formatDateTime } from '@vben/utils';
import { formatDate } from '@vben/utils';
import {
  getCheckOrder,
@@ -144,11 +144,11 @@
        </div>
        <div class="col-span-3 grid grid-cols-2 gap-x-6">
          <div>
            创建:{{ formatDateTime(printData.createTime) || '-' }} /
            创建:{{ formatDate(printData.createTime) || '-' }} /
            {{ printData.creatorName || printData.creator || '-' }}
          </div>
          <div>
            更新:{{ formatDateTime(printData.updateTime) || '-' }} /
            更新:{{ formatDate(printData.updateTime) || '-' }} /
            {{ printData.updaterName || printData.updater || '-' }}
          </div>
        </div>
src/views/wms/order/movement/data.ts
@@ -7,7 +7,7 @@
import { DICT_TYPE } from '@vben/constants';
import { getDictOptions } from '@vben/hooks';
import { formatDate, formatDateTime } from '@vben/utils';
import { formatDate } from '@vben/utils';
import { z } from '#/adapter/form';
import { getSimpleUserList } from '#/api/system/user';
@@ -240,7 +240,7 @@
    {
      field: 'createTime',
      label: '创建时间',
      render: (val) => formatDateTime(val) || '-',
      render: (val) => formatDate(val) || '-',
    },
    {
      field: 'creatorName',
@@ -250,7 +250,7 @@
    {
      field: 'updateTime',
      label: '更新时间',
      render: (val) => formatDateTime(val) || '-',
      render: (val) => formatDate(val) || '-',
    },
    {
      field: 'updaterName',
src/views/wms/order/movement/index.vue
@@ -11,7 +11,7 @@
  OrderStatusEnum,
  OrderUpdateStatusList,
} from '@vben/constants';
import { downloadFileFromBlobPart, formatDateTime } from '@vben/utils';
import { downloadFileFromBlobPart, formatDate } from '@vben/utils';
import { message } from 'ant-design-vue';
@@ -295,11 +295,11 @@
      </template>
      <template #operateInfo="{ row }">
        <div>
          创建:{{ formatDateTime(row.createTime) || '-' }} /
          创建:{{ formatDate(row.createTime) || '-' }} /
          {{ row.creatorName || row.creator || '-' }}
        </div>
        <div>
          更新:{{ formatDateTime(row.updateTime) || '-' }} /
          更新:{{ formatDate(row.updateTime) || '-' }} /
          {{ row.updaterName || row.updater || '-' }}
        </div>
      </template>
src/views/wms/order/movement/modules/print.vue
@@ -7,7 +7,7 @@
import { Barcode, BarcodeFormatEnum } from '@vben/common-ui';
import { DICT_TYPE } from '@vben/constants';
import { getDictLabel } from '@vben/hooks';
import { formatDate, formatDateTime } from '@vben/utils';
import { formatDate } from '@vben/utils';
import {
  getMovementOrder,
@@ -112,11 +112,11 @@
        <div>总金额:{{ formatPrice(printData.totalPrice) || '-' }}</div>
        <div class="col-span-3 grid grid-cols-2 gap-x-6">
          <div>
            创建:{{ formatDateTime(printData.createTime) || '-' }} /
            创建:{{ formatDate(printData.createTime) || '-' }} /
            {{ printData.creatorName || printData.creator || '-' }}
          </div>
          <div>
            更新:{{ formatDateTime(printData.updateTime) || '-' }} /
            更新:{{ formatDate(printData.updateTime) || '-' }} /
            {{ printData.updaterName || printData.updater || '-' }}
          </div>
        </div>
src/views/wms/order/receipt/data.ts
@@ -6,7 +6,7 @@
import { DICT_TYPE } from '@vben/constants';
import { getDictOptions } from '@vben/hooks';
import { formatDate, formatDateTime } from '@vben/utils';
import { formatDate } from '@vben/utils';
import { z } from '#/adapter/form';
import { getSimpleUserList } from '#/api/system/user';
@@ -289,7 +289,7 @@
    {
      field: 'createTime',
      label: '创建时间',
      render: (val) => formatDateTime(val) || '-',
      render: (val) => formatDate(val) || '-',
    },
    {
      field: 'creatorName',
@@ -299,7 +299,7 @@
    {
      field: 'updateTime',
      label: '更新时间',
      render: (val) => formatDateTime(val) || '-',
      render: (val) => formatDate(val) || '-',
    },
    {
      field: 'updaterName',
src/views/wms/order/receipt/index.vue
@@ -11,7 +11,7 @@
  OrderStatusEnum,
  OrderUpdateStatusList,
} from '@vben/constants';
import { downloadFileFromBlobPart, formatDateTime } from '@vben/utils';
import { downloadFileFromBlobPart, formatDate } from '@vben/utils';
import { message } from 'ant-design-vue';
@@ -300,11 +300,11 @@
      </template>
      <template #operateInfo="{ row }">
        <div>
          创建:{{ formatDateTime(row.createTime) || '-' }} /
          创建:{{ formatDate(row.createTime) || '-' }} /
          {{ row.creatorName || row.creator || '-' }}
        </div>
        <div>
          更新:{{ formatDateTime(row.updateTime) || '-' }} /
          更新:{{ formatDate(row.updateTime) || '-' }} /
          {{ row.updaterName || row.updater || '-' }}
        </div>
      </template>
src/views/wms/order/receipt/modules/print.vue
@@ -7,7 +7,7 @@
import { Barcode, BarcodeFormatEnum } from '@vben/common-ui';
import { DICT_TYPE } from '@vben/constants';
import { getDictLabel } from '@vben/hooks';
import { formatDate, formatDateTime } from '@vben/utils';
import { formatDate } from '@vben/utils';
import {
  getReceiptOrder,
@@ -118,11 +118,11 @@
        <div>总金额:{{ formatPrice(printData.totalPrice) || '-' }}</div>
        <div class="col-span-3 grid grid-cols-2 gap-x-6">
          <div>
            创建:{{ formatDateTime(printData.createTime) || '-' }} /
            创建:{{ formatDate(printData.createTime) || '-' }} /
            {{ printData.creatorName || printData.creator || '-' }}
          </div>
          <div>
            更新:{{ formatDateTime(printData.updateTime) || '-' }} /
            更新:{{ formatDate(printData.updateTime) || '-' }} /
            {{ printData.updaterName || printData.updater || '-' }}
          </div>
        </div>
src/views/wms/order/shipment/data.ts
@@ -7,7 +7,7 @@
import { DICT_TYPE } from '@vben/constants';
import { getDictOptions } from '@vben/hooks';
import { formatDate, formatDateTime } from '@vben/utils';
import { formatDate } from '@vben/utils';
import { z } from '#/adapter/form';
import { getSimpleUserList } from '#/api/system/user';
@@ -290,7 +290,7 @@
    {
      field: 'createTime',
      label: '创建时间',
      render: (val) => formatDateTime(val) || '-',
      render: (val) => formatDate(val) || '-',
    },
    {
      field: 'creatorName',
@@ -300,7 +300,7 @@
    {
      field: 'updateTime',
      label: '更新时间',
      render: (val) => formatDateTime(val) || '-',
      render: (val) => formatDate(val) || '-',
    },
    {
      field: 'updaterName',
src/views/wms/order/shipment/index.vue
@@ -11,7 +11,7 @@
  OrderStatusEnum,
  OrderUpdateStatusList,
} from '@vben/constants';
import { downloadFileFromBlobPart, formatDateTime } from '@vben/utils';
import { downloadFileFromBlobPart, formatDate } from '@vben/utils';
import { message } from 'ant-design-vue';
@@ -298,11 +298,11 @@
      </template>
      <template #operateInfo="{ row }">
        <div>
          创建:{{ formatDateTime(row.createTime) || '-' }} /
          创建:{{ formatDate(row.createTime) || '-' }} /
          {{ row.creatorName || row.creator || '-' }}
        </div>
        <div>
          更新:{{ formatDateTime(row.updateTime) || '-' }} /
          更新:{{ formatDate(row.updateTime) || '-' }} /
          {{ row.updaterName || row.updater || '-' }}
        </div>
      </template>
src/views/wms/order/shipment/modules/print.vue
@@ -7,7 +7,7 @@
import { Barcode, BarcodeFormatEnum } from '@vben/common-ui';
import { DICT_TYPE } from '@vben/constants';
import { getDictLabel } from '@vben/hooks';
import { formatDate, formatDateTime } from '@vben/utils';
import { formatDate } from '@vben/utils';
import {
  getShipmentOrder,
@@ -118,11 +118,11 @@
        <div>总金额:{{ formatPrice(printData.totalPrice) || '-' }}</div>
        <div class="col-span-3 grid grid-cols-2 gap-x-6">
          <div>
            创建:{{ formatDateTime(printData.createTime) || '-' }} /
            创建:{{ formatDate(printData.createTime) || '-' }} /
            {{ printData.creatorName || printData.creator || '-' }}
          </div>
          <div>
            更新:{{ formatDateTime(printData.updateTime) || '-' }} /
            更新:{{ formatDate(printData.updateTime) || '-' }} /
            {{ printData.updaterName || printData.updater || '-' }}
          </div>
        </div>