|
@@ -389,18 +389,18 @@
|
389
|
389
|
}
|
390
|
390
|
})
|
391
|
391
|
that.num = num
|
392
|
|
- console.log('this.num222',that.num)
|
393
|
392
|
let newTotal = 0
|
394
|
|
- for (var i = that.info.transBody.outputlist2.length - 1; i >= 0; i--) {
|
395
|
|
- if(that.info.transBody.outputlist2[i].aka111.indexOf('07') > -1) {
|
|
393
|
+ let newOutputlist2 = [...that.info.transBody.outputlist2]
|
|
394
|
+ for (var i = newOutputlist2.length - 1; i >= 0; i--) {
|
|
395
|
+ if(newOutputlist2[i].aka111.indexOf('07') > -1) {
|
396
|
396
|
console.log('0707007')
|
397
|
|
- that.info.transBody.outputlist2.splice(i, 1);
|
398
|
|
- newTotal += that.info.transBody.outputlist2[i].bka058
|
|
397
|
+ newOutputlist2.splice(i, 1);
|
|
398
|
+ newTotal += newOutputlist2[i].bka058
|
399
|
399
|
}
|
400
|
|
- if(that.info.transBody.outputlist2[i].aka111 == '19'){
|
|
400
|
+ if(newOutputlist2[i].aka111 == '19'){
|
401
|
401
|
console.log('191919')
|
402
|
|
- that.info.transBody.outputlist2.splice(i, 1);
|
403
|
|
- newTotal += that.info.transBody.outputlist2[i].bka058
|
|
402
|
+ newOutputlist2.splice(i, 1);
|
|
403
|
+ newTotal += newOutputlist2[i].bka058
|
404
|
404
|
}
|
405
|
405
|
}
|
406
|
406
|
console.log('2323324324234')
|
|
@@ -409,8 +409,12 @@
|
409
|
409
|
bka058:newTotal
|
410
|
410
|
}
|
411
|
411
|
console.log('aka111obj',aka111obj)
|
412
|
|
- that.info.transBody.outputlist2.push(aka111obj)
|
|
412
|
+ newOutputlist2.push(aka111obj)
|
|
413
|
+ that.info.transBody.outputlist2 = newOutputlist2
|
|
414
|
+ console.log('newOutputlist2',newOutputlist2)
|
413
|
415
|
console.log('that.info.transBody.outputlist2',that.info.transBody.outputlist2)
|
|
416
|
+ console.log('this.num222',that.num)
|
|
417
|
+
|
414
|
418
|
}
|
415
|
419
|
}
|
416
|
420
|
})
|