see999 3 anos atrás
pai
commit
e616bb3935
1 arquivos alterados com 12 adições e 13 exclusões
  1. 12 13
      src/xt_pages/outpatientCharges/newStatementPrintTwo.vue

+ 12 - 13
src/xt_pages/outpatientCharges/newStatementPrintTwo.vue Ver arquivo

@@ -330,18 +330,6 @@
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})
345 333
 
346 334
                     var name_arr = [];
347 335
                     var spec_arr = [];
@@ -402,7 +390,18 @@
402 390
                     })
403 391
                     that.num = num
404 392
                     console.log('this.num222',that.num)
405
-                    
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') {
396
+                    //     that.info.transBody.outputlist2.splice(i, 1);
397
+                    //     newTotal += that.info.transBody.outputlist2[i].bka058
398
+                    //   }
399
+                    //   if(that.info.transBody.outputlist2[i].aka111 == '19'){
400
+                    //     that.info.transBody.outputlist2.splice(i, 1);
401
+                    //     newTotal += that.info.transBody.outputlist2[i].bka058
402
+                    //   }
403
+                    // }
404
+                    // that.info.transBody.outputlist2.push({aka111:'99',bka058:newTotal})
406 405
                   }
407 406
                 }
408 407
               })