From 4f5549cd814eeaecd0ff04de62452d8d5fb4cbc5 Mon Sep 17 00:00:00 2001 From: value <z1292839451@163.com> Date: 星期四, 21 九月 2023 15:13:27 +0800 Subject: [PATCH] 9.21 --- 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