From 22b45a79b2ceab7625e0fe248458c398cc26110d Mon Sep 17 00:00:00 2001 From: Fixiaobai <fixiaobai@163.com> Date: 星期一, 25 九月 2023 12:53:59 +0800 Subject: [PATCH] modified: src/components/view/Processingproducts.vue modified: src/components/view/rawInsDetail.vue modified: src/components/view/sale.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