gaoluyang
2 天以前 534533425b15b183cea60fa162d9884e5d3c6243
Merge branch 'dev_海西州_北京同仁堂' into dev_海西州_惠牧
已修改173个文件
769 ■■■■■ 文件已修改
src/api/crm/customer/index.ts 1 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/components/operate-log/operate-log.vue 5 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/components/operate-log/typing.ts 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/basicData/mdm/data.ts 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/basicData/mdm/unit/data.ts 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/bi/config/chart/data.ts 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/bi/config/data-source/data.ts 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/bi/dashboard/index.vue 10 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/crm/business/data.ts 10 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/crm/business/detail/data.ts 8 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/crm/business/detail/index.vue 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/crm/business/status/data.ts 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/crm/clue/data.ts 11 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/crm/clue/detail/data.ts 6 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/crm/clue/detail/index.vue 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/crm/contact/data.ts 10 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/crm/contact/detail/data.ts 6 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/crm/contact/detail/index.vue 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/crm/contract/detail/index.vue 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/crm/customer/data.ts 46 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/crm/customer/detail/data.ts 11 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/crm/customer/detail/index.vue 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/crm/customer/limitConfig/data.ts 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/crm/customer/pool/data.ts 18 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/crm/customer/pool/index.vue 14 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/crm/followup/data.ts 14 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/crm/invoice/data.ts 6 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/crm/invoice/detail/approve/index.vue 6 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/crm/invoice/detail/data.ts 10 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/crm/invoice/detail/index.vue 5 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/crm/invoice/index.vue 1 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/crm/permission/modules/data.ts 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/crm/product/category/data.ts 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/crm/product/data.ts 4 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/crm/product/detail/index.vue 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/crm/receivable/components/data.ts 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/crm/receivable/data.ts 6 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/crm/receivable/detail/approve/index.vue 6 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/crm/receivable/detail/data.ts 10 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/crm/receivable/detail/index.vue 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/crm/receivable/plan/components/data.ts 4 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/crm/receivable/plan/data.ts 10 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/crm/receivable/plan/detail/data.ts 12 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/crm/receivable/plan/detail/index.vue 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/crm/saleQuotation/modules/ocr-upload.vue 3 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/crm/salesTarget/data.ts 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/crm/statistics/customer/data.ts 5 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/crm/statistics/funnel/data.ts 17 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/crm/statistics/portrait/data.ts 1 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/crm/statistics/rank/data.ts 1 ●●●●● 补丁 | 查看 | 原始文档 | 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/repair/data.ts 6 ●●●●● 补丁 | 查看 | 原始文档 | 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/data.ts 10 ●●●●● 补丁 | 查看 | 原始文档 | 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/mes/workbench/components/tabs/FeedbackHistoryTab.vue 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/srm/supplierApply/detail/index.vue 4 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/system/dept/data.ts 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/system/dict/data.ts 4 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/system/loginlog/data.ts 6 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/system/operatelog/data.ts 6 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/system/post/data.ts 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/system/role/data.ts 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/system/user/data.ts 2 ●●●●● 补丁 | 查看 | 原始文档 | 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/transaction/data.ts 2 ●●●●● 补丁 | 查看 | 原始文档 | 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/api/crm/customer/index.ts
@@ -19,6 +19,7 @@
    ownerUserDeptName?: string; // 负责人的部门名称
    lockStatus?: boolean;
    dealStatus?: boolean;
    autoPoolEnabled?: boolean; // 是否流入公海,关闭时取消公海可见度
    mobile: string; // 手机号
    telephone: string; // 电话
    qq: string; // QQ
src/components/operate-log/operate-log.vue
@@ -3,7 +3,7 @@
import { DICT_TYPE } from '@vben/constants';
import { getDictLabel, getDictObj } from '@vben/hooks';
import { formatDateTime } from '@vben/utils';
import { formatDate } from '@vben/utils';
import { Tag, Timeline } from 'ant-design-vue';
@@ -11,6 +11,7 @@
withDefaults(defineProps<OperateLogProps>(), {
  logList: () => [],
  dateFormat: 'YYYY-MM-DD HH:mm:ss',
});
/** 获得 userType 颜色 */
@@ -48,7 +49,7 @@
        </template>
        <div class="ml-2 flex flex-wrap items-center gap-2 leading-[22px]">
          <span class="w-[140px] shrink-0 text-[13px] text-gray-400">
            {{ formatDateTime(log.createTime) }}
            {{ formatDate(log.createTime, dateFormat) }}
          </span>
          <Tag color="success" class="!mr-0">{{ log.userName }}</Tag>
          <span>{{ log.action }}</span>
src/components/operate-log/typing.ts
@@ -1,5 +1,7 @@
import type { SystemOperateLogApi } from '#/api/system/operate-log';
export interface OperateLogProps {
  /** 仅控制日期展示,不改变日志原始时间。 */
  dateFormat?: string;
  logList: SystemOperateLogApi.OperateLog[]; // 操作日志列表
}
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/bi/config/chart/data.ts
@@ -201,7 +201,7 @@
      field: 'createTime',
      title: '创建时间',
      width: 170,
      formatter: 'formatDateTime',
      formatter: 'formatDate',
    },
    {
      title: '操作',
src/views/bi/config/data-source/data.ts
@@ -127,7 +127,7 @@
      field: 'createTime',
      title: '创建时间',
      width: 170,
      formatter: 'formatDateTime',
      formatter: 'formatDate',
    },
    {
      title: '操作',
src/views/bi/dashboard/index.vue
@@ -134,8 +134,16 @@
  return formatNumber(v);
}
// 大屏表格里的日期列只展示到天(形如 2026-09-01 10:23:45 的值切成 2026-09-01),
// 图表 SQL 里的 order_time / receipt_date / create_time / hire_date 都是带时分秒的
const DATE_TIME_RE = /^\d{4}-\d{2}-\d{2}[ T]\d{2}:\d{2}(?::\d{2})?(?:\.\d+)?$/;
function getCellValue(row: unknown, col: string): unknown {
  return (row as Record<string, unknown>)[col];
  const val = (row as Record<string, unknown>)[col];
  if (typeof val === 'string' && DATE_TIME_RE.test(val)) {
    return val.slice(0, 10);
  }
  return val;
}
// ======== 看板主题色 ========
src/views/crm/business/data.ts
@@ -97,7 +97,7 @@
      component: 'DatePicker',
      componentProps: {
        showTime: false,
        format: 'YYYY-MM-DD HH:mm:ss',
        format: 'YYYY-MM-DD',
        valueFormat: 'YYYY-MM-DD HH:mm:ss',
        placeholder: '请选择预计成交日期',
      },
@@ -218,7 +218,7 @@
    {
      field: 'contactNextTime',
      title: '下次联系时间',
      formatter: 'formatDateTime',
      formatter: 'formatDate',
      width: 180,
    },
    {
@@ -234,19 +234,19 @@
    {
      field: 'contactLastTime',
      title: '最后跟进时间',
      formatter: 'formatDateTime',
      formatter: 'formatDate',
      width: 180,
    },
    {
      field: 'updateTime',
      title: '更新时间',
      formatter: 'formatDateTime',
      formatter: 'formatDate',
      width: 180,
    },
    {
      field: 'createTime',
      title: '创建时间',
      formatter: 'formatDateTime',
      formatter: 'formatDate',
      width: 180,
    },
    {
src/views/crm/business/detail/data.ts
@@ -4,7 +4,7 @@
import type { CrmBusinessApi } from '#/api/crm/business';
import type { DescriptionItemSchema } from '#/components/description';
import { erpPriceInputFormatter, formatDateTime } from '@vben/utils';
import { erpPriceInputFormatter, formatDate } from '@vben/utils';
import {
  getBusinessStatusSimpleList,
@@ -33,7 +33,7 @@
    {
      field: 'createTime',
      label: '创建时间',
      render: (val) => formatDateTime(val) as string,
      render: (val) => formatDate(val) as string,
    },
  ];
}
@@ -57,12 +57,12 @@
    {
      field: 'dealTime',
      label: '预计成交日期',
      render: (val) => formatDateTime(val) as string,
      render: (val) => formatDate(val) as string,
    },
    {
      field: 'contactNextTime',
      label: '下次联系时间',
      render: (val) => formatDateTime(val) as string,
      render: (val) => formatDate(val) as string,
    },
    {
      field: 'statusTypeName',
src/views/crm/business/detail/index.vue
@@ -168,7 +168,7 @@
          />
        </Tabs.TabPane>
        <Tabs.TabPane tab="操作日志" key="6" :force-render="true">
          <OperateLog :log-list="logList" />
          <OperateLog :log-list="logList" date-format="YYYY-MM-DD" />
        </Tabs.TabPane>
        <Tabs.TabPane tab="团队成员" key="7" :force-render="true">
          <PermissionList
src/views/crm/business/status/data.ts
@@ -70,7 +70,7 @@
    {
      field: 'createTime',
      title: '创建时间',
      formatter: 'formatDateTime',
      formatter: 'formatDate',
    },
    {
      title: '操作',
src/views/crm/clue/data.ts
@@ -143,7 +143,7 @@
      component: 'DatePicker',
      componentProps: {
        showTime: true,
        format: 'YYYY-MM-DD HH:mm:ss',
        format: 'YYYY-MM-DD',
        valueFormat: 'YYYY-MM-DD HH:mm:ss',
        placeholder: '请选择下次联系时间',
      },
@@ -209,6 +209,7 @@
      component: 'RangePicker',
      componentProps: {
        ...getRangePickerDefaultProps(),
        format: 'YYYY-MM-DD',
        allowClear: true,
        placeholder: ['开始日期', '结束日期'],
      },
@@ -278,7 +279,7 @@
    {
      field: 'contactNextTime',
      title: '下次联系时间',
      formatter: 'formatDateTime',
      formatter: 'formatDate',
      minWidth: 180,
    },
    {
@@ -289,7 +290,7 @@
    {
      field: 'contactLastTime',
      title: '最后跟进时间',
      formatter: 'formatDateTime',
      formatter: 'formatDate',
      minWidth: 180,
    },
    {
@@ -310,13 +311,13 @@
    {
      field: 'updateTime',
      title: '更新时间',
      formatter: 'formatDateTime',
      formatter: 'formatDate',
      minWidth: 180,
    },
    {
      field: 'createTime',
      title: '创建时间',
      formatter: 'formatDateTime',
      formatter: 'formatDate',
      minWidth: 180,
    },
    {
src/views/crm/clue/detail/data.ts
@@ -3,7 +3,7 @@
import { h } from 'vue';
import { DICT_TYPE } from '@vben/constants';
import { formatDateTime } from '@vben/utils';
import { formatDate } from '@vben/utils';
import { DictTag } from '#/components/dict-tag';
@@ -30,7 +30,7 @@
    {
      field: 'createTime',
      label: '创建时间',
      render: (val) => formatDateTime(val) as string,
      render: (val) => formatDate(val) as string,
    },
  ];
}
@@ -101,7 +101,7 @@
    {
      field: 'contactNextTime',
      label: '下次联系时间',
      render: (val) => formatDateTime(val) as string,
      render: (val) => formatDate(val) as string,
    },
    {
      field: 'remark',
src/views/crm/clue/detail/index.vue
@@ -162,7 +162,7 @@
          />
        </Tabs.TabPane>
        <Tabs.TabPane tab="操作日志" key="4" :force-render="true">
          <OperateLog :log-list="logList" />
          <OperateLog :log-list="logList" date-format="YYYY-MM-DD" />
        </Tabs.TabPane>
      </Tabs>
    </Card>
src/views/crm/contact/data.ts
@@ -164,7 +164,7 @@
      component: 'DatePicker',
      componentProps: {
        showTime: true,
        format: 'YYYY-MM-DD HH:mm:ss',
        format: 'YYYY-MM-DD',
        valueFormat: 'YYYY-MM-DD HH:mm:ss',
        placeholder: '请选择下次联系时间',
      },
@@ -304,7 +304,7 @@
    {
      field: 'contactNextTime',
      title: '下次联系时间',
      formatter: 'formatDateTime',
      formatter: 'formatDate',
      minWidth: 180,
    },
    {
@@ -324,7 +324,7 @@
    {
      field: 'contactLastTime',
      title: '最后跟进时间',
      formatter: 'formatDateTime',
      formatter: 'formatDate',
      minWidth: 180,
    },
    {
@@ -340,13 +340,13 @@
    {
      field: 'updateTime',
      title: '更新时间',
      formatter: 'formatDateTime',
      formatter: 'formatDate',
      minWidth: 180,
    },
    {
      field: 'createTime',
      title: '创建时间',
      formatter: 'formatDateTime',
      formatter: 'formatDate',
      minWidth: 180,
    },
    {
src/views/crm/contact/detail/data.ts
@@ -3,7 +3,7 @@
import { h } from 'vue';
import { DICT_TYPE } from '@vben/constants';
import { formatDateTime } from '@vben/utils';
import { formatDate } from '@vben/utils';
import { DictTag } from '#/components/dict-tag';
@@ -25,7 +25,7 @@
    {
      field: 'createTime',
      label: '创建时间',
      render: (val) => formatDateTime(val) as string,
      render: (val) => formatDate(val) as string,
    },
  ];
}
@@ -96,7 +96,7 @@
    {
      field: 'contactNextTime',
      label: '下次联系时间',
      render: (val) => formatDateTime(val) as string,
      render: (val) => formatDate(val) as string,
    },
    {
      field: 'remark',
src/views/crm/contact/detail/index.vue
@@ -134,7 +134,7 @@
          <Info :contact="contact" />
        </Tabs.TabPane>
        <Tabs.TabPane tab="操作日志" key="3" :force-render="true">
          <OperateLog :log-list="logList" />
          <OperateLog :log-list="logList" date-format="YYYY-MM-DD" />
        </Tabs.TabPane>
        <Tabs.TabPane tab="团队成员" key="4" :force-render="true">
          <PermissionList
src/views/crm/contract/detail/index.vue
@@ -169,7 +169,7 @@
          />
        </Tabs.TabPane>
        <Tabs.TabPane tab="操作日志" key="6" :force-render="true">
          <OperateLog :log-list="logList" />
          <OperateLog :log-list="logList" date-format="YYYY-MM-DD" />
        </Tabs.TabPane>
      </Tabs>
    </Card>
src/views/crm/customer/data.ts
@@ -153,11 +153,22 @@
      component: 'DatePicker',
      componentProps: {
        showTime: true,
        format: 'YYYY-MM-DD HH:mm:ss',
        format: 'YYYY-MM-DD',
        valueFormat: 'YYYY-MM-DD HH:mm:ss',
        placeholder: '请选择下次联系时间',
        allowClear: true,
      },
    },
    {
      fieldName: 'autoPoolEnabled',
      label: '是否流入公海',
      component: 'Switch',
      defaultValue: true,
      componentProps: {
        checkedChildren: '是',
        unCheckedChildren: '否',
      },
      help: '关闭后不自动流入公海,并取消普通用户的公海可见度;保留负责人和团队权限,超级管理员仍可查看。',
    },
    {
      fieldName: 'remark',
@@ -202,11 +213,25 @@
      },
    },
    {
      fieldName: 'autoPoolEnabled',
      label: '是否流入公海',
      component: 'Select',
      componentProps: {
        options: [
          { label: '是', value: true },
          { label: '否', value: false },
        ],
        placeholder: '请选择',
        allowClear: true,
      },
    },
    {
      fieldName: 'createTime',
      label: '创建时间',
      component: 'RangePicker',
      componentProps: {
        ...getRangePickerDefaultProps(),
        format: 'YYYY-MM-DD',
        placeholder: ['开始日期', '结束日期'],
        allowClear: true,
      },
@@ -240,7 +265,7 @@
      label: '客户数据',
      component: 'Upload',
      rules: 'required',
      help: '仅允许导入 xls、xlsx 格式文件',
      help: '仅允许导入 xls、xlsx 格式文件。“是否流入公海”列填写是/否;留空时新增默认是,覆盖保留原值。关闭后取消公海可见度。',
    },
    {
      fieldName: 'updateSupport',
@@ -296,7 +321,7 @@
    {
      field: 'contactNextTime',
      title: '下次联系时间',
      formatter: 'formatDateTime',
      formatter: 'formatDate',
      minWidth: 180,
    },
    {
@@ -314,6 +339,15 @@
      },
    },
    {
      field: 'autoPoolEnabled',
      title: '是否流入公海',
      minWidth: 140,
      cellRender: {
        name: 'CellDict',
        props: { type: DICT_TYPE.INFRA_BOOLEAN_STRING },
      },
    },
    {
      field: 'dealStatus',
      title: '成交状态',
      minWidth: 120,
@@ -325,7 +359,7 @@
    {
      field: 'contactLastTime',
      title: '最后跟进时间',
      formatter: 'formatDateTime',
      formatter: 'formatDate',
      minWidth: 180,
    },
    {
@@ -351,13 +385,13 @@
    {
      field: 'updateTime',
      title: '更新时间',
      formatter: 'formatDateTime',
      formatter: 'formatDate',
      minWidth: 180,
    },
    {
      field: 'createTime',
      title: '创建时间',
      formatter: 'formatDateTime',
      formatter: 'formatDate',
      minWidth: 180,
    },
    {
src/views/crm/customer/detail/data.ts
@@ -5,7 +5,7 @@
import { DICT_TYPE } from '@vben/constants';
import { useUserStore } from '@vben/stores';
import { formatDateTime } from '@vben/utils';
import { formatDate } from '@vben/utils';
import { getSimpleUserList } from '#/api/system/user';
import { DictTag } from '#/components/dict-tag';
@@ -47,6 +47,11 @@
        h(DictTag, { type: DICT_TYPE.CRM_CUSTOMER_LEVEL, value: val }),
    },
    {
      field: 'autoPoolEnabled',
      label: '是否流入公海',
      render: (val) => (val === false ? '否' : '是'),
    },
    {
      field: 'dealStatus',
      label: '成交状态',
      render: (val) => (val ? '已成交' : '未成交'),
@@ -58,7 +63,7 @@
    {
      field: 'createTime',
      label: '创建时间',
      render: (val) => formatDateTime(val) as string,
      render: (val) => formatDate(val) as string,
    },
  ];
}
@@ -120,7 +125,7 @@
    {
      field: 'contactNextTime',
      label: '下次联系时间',
      render: (val) => formatDateTime(val) as string,
      render: (val) => formatDate(val) as string,
    },
    {
      field: 'remark',
src/views/crm/customer/detail/index.vue
@@ -286,7 +286,7 @@
          <ReceivableDetailsList :customer-id="customerId" />
        </Tabs.TabPane>
        <Tabs.TabPane tab="操作日志" key="8" :force-render="true">
          <OperateLog :log-list="logList" />
          <OperateLog :log-list="logList" date-format="YYYY-MM-DD" />
        </Tabs.TabPane>
      </Tabs>
    </Card>
src/views/crm/customer/limitConfig/data.ts
@@ -143,7 +143,7 @@
    {
      field: 'createTime',
      title: '创建时间',
      formatter: 'formatDateTime',
      formatter: 'formatDate',
    },
    {
      title: '操作',
src/views/crm/customer/pool/data.ts
@@ -114,7 +114,7 @@
      title: '下次联系时间',
      field: 'contactNextTime',
      minWidth: 180,
      formatter: 'formatDateTime',
      formatter: 'formatDate',
    },
    {
      title: '备注',
@@ -134,7 +134,7 @@
      title: '最后跟进时间',
      field: 'contactLastTime',
      minWidth: 180,
      formatter: 'formatDateTime',
      formatter: 'formatDate',
    },
    {
      title: '最后跟进记录',
@@ -142,16 +142,26 @@
      minWidth: 200,
    },
    {
      title: '负责人',
      field: 'ownerUserName',
      minWidth: 100,
    },
    {
      title: '所属部门',
      field: 'ownerUserDeptName',
      minWidth: 100,
    },
    {
      title: '更新时间',
      field: 'updateTime',
      minWidth: 180,
      formatter: 'formatDateTime',
      formatter: 'formatDate',
    },
    {
      title: '创建时间',
      field: 'createTime',
      minWidth: 180,
      formatter: 'formatDateTime',
      formatter: 'formatDate',
    },
    {
      title: '创建人',
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/crm/followup/data.ts
@@ -6,7 +6,7 @@
import { DICT_TYPE } from '@vben/constants';
import { getDictOptions } from '@vben/hooks';
import { formatDateTime } from '@vben/utils';
import { formatDate } from '@vben/utils';
import { getBusinessPageByCustomer } from '#/api/crm/business';
import { getContactPageByCustomer } from '#/api/crm/contact';
@@ -48,7 +48,7 @@
      component: 'DatePicker',
      componentProps: {
        showTime: true,
        format: 'YYYY-MM-DD HH:mm:ss',
        format: 'YYYY-MM-DD',
        valueFormat: 'YYYY-MM-DD HH:mm:ss',
        placeholder: '请选择下次联系时间',
      },
@@ -128,7 +128,7 @@
    {
      field: 'createTime',
      title: '创建时间',
      formatter: 'formatDateTime',
      formatter: 'formatDate',
    },
    { field: 'creatorName', title: '跟进人' },
    {
@@ -143,7 +143,7 @@
    {
      field: 'nextTime',
      title: '下次联系时间',
      formatter: 'formatDateTime',
      formatter: 'formatDate',
    },
    {
      field: 'contacts',
@@ -179,7 +179,7 @@
    {
      field: 'contactLastTime',
      label: '最后跟进时间',
      render: (val) => formatDateTime(val) as string,
      render: (val) => formatDate(val) as string,
    },
    {
      field: 'creatorName',
@@ -188,12 +188,12 @@
    {
      field: 'createTime',
      label: '创建时间',
      render: (val) => formatDateTime(val) as string,
      render: (val) => formatDate(val) as string,
    },
    {
      field: 'updateTime',
      label: '更新时间',
      render: (val) => formatDateTime(val) as string,
      render: (val) => formatDate(val) as string,
    },
  ];
}
src/views/crm/invoice/data.ts
@@ -256,7 +256,7 @@
      title: '开票日期',
      field: 'invoiceTime',
      minWidth: 150,
      formatter: 'formatDateTime',
      formatter: 'formatDate',
    },
    {
      title: '备注',
@@ -277,13 +277,13 @@
      title: '更新时间',
      field: 'updateTime',
      minWidth: 150,
      formatter: 'formatDateTime',
      formatter: 'formatDate',
    },
    {
      title: '创建时间',
      field: 'createTime',
      minWidth: 150,
      formatter: 'formatDateTime',
      formatter: 'formatDate',
    },
    {
      title: '创建人',
src/views/crm/invoice/detail/approve/index.vue
@@ -6,7 +6,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';
@@ -58,7 +58,7 @@
    {
      label: '开票日期',
      field: 'invoiceTime',
      render: (val) => formatDateTime(val) as string,
      render: (val) => formatDate(val) as string,
    },
    {
      label: '审批状态',
@@ -71,7 +71,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/crm/invoice/detail/data.ts
@@ -3,7 +3,7 @@
import { h } from 'vue';
import { DICT_TYPE } from '@vben/constants';
import { erpPriceInputFormatter, formatDateTime } from '@vben/utils';
import { erpPriceInputFormatter, formatDate } from '@vben/utils';
import { DictTag } from '#/components/dict-tag';
@@ -27,7 +27,7 @@
    {
      field: 'invoiceTime',
      label: '开票日期',
      render: (val) => formatDateTime(val) as string,
      render: (val) => formatDate(val) as string,
    },
    {
      field: 'invoiceType',
@@ -100,7 +100,7 @@
    {
      field: 'invoiceTime',
      label: '开票日期',
      render: (val) => formatDateTime(val) as string,
      render: (val) => formatDate(val) as string,
    },
    {
      field: 'remark',
@@ -123,12 +123,12 @@
    {
      field: 'createTime',
      label: '创建时间',
      render: (val) => formatDateTime(val) as string,
      render: (val) => formatDate(val) as string,
    },
    {
      field: 'updateTime',
      label: '更新时间',
      render: (val) => formatDateTime(val) as string,
      render: (val) => formatDate(val) as string,
    },
  ];
}
src/views/crm/invoice/detail/index.vue
@@ -17,6 +17,7 @@
import { OperateLog } from '#/components/operate-log';
import { ACTION_ICON, TableAction } from '#/components/table-action';
import { $t } from '#/locales';
import { automaticApproval } from '#/store/audit-policy';
import { PermissionList } from '#/views/crm/permission';
import InvoiceForm from '../modules/form.vue';
@@ -96,7 +97,7 @@
            type: 'primary',
            icon: ACTION_ICON.EDIT,
            auth: ['crm:invoice:update'],
            ifShow: permissionListRef?.validateWrite,
            ifShow: permissionListRef?.validateWrite && (automaticApproval || invoice.auditStatus === 0 || invoice.auditStatus === 10),
            onClick: handleEdit,
          },
        ]"
@@ -111,7 +112,7 @@
          <Info :invoice="invoice" />
        </Tabs.TabPane>
        <Tabs.TabPane tab="操作日志" key="2" :force-render="true">
          <OperateLog :log-list="logList" />
          <OperateLog :log-list="logList" date-format="YYYY-MM-DD" />
        </Tabs.TabPane>
        <Tabs.TabPane tab="团队成员" key="3" :force-render="true">
          <PermissionList
src/views/crm/invoice/index.vue
@@ -245,6 +245,7 @@
              icon: ACTION_ICON.EDIT,
              auth: ['crm:invoice:update'],
              onClick: handleEdit.bind(null, row),
              ifShow: automaticApproval || row.auditStatus === 0 || row.auditStatus === 10,
            },
            {
              label: '提交审核',
src/views/crm/permission/modules/data.ts
@@ -227,7 +227,7 @@
    {
      field: 'createTime',
      title: '加入时间',
      formatter: 'formatDateTime',
      formatter: 'formatDate',
    },
  ];
}
src/views/crm/product/category/data.ts
@@ -80,7 +80,7 @@
    {
      field: 'createTime',
      title: '创建时间',
      formatter: 'formatDateTime',
      formatter: 'formatDate',
    },
    {
      field: 'actions',
src/views/crm/product/data.ts
@@ -208,7 +208,7 @@
    {
      field: 'updateTime',
      title: '更新时间',
      formatter: 'formatDateTime',
      formatter: 'formatDate',
      minWidth: 180,
    },
    {
@@ -219,7 +219,7 @@
    {
      field: 'createTime',
      title: '创建时间',
      formatter: 'formatDateTime',
      formatter: 'formatDate',
      minWidth: 180,
    },
    {
src/views/crm/product/detail/index.vue
@@ -80,7 +80,7 @@
          <Info :product="product" />
        </Tabs.TabPane>
        <Tabs.TabPane tab="操作日志" key="2" :force-render="true">
          <OperateLog :log-list="logList" />
          <OperateLog :log-list="logList" date-format="YYYY-MM-DD" />
        </Tabs.TabPane>
      </Tabs>
    </Card>
src/views/crm/receivable/components/data.ts
@@ -25,7 +25,7 @@
      title: '回款日期',
      field: 'returnTime',
      minWidth: 150,
      formatter: 'formatDateTime',
      formatter: 'formatDate',
    },
    {
      title: '回款金额(元)',
src/views/crm/receivable/data.ts
@@ -303,7 +303,7 @@
      title: '回款日期',
      field: 'returnTime',
      minWidth: 150,
      formatter: 'formatDateTime',
      formatter: 'formatDate',
    },
    {
      title: '回款金额(元)',
@@ -345,13 +345,13 @@
      title: '更新时间',
      field: 'updateTime',
      minWidth: 150,
      formatter: 'formatDateTime',
      formatter: 'formatDate',
    },
    {
      title: '创建时间',
      field: 'createTime',
      minWidth: 150,
      formatter: 'formatDateTime',
      formatter: 'formatDate',
    },
    {
      title: '创建人',
src/views/crm/receivable/detail/approve/index.vue
@@ -6,7 +6,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';
@@ -51,7 +51,7 @@
    {
      label: '回款日期',
      field: 'returnTime',
      render: (val) => formatDateTime(val) as string,
      render: (val) => formatDate(val) as string,
    },
    {
      label: '回款金额(元)',
@@ -78,7 +78,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/crm/receivable/detail/data.ts
@@ -3,7 +3,7 @@
import { h } from 'vue';
import { DICT_TYPE } from '@vben/constants';
import { erpPriceInputFormatter, formatDateTime } from '@vben/utils';
import { erpPriceInputFormatter, formatDate } from '@vben/utils';
import { DictTag } from '#/components/dict-tag';
@@ -23,7 +23,7 @@
    {
      field: 'returnTime',
      label: '回款日期',
      render: (val) => formatDateTime(val) as string,
      render: (val) => formatDate(val) as string,
    },
    {
      field: 'price',
@@ -65,7 +65,7 @@
    {
      field: 'returnTime',
      label: '回款日期',
      render: (val) => formatDateTime(val) as string,
      render: (val) => formatDate(val) as string,
    },
    {
      field: 'price',
@@ -102,12 +102,12 @@
    {
      field: 'createTime',
      label: '创建时间',
      render: (val) => formatDateTime(val) as string,
      render: (val) => formatDate(val) as string,
    },
    {
      field: 'updateTime',
      label: '更新时间',
      render: (val) => formatDateTime(val) as string,
      render: (val) => formatDate(val) as string,
    },
  ];
}
src/views/crm/receivable/detail/index.vue
@@ -114,7 +114,7 @@
          <Info :receivable="receivable" />
        </Tabs.TabPane>
        <Tabs.TabPane tab="操作日志" key="2" :force-render="true">
          <OperateLog :log-list="logList" />
          <OperateLog :log-list="logList" date-format="YYYY-MM-DD" />
        </Tabs.TabPane>
        <Tabs.TabPane tab="团队成员" key="3" :force-render="true">
          <PermissionList
src/views/crm/receivable/plan/components/data.ts
@@ -28,7 +28,7 @@
      title: '计划回款日期',
      field: 'returnTime',
      minWidth: 150,
      formatter: 'formatDateTime',
      formatter: 'formatDate',
    },
    {
      title: '提前几天提醒',
@@ -39,7 +39,7 @@
      title: '提醒日期',
      field: 'remindTime',
      minWidth: 150,
      formatter: 'formatDateTime',
      formatter: 'formatDate',
    },
    {
      title: '负责人',
src/views/crm/receivable/plan/data.ts
@@ -201,7 +201,7 @@
      title: '计划回款日期',
      field: 'returnTime',
      minWidth: 180,
      formatter: 'formatDateTime',
      formatter: 'formatDate',
    },
    {
      title: '提前几天提醒',
@@ -212,7 +212,7 @@
      title: '提醒日期',
      field: 'remindTime',
      minWidth: 180,
      formatter: 'formatDateTime',
      formatter: 'formatDate',
    },
    {
      title: '回款方式',
@@ -243,7 +243,7 @@
      title: '实际回款日期',
      field: 'receivable.returnTime',
      minWidth: 180,
      formatter: 'formatDateTime',
      formatter: 'formatDate',
    },
    {
      title: '未回款金额(元)',
@@ -260,13 +260,13 @@
      title: '更新时间',
      field: 'updateTime',
      minWidth: 180,
      formatter: 'formatDateTime',
      formatter: 'formatDate',
    },
    {
      title: '创建时间',
      field: 'createTime',
      minWidth: 180,
      formatter: 'formatDateTime',
      formatter: 'formatDate',
    },
    {
      title: '创建人',
src/views/crm/receivable/plan/detail/data.ts
@@ -3,7 +3,7 @@
import { h } from 'vue';
import { DICT_TYPE } from '@vben/constants';
import { erpPriceInputFormatter, formatDateTime } from '@vben/utils';
import { erpPriceInputFormatter, formatDate } from '@vben/utils';
import { DictTag } from '#/components/dict-tag';
@@ -26,7 +26,7 @@
    {
      field: 'returnTime',
      label: '计划回款日期',
      render: (val) => formatDateTime(val) as string,
      render: (val) => formatDate(val) as string,
    },
    {
      field: 'receivable',
@@ -54,7 +54,7 @@
    {
      field: 'returnTime',
      label: '计划回款日期',
      render: (val) => formatDateTime(val) as string,
      render: (val) => formatDate(val) as string,
    },
    {
      field: 'price',
@@ -90,7 +90,7 @@
    {
      field: 'receivable.returnTime',
      label: '实际回款日期',
      render: (val) => formatDateTime(val) as string,
      render: (val) => formatDate(val) as string,
    },
    {
      field: 'remark',
@@ -113,12 +113,12 @@
    {
      field: 'createTime',
      label: '创建时间',
      render: (val) => formatDateTime(val) as string,
      render: (val) => formatDate(val) as string,
    },
    {
      field: 'updateTime',
      label: '更新时间',
      render: (val) => formatDateTime(val) as string,
      render: (val) => formatDate(val) as string,
    },
  ];
}
src/views/crm/receivable/plan/detail/index.vue
@@ -117,7 +117,7 @@
          <ReceivablePlanDetailsInfo :receivable-plan="receivablePlan" />
        </Tabs.TabPane>
        <Tabs.TabPane tab="操作日志" key="2" :force-render="true">
          <OperateLog :log-list="logList" />
          <OperateLog :log-list="logList" date-format="YYYY-MM-DD" />
        </Tabs.TabPane>
        <Tabs.TabPane tab="团队成员" key="3" :force-render="true">
          <PermissionList
src/views/crm/saleQuotation/modules/ocr-upload.vue
@@ -4,6 +4,7 @@
import { ref } from 'vue';
import { IconifyIcon } from '@vben/icons';
import { formatDate } from '@vben/utils';
import { Modal, Button, Upload, Descriptions, Table, Tag, message, Alert } from 'ant-design-vue';
@@ -140,7 +141,7 @@
            <Tag color="orange">{{ ocrResult.customerName }}</Tag>
          </Descriptions.Item>
          <Descriptions.Item v-if="ocrResult.quotationTime" label="报价日期">
            {{ ocrResult.quotationTime }}
            {{ formatDate(ocrResult.quotationTime) }}
          </Descriptions.Item>
          <Descriptions.Item v-if="ocrResult.validUntil" label="有效期至">
            {{ ocrResult.validUntil }}
src/views/crm/salesTarget/data.ts
@@ -334,7 +334,7 @@
      field: 'createTime',
      title: '创建时间',
      minWidth: 160,
      formatter: 'formatDateTime',
      formatter: 'formatDate',
    },
    {
      field: 'creatorName',
src/views/crm/statistics/customer/data.ts
@@ -62,6 +62,7 @@
      component: 'RangePicker',
      componentProps: {
        ...getRangePickerDefaultProps(),
        format: 'YYYY-MM-DD',
      },
      defaultValue: [
        formatDateTime(beginOfDay(new Date(Date.now() - 3600 * 1000 * 24 * 7))),
@@ -176,13 +177,13 @@
          field: 'createTime',
          title: '创建时间',
          minWidth: 200,
          formatter: 'formatDateTime',
          formatter: 'formatDate',
        },
        {
          field: 'orderDate',
          title: '下单日期',
          minWidth: 200,
          formatter: 'formatDateTime',
          formatter: 'formatDate',
        },
      ];
    }
src/views/crm/statistics/funnel/data.ts
@@ -36,6 +36,7 @@
      component: 'RangePicker',
      componentProps: {
        ...getRangePickerDefaultProps(),
        format: 'YYYY-MM-DD',
      },
      defaultValue: [
        formatDateTime(beginOfDay(new Date(Date.now() - 3600 * 1000 * 24 * 7))),
@@ -116,7 +117,7 @@
          field: 'dealTime',
          title: '预计成交日期',
          minWidth: 200,
          formatter: 'formatDateTime',
          formatter: 'formatDate',
        },
        {
          field: 'ownerUserName',
@@ -132,19 +133,19 @@
          field: 'contactLastTime',
          title: '最后跟进时间',
          minWidth: 200,
          formatter: 'formatDateTime',
          formatter: 'formatDate',
        },
        {
          field: 'updateTime',
          title: '更新时间',
          minWidth: 200,
          formatter: 'formatDateTime',
          formatter: 'formatDate',
        },
        {
          field: 'createTime',
          title: '创建时间',
          minWidth: 200,
          formatter: 'formatDateTime',
          formatter: 'formatDate',
        },
        {
          field: 'creatorName',
@@ -189,7 +190,7 @@
          field: 'dealTime',
          title: '预计成交日期',
          minWidth: 200,
          formatter: 'formatDateTime',
          formatter: 'formatDate',
        },
        {
          field: 'ownerUserName',
@@ -205,19 +206,19 @@
          field: 'contactLastTime',
          title: '最后跟进时间',
          minWidth: 200,
          formatter: 'formatDateTime',
          formatter: 'formatDate',
        },
        {
          field: 'updateTime',
          title: '更新时间',
          minWidth: 200,
          formatter: 'formatDateTime',
          formatter: 'formatDate',
        },
        {
          field: 'createTime',
          title: '创建时间',
          minWidth: 200,
          formatter: 'formatDateTime',
          formatter: 'formatDate',
        },
        {
          field: 'creatorName',
src/views/crm/statistics/portrait/data.ts
@@ -39,6 +39,7 @@
      component: 'RangePicker',
      componentProps: {
        ...getRangePickerDefaultProps(),
        format: 'YYYY-MM-DD',
      },
      defaultValue: [
        formatDateTime(beginOfDay(new Date(Date.now() - 3600 * 1000 * 24 * 7))),
src/views/crm/statistics/rank/data.ts
@@ -53,6 +53,7 @@
      component: 'RangePicker',
      componentProps: {
        ...getRangePickerDefaultProps(),
        format: 'YYYY-MM-DD',
      },
      defaultValue: [
        formatDateTime(beginOfDay(new Date(Date.now() - 3600 * 1000 * 24 * 7))),
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/repair/data.ts
@@ -300,13 +300,13 @@
      field: 'requireDate',
      title: '报修日期',
      width: 180,
      formatter: 'formatDateTime',
      formatter: 'formatDate',
    },
    {
      field: 'finishDate',
      title: '完成日期',
      width: 180,
      formatter: 'formatDateTime',
      formatter: 'formatDate',
    },
    {
      field: 'result',
@@ -330,7 +330,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/data.ts
@@ -13,6 +13,7 @@
  MesProWorkOrderStatusEnum,
} from '@vben/constants';
import { getDictOptions } from '@vben/hooks';
import { formatDate } from '@vben/utils';
import { Button } from 'ant-design-vue';
@@ -20,6 +21,7 @@
import { getRouteProcessByRouteAndProcess } from '#/api/mes/pro/route/process';
import { getSimpleUserList } from '#/api/system/user';
import { loadParamDetails } from './param-state';
import { getRangePickerDefaultProps } from '#/utils';
import { MdItemSelect } from '#/views/mes/md/item/components';
import { MdWorkstationSelect } from '#/views/mes/md/workstation/components';
@@ -147,7 +149,7 @@
      field: 'feedbackTime',
      title: '报工时间',
      width: 180,
      formatter: 'formatDateTime',
      formatter: 'formatDate',
    },
    { field: 'approveUserNickname', title: '审核人', width: 100 },
    {
@@ -488,7 +490,11 @@
    { field: 'materialScrapQuantity', label: '料废数量' },
    { field: 'otherScrapQuantity', label: '其他废品' },
    { field: 'feedbackUserNickname', label: '报工人' },
    { field: 'feedbackTime', label: '报工时间' },
    {
      field: 'feedbackTime',
      label: '报工时间',
      render: (val) => formatDate(val) as string,
    },
    { field: 'approveUserNickname', label: '审核人' },
    { field: 'remark', label: '备注' },
  ];
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/mes/workbench/components/tabs/FeedbackHistoryTab.vue
@@ -191,7 +191,7 @@
        field: 'feedbackTime',
        title: '报工时间',
        width: 170,
        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/system/dept/data.ts
@@ -175,7 +175,7 @@
      field: 'createTime',
      title: '创建时间',
      minWidth: 180,
      formatter: 'formatDateTime',
      formatter: 'formatDate',
    },
    {
      title: '操作',
src/views/system/dict/data.ts
@@ -137,7 +137,7 @@
      field: 'createTime',
      title: '创建时间',
      minWidth: 180,
      formatter: 'formatDateTime',
      formatter: 'formatDate',
    },
    {
      title: '操作',
@@ -342,7 +342,7 @@
      title: '创建时间',
      field: 'createTime',
      minWidth: 180,
      formatter: 'formatDateTime',
      formatter: 'formatDate',
    },
    {
      title: '操作',
src/views/system/loginlog/data.ts
@@ -5,7 +5,7 @@
import { h } from 'vue';
import { DICT_TYPE } from '@vben/constants';
import { formatDateTime } from '@vben/utils';
import { formatDate } from '@vben/utils';
import { DictTag } from '#/components/dict-tag';
import { getRangePickerDefaultProps } from '#/utils';
@@ -88,7 +88,7 @@
      field: 'createTime',
      title: '登录日期',
      minWidth: 180,
      formatter: 'formatDateTime',
      formatter: 'formatDate',
    },
    {
      title: '操作',
@@ -141,7 +141,7 @@
    {
      field: 'createTime',
      label: '登录日期',
      render: (val) => formatDateTime(val) as string,
      render: (val) => formatDate(val) as string,
    },
  ];
}
src/views/system/operatelog/data.ts
@@ -5,7 +5,7 @@
import { h } from 'vue';
import { DICT_TYPE } from '@vben/constants';
import { formatDateTime } from '@vben/utils';
import { formatDate } from '@vben/utils';
import { getSimpleUserList } from '#/api/system/user';
import { DictTag } from '#/components/dict-tag';
@@ -106,7 +106,7 @@
      field: 'createTime',
      title: '操作时间',
      minWidth: 180,
      formatter: 'formatDateTime',
      formatter: 'formatDate',
    },
    {
      field: 'bizId',
@@ -190,7 +190,7 @@
    {
      field: 'createTime',
      label: '操作时间',
      render: (val) => formatDateTime(val) as string,
      render: (val) => formatDate(val) as string,
    },
    {
      field: 'bizId',
src/views/system/post/data.ts
@@ -168,7 +168,7 @@
      field: 'createTime',
      title: '创建时间',
      minWidth: 180,
      formatter: 'formatDateTime',
      formatter: 'formatDate',
    },
    {
      title: '操作',
src/views/system/role/data.ts
@@ -253,7 +253,7 @@
      field: 'createTime',
      title: '创建时间',
      minWidth: 180,
      formatter: 'formatDateTime',
      formatter: 'formatDate',
    },
    {
      title: '操作',
src/views/system/user/data.ts
@@ -342,7 +342,7 @@
      field: 'createTime',
      title: '创建时间',
      minWidth: 180,
      formatter: 'formatDateTime',
      formatter: 'formatDate',
    },
    {
      title: '操作',
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/transaction/data.ts
@@ -203,7 +203,7 @@
      field: 'transactionTime',
      title: '事务时间',
      width: 160,
      formatter: 'formatDateTime',
      formatter: 'formatDate',
    },
  ];
}
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>