From ac10b507705aef9b384d355dcad613aad3dd3972 Mon Sep 17 00:00:00 2001
From: gaoluyang <2820782392@qq.com>
Date: 星期四, 14 五月 2026 18:04:01 +0800
Subject: [PATCH] 进销存pro 1.财务凭证页面上传附件和预览下载修改 2.部分页面不要导入导出 3.用印管理添加上传附件功能 4.设备保养、设备维修添加具体指定人员 5.员工台账添加转正提醒 6.续签合同功能挪到合同管理页面

---
 src/views/equipmentManagement/measurementEquipment/index.vue |   22 +++++++++++++---------
 1 files changed, 13 insertions(+), 9 deletions(-)

diff --git a/src/views/equipmentManagement/measurementEquipment/index.vue b/src/views/equipmentManagement/measurementEquipment/index.vue
index c1d5379..52c52a1 100644
--- a/src/views/equipmentManagement/measurementEquipment/index.vue
+++ b/src/views/equipmentManagement/measurementEquipment/index.vue
@@ -89,12 +89,6 @@
     align: "center",
   },
 	{
-		label: "瀹夎浣嶇疆",
-		prop: "instationLocation",
-		width: 150,
-    align:"center"
-	},
-	{
 		label: "妫�瀹氬崟浣�",
 		prop: "unit",
 		width: 200,
@@ -131,10 +125,20 @@
     align:"center"
 	},
   {
-    label: "妫�瀹氬懆鏈�(澶�)",
-    prop: "cycle",
+    label: "蹇埌鏈熸彁閱�",
+    prop: "valid",
     width: 130,
-    align:"center"
+    align: "center",
+    formatData: (cell) => {
+      if (!cell) return "";
+      const validDate = new Date(cell);
+      const now = new Date();
+      const diffDays = Math.ceil((validDate - now) / (1000 * 60 * 60 * 24));
+      if (diffDays <= 7 && diffDays >= 0) {
+        return "鈿狅笍 " + diffDays + "澶╁悗鍒版湡";
+      }
+      return "";
+    }
   },
   {
     label: "鐘舵��",

--
Gitblit v1.9.3