From b7e68d833b667aa5d87f58f90ae3c1de063bdfc0 Mon Sep 17 00:00:00 2001
From: “linengliang” <vanSuperEnergy@163.com>
Date: 星期五, 08 九月 2023 16:24:33 +0800
Subject: [PATCH] 设备台账 1.ABC标识变更记录功能 2.质保日期变更记录功能 3.质保到期提醒 4.ABC标识与关键设备标识联动 5.设备质保期字段添加

---
 src/views/eam/modules/dailyInspectionOrder/DailyInspectionOrderExeDrawer.vue |   17 ++++++++++++++---
 1 files changed, 14 insertions(+), 3 deletions(-)

diff --git a/src/views/eam/modules/dailyInspectionOrder/DailyInspectionOrderExeDrawer.vue b/src/views/eam/modules/dailyInspectionOrder/DailyInspectionOrderExeDrawer.vue
index 8f34416..e5a0ffc 100644
--- a/src/views/eam/modules/dailyInspectionOrder/DailyInspectionOrderExeDrawer.vue
+++ b/src/views/eam/modules/dailyInspectionOrder/DailyInspectionOrderExeDrawer.vue
@@ -152,11 +152,14 @@
                       <a-select
                         v-if="col.dataIndex == 'inspectionProjectResult' && record.testValueType == '2'"
                         :value="text"
-                        :options="record.inspectionCycles"
                         @change="(e) => handleChange(e, record.key, col, index)"
                         style="width: 100%"
                         :disabled="record.disabled"
-                      />
+                      >
+                        <!-- :options="record.inspectionCycles" -->
+                        <a-select-option value="1">姝e父</a-select-option>
+                        <a-select-option value="2">寮傚父</a-select-option>
+                      </a-select>
                       <a-input-number
                         :value="text"
                         v-if="col.dataIndex == 'inspectionProjectResult' && record.testValueType == '1'"
@@ -679,7 +682,15 @@
               target['judgmentResult'] = "";
             }
           } else {
-
+            target[column.dataIndex] = value;
+            if (value == "1") {
+              target['judgmentResult'] = "pass";
+            } else {
+              target['judgmentResult'] = "fail";
+            }
+            if (value == null || value == "") {
+              target['judgmentResult'] = "";
+            }
           }
         }
         if (column.dataIndex == 'abnormalDesc') {

--
Gitblit v1.9.3