see999 vor 3 Jahren
Ursprung
Commit
2fec4b734e
1 geänderte Dateien mit 3 neuen und 3 gelöschten Zeilen
  1. 3 3
      src/xt_pages/outpatientCharges/newStatementPrintTwo.vue

+ 3 - 3
src/xt_pages/outpatientCharges/newStatementPrintTwo.vue Datei anzeigen

@@ -391,15 +391,15 @@
391 391
                     that.num = num
392 392
                     let newTotal = 0
393 393
                     for (var i = that.info.transBody.outputlist2.length - 1; i >= 0; i--) {
394
-                      if(that.info.transBody.outputlist2[i].aka111.indexOf('07') > -1) {
394
+                      if(that.info.transBody.outputlist2[i].aka111 == '07') {
395 395
                         console.log('0707007')
396
-                        that.info.transBody.outputlist2.splice(i, 1);
397 396
                         newTotal += that.info.transBody.outputlist2[i].bka058
397
+                        that.info.transBody.outputlist2.splice(i, 1);
398 398
                       }
399 399
                       if(that.info.transBody.outputlist2[i].aka111 == '19'){
400 400
                         console.log('191919')
401
-                        that.info.transBody.outputlist2.splice(i, 1);
402 401
                         newTotal += that.info.transBody.outputlist2[i].bka058
402
+                        that.info.transBody.outputlist2.splice(i, 1);
403 403
                       }
404 404
                     }
405 405
                     console.log(1111111111111)