|
@@ -330,6 +330,18 @@
|
330
|
330
|
|
331
|
331
|
that.info['org_name'] = that.$store.getters.xt_user.org.org_name;
|
332
|
332
|
console.log("~~~~" + that.info);
|
|
333
|
+ let newTotal = 0
|
|
334
|
+ for (var i = that.info.transBody.outputlist2.length - 1; i >= 0; i--) {
|
|
335
|
+ if(that.info.transBody.outputlist2[i].aka111 == '07') {
|
|
336
|
+ that.info.transBody.outputlist2.splice(i, 1);
|
|
337
|
+ newTotal += that.info.transBody.outputlist2[i].bka058
|
|
338
|
+ }
|
|
339
|
+ if(that.info.transBody.outputlist2[i].aka111 == '19'){
|
|
340
|
+ that.info.transBody.outputlist2.splice(i, 1);
|
|
341
|
+ newTotal += that.info.transBody.outputlist2[i].bka058
|
|
342
|
+ }
|
|
343
|
+ }
|
|
344
|
+ that.info.transBody.outputlist2.push({aka111:'99',bka058:newTotal})
|
333
|
345
|
|
334
|
346
|
var name_arr = [];
|
335
|
347
|
var spec_arr = [];
|
|
@@ -390,14 +402,7 @@
|
390
|
402
|
})
|
391
|
403
|
that.num = num
|
392
|
404
|
console.log('this.num222',that.num)
|
393
|
|
- let newTotal = 0
|
394
|
|
- for (var i = that.info.transBody.outputlist2.length - 1; i >= 0; i--) {
|
395
|
|
- if(that.info.transBody.outputlist2[i].aka111 == '07' || that.info.transBody.outputlist2[i].aka111 == '19') {
|
396
|
|
- that.info.transBody.outputlist2.splice(i, 1);
|
397
|
|
- newTotal += that.info.transBody.outputlist2[i].bka058
|
398
|
|
- }
|
399
|
|
- }
|
400
|
|
- that.info.transBody.outputlist2.push({aka111:'99',bka058:newTotal})
|
|
405
|
+
|
401
|
406
|
}
|
402
|
407
|
}
|
403
|
408
|
})
|