From cdf986d7321208634387a8ab5eafa8e8e3d872f8 Mon Sep 17 00:00:00 2001
From: Fixiaobai <fixiaobai@163.com>
Date: 星期五, 15 九月 2023 15:00:17 +0800
Subject: [PATCH] 	modified:   src/components/view/processInspectionUpdate.vue 	modified:   src/components/view/rawInsDetail.vue

---
 src/components/view/processInspectionUpdate.vue |    9 ++++++---
 1 files changed, 6 insertions(+), 3 deletions(-)

diff --git a/src/components/view/processInspectionUpdate.vue b/src/components/view/processInspectionUpdate.vue
index 53bafbb..7f9d4a5 100644
--- a/src/components/view/processInspectionUpdate.vue
+++ b/src/components/view/processInspectionUpdate.vue
@@ -126,7 +126,7 @@
                         <el-button v-if="!scope.row.isSelectDevice" type="text" @click="clickTableSelect(scope)">{{
                             scope.row.dname == null ? "璇烽�夋嫨" : scope.row.dname
                         }}</el-button>
-                        <el-select v-if="scope.row.isSelectDevice" style="width: 100%;" @change="clickNodeSure(scope.row)"
+                        <el-select v-if="scope.row.isSelectDevice" style="width: 100%;" onchange="clickNodeSure(scope.row)"
                              v-model="filterText" placeholder="璇烽�夋嫨">
                             <el-option v-for="item in materialOptions" :key="item.id" :label="item.device" :value="item.id">
                             </el-option>
@@ -171,10 +171,10 @@
         </div>
         <el-dialog title="璇烽�夋嫨璁惧" :visible.sync="centerDialogVisible" width="20%">
             <div class="div_device_dialog">
-                <el-select style="width: 100%;" @change="clickNodeSure()" v-model="filterText" placeholder="璇烽�夋嫨">
+                <!-- <el-select style="width: 100%;" @change="clickNodeSure()" v-model="filterText" placeholder="璇烽�夋嫨">
                     <el-option v-for="item in materialOptions" :key="item.id" :label="item.device" :value="item.id">
                     </el-option>
-                </el-select>
+                </el-select> -->
             </div>
             <!-- <span slot="footer" class="dialog-footer">
                 <el-button @click="centerDialogVisible = false">鍙� 娑�</el-button>
@@ -367,6 +367,7 @@
         },
         // 鑾峰彇璁惧鏍戝唴瀹�
         getOptions(row) {
+            this.filterText=0
             this.$axios.get(this.$api.url.inspectionItemChooseDev, {
                 params: {
                     father: row.father,
@@ -392,6 +393,7 @@
         },
         // 鐐瑰嚮鏍戦噷闈㈢殑纭畾
         clickNodeSure(row) {
+            console.log(row);
             let select = this.materialOptions.filter(item => {
                 return item.id === this.filterText
             })[0]
@@ -414,6 +416,7 @@
                     })
                     .then(res => {
                         row.isSelectDevice = false
+                        console.log("row",row);
                         this.filterText=0
                         this.getTableData()
                         this.centerDialogVisible = false;

--
Gitblit v1.9.3