From 0d5206350ed39343da9a6192190c885dba9d92ba Mon Sep 17 00:00:00 2001
From: licp <lichunping@guanfang.com.cn>
Date: 星期三, 27 三月 2024 17:47:48 +0800
Subject: [PATCH] 完成表格-设备下拉
---
src/components/do/b1-inspect-order-plan/Inspection.vue | 7 +++++--
1 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/src/components/do/b1-inspect-order-plan/Inspection.vue b/src/components/do/b1-inspect-order-plan/Inspection.vue
index fa0ff0f..284a38c 100644
--- a/src/components/do/b1-inspect-order-plan/Inspection.vue
+++ b/src/components/do/b1-inspect-order-plan/Inspection.vue
@@ -508,7 +508,6 @@
}
conclusionList.forEach((n,i)=>{
if(n.r==b.r&&n.c==b.c){
- console.log(b.r,b.c,)
b.v.f = `(${this.comparisonList.find(j=>j.value==(finalList[i].c)).label}${finalList[i].r+1})`
}
})
@@ -719,7 +718,11 @@
let category = this.tableList.find(m=>m.id==id).deviceGroup
this.$axios.post(this.$api.deviceScope.selectDeviceByCategory, {category}).then(res => {
if (res.code === 200 && res.data) {
- console.log(1111111,res.data)
+ this.equipOptions = res.data.map(m=>{
+ m.value = m.id
+ m.label = m.deviceName
+ return m
+ })
}
}).catch(error => {
console.error(error)
--
Gitblit v1.9.3