From 6003a771cd745347d7e864a3a2eb9e68d96fbef4 Mon Sep 17 00:00:00 2001
From: zouyu <2723363702@qq.com>
Date: 星期一, 28 八月 2023 10:08:04 +0800
Subject: [PATCH] Merge branch 'master' of http://192.168.110.209:9001/r/lims-before

---
 src/components/experiment/checkTheReport/index.vue |   11 +++++++----
 1 files changed, 7 insertions(+), 4 deletions(-)

diff --git a/src/components/experiment/checkTheReport/index.vue b/src/components/experiment/checkTheReport/index.vue
index fe7d0f5..f6bbd14 100644
--- a/src/components/experiment/checkTheReport/index.vue
+++ b/src/components/experiment/checkTheReport/index.vue
@@ -26,7 +26,9 @@
                 </tr>
                 <tr>
                     <td>妫�娴嬩緷鎹�</td>
-                    <td colspan="2">{{reportData.specifications.split("-")[0]}}</td>
+                    <td colspan="2">
+                        {{reportData.specifications.split("-")[0]}}
+                    </td>
                     <td>妫�娴嬬被鍒�</td>
                     <td colspan="2">鍘熸潗鏂�</td>
                 </tr>
@@ -44,7 +46,7 @@
                     <td>{{item.unit}}</td>
                     <td>{{item.required}}</td>
                     <td>{{item.testValue}}</td>
-                    <td>{{item.testState == 1 ? "鈭�" : "X"}}</td>
+                    <td>{{item.testState === 1 ? "鈭�" : "X"}}</td>
                 </tr>
                 <tr>
                     <td colspan="6">妫�楠岀粨璁猴細{{reportData.type == 1 ? "鍚堟牸" : "涓嶅悎鏍�"}}</td>
@@ -60,8 +62,8 @@
                 <el-col :span="12">瀹℃牳銆佹棩鏈燂細<span>{{reportData.checkTime}}</span></el-col>
             </el-row>
             <p class="footer">
-                <span>缂栧彿:</span><span>{{reportData.reportCode}}</span>
-                <span> 鍙戣鏃ユ湡:</span><span>{{new Date() | formatDate}}</span>
+                <span>缂栧彿:</span><span>{{reportData.rcode}}</span>
+                <span> 鍙戣鏃ユ湡:</span><span>{{now}}</span>
                 <span> 淇濆瓨鏈熼檺:</span><span>闀挎湡</span>
             </p>
         </div>
@@ -72,6 +74,7 @@
     data() {
         return {
             logoSrc : require("@/assets/404_images/logo.png"),    
+            now: new Date().toLocaleDateString()
         }
     },
     methods:{

--
Gitblit v1.9.3