-
-
-
-
+
+
+
+
🗑️ 清空上传数据
+
+
+
+
+
-
-
清空扩展采集
-
-
-
-
-
-
+
+
🗑️ 清空扩展采集
+
+
+
+
+
+
-
-
-
-
数据概览
-
-
-
良/不良统计:加载中
-
不良明细:加载中
-
MAC与批次:加载中
-
-
-
发货记录:加载中
-
设备状态:加载中
-
人员信息:加载中
-
质检报告:加载中
-
生产时间:加载中
-
-
-
-
-
` : ''}
`;
diff --git a/frontend/js/components/work-order.js b/frontend/js/components/work-order.js
index eb73d59..8e79b82 100644
--- a/frontend/js/components/work-order.js
+++ b/frontend/js/components/work-order.js
@@ -288,14 +288,20 @@
const statusText = order.statusText || '已下发';
const isConfirmed = order.status === 'confirmed';
+ // 格式化日期时间,去掉 T
+ const formatDateTime = (dateTime) => {
+ if (!dateTime || dateTime === '-') return '-';
+ return dateTime.replace('T', ' ');
+ };
+
return `
| ${order.factory} |
${order.orderNo} |
${order.productModel || '-'} |
${order.orderQty} |
- ${order.productionStartTime || '-'} |
- ${order.productionEndTime || '-'} |
+ ${formatDateTime(order.productionStartTime)} |
+ ${formatDateTime(order.productionEndTime)} |
${statusText} |
${order.remark || '-'} |
${isSuperAdmin ? `