From 9521a01b0cbe88050c6f3d24cb0e227dda4aa268 Mon Sep 17 00:00:00 2001
From: houjie <714924425@qq.com>
Date: 星期五, 01 九月 2023 17:34:26 +0800
Subject: [PATCH] 基础数据模块/设备处理/设备使用(界面长度适配调整, 编码 单据号,名称 超长字符 单独处理)

---
 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