Commit de8c62d1 authored by 罗林杰's avatar 罗林杰

增加字段lot

parent d39a4e31
......@@ -318,6 +318,7 @@ export default {
],
// 扫描得到的数据
ocrArray: '',
lot: '',
// 主类型的总数据
TypeModalOptions: [
{ label: 'A', value: 'A' },
......@@ -532,6 +533,7 @@ export default {
this.firstTimeSelectType = true
this.updateFlag = true
this.isUpdate = true
this.subOptions = []
this.dialogLoading = true
this.oneKeyFlag = false
getDetailById(this.businessId).then(res => {
......@@ -569,6 +571,7 @@ export default {
chStype: this.form.chStype,
chResult: this.form.chResult,
chFile: this.form.chFile,
lot: this.lot,
chJson: JSON.stringify(data)
}
addOcrData(params).then(res => {
......@@ -596,6 +599,7 @@ export default {
chStype: this.form.chStype,
chResult: this.form.chResult,
chFile: this.form.chFile,
lot: this.form.lot,
chJson: JSON.stringify(data)
}
updateOcrData(params).then(res => {
......@@ -659,6 +663,7 @@ export default {
this.showModelTypeA2 = false
this.firstTimeUpdate = false
this.firstTimeSelectType = false
this.subOptions = []
this.title = '新增识别订单'
},
// 开始识别
......@@ -719,7 +724,8 @@ export default {
chStype: this.form.chStype
}
getOcrData(params).then(res => {
this.ocrArray = res.data
this.ocrArray = res.data.resultList
this.lot = res.data.lot
// 遍历this.ocrArray 将最后一项全部改为OK for循环
for (let i = 0; i < this.ocrArray.length; i++) {
if (this.ocrArray[i].length > 0) {
......
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