From c7ccbc6510a9350e0a0a5a39a84f46c382d080b3 Mon Sep 17 00:00:00 2001
From: Fixiaobai <fixiaobai@163.com>
Date: 星期五, 15 九月 2023 15:00:26 +0800
Subject: [PATCH] Merge branch 'master' of http://192.168.0.22:9001/r/mom-before
---
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