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

---
 src/components/view/finishedProductInspectionAdd.vue |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/components/view/finishedProductInspectionAdd.vue b/src/components/view/finishedProductInspectionAdd.vue
index 2f3df5c..b72612a 100644
--- a/src/components/view/finishedProductInspectionAdd.vue
+++ b/src/components/view/finishedProductInspectionAdd.vue
@@ -123,7 +123,7 @@
                         <el-button v-if="!scope.row.isSelectDevice" type="text" @click="clickTableSelect(scope)">{{
                             scope.row.dname == null ? "璇烽�夋嫨" : scope.row.dname
                         }}</el-button>
-                        <el-select style="width: 100%;" @change="clickNodeSure(scope.row)" v-model="filterText" placeholder="璇烽�夋嫨">
+                        <el-select  v-if="scope.row.isSelectDevice" style="width: 100%;" @change="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>
                         </el-select>
@@ -317,6 +317,7 @@
                 }
             }).then(res => {
                 this.materialOptions = res.data;
+                this.filterText = row.did
                 if(this.materialOptions.length===1){
                     this.$message({
                     message: '璇ラ」鐩笅鍙湁涓�涓瘯楠岃澶囷紝鏃犻渶閫夋嫨锛�',
@@ -325,7 +326,6 @@
                     return
                 }
                 row.isSelectDevice = true
-                this.filterText = row.did
             });
         },
         // 鐐瑰嚮琛ㄦ牸閫夋嫨瑙﹀彂

--
Gitblit v1.9.3