Commit 9841c5c0 authored by 罗林杰's avatar 罗林杰

完成B1,B2两种类型

parent 07fc2ad6
...@@ -759,15 +759,6 @@ export default { ...@@ -759,15 +759,6 @@ export default {
getOcrData(params).then(res => { getOcrData(params).then(res => {
this.ocrArray = res.data.resultList this.ocrArray = res.data.resultList
this.lot = res.data.lot this.lot = res.data.lot
// 遍历this.ocrArray 将最后一项全部改为OK for循环
for (let i = 0; i < this.ocrArray.length; i++) {
if (this.ocrArray[i].length > 0) {
if (i !== this.ocrArray.length - 1) {
// 不是最后一行数据
this.ocrArray[i][this.ocrArray[i].length - 1] = 'OK'// 修改最后一个元素
}
}
}
this.dialogLoading = false this.dialogLoading = false
}) })
}, },
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment