|
@@ -286,15 +286,18 @@ export default {
|
|
return true
|
|
return true
|
|
}
|
|
}
|
|
const spanData = this.colspanMap[`${row.address}|${row.applicantName}|${row.phone}|${row.isSend}`]
|
|
const spanData = this.colspanMap[`${row.address}|${row.applicantName}|${row.phone}|${row.isSend}`]
|
|
- if (spanData) {
|
|
|
|
- const ids = new Set(spanData.ids)
|
|
|
|
- this.list.forEach(item => {
|
|
|
|
- if (ids.has(item.id)) {
|
|
|
|
- if (!item.isReprinting) { return true }
|
|
|
|
- }
|
|
|
|
- })
|
|
|
|
|
|
+ if (!spanData) {
|
|
|
|
+ return false
|
|
}
|
|
}
|
|
- return false
|
|
|
|
|
|
+
|
|
|
|
+ const ids = new Set(spanData.ids)
|
|
|
|
+ let isDisabled = false
|
|
|
|
+ this.list.forEach(item => {
|
|
|
|
+ if (ids.has(item.id) && item.isReprinting) {
|
|
|
|
+ isDisabled = true
|
|
|
|
+ }
|
|
|
|
+ })
|
|
|
|
+ return isDisabled
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|