From 0de6edd66b21331abbb2513ee5b0b8013fea03df Mon Sep 17 00:00:00 2001
From: licp <lichunping@guanfang.com.cn>
Date: 星期五, 19 四月 2024 10:22:02 +0800
Subject: [PATCH] 合并冲突
---
src/components/do/b1-inspect-order-plan/Inspection.vue | 22 +++++++++++++++++-----
1 files changed, 17 insertions(+), 5 deletions(-)
diff --git a/src/components/do/b1-inspect-order-plan/Inspection.vue b/src/components/do/b1-inspect-order-plan/Inspection.vue
index f3fbdc0..92b0b8d 100644
--- a/src/components/do/b1-inspect-order-plan/Inspection.vue
+++ b/src/components/do/b1-inspect-order-plan/Inspection.vue
@@ -180,8 +180,9 @@
<tr v-for="(m,i) in item.arr" :key="i" style="overflow: auto;">
<!-- v-if="n.v.mc==undefined || n.v.mc.rs!=undefined" :colspan="n.v.mc&&n.v.mc.cs?n.v.mc.cs:1" :rowspan="n.v.mc&&n.v.mc.rs?n.v.mc.rs:1" -->
<td :id='item.templateId+"-"+n.i+"-"+n.r+"-"+n.c' v-for="(n,j) in m" :key="j"
- :style="`background:${n.v.bg};color:${n.v.fc};font-size:${n.v.fs}px;width:${item.style.columnlen[n.c]}px !important;height:${item.style.rowlen[n.r]}px;font-wight:${n.v.bl?'bold':''};`">
+ :style="`background:${n.v.bg};color:${n.v.fc};font-size:${n.v.fs}px;width:${item.style.columnlen[n.c]}px;height:${item.style.rowlen[n.r]}px;font-wight:${n.v.bl?'bold':''};`">
<div class="content" :class="`content-h-${n.v.ht} content-v-${n.v.vt}`" :style="`width:${item.style.columnlen[n.c]}px !important;`">
+ {{n.mc}}
<template v-if="n.v.ps!=undefined && n.v.ps.value==='妫�楠屽��'">
<el-input v-if="getInspectionValueType(n.i) == 1" class="table_input" v-model="n.v.v"
:disabled="getInspectionItemType(n.i) == 1 || (n.u != userId && n.u != undefined && n.u != '')||state>1"
@@ -469,6 +470,7 @@
mcList.push(b)
}
})
+ let count = 0
mcList.forEach(b => {
for (var c in a.template) {
for (var i = 0; i < b.v.mc.cs; i++) {
@@ -476,11 +478,13 @@
if (a.template[c].c === b.c + i && a.template[c].r === b.r + i2) {
a.template[c].v.v = this.HaveJson(b).v.v
a.template[c].v.ps = this.HaveJson(b).v.ps
+ a.template[c].mc = count
break
}
}
}
}
+ count++
})
})
this.tableList.forEach(a => {
@@ -517,7 +521,6 @@
}
}
})
- console.log(dels);
dels.forEach(del => {
for (let b = 0; b < a.template.length; b++) {
if (a.template[b].r === del) {
@@ -526,16 +529,25 @@
}
}
})
- /* ids.forEach(id => {
+ ids.forEach(id => {
for (let b = 0; b < a.template.length; b++) {
if (a.template[b].r === id.r) {
a.template[b].i = id.id
if (a.template[b].v.ps != undefined && a.template[b].v.ps.value === '鍗曚綅') {
a.template[b].v.v = id.product.unit
}
+ if (a.template[b].v.ps != undefined && a.template[b].v.ps.value === '璇曢獙鏂规硶') {
+ a.template[b].v.v = id.product.method
+ }
}
}
- }) */
+ })
+ let set2 = new Set()
+ a.template.forEach(b=>{
+ if(b.mc!=undefined&&set2.add(b.mc)){
+ console.log(b.v);
+ }
+ })
})
this.tableList.forEach(a => {
let arrs = []
@@ -562,7 +574,7 @@
b.v.v = ''
// this.param[b.i].comValue.push(b)
}
- if (b.v.ps != undefined && b.v.ps.value === '璁惧') {
+ if (b.v.ps != undefined && b.v.ps.value === '璁惧缂栫爜') {
b.v.v = ''
// this.param[b.i].equipValue = b
}
--
Gitblit v1.9.3