|
@@ -10,12 +10,12 @@
|
10
|
10
|
</div>
|
11
|
11
|
<div class="listInfo">
|
12
|
12
|
<div>科别:
|
13
|
|
- <!-- {{getDepartment(his_patient.departments)}} -->
|
|
13
|
+ <span v-if="org_id!=10215"> {{getDepartment(his_patient.departments)}}</span>
|
14
|
14
|
{{getDepartment(his_record_patient.departments)}}
|
15
|
15
|
</div>
|
16
|
16
|
<div>床号:<span v-if="schedule.length > 0">{{getBedName(schedule[0].bed_id)}}</span></div>
|
17
|
17
|
<div>门诊号:
|
18
|
|
- <!-- {{his_patient.number}} -->
|
|
18
|
+ <span v-if="org_id!=10215">{{his_patient.number}}</span>
|
19
|
19
|
{{his_record_patient.ipt_otp_no}}
|
20
|
20
|
</div>
|
21
|
21
|
<div>姓名:{{patient.name}}</div>
|
|
@@ -50,6 +50,11 @@
|
50
|
50
|
<div>材料费:{{getMaterialCostTotal()}}</div>
|
51
|
51
|
<div>其他:{{getOtherCostTotal()}}</div>
|
52
|
52
|
</div>
|
|
53
|
+ <div class="listInfo" style="margin-bottom: 20px;">
|
|
54
|
+ <div>记账支付:{{getFundPaySumamt()}}</div>
|
|
55
|
+ <div>个人账号:{{getAcctPay()}}</div>
|
|
56
|
+ <div>现金支付:{{getPsnCashPay()}}</div>
|
|
57
|
+ </div>
|
53
|
58
|
<table class="listTable" border="1">
|
54
|
59
|
<tr>
|
55
|
60
|
<td style="text-align:center" >序号</td>
|
|
@@ -129,7 +134,6 @@
|
129
|
134
|
medicalInsuranceLevelList:[],
|
130
|
135
|
schedule:[],
|
131
|
136
|
bedNumber:[],
|
132
|
|
- tableList:[],
|
133
|
137
|
order_info_list:[],
|
134
|
138
|
balanceAccountsType:0,
|
135
|
139
|
medicalInsuranceLevelList:[],
|
|
@@ -139,6 +143,8 @@
|
139
|
143
|
start_time:"",
|
140
|
144
|
end_time:"",
|
141
|
145
|
his_record_patient:{},
|
|
146
|
+ orderList:[],
|
|
147
|
+ org_id:0,
|
142
|
148
|
}
|
143
|
149
|
},
|
144
|
150
|
methods:{
|
|
@@ -189,7 +195,7 @@
|
189
|
195
|
this.drugTypeList =response.data.data.drugTypeList
|
190
|
196
|
this.costClassifyList = response.data.data.costClassifyList
|
191
|
197
|
var list = response.data.data.list
|
192
|
|
-
|
|
198
|
+ this.orderList = response.data.data.orderList
|
193
|
199
|
|
194
|
200
|
var new_arr = []
|
195
|
201
|
|
|
@@ -1059,10 +1065,58 @@
|
1059
|
1065
|
}
|
1060
|
1066
|
}
|
1061
|
1067
|
return number
|
|
1068
|
+ },
|
|
1069
|
+ getTotalCountPrice(){
|
|
1070
|
+ var total_price = 0
|
|
1071
|
+ for(let i=0;i<this.tableList.length;i++){
|
|
1072
|
+ if(this.tableList[i].is_total == 2){
|
|
1073
|
+ total_price += this.tableList[i].pric * this.tableList[i].count_number
|
|
1074
|
+ }
|
|
1075
|
+ }
|
|
1076
|
+ if(total_price > 0){
|
|
1077
|
+ return total_price.toFixed(2)
|
|
1078
|
+ }else{
|
|
1079
|
+ return ""
|
|
1080
|
+ }
|
|
1081
|
+ },
|
|
1082
|
+ getPsnCashPay(){
|
|
1083
|
+ var psn_cash_pay = 0
|
|
1084
|
+ for(let i=0;i<this.orderList.length;i++){
|
|
1085
|
+ psn_cash_pay += this.orderList[i].psn_cash_pay
|
|
1086
|
+ }
|
|
1087
|
+ if(psn_cash_pay > 0){
|
|
1088
|
+ return psn_cash_pay.toFixed(2)
|
|
1089
|
+ }else{
|
|
1090
|
+ return 0.00
|
|
1091
|
+ }
|
|
1092
|
+ },
|
|
1093
|
+ getAcctPay(){
|
|
1094
|
+ var acct_pay = 0
|
|
1095
|
+ for(let i=0;i<this.orderList.length;i++){
|
|
1096
|
+ acct_pay +=this.orderList[i].acct_pay
|
|
1097
|
+ }
|
|
1098
|
+ if(acct_pay > 0){
|
|
1099
|
+ return acct_pay.toFixed(2)
|
|
1100
|
+ }else{
|
|
1101
|
+ return 0.00
|
|
1102
|
+ }
|
|
1103
|
+ },
|
|
1104
|
+ getFundPaySumamt(){
|
|
1105
|
+ var fund_pay_sumamt = 0
|
|
1106
|
+ for(let i=0;i<this.orderList.length;i++){
|
|
1107
|
+ fund_pay_sumamt +=this.orderList[i].fund_pay_sumamt
|
|
1108
|
+ }
|
|
1109
|
+ if(fund_pay_sumamt >0){
|
|
1110
|
+ return fund_pay_sumamt.toFixed(2)
|
|
1111
|
+ }else{
|
|
1112
|
+ return 0.00
|
|
1113
|
+ }
|
1062
|
1114
|
}
|
1063
|
1115
|
|
1064
|
1116
|
},
|
1065
|
1117
|
created(){
|
|
1118
|
+ this.org_id = this.$store.getters.xt_user.org.id;
|
|
1119
|
+ console.log("org_id3223232332",org_id)
|
1066
|
1120
|
this.getGatherDetailList()
|
1067
|
1121
|
}
|
1068
|
1122
|
|