Browse Source

Merge branch '20230223_pc_vue_new_branch' of http://git.shengws.com/csx/Vue_New into 20230223_pc_vue_new_branch

28169 8 months ago
parent
commit
b114a81296

+ 55 - 7
src/xt_pages/outpatientCharges/statementPrint.vue View File

743
         }
743
         }
744
         if (
744
         if (
745
           this.org_id == 10138 ||
745
           this.org_id == 10138 ||
746
-          this.org_id == 10278 ||  this.org_id == 10610 || this.org_id == 10537 || this.org_id == 0
746
+          this.org_id == 10278 ||  this.org_id == 10610 || this.org_id == 10537
747
         ) {
747
         ) {
748
           getPrivateExpenses(params).then((response) => {
748
           getPrivateExpenses(params).then((response) => {
749
             if (response.data.state == 0) {
749
             if (response.data.state == 0) {
893
               // that.info["department"] = response.data.data.department;
893
               // that.info["department"] = response.data.data.department;
894
               // that.info["health_card_no"] = response.data.data.health_card_no;
894
               // that.info["health_card_no"] = response.data.data.health_card_no;
895
 
895
 
896
+
897
+
898
+
896
               that.info['bed_cost_total'] = response.data.data.bedCostTotal
899
               that.info['bed_cost_total'] = response.data.data.bedCostTotal
897
               that.info['bed_cost_self_total'] =
900
               that.info['bed_cost_self_total'] =
898
                 response.data.data.bedCostSelfTotal
901
                 response.data.data.bedCostSelfTotal
1201
               that.info['material_cost_part_self_total'] =
1204
               that.info['material_cost_part_self_total'] =
1202
                 response.data.data.materialCostPartSelfTotal
1205
                 response.data.data.materialCostPartSelfTotal
1203
 
1206
 
1207
+
1208
+
1209
+
1204
               that.info['western_medicine_cost_total'] =
1210
               that.info['western_medicine_cost_total'] =
1205
                 response.data.data.westernMedicineCostTotal
1211
                 response.data.data.westernMedicineCostTotal
1206
               that.info['western_medicine_cost_self_total'] =
1212
               that.info['western_medicine_cost_self_total'] =
1590
                   that.info['department'] = response.data.data.department
1596
                   that.info['department'] = response.data.data.department
1591
                   that.info['health_card_no'] = response.data.data.health_card_no
1597
                   that.info['health_card_no'] = response.data.data.health_card_no
1592
 
1598
 
1599
+
1600
+                  if(response.data.data.zcCostTotal){
1601
+                    that.info['zc_cost_total'] =
1602
+                      response.data.data.zcCostTotal
1603
+                  }else{
1604
+                    that.info['zc_cost_total'] = 0
1605
+                  }
1606
+
1607
+                  if(response.data.data.zcCostSelfTotal){
1608
+                    that.info['zc_cost_self_total'] =
1609
+                      response.data.data.zcCostSelfTotal
1610
+                  }else{
1611
+                    that.info['zc_cost_self_total'] = 0
1612
+                  }
1613
+
1614
+
1615
+                  if(response.data.data.zcCostPartSelfTotal){
1616
+                    that.info['zc_cost_part_self_total'] =
1617
+                      response.data.data.zcCostPartSelfTotal
1618
+                  }else{
1619
+                    that.info['zc_cost_part_self_total'] = 0
1620
+                  }
1621
+
1622
+
1593
                   that.info['bed_cost_total'] = response.data.data.bedCostTotal
1623
                   that.info['bed_cost_total'] = response.data.data.bedCostTotal
1594
                   that.info['bed_cost_self_total'] =
1624
                   that.info['bed_cost_self_total'] =
1595
                     response.data.data.bedCostSelfTotal
1625
                     response.data.data.bedCostSelfTotal
1648
                     response.data.data.treatCostSelfTotal
1678
                     response.data.data.treatCostSelfTotal
1649
                   that.info['treat_cost_part_self_total'] =
1679
                   that.info['treat_cost_part_self_total'] =
1650
                     response.data.data.treatCostPartSelfTotal
1680
                     response.data.data.treatCostPartSelfTotal
1681
+
1682
+                  if(response.data.data.zcCostTotal){
1683
+                    that.info['zc_cost_total'] =
1684
+                      response.data.data.zcCostTotal
1685
+                  }else{
1686
+                    that.info['zc_cost_total'] = 0
1687
+                  }
1688
+                  if(response.data.data.zcCostSelfTotal){
1689
+                    that.info['zc_cost_self_total'] =
1690
+                      response.data.data.zcCostSelfTotal
1691
+                  }else{
1692
+                    that.info['zc_cost_self_total'] = 0
1693
+                  }
1694
+                  if(response.data.data.zcCostPartSelfTotal){
1695
+                    that.info['zc_cost_part_self_total'] =
1696
+                      response.data.data.zcCostPartSelfTotal
1697
+                  }else{
1698
+                    that.info['zc_cost_part_self_total'] = 0
1699
+                  }
1700
+
1701
+
1651
                   that.info['date'] = response.data.data.date
1702
                   that.info['date'] = response.data.data.date
1652
                   that.info['number'] = response.data.data.number
1703
                   that.info['number'] = response.data.data.number
1653
                   that.info['order_infos'] = response.data.data.order_infos
1704
                   that.info['order_infos'] = response.data.data.order_infos
1698
                     response.data.data.otherSelfTotal
1749
                     response.data.data.otherSelfTotal
1699
                   that.info['dia_config'] = response.data.data.dia_config
1750
                   that.info['dia_config'] = response.data.data.dia_config
1700
 
1751
 
1752
+
1753
+
1701
                   //org_id 10485,此代码为阳春恒健血液透析中心结算单模版数据处理逻辑
1754
                   //org_id 10485,此代码为阳春恒健血液透析中心结算单模版数据处理逻辑
1702
                   var list = []
1755
                   var list = []
1703
                   //获取所有项目类型进行去重
1756
                   //获取所有项目类型进行去重
1855
                   }
1908
                   }
1856
                   that.info['funds'] = funds
1909
                   that.info['funds'] = funds
1857
 
1910
 
1858
-                  that.info['zc_cost_total'] =
1859
-                    response.data.data.zcCostTotal
1860
-                  that.info['zc_cost_self_total'] =
1861
-                    response.data.data.zcCostSelfTotal
1862
-                  that.info['zc_cost_part_self_total'] =
1863
-                    response.data.data.zcCostPartSelfTotal
1911
+
1864
 
1912
 
1865
                 }
1913
                 }
1866
               })
1914
               })

+ 1 - 1
src/xt_pages/outpatientCharges/statementTemplate/printOne.vue View File

260
           parseFloat(info.operation_cost_self_total) + parseFloat(info.other_cost_self_total) +
260
           parseFloat(info.operation_cost_self_total) + parseFloat(info.other_cost_self_total) +
261
           parseFloat(info.material_cost_self_total) + parseFloat(info.western_medicine_cost_self_total) +
261
           parseFloat(info.material_cost_self_total) + parseFloat(info.western_medicine_cost_self_total) +
262
           parseFloat(info.chinese_traditional_medicine_cost_self_total) + parseFloat(info.check_cost_self_total) +
262
           parseFloat(info.chinese_traditional_medicine_cost_self_total) + parseFloat(info.check_cost_self_total) +
263
-          parseFloat(info.laboratory_cost_self_total) + parseFloat(info.treat_cost_self_total) + parseFloat(info.zc_cost_total)).toFixed(2)}}
263
+          parseFloat(info.laboratory_cost_self_total) + parseFloat(info.treat_cost_self_total) + parseFloat(info.zc_cost_self_total)).toFixed(2)}}
264
         </td>
264
         </td>
265
         <td colspan="2" style="text-align:right;padding-right:10px;">{{(parseFloat(info.bed_cost_part_self_total) +
265
         <td colspan="2" style="text-align:right;padding-right:10px;">{{(parseFloat(info.bed_cost_part_self_total) +
266
           parseFloat(info.operation_cost_part_self_total) + parseFloat(info.other_cost_part_self_total) +
266
           parseFloat(info.operation_cost_part_self_total) + parseFloat(info.other_cost_part_self_total) +