|
@@ -109,7 +109,7 @@
|
109
|
109
|
</el-button
|
110
|
110
|
>
|
111
|
111
|
<el-button v-if="$store.getters.xt_user.org_id == 10106 || $store.getters.xt_user.org_id == 0" size="small" type="primary" @click="export_detail_ten">报表下载2</el-button>
|
112
|
|
- <el-button v-if="$store.getters.xt_user.org_id == 10318 || $store.getters.xt_user.org_id == 0" size="small" type="primary" @click="export_detail_ten_two">报表下载3</el-button>
|
|
112
|
+ <el-button v-if="$store.getters.xt_user.org_id == 10318 || $store.getters.xt_user.org_id == 0" size="small" type="primary" @click="export_detail_ten_four">报表下载3</el-button>
|
113
|
113
|
<!-- <el-button size="small" type="primary" @click="export_detail_ten_three">报表下载4</el-button>-->
|
114
|
114
|
|
115
|
115
|
|
|
@@ -398,7 +398,7 @@ import invoicePrint from "./invoicePrint";
|
398
|
398
|
import settlementPrint from "./settlementPrint";
|
399
|
399
|
import {jsGetAge, uParseTime} from "@/utils/tools";
|
400
|
400
|
|
401
|
|
-import {getHisDataFive, getHisDataSix, getHisDataThree, getHisDataTwo,getAllOrders,exportOrderInfo} from "../../api/his/his";
|
|
401
|
+import {getHisDataFive, getHisDataSix, getHisDataThree, getHisDataTwo,getAllOrders,exportOrderInfo,handleOne} from "../../api/his/his";
|
402
|
402
|
|
403
|
403
|
import {handleData10106,handleData10318,handleData10138Two} from "../../api/his/his_export";
|
404
|
404
|
import StatementListPrint from "./statementListPrint";
|
|
@@ -1540,7 +1540,452 @@ export default {
|
1540
|
1540
|
}
|
1541
|
1541
|
});
|
1542
|
1542
|
|
|
1543
|
+ }, export_detail_ten_four() {
|
|
1544
|
+ let params = {
|
|
1545
|
+ start_time:"2022-01-01",
|
|
1546
|
+ end_time:"2022-04-30",
|
|
1547
|
+ };
|
|
1548
|
+ handleOne(params).then((response) => {
|
|
1549
|
+ if (response.data.state == 0) {
|
|
1550
|
+ this.$message.error(response.data.msg);
|
|
1551
|
+ return false;
|
|
1552
|
+ } else {
|
|
1553
|
+ let new_orders = []
|
|
1554
|
+
|
|
1555
|
+ let new_orders_3663 = []
|
|
1556
|
+ let new_orders_4059 = []
|
|
1557
|
+ let new_orders_4039 = []
|
|
1558
|
+
|
|
1559
|
+ for (let i = 0; i < response.data.data.order.length; i++) {
|
|
1560
|
+ let order = response.data.data.order[i];
|
|
1561
|
+ for(let b= 0; b< order.info.length; b++){
|
|
1562
|
+ order.info[b]['new_order'] = order
|
|
1563
|
+ order.info[b]['new_date'] = this.getTime(order.info[b].pre_time,"{y}-{m}")
|
|
1564
|
+ new_orders.push(order.info[b])
|
|
1565
|
+ }
|
|
1566
|
+ }
|
|
1567
|
+
|
|
1568
|
+ let new_list_four = []
|
|
1569
|
+ for (let i = 0; i < new_orders.length; i++) {
|
|
1570
|
+ let order = new_orders[i];
|
|
1571
|
+ new_list_four.push(order.p_info)
|
|
1572
|
+ }
|
|
1573
|
+
|
|
1574
|
+ const obj111 = {}
|
|
1575
|
+ new_list_four = new_list_four.reduce((cur, next) => {
|
|
1576
|
+ obj111[next.id] ? '' : obj111[next.id] = true && cur.push(next)
|
|
1577
|
+ return cur
|
|
1578
|
+ }, []) // 设置cur默认类型为数组,并且初始值为空的数组
|
|
1579
|
+
|
|
1580
|
+
|
|
1581
|
+ let new_list_six = []
|
|
1582
|
+ for (let i = 0; i < new_list_four.length; i++) {
|
|
1583
|
+ let order = new_list_four[i];
|
|
1584
|
+ let obj = {
|
|
1585
|
+ p_id:order.id,
|
|
1586
|
+ patient_id:order.patient_id,
|
|
1587
|
+ cur_date:this.getTime(order.record_date,"{y}-{m}"),
|
|
1588
|
+ list:[],
|
|
1589
|
+ }
|
|
1590
|
+ for(let b = 0; b < new_orders.length; b++){
|
|
1591
|
+ if(order.id == new_orders[b].p_info.id){
|
|
1592
|
+ obj.list.push(new_orders[b])
|
|
1593
|
+ }
|
|
1594
|
+ }
|
|
1595
|
+ new_list_six.push(obj)
|
|
1596
|
+ }
|
|
1597
|
+
|
|
1598
|
+
|
|
1599
|
+ console.log(new_list_six)
|
|
1600
|
+
|
|
1601
|
+
|
|
1602
|
+ for (let i = 0; i < new_list_six.length; i++) {
|
|
1603
|
+ let order = new_list_six[i];
|
|
1604
|
+ let islvguo = false
|
|
1605
|
+ for (let b = 0; b < order.list.length; b++) {
|
|
1606
|
+ for(let c = 0 ; c < order.list[b].project.length; c++){
|
|
1607
|
+ if (order.list[b].project[c].project.id == 78 && order.list[b].project[c].project.id != 79 && order.list[b].project[c].project.id!= 1074) {
|
|
1608
|
+ islvguo = true
|
|
1609
|
+ }
|
|
1610
|
+ }
|
|
1611
|
+ }
|
|
1612
|
+ if(islvguo){
|
|
1613
|
+ new_orders_3663.push(order)
|
|
1614
|
+ }
|
|
1615
|
+ }
|
|
1616
|
+ console.log(new_orders_3663)
|
|
1617
|
+
|
|
1618
|
+
|
|
1619
|
+ for (let i = 0; i < new_list_six.length; i++) {
|
|
1620
|
+ let order = new_list_six[i];
|
|
1621
|
+ let islvguo = false
|
|
1622
|
+ for (let b = 0; b < order.list.length; b++) {
|
|
1623
|
+ for(let c = 0 ; c < order.list[b].project.length; c++){
|
|
1624
|
+ if (order.list[b].project[c].project.id == 1074 && order.list[b].project[c].project.id != 78 && order.list[b].project[c].project.id!= 79) {
|
|
1625
|
+ islvguo = true
|
|
1626
|
+ }
|
|
1627
|
+ }
|
|
1628
|
+ }
|
|
1629
|
+ if(islvguo){
|
|
1630
|
+ new_orders_4059.push(order)
|
|
1631
|
+ }
|
|
1632
|
+ }
|
|
1633
|
+
|
|
1634
|
+ console.log(new_orders_4059)
|
|
1635
|
+
|
|
1636
|
+
|
|
1637
|
+ for (let i = 0; i < new_list_six.length; i++) {
|
|
1638
|
+ let order = new_list_six[i];
|
|
1639
|
+ let islvguo = false
|
|
1640
|
+ for (let b = 0; b < order.list.length; b++) {
|
|
1641
|
+ for(let c = 0 ; c < order.list[b].project.length; c++){
|
|
1642
|
+ if (order.list[b].project[c].project.id == 79 && order.list[b].project[c].project.id != 78 && order.list[b].project[c].project.id!= 1074) {
|
|
1643
|
+ islvguo = true
|
|
1644
|
+ }
|
|
1645
|
+ }
|
|
1646
|
+ }
|
|
1647
|
+ if(islvguo){
|
|
1648
|
+ new_orders_4039.push(order)
|
|
1649
|
+ }
|
|
1650
|
+ }
|
|
1651
|
+
|
|
1652
|
+ console.log(new_orders_4039)
|
|
1653
|
+
|
|
1654
|
+
|
|
1655
|
+
|
|
1656
|
+
|
|
1657
|
+ var months_3663 = []
|
|
1658
|
+ for(let i = 0; i < new_orders_3663.length;i++){
|
|
1659
|
+ months_3663.push(new_orders_3663[i].cur_date)
|
|
1660
|
+ }
|
|
1661
|
+ const obj = {}
|
|
1662
|
+ months_3663 = months_3663.reduce((cur, next) => {
|
|
1663
|
+ obj[next] ? '' : obj[next] = true && cur.push(next)
|
|
1664
|
+ return cur
|
|
1665
|
+ }, []) // 设置cur默认类型为数组,并且初始值为空的数组
|
|
1666
|
+
|
|
1667
|
+
|
|
1668
|
+ var months_4039 = []
|
|
1669
|
+ for(let i = 0; i < new_orders_4039.length;i++){
|
|
1670
|
+ months_4039.push(new_orders_4039[i].cur_date)
|
|
1671
|
+ }
|
|
1672
|
+ const obj2 = {}
|
|
1673
|
+ months_4039 = months_4039.reduce((cur, next) => {
|
|
1674
|
+ obj2[next] ? '' : obj2[next] = true && cur.push(next)
|
|
1675
|
+ return cur
|
|
1676
|
+ }, []) // 设置cur默认类型为数组,并且初始值为空的数组
|
|
1677
|
+
|
|
1678
|
+
|
|
1679
|
+ var months_4059 = []
|
|
1680
|
+
|
|
1681
|
+ for(let i = 0; i < new_orders_4059.length;i++){
|
|
1682
|
+
|
|
1683
|
+ months_4059.push(new_orders_4059[i].cur_date)
|
|
1684
|
+
|
|
1685
|
+ }
|
|
1686
|
+ const obj3 = {}
|
|
1687
|
+ months_4059 = months_4059.reduce((cur, next) => {
|
|
1688
|
+ obj3[next] ? '' : obj3[next] = true && cur.push(next)
|
|
1689
|
+ return cur
|
|
1690
|
+ }, [])
|
|
1691
|
+ // 设置cur默认类型为数组,并且初始值为空的数组
|
|
1692
|
+ let new_list = []
|
|
1693
|
+ for(let i = 0; i < months_3663.length;i++) {
|
|
1694
|
+ let obj = {
|
|
1695
|
+ cus_date:months_3663[i],
|
|
1696
|
+ info:[]
|
|
1697
|
+ }
|
|
1698
|
+ for (let b = 0; b < new_orders_3663.length; b++) {
|
|
1699
|
+ if(months_3663[i] == new_orders_3663[b].cur_date){
|
|
1700
|
+ obj.info.push(new_orders_3663[b])
|
|
1701
|
+ }
|
|
1702
|
+ }
|
|
1703
|
+ new_list.push(obj)
|
|
1704
|
+ }
|
|
1705
|
+
|
|
1706
|
+ let new_list_two = []
|
|
1707
|
+ for(let i = 0; i < months_4039.length;i++) {
|
|
1708
|
+ let obj = {
|
|
1709
|
+ cus_date:months_4039[i],
|
|
1710
|
+ info:[]
|
|
1711
|
+ }
|
|
1712
|
+ for (let b = 0; b < new_orders_4039.length; b++) {
|
|
1713
|
+ if(months_4039[i] == new_orders_4039[b].cur_date){
|
|
1714
|
+ obj.info.push(new_orders_4039[b])
|
|
1715
|
+ }
|
|
1716
|
+ }
|
|
1717
|
+ new_list_two.push(obj)
|
|
1718
|
+ }
|
|
1719
|
+
|
|
1720
|
+
|
|
1721
|
+
|
|
1722
|
+ let new_list_three = []
|
|
1723
|
+ for(let i = 0; i < months_4059.length;i++) {
|
|
1724
|
+ let obj = {
|
|
1725
|
+ cus_date:months_4059[i],
|
|
1726
|
+ info:[]
|
|
1727
|
+ }
|
|
1728
|
+ for (let b = 0; b < new_orders_4059.length; b++) {
|
|
1729
|
+ if(months_4059[i] == new_orders_4059[b].cur_date){
|
|
1730
|
+ obj.info.push(new_orders_4059[b])
|
|
1731
|
+ }
|
|
1732
|
+ }
|
|
1733
|
+ new_list_three.push(obj)
|
|
1734
|
+ }
|
|
1735
|
+
|
|
1736
|
+
|
|
1737
|
+ console.log(new_list)
|
|
1738
|
+ console.log(new_list_two)
|
|
1739
|
+ console.log(new_list_three)
|
|
1740
|
+
|
|
1741
|
+
|
|
1742
|
+ var list_one = []
|
|
1743
|
+ var list_two = []
|
|
1744
|
+ var list_three = []
|
|
1745
|
+
|
|
1746
|
+ for(let b = 0; b < new_list.length; b++){
|
|
1747
|
+ let obj = {
|
|
1748
|
+ cur_date:new_list[b].cus_date,
|
|
1749
|
+ order_info:[],
|
|
1750
|
+ info_length:new_list[b].info.length
|
|
1751
|
+
|
|
1752
|
+ }
|
|
1753
|
+ for(let c = 0; c < new_list[b].info.length; c++) {
|
|
1754
|
+ for(let d = 0; d < new_list[b].info[c].list.length; d++) {
|
|
1755
|
+ if(new_list[b].info[c].list[d].advices.length > 0 && new_list[b].info[c].list[d].project.length == 0 ){
|
|
1756
|
+ for(let e = 0; e < new_list[b].info[c].list[d].advices.length; e++) {
|
|
1757
|
+ obj.order_info.push(new_list[b].info[c].list[d].advices[e].order_info)
|
|
1758
|
+ }
|
|
1759
|
+
|
|
1760
|
+ }
|
|
1761
|
+ if(new_list[b].info[c].list[d].advices.length == 0 && new_list[b].info[c].list[d].project.length > 0 ){
|
|
1762
|
+ for(let e = 0; e < new_list[b].info[c].list[d].project.length; e++) {
|
|
1763
|
+ obj.order_info.push(new_list[b].info[c].list[d].project[e].order_info)
|
|
1764
|
+
|
|
1765
|
+ }
|
|
1766
|
+ }
|
|
1767
|
+ }
|
|
1768
|
+ }
|
|
1769
|
+ list_one.push(obj)
|
|
1770
|
+
|
|
1771
|
+ }
|
|
1772
|
+
|
|
1773
|
+ for(let b = 0; b < new_list_two.length; b++){
|
|
1774
|
+ let obj = {
|
|
1775
|
+ cur_date:new_list_two[b].cus_date,
|
|
1776
|
+ order_info:[],
|
|
1777
|
+ info_length:new_list_two[b].info.length
|
|
1778
|
+
|
|
1779
|
+ }
|
|
1780
|
+ for(let c = 0; c < new_list_two[b].info.length; c++) {
|
|
1781
|
+ for(let d = 0; d < new_list_two[b].info[c].list.length; d++) {
|
|
1782
|
+ if(new_list_two[b].info[c].list[d].advices.length > 0 && new_list_two[b].info[c].list[d].project.length == 0 ){
|
|
1783
|
+ for(let e = 0; e < new_list_two[b].info[c].list[d].advices.length; e++) {
|
|
1784
|
+ obj.order_info.push(new_list_two[b].info[c].list[d].advices[e].order_info)
|
|
1785
|
+ }
|
|
1786
|
+
|
|
1787
|
+ }
|
|
1788
|
+ if(new_list_two[b].info[c].list[d].advices.length == 0 && new_list_two[b].info[c].list[d].project.length > 0 ){
|
|
1789
|
+ for(let e = 0; e < new_list_two[b].info[c].list[d].project.length; e++) {
|
|
1790
|
+ obj.order_info.push(new_list_two[b].info[c].list[d].project[e].order_info)
|
|
1791
|
+ }
|
|
1792
|
+ }
|
|
1793
|
+ }
|
|
1794
|
+ }
|
|
1795
|
+ list_two.push(obj)
|
|
1796
|
+
|
|
1797
|
+
|
|
1798
|
+ }
|
|
1799
|
+
|
|
1800
|
+ for(let b = 0; b < new_list_three.length; b++){
|
|
1801
|
+ let obj = {
|
|
1802
|
+ cur_date:new_list_three[b].cus_date,
|
|
1803
|
+ order_info:[],
|
|
1804
|
+ info_length:new_list_three[b].info.length
|
|
1805
|
+ }
|
|
1806
|
+ for(let c = 0; c < new_list_three[b].info.length; c++) {
|
|
1807
|
+ for(let d = 0; d < new_list_three[b].info[c].list.length; d++) {
|
|
1808
|
+ if(new_list_three[b].info[c].list[d].advices.length > 0 && new_list_three[b].info[c].list[d].project.length == 0 ){
|
|
1809
|
+ for(let e = 0; e < new_list_three[b].info[c].list[d].advices.length; e++) {
|
|
1810
|
+ obj.order_info.push(new_list_three[b].info[c].list[d].advices[e].order_info)
|
|
1811
|
+ }
|
|
1812
|
+
|
|
1813
|
+ }
|
|
1814
|
+ if(new_list_three[b].info[c].list[d].advices.length == 0 && new_list_three[b].info[c].list[d].project.length > 0 ){
|
|
1815
|
+ for(let e = 0; e < new_list_three[b].info[c].list[d].project.length; e++) {
|
|
1816
|
+ obj.order_info.push(new_list_three[b].info[c].list[d].project[e].order_info)
|
|
1817
|
+ }
|
|
1818
|
+ }
|
|
1819
|
+ }
|
|
1820
|
+ }
|
|
1821
|
+ list_three.push(obj)
|
|
1822
|
+
|
|
1823
|
+ }
|
|
1824
|
+
|
|
1825
|
+
|
|
1826
|
+
|
|
1827
|
+ console.log(list_one)
|
|
1828
|
+ console.log(list_two)
|
|
1829
|
+ console.log(list_three)
|
|
1830
|
+
|
|
1831
|
+
|
|
1832
|
+ // list_one = []
|
|
1833
|
+ // list_one = list_two
|
|
1834
|
+
|
|
1835
|
+ // list_one = []
|
|
1836
|
+ // list_one = list_three
|
|
1837
|
+
|
|
1838
|
+ var tarList = []
|
|
1839
|
+ for (let i = 0; i < list_one.length; i++) {
|
|
1840
|
+ let obj = {
|
|
1841
|
+ "年月": list_one[i].cur_date,
|
|
1842
|
+ "总人数": this.getTotalOneOne(list_one[i].order_info),
|
|
1843
|
+ "总人次": list_one[i].info_length,
|
|
1844
|
+ "总费用": this.getTotalOne(list_one[i].order_info),
|
|
1845
|
+ "总治疗费": this.getTotalTwo(list_one[i].order_info),
|
|
1846
|
+ "总材料费": this.getTotalThree(list_one[i].order_info),
|
|
1847
|
+ "总检查检验费": this.getTotalFour(list_one[i].order_info),
|
|
1848
|
+ "总药品费": this.getTotalFive(list_one[i].order_info),
|
|
1849
|
+ "人均费用": this.getTotalOne(list_one[i].order_info) / this.getTotalOneOne(list_one[i].order_info),
|
|
1850
|
+ "次均费用": this.getTotalOne(list_one[i].order_info) / list_one[i].info_length,
|
|
1851
|
+ "次均治疗费": this.getTotalTwo(list_one[i].order_info) / list_one[i].info_length,
|
|
1852
|
+ "次均材料费": this.getTotalThree(list_one[i].order_info) / list_one[i].info_length,
|
|
1853
|
+ "次均检查检验费": this.getTotalFour(list_one[i].order_info) / list_one[i].info_length,
|
|
1854
|
+ "次均药品费":this.getTotalFive(list_one[i].order_info) / list_one[i].info_length,
|
|
1855
|
+ }
|
|
1856
|
+ tarList.push(obj)
|
|
1857
|
+ }
|
|
1858
|
+ }
|
|
1859
|
+
|
|
1860
|
+ import("@/vendor/Export2Excel").then((excel) => {
|
|
1861
|
+ const tHeader = [
|
|
1862
|
+ "年月",
|
|
1863
|
+ "总人数",
|
|
1864
|
+ "总人次",
|
|
1865
|
+ "总费用",
|
|
1866
|
+ "总治疗费",
|
|
1867
|
+ "总材料费",
|
|
1868
|
+ "总检查检验费",
|
|
1869
|
+ "总药品费",
|
|
1870
|
+ "人均费用",
|
|
1871
|
+ "次均费用",
|
|
1872
|
+ "次均治疗费",
|
|
1873
|
+ "次均材料费",
|
|
1874
|
+ "次均检查检验费",
|
|
1875
|
+ "次均药品费",
|
|
1876
|
+ ];
|
|
1877
|
+ const filterVal = [
|
|
1878
|
+ "年月",
|
|
1879
|
+ "总人数",
|
|
1880
|
+ "总人次",
|
|
1881
|
+ "总费用",
|
|
1882
|
+ "总治疗费",
|
|
1883
|
+ "总材料费",
|
|
1884
|
+ "总检查检验费",
|
|
1885
|
+ "总药品费",
|
|
1886
|
+ "人均费用",
|
|
1887
|
+ "次均费用",
|
|
1888
|
+ "次均治疗费",
|
|
1889
|
+ "次均材料费",
|
|
1890
|
+ "次均检查检验费",
|
|
1891
|
+ "次均药品费",
|
|
1892
|
+ ];
|
|
1893
|
+ const data = this.formatJson(filterVal, tarList);
|
|
1894
|
+ excel.export_json_to_excel({
|
|
1895
|
+ header: tHeader,
|
|
1896
|
+ data,
|
|
1897
|
+ filename: "消费明细",
|
|
1898
|
+ });
|
|
1899
|
+ });
|
|
1900
|
+
|
|
1901
|
+
|
|
1902
|
+
|
|
1903
|
+
|
|
1904
|
+
|
|
1905
|
+
|
|
1906
|
+ });
|
|
1907
|
+
|
|
1908
|
+ },getTotalOneOne(order_info){
|
|
1909
|
+ var patient_ids = []
|
|
1910
|
+ for(var i = 0; i < order_info.length; i++){
|
|
1911
|
+ patient_ids.push(order_info[i].patient_id)
|
|
1912
|
+ }
|
|
1913
|
+ const obj2 = {}
|
|
1914
|
+ patient_ids = patient_ids.reduce((cur, next) => {
|
|
1915
|
+ obj2[next] ? '' : obj2[next] = true && cur.push(next)
|
|
1916
|
+ return cur
|
|
1917
|
+ }, []) // 设置cur默认类型为数组,并且初始值为空的数组
|
|
1918
|
+ return patient_ids.length
|
|
1919
|
+
|
|
1920
|
+ },getTotalOneTwo(order_info){
|
|
1921
|
+ let total = 0
|
|
1922
|
+ for(var i = 0;i < order_info.length; i++){
|
|
1923
|
+ total = total + order_info[i].det_item_fee_sumamt
|
|
1924
|
+ }
|
|
1925
|
+ return total.toFixed(2)
|
|
1926
|
+ },getTotalOne(order_info){
|
|
1927
|
+ let total = 0
|
|
1928
|
+ for(var i = 0;i < order_info.length; i++){
|
|
1929
|
+ total = total + order_info[i].det_item_fee_sumamt
|
|
1930
|
+ }
|
|
1931
|
+ return total.toFixed(2)
|
|
1932
|
+
|
|
1933
|
+ },getTotalTwo(order_info){
|
|
1934
|
+ let total = 0
|
|
1935
|
+ for(var i = 0;i < order_info.length; i++){
|
|
1936
|
+ if(order_info[i].med_chrgitm_type == "05") {
|
|
1937
|
+ total = total + order_info[i].det_item_fee_sumamt
|
|
1938
|
+ }
|
|
1939
|
+ }
|
|
1940
|
+ return total.toFixed(2)
|
|
1941
|
+
|
|
1942
|
+ },getTotalThree(order_info){
|
|
1943
|
+ let total = 0
|
|
1944
|
+ for(var i = 0;i < order_info.length; i++){
|
|
1945
|
+ if(order_info[i].med_chrgitm_type == "08") {
|
|
1946
|
+ total = total + order_info[i].det_item_fee_sumamt
|
|
1947
|
+ }
|
|
1948
|
+ }
|
|
1949
|
+ return total.toFixed(2)
|
|
1950
|
+
|
|
1951
|
+ },getTotalFour(order_info){
|
|
1952
|
+ let total = 0
|
|
1953
|
+ for(var i = 0;i < order_info.length; i++){
|
|
1954
|
+ if(order_info[i].med_chrgitm_type == "03" || order_info[i].med_chrgitm_type == "04") {
|
|
1955
|
+ total = total + order_info[i].det_item_fee_sumamt
|
|
1956
|
+ }
|
|
1957
|
+ }
|
|
1958
|
+ return total.toFixed(2)
|
|
1959
|
+
|
|
1960
|
+ },getTotalFive(order_info){
|
|
1961
|
+ let total = 0
|
|
1962
|
+ for(var i = 0;i < order_info.length; i++){
|
|
1963
|
+ if(order_info[i].med_chrgitm_type == "09" || order_info[i].med_chrgitm_type == "10" || order_info[i].med_chrgitm_type == "11" ) {
|
|
1964
|
+ total = total + order_info[i].det_item_fee_sumamt
|
|
1965
|
+ }
|
|
1966
|
+ }
|
|
1967
|
+ return total.toFixed(2)
|
|
1968
|
+
|
|
1969
|
+ },getTotalSix(order_info){
|
|
1970
|
+
|
|
1971
|
+
|
|
1972
|
+ },getTotalSeven(order_info){
|
|
1973
|
+
|
|
1974
|
+
|
|
1975
|
+ },getTotalEigth(order_info){
|
|
1976
|
+
|
|
1977
|
+
|
|
1978
|
+ },getTotalNine(order_info){
|
|
1979
|
+
|
|
1980
|
+
|
|
1981
|
+ },getTotalTen(order_info){
|
|
1982
|
+
|
|
1983
|
+
|
|
1984
|
+ },getTotalTenOne(order_info){
|
|
1985
|
+
|
|
1986
|
+
|
1543
|
1987
|
},
|
|
1988
|
+
|
1544
|
1989
|
export_detail_seven() {
|
1545
|
1990
|
let params = {};
|
1546
|
1991
|
handleData10106(params).then((response) => {
|