陈少旭 1 år sedan
förälder
incheckning
159cbb51f1
1 ändrade filer med 2 tillägg och 38 borttagningar
  1. 2 38
      src/xt_pages/outpatientCharges/costComparison.vue

+ 2 - 38
src/xt_pages/outpatientCharges/costComparison.vue Visa fil

@@ -636,22 +636,6 @@ c<template>
636 636
                 //   }
637 637
                 // }
638 638
 
639
-                var hifes_pays = [];
640
-
641
-                if(this.fromData[i].setl_detail.length > 0){
642
-                  var jsonObj = JSON.parse(this.fromData[i].setl_detail);
643
-                  console.log(jsonObj)
644
-                  for (let i = 0; i < jsonObj.length; i++) {
645
-                    if (jsonObj[i].fund_pay_type == '310100') {
646
-                      hifes_pays.push(jsonObj[i].fund_payamt)
647
-                    }
648
-                  }
649
-                }
650
-
651
-                let hifes_pay = 0.00
652
-                if(hifes_pays.length == 2){
653
-                  hifes_pay = hifes_pays[1]
654
-                }
655 639
 
656 640
                 let obj = {
657 641
                   '序号': i+1,
@@ -669,7 +653,7 @@ c<template>
669 653
                   '小计I+II': this.fromData[i].act_pay_dedc + this.fromData[i].psn_cash_pay,
670 654
                   '基本统筹基金': this.fromData[i].hifp_pay,
671 655
                   '公务员补助': this.fromData[i].cvlserv_pay,
672
-                  '单位补充保险': hifes_pay,
656
+                  '单位补充保险': this.fromData[i].hifmi_pay,
673 657
                   '煤矿补充保险': "0.00",
674 658
                   "超封顶线费用": "0.00",
675 659
                   '大额医疗保险应付': this.fromData[i].hifob_pay,
@@ -711,21 +695,6 @@ c<template>
711 695
               var list = []
712 696
               for (let i = 0; i < this.fromData.length; i++) {
713 697
 
714
-                var hifmi_pay = 0.00;
715
-
716
-                if(this.fromData[i].setl_detail.length > 0){
717
-                  var jsonObj = JSON.parse(this.fromData[i].setl_detail);
718
-                  console.log(jsonObj)
719
-                  for (let i = 0; i < jsonObj.length; i++) {
720
-                      if (jsonObj[i].fund_pay_type == '390200') {
721
-                        hifmi_pay = jsonObj[i].fund_payamt
722
-                      }
723
-                  }
724
-                }
725
-
726
-
727
-
728
-
729 698
                 let obj = {
730 699
                   '序号': i+1,
731 700
                   '姓名': this.fromData[i].psn_name,
@@ -742,19 +711,14 @@ c<template>
742 711
                   "超封顶线费用": "0.00",
743 712
                   "合计": parseFloat(this.fromData[i].act_pay_dedc)  + parseFloat(this.fromData[i].psn_cash_pay),
744 713
                   '基本统筹基金': this.fromData[i].hifp_pay,
745
-                  '大病保险': hifmi_pay,
714
+                  '大病保险':this.fromData[i].hifmi_pay,
746 715
                   '医疗救助': this.fromData[i].maf_pay,
747 716
                   '实账支付额': "0.00",
748 717
                   "血透次数":this.fromData[i].DialysisCount,
749 718
                   "置留管数量":0,
750 719
                   "备注":"",
751
-
752 720
                 }
753 721
 
754
-
755
-
756
-
757
-
758 722
                 list.push(obj)
759 723
               }
760 724
               var insutype_name = ''