From 3576bc2e689ef8ebb6b439084b00ddcec1247eb9 Mon Sep 17 00:00:00 2001
From: spring <2396852758@qq.com>
Date: 星期五, 30 一月 2026 14:54:57 +0800
Subject: [PATCH] fix: 原材料、过程、出厂检验分配检验员后,其他用户编辑、提交按钮需置灰。只有分配的检验账户登录后才能编辑、提交操作。

---
 src/views/equipmentManagement/ledger/Form.vue |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/src/views/equipmentManagement/ledger/Form.vue b/src/views/equipmentManagement/ledger/Form.vue
index f85a7fa..72d594e 100644
--- a/src/views/equipmentManagement/ledger/Form.vue
+++ b/src/views/equipmentManagement/ledger/Form.vue
@@ -254,6 +254,12 @@
     form.taxRate = data.taxRate;
     form.unTaxIncludingPriceTotal = data.unTaxIncludingPriceTotal;
     form.createTime = data.createTime;
+    // 棰勮杩愯鏃堕棿锛氬悗绔繑鍥炲悗杞负 YYYY-MM-DD 浠ヤ究鏃ユ湡閫夋嫨鍣ㄦ纭睍绀�
+    if (data.planRuntimeTime) {
+      form.planRuntimeTime = dayjs(data.planRuntimeTime).format('YYYY-MM-DD');
+    } else {
+      form.planRuntimeTime = undefined;
+    }
   }
 };
 

--
Gitblit v1.9.3