Browse Source

提交代码

陈少旭 1 year ago
parent
commit
ce66f9e0f4

+ 9 - 1
src/xt_pages/hospitalStation/statementPrint.vue View File

@@ -13,7 +13,7 @@
13 13
       >
14 14
     </template>
15 15
 
16
-    <div class='dialysisPage' style="padding-top:40px;" v-if="this.$store.getters.xt_user.org_id == 10215 || this.$store.getters.xt_user.org_id == 0">
16
+    <div class='dialysisPage' style="padding-top:40px;" v-if="this.$store.getters.xt_user.org_id == 10215">
17 17
       <private-charge-print :info="info" v-if="this.paramsObj.balance_accounts_type == 2"></private-charge-print>
18 18
       <printOne :info="info" v-else></printOne>
19 19
     </div>
@@ -27,6 +27,12 @@
27 27
     <private-charge-print :info="info" ></private-charge-print>
28 28
     </div>
29 29
 
30
+    <div class='dialysisPage' style="padding-top:40px;" v-if="this.$store.getters.xt_user.org_id == 10210 || this.$store.getters.xt_user.org_id == 0">
31
+<!--      <private-charge-print :info="info" ></private-charge-print>-->
32
+<!--      <print-ten :info="info" ></print-ten>-->
33
+      <print-ten></print-ten>
34
+    </div>
35
+
30 36
 <!--    <div class='dialysisPage' style="padding-top:40px;" v-else>-->
31 37
 <!--      <private-charge-print :info="info" v-if="this.paramsObj.balance_accounts_type == 2"></private-charge-print>-->
32 38
 <!--      <printOne :info="info" v-else></printOne>-->
@@ -49,10 +55,12 @@ import printTwo from './statementTemplate/printTwo'
49 55
 import { getAllDoctorList, getAllHisPatientList } from '@/api/project/project'
50 56
 import PrivateChargePrint from '../outpatientCharges/statementTemplate/privateChargePrint'
51 57
 import HospitalSettlePrint from './settlementTemplate/hospitalSettlePrint'
58
+import PrintTen from './statementTemplate/printTen.vue'
52 59
 
53 60
 export default {
54 61
   name: 'dialysisPrintOrder',
55 62
   components: {
63
+    PrintTen,
56 64
     HospitalSettlePrint,
57 65
     PrivateChargePrint,
58 66
     BreadCrumb,

+ 378 - 0
src/xt_pages/hospitalStation/statementTemplate/printTen.vue View File

@@ -0,0 +1,378 @@
1
+<template>
2
+  <div  id="statement-print" class="statement-print"
3
+       style="position: relative;">
4
+    <div class="print-content">
5
+      <div class="print-title">
6
+        <h1 style="text-align: center;">江西省医疗保障定点机构医疗费用结算单</h1>
7
+      </div>
8
+
9
+      <div class="print-tab" style="margin: 0px auto; text-align: center;">
10
+        <div class="hospital" style="margin:0px 112px ;width: 70%;">
11
+          <!-- style="display: inline-block;margin: 10px 80px 10px 0px ;" -->
12
+          <span class="yiliao" style="display: inline-block;margin: 10px 80px 10px 0px ;">
13
+                        <span>医疗机构名称:</span>
14
+                        <span>{{info.fixmedins_name}}</span>
15
+                    </span>
16
+          <span class="yiliao" style="display: inline-block;margin: 10px 80px 10px 0px ;">
17
+                        <span>医疗机构编码:</span>
18
+                        <span>{{info.fixmedins_code}}</span>
19
+                    </span>
20
+          <span class="yiliao" style="display: inline-block;margin: 10px 80px 10px 0px ;">
21
+                        <span>医院等级:</span>
22
+                        <span  v-if="info.hosp_lv == '1'">三级特等</span>
23
+                        <span  v-else-if="info.hosp_lv == '2'">三级甲等</span>
24
+                        <span v-else-if="info.hosp_lv == '3'">三级乙等</span>
25
+                        <span v-else-if="info.hosp_lv == '4'">三级丙等</span>
26
+                        <span v-else-if="info.hosp_lv == '5'">二级甲等</span>
27
+                        <span v-else-if="info.hosp_lv == '6'">二级乙等</span>
28
+                        <span v-else-if="info.hosp_lv == '7'">二级丙等</span>
29
+                        <span  v-else-if="info.hosp_lv == '8'">一级甲等</span>
30
+                        <span v-else-if="info.hosp_lv == '9'">一级乙等</span>
31
+                        <span v-else-if="info.hosp_lv == '10'">一级丙等</span>
32
+                        <span  v-else-if="info.hosp_lv == '11'">无等级</span>
33
+                        <span  v-else></span>
34
+          </span>
35
+        </div>
36
+        <table class="jiesuan" style="border-collapse: collapse;margin: auto;">
37
+          <tr>
38
+            <td style="border: 1px solid gray;width: 150px;height: 30px;">姓名</td>
39
+            <td style="border: 1px solid gray;width: 150px;height: 30px;">{{info.psn_name}}</td>
40
+            <td style="border: 1px solid gray;width: 150px;height: 30px;">性别</td>
41
+            <td style="border: 1px solid gray;width: 150px;height: 30px;" v-if="info.gend == '1'">男</td>
42
+            <td style="border: 1px solid gray;width: 150px;height: 30px;" v-else-if="info.gend == '2'">女</td>
43
+            <td style="border: 1px solid gray;width: 150px;height: 30px;" v-else></td>
44
+            <td style="border: 1px solid gray;width: 150px;height: 30px;">人员类别</td>
45
+            <td style="border: 1px solid gray;width: 150px;height: 30px;" v-if="info.psn_type == '11'">在职</td>
46
+            <td style="border: 1px solid gray;width: 150px;height: 30px;" v-else-if="info.psn_type == '1101'">职工在职</td>
47
+            <td style="border: 1px solid gray;width: 150px;height: 30px;" v-else-if="info.psn_type == '1102'">公务员在职</td>
48
+            <td style="border: 1px solid gray;width: 150px;height: 30px;" v-else-if="info.psn_type == '1103'">灵活就业人员在职</td>
49
+            <td style="border: 1px solid gray;width: 150px;height: 30px;" v-else-if="info.psn_type == '1160'">地方其他扩展人员</td>
50
+            <td style="border: 1px solid gray;width: 150px;height: 30px;" v-else-if="info.psn_type == '12'">退休人员</td>
51
+            <td style="border: 1px solid gray;width: 150px;height: 30px;" v-else-if="info.psn_type == '1201'">职工退休</td>
52
+            <td style="border: 1px solid gray;width: 150px;height: 30px;" v-else-if="info.psn_type == '1202'">公务员退休</td>
53
+            <td style="border: 1px solid gray;width: 150px;height: 30px;" v-else-if="info.psn_type == '1203'">灵活就业人员退休</td>
54
+            <td style="border: 1px solid gray;width: 150px;height: 30px;" v-else-if="info.psn_type == '1260'">地方其他扩展人员</td>
55
+            <td style="border: 1px solid gray;width: 150px;height: 30px;" v-else-if="info.psn_type == '13'">离休</td>
56
+            <td style="border: 1px solid gray;width: 150px;height: 30px;" v-else-if="info.psn_type == '1300'">离休人员</td>
57
+            <td style="border: 1px solid gray;width: 150px;height: 30px;" v-else-if="info.psn_type == '1360'">地方其他扩展人员</td>
58
+            <td style="border: 1px solid gray;width: 150px;height: 30px;" v-else-if="info.psn_type == '14'">居民(未成年)</td>
59
+            <td style="border: 1px solid gray;width: 150px;height: 30px;" v-else-if="info.psn_type == '1401'">新生儿</td>
60
+            <td style="border: 1px solid gray;width: 150px;height: 30px;" v-else-if="info.psn_type == '1402'">学龄前儿童</td>
61
+            <td style="border: 1px solid gray;width: 150px;height: 30px;" v-else-if="info.psn_type == '1403'">中小学生</td>
62
+            <td style="border: 1px solid gray;width: 150px;height: 30px;" v-else-if="info.psn_type == '1404'">大学生</td>
63
+            <td style="border: 1px solid gray;width: 150px;height: 30px;" v-else-if="info.psn_type == '1405'">未成年(未入学)</td>
64
+            <td style="border: 1px solid gray;width: 150px;height: 30px;" v-else-if="info.psn_type == '15'">居民(成年)</td>
65
+            <td style="border: 1px solid gray;width: 150px;height: 30px;" v-else-if="info.psn_type == '1501'">普通居民(成年)</td>
66
+            <td style="border: 1px solid gray;width: 150px;height: 30px;" v-else-if="info.psn_type == '1560'">地方其他扩展身份</td>
67
+            <td style="border: 1px solid gray;width: 150px;height: 30px;" v-else-if="info.psn_type == '16'">居民(老年)</td>
68
+            <td style="border: 1px solid gray;width: 150px;height: 30px;" v-else></td>
69
+          </tr>
70
+          <tr>
71
+            <td style="border: 1px solid gray;width: 150px;height: 30px;">身份证号码</td>
72
+            <td style="border: 1px solid gray;width: 150px;height: 30px;">{{info.certno}}</td>
73
+            <td style="border: 1px solid gray;width: 150px;height: 30px;">参保险种</td>
74
+            <td style="border: 1px solid gray;width: 150px;height: 30px;" v-if="info.insutype == '310'">职工基本医疗保险</td>
75
+            <td style="border: 1px solid gray;width: 150px;height: 30px;" v-if="info.insutype == '320'">公务员医疗补助</td>
76
+            <td style="border: 1px solid gray;width: 150px;height: 30px;" v-if="info.insutype == '330'">大额医疗费用补助</td>
77
+            <td style="border: 1px solid gray;width: 150px;height: 30px;" v-if="info.insutype == '340'">离休人员医疗保障</td>
78
+            <td style="border: 1px solid gray;width: 150px;height: 30px;" v-if="info.insutype == '390'">城乡居民基本医疗保险</td>
79
+            <td style="border: 1px solid gray;width: 150px;height: 30px;" v-if="info.insutype == '392'">城乡居民大病医疗保险</td>
80
+            <td style="border: 1px solid gray;width: 150px;height: 30px;" v-if="info.insutype == '510'">生育保险</td>
81
+
82
+            <td style="border: 1px solid gray;width: 150px;height: 30px;">医疗类别</td>
83
+            <td style="border: 1px solid gray;width: 150px;height: 30px;" v-if="info.med_type == '11'">普通门诊</td>
84
+            <td style="border: 1px solid gray;width: 150px;height: 30px;" v-if="info.med_type == '12'">门诊挂号</td>
85
+            <td style="border: 1px solid gray;width: 150px;height: 30px;" v-if="info.med_type == '13'">急诊</td>
86
+            <td style="border: 1px solid gray;width: 150px;height: 30px;" v-if="info.med_type == '14'">门诊特殊病</td>
87
+            <td style="border: 1px solid gray;width: 150px;height: 30px;" v-if="info.med_type == '15'">门诊统筹</td>
88
+            <td style="border: 1px solid gray;width: 150px;height: 30px;" v-if="info.med_type == '16'">门诊慢性病</td>
89
+            <td style="border: 1px solid gray;width: 150px;height: 30px;" v-if="info.med_type == '21'">普通住院</td>
90
+
91
+          </tr>
92
+          <tr>
93
+            <td style="border: 1px solid gray;width: 150px;height: 30px;">结算ID</td>
94
+            <td style="border: 1px solid gray;width: 150px;height: 30px;">{{info.setl_id}}</td>
95
+            <td style="border: 1px solid gray;width: 150px;height: 30px;">住院号</td>
96
+            <td style="border: 1px solid gray;width: 150px;height: 30px;">{{info.number}}</td>
97
+            <td style="border: 1px solid gray;width: 150px;height: 30px;">住院天数</td>
98
+            <td style="border: 1px solid gray;width: 150px;height: 30px;">{{getDay(info.begndate,info.enddate)}}</td>
99
+          </tr>
100
+          <tr>
101
+            <td style="border: 1px solid gray;width: 150px;height: 30px;">科室</td>
102
+            <td style="border: 1px solid gray;width: 150px;height: 30px;">{{'血透'}}</td>
103
+            <td style="border: 1px solid gray;width: 150px;height: 30px;">床号</td>
104
+            <td style="border: 1px solid gray;width: 150px;height: 30px;"></td>
105
+            <td style="border: 1px solid gray;width: 150px;height: 30px;">参保区划</td>
106
+            <td style="border: 1px solid gray;width: 150px;height: 30px;">{{info.insu_optins}}</td>
107
+          </tr>
108
+          <tr>
109
+            <td style="border: 1px solid gray;width: 150px;height: 30px;">入院日期</td>
110
+            <td style="border: 1px solid gray;width: 150px;height: 30px;">{{info.begndate ? info.begndate.split(' ')[0] : ''}}</td>
111
+            <td style="border: 1px solid gray;width: 150px;height: 30px;">出院日期</td>
112
+            <td style="border: 1px solid gray;width: 150px;height: 30px;">{{info.enddate ? info.enddate.split(' ')[0] : ''}}</td>
113
+            <td style="border: 1px solid gray;width: 150px;height: 30px;">结算日期</td>
114
+            <td style="border: 1px solid gray;width: 150px;height: 30px;">{{info.setl_time ? info.setl_time.split(' ')[0] : ''}}</td>
115
+          </tr>
116
+          <tr>
117
+            <td colspan="6" style="border: 1px solid gray;width: 150px;height: 30px;"> 费用分类情况</td>
118
+          </tr>
119
+          <tr>
120
+            <td style="border: 1px solid gray;width: 150px;height: 30px;">项目名称</td>
121
+            <td style="border: 1px solid gray;width: 150px;height: 30px;">总金额</td>
122
+            <td style="border: 1px solid gray;width: 150px;height: 30px;">符合政策范围</td>
123
+            <td style="border: 1px solid gray;width: 150px;height: 30px;">先行自付</td>
124
+            <td style="border: 1px solid gray;width: 150px;height: 30px;">超限价</td>
125
+            <td style="border: 1px solid gray;width: 150px;height: 30px;">自费</td>
126
+          </tr>
127
+          <tr v-if="info.bed_cost_total > 0">
128
+            <td style="border: 1px solid gray;width: 150px;height: 30px;">床位费</td>
129
+            <td style="border: 1px solid gray;width: 150px;height: 30px;">{{info.bed_cost_total}}</td>
130
+            <td style="border: 1px solid gray;width: 150px;height: 30px;">{{info.bedInscpTotal}}</td>
131
+            <td style="border: 1px solid gray;width: 150px;height: 30px;">{{info.bed_cost_part_self_total}}</td>
132
+            <td style="border: 1px solid gray;width: 150px;height: 30px;">{{info.bed_cost_self_total}}</td>
133
+            <td style="border: 1px solid gray;width: 150px;height: 30px;">{{info.bedSelfTotal}}</td>
134
+
135
+          </tr>
136
+
137
+          <tr v-if="info.operation_cost_total > 0">
138
+            <td style="border: 1px solid gray;width: 150px;height: 30px;">手术费</td>
139
+            <td style="border: 1px solid gray;width: 150px;height: 30px;">{{info.operation_cost_total}}</td>
140
+            <td style="border: 1px solid gray;width: 150px;height: 30px;">{{info.operationInscpTotal}}</td>
141
+            <td style="border: 1px solid gray;width: 150px;height: 30px;">{{info.operation_cost_part_self_total}}</td>
142
+            <td style="border: 1px solid gray;width: 150px;height: 30px;">{{info.operation_cost_self_total}}</td>
143
+            <td style="border: 1px solid gray;width: 150px;height: 30px;">{{info.operationSelfTotal}}</td>
144
+
145
+          </tr>
146
+
147
+          <tr v-if="info.check_cost_total > 0">
148
+            <td style="border: 1px solid gray;width: 150px;height: 30px;">检查费</td>
149
+            <td style="border: 1px solid gray;width: 150px;height: 30px;">{{info.check_cost_total}}</td>
150
+            <td style="border: 1px solid gray;width: 150px;height: 30px;">{{info.checkInscpTotal}}</td>
151
+            <td style="border: 1px solid gray;width: 150px;height: 30px;">{{info.check_cost_part_self_total}}</td>
152
+            <td style="border: 1px solid gray;width: 150px;height: 30px;">{{info.check_cost_self_total}}</td>
153
+            <td style="border: 1px solid gray;width: 150px;height: 30px;">{{info.checkSelfTotal}}</td>
154
+
155
+          </tr>
156
+
157
+          <tr v-if="info.treat_cost_total > 0">
158
+            <td style="border: 1px solid gray;width: 150px;height: 30px;">治疗费</td>
159
+            <td style="border: 1px solid gray;width: 150px;height: 30px;">{{info.treat_cost_total}}</td>
160
+            <td style="border: 1px solid gray;width: 150px;height: 30px;">{{info.treatInscpTotal}}</td>
161
+            <td style="border: 1px solid gray;width: 150px;height: 30px;">{{info.treat_cost_part_self_total}}</td>
162
+            <td style="border: 1px solid gray;width: 150px;height: 30px;">{{info.treat_cost_self_total}}</td>
163
+            <td style="border: 1px solid gray;width: 150px;height: 30px;">{{info.treatSelfTotal}}</td>
164
+
165
+          </tr>
166
+
167
+          <tr v-if="info.treat_cost_total > 0">
168
+            <td style="border: 1px solid gray;width: 150px;height: 30px;">化验费</td>
169
+            <td style="border: 1px solid gray;width: 150px;height: 30px;">{{info.laboratory_cost_total}}</td>
170
+            <td style="border: 1px solid gray;width: 150px;height: 30px;">{{info.laboratoryInscpTotal}}</td>
171
+            <td style="border: 1px solid gray;width: 150px;height: 30px;">{{info.laboratory_cost_part_self_total}}</td>
172
+            <td style="border: 1px solid gray;width: 150px;height: 30px;">{{info.laboratory_cost_self_total}}</td>
173
+            <td style="border: 1px solid gray;width: 150px;height: 30px;">{{info.laboratorySelfTotal}}</td>
174
+
175
+          </tr>
176
+
177
+
178
+          <tr v-if="info.western_medicine_cost_total > 0">
179
+            <td style="border: 1px solid gray;width: 150px;height: 30px;">西药费</td>
180
+            <td style="border: 1px solid gray;width: 150px;height: 30px;">{{info.western_medicine_cost_total}}</td>
181
+            <td style="border: 1px solid gray;width: 150px;height: 30px;">{{info.westernMedicineInscpTotal}}</td>
182
+            <td style="border: 1px solid gray;width: 150px;height: 30px;">{{info.western_medicine_cost_part_self_total}}</td>
183
+            <td style="border: 1px solid gray;width: 150px;height: 30px;">{{info.western_medicine_cost_self_total}}</td>
184
+            <td style="border: 1px solid gray;width: 150px;height: 30px;">{{info.westernMedicineSelfTotal}}</td>
185
+
186
+          </tr>
187
+
188
+          <tr v-if="info.material_cost_total > 0">
189
+            <td style="border: 1px solid gray;width: 150px;height: 30px;">材料费</td>
190
+            <td style="border: 1px solid gray;width: 150px;height: 30px;">{{info.material_cost_total}}</td>
191
+            <td style="border: 1px solid gray;width: 150px;height: 30px;">{{info.materialInscpTotal}}</td>
192
+            <td style="border: 1px solid gray;width: 150px;height: 30px;">{{info.material_cost_part_self_total}}</td>
193
+            <td style="border: 1px solid gray;width: 150px;height: 30px;">{{info.material_cost_self_total}}</td>
194
+            <td style="border: 1px solid gray;width: 150px;height: 30px;">{{info.materialSelfTotal}}</td>
195
+
196
+          </tr>
197
+          <tr v-if="info.other_cost_total > 0">
198
+            <td style="border: 1px solid gray;width: 150px;height: 30px;">其他费</td>
199
+            <td style="border: 1px solid gray;width: 150px;height: 30px;">{{info.other_cost_total}}</td>
200
+            <td style="border: 1px solid gray;width: 150px;height: 30px;">{{info.otherInscpTotal}}</td>
201
+            <td style="border: 1px solid gray;width: 150px;height: 30px;">{{info.other_cost_part_self_total}}</td>
202
+            <td style="border: 1px solid gray;width: 150px;height: 30px;">{{info.other_cost_self_total}}</td>
203
+            <td style="border: 1px solid gray;width: 150px;height: 30px;">{{info.otherSelfTotal}}</td>
204
+          </tr>
205
+
206
+          <tr v-if="info.chinese_traditional_medicine_cost_total > 0">
207
+            <td style="border: 1px solid gray;width: 150px;height: 30px;">中成药</td>
208
+            <td style="border: 1px solid gray;width: 150px;height: 30px;">{{info.chinese_traditional_medicine_cost_total}}</td>
209
+            <td style="border: 1px solid gray;width: 150px;height: 30px;">{{info.chineseTraditionalInscpTotal}}</td>
210
+            <td style="border: 1px solid gray;width: 150px;height: 30px;">{{info.chinese_traditional_medicine_cost_part_self_total}}</td>
211
+            <td style="border: 1px solid gray;width: 150px;height: 30px;">{{info.chinese_traditional_medicine_cost_self_total}}</td>
212
+            <td style="border: 1px solid gray;width: 150px;height: 30px;">{{info.chineseTraditionalSelfTotal}}</td>
213
+          </tr>
214
+
215
+          <tr>
216
+            <td style="border: 1px solid gray;width: 150px;height: 30px;">金额合计</td>
217
+            <td style="border: 1px solid gray;width: 150px;height: 30px;">{{(parseFloat(info.bed_cost_total) +
218
+              parseFloat(info.operation_cost_total) + parseFloat(info.other_cost_total) +
219
+              parseFloat(info.material_cost_total) + parseFloat(info.western_medicine_cost_total) +
220
+              parseFloat(info.chinese_traditional_medicine_cost_total) + parseFloat(info.check_cost_total) +
221
+              parseFloat(info.laboratory_cost_total) + parseFloat(info.treat_cost_total)).toFixed(2) }}
222
+            </td>
223
+            <td style="border: 1px solid gray;width: 150px;height: 30px;">{{(parseFloat(info.bedInscpTotal) +
224
+              parseFloat(info.operationInscpTotal) + parseFloat(info.checkInscpTotal) +
225
+              parseFloat(info.treatInscpTotal) + parseFloat(info.laboratoryInscpTotal) +
226
+              parseFloat(info.westernMedicineInscpTotal) + parseFloat(info.materialInscpTotal) +
227
+              parseFloat(info.otherInscpTotal) + parseFloat(info.chineseTraditionalInscpTotal)).toFixed(2) }}
228
+            </td>
229
+
230
+            <td style="border: 1px solid gray;width: 150px;height: 30px;">{{(parseFloat(info.bed_cost_part_self_total) +
231
+              parseFloat(info.operation_cost_part_self_total) + parseFloat(info.other_cost_part_self_total) +
232
+              parseFloat(info.material_cost_part_self_total) + parseFloat(info.western_medicine_cost_part_self_total) +
233
+              parseFloat(info.chinese_traditional_medicine_cost_part_self_total) +
234
+              parseFloat(info.check_cost_part_self_total) + parseFloat(info.laboratory_cost_part_self_total) +
235
+              parseFloat(info.treat_cost_part_self_total)).toFixed(2)}}
236
+            </td>
237
+
238
+            <td style="border: 1px solid gray;width: 150px;height: 30px;">{{(parseFloat(info.bed_cost_self_total )+
239
+              parseFloat(info.operation_cost_self_total) + parseFloat(info.other_cost_self_total) +
240
+              parseFloat(info.material_cost_self_total) + parseFloat(info.western_medicine_cost_self_total) +
241
+              parseFloat(info.chinese_traditional_medicine_cost_self_total) + parseFloat(info.check_cost_self_total) +
242
+              parseFloat(info.laboratory_cost_self_total) + parseFloat(info.treat_cost_self_total)).toFixed(2)}}
243
+            </td>
244
+
245
+            <td style="border: 1px solid gray;width: 150px;height: 30px;">{{(parseFloat(info.bedSelfTotal) +
246
+              parseFloat(info.operationSelfTotal) + parseFloat(info.checkSelfTotal) +
247
+              parseFloat(info.treatSelfTotal) + parseFloat(info.laboratorySelfTotal) +
248
+              parseFloat(info.westernMedicineSelfTotal) + parseFloat(info.materialSelfTotal) +
249
+              parseFloat(info.otherSelfTotal) + parseFloat(info.chineseTraditionalSelfTotal)).toFixed(2) }}
250
+            </td>
251
+
252
+          </tr>
253
+
254
+          <tr>
255
+            <td colspan="6" style="border: 1px solid gray;width: 150px;height: 30px;"> 费用结算情况</td>
256
+          </tr>
257
+          <tr>
258
+            <td style="border: 1px solid gray;width: 150px;height: 30px;">费用总额</td>
259
+            <td style="border: 1px solid gray;width: 150px;height: 30px;">{{info.medfee_sumamt}}</td>
260
+            <td style="border: 1px solid gray;width: 150px;height: 30px;">统筹基金支付</td>
261
+            <td style="border: 1px solid gray;width: 150px;height: 30px;">{{info.hifp_pay}}</td>
262
+            <td style="border: 1px solid gray;width: 150px;height: 30px;">大病保险支付</td>
263
+            <td style="border: 1px solid gray;width: 150px;height: 30px;">{{info.hifmi_pay}}</td>
264
+          </tr>
265
+          <tr>
266
+            <td style="border: 1px solid gray;width: 150px;height: 30px;">医疗救助支付</td>
267
+            <td style="border: 1px solid gray;width: 150px;height: 30px;">{{info.maf_pay}}</td>
268
+            <td style="border: 1px solid gray;width: 150px;height: 30px;">公务员补充支付</td>
269
+            <td style="border: 1px solid gray;width: 150px;height: 30px;">{{info.cvlserv_pay}}</td>
270
+            <td style="border: 1px solid gray;width: 150px;height: 30px;">离休保健专项</td>
271
+            <td style="border: 1px solid gray;width: 150px;height: 30px;"></td>
272
+          </tr>
273
+          <tr>
274
+            <td style="border: 1px solid gray;width: 150px;height: 30px;">个人账户支付</td>
275
+            <td style="border: 1px solid gray;width: 150px;height: 30px;">{{info.acct_pay}}</td>
276
+            <td style="border: 1px solid gray;width: 150px;height: 30px;">个人现金支付</td>
277
+            <td style="border: 1px solid gray;width: 150px;height: 30px;">{{info.psn_cash_pay}}</td>
278
+            <td style="border: 1px solid gray;width: 150px;height: 30px;">其他基金支付</td>
279
+            <td style="border: 1px solid gray;width: 150px;height: 30px;">{{info.oth_pay}}</td>
280
+          </tr>
281
+          <tr>
282
+            <td style="border: 1px solid gray;width: 150px;height: 30px;">起付线</td>
283
+            <td colspan="2" style="border: 1px solid gray;width: 150px;height: 30px;">{{info.act_pay_dedc}}</td>
284
+            <td style="border: 1px solid gray;width: 150px;height: 30px;">医院垫付金额</td>
285
+            <td colspan="2" style="border: 1px solid gray;width: 150px;height: 30px;">{{info.hosp_part_amt}}</td>
286
+          </tr>
287
+        </table>
288
+        <div style="width: 51%; margin: 5px 100px; text-align: center;">
289
+         <span style="display: inline-block;"> 备注:其它包含军转、财政、慈善、其他商报等支付来源</span>
290
+        </div>
291
+      </div>
292
+    </div>
293
+
294
+  </div>
295
+</template>
296
+<script>
297
+import { getChargePrint } from '@/api/project/project'
298
+import { uParseTime } from '@/utils/tools'
299
+
300
+export default {
301
+data() {
302
+  return {
303
+    list: {},
304
+    prescription: [],
305
+    patient: {},
306
+    orgname: '',
307
+
308
+    result: {},
309
+    org_code: '',
310
+    patient_name: '',
311
+    doctor_code: '',
312
+    doctor_name: '',
313
+
314
+    name_arr: [],
315
+    spec_arr: [],
316
+    count_arr: [],
317
+    price_arr: [],
318
+    total_arr: []
319
+
320
+  }
321
+},
322
+props: {
323
+  paramsObj: Object,
324
+  info: {
325
+    type: Object,
326
+    default: function() {
327
+      return {}
328
+    }
329
+  },
330
+  balanceAccounts: Object
331
+},
332
+methods: {
333
+  getDay(dateString1,dateString2){
334
+    var  startDate = Date.parse(dateString1);
335
+    var  endDate = Date.parse(dateString2);
336
+    if (startDate>endDate){
337
+      return 0;
338
+    }
339
+    if (startDate==endDate){
340
+      return 1;
341
+    }
342
+    var days=(endDate - startDate)/(1*24*60*60*1000);
343
+    return  days;
344
+  },
345
+  getTime(value, temp) {
346
+    if (value != undefined) {
347
+      return uParseTime(value, temp)
348
+    }
349
+    return ''
350
+  }
351
+},
352
+mounted() {
353
+
354
+
355
+},
356
+watch: {
357
+  paramsObj: {//深度监听,可监听到对象、数组的变化
358
+    handler(val, oldVal) {
359
+
360
+
361
+    },
362
+    deep: true
363
+  }
364
+}
365
+}
366
+</script>
367
+
368
+
369
+<style lang="scss" scoped>
370
+.prescription-print {
371
+-webkit-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.27), 0 0 60px rgba(0, 0, 0, 0.06) inset;
372
+-moz-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.27), 0 0 40px rgba(0, 0, 0, 0.06) inset;
373
+box-shadow: 0 1px 4px rgba(0, 0, 0, 0.27), 0 0 40px rgba(0, 0, 0, 0.06) inset;
374
+margin-bottom: 20px;
375
+padding: 20px 10px;
376
+}
377
+
378
+</style>

+ 7 - 7
src/xt_pages/outpatientCharges/components/chargeDialog.vue View File

@@ -78,30 +78,30 @@
78 78
         </el-radio-group>
79 79
       </el-form-item>
80 80
 
81
-      <el-form-item label="" style="width:100%;" v-if="this.$store.getters.xt_user.org.id == 10138 || this.$store.getters.xt_user.org.id == 10278 || this.$store.getters.xt_user.org.id == 0">
81
+      <el-form-item label="" style="width:100%;" v-if="this.$store.getters.xt_user.org.id == 10138 || this.$store.getters.xt_user.org.id == 10278 || this.$store.getters.xt_user.org.id == 10510">
82 82
 
83 83
         <el-checkbox-group v-model="form.pay_wayss">
84 84
           <el-checkbox :label="item.value" v-for="(item,index) in payWays" :key="item.value">{{ item.label }}</el-checkbox>
85 85
         </el-checkbox-group>
86 86
       </el-form-item>
87 87
 
88
-      <el-form-item label="现金支付金额:" v-if="this.$store.getters.xt_user.org.id == 10138 || this.$store.getters.xt_user.org.id == 10278  || this.$store.getters.xt_user.org.id == 0  ">
88
+      <el-form-item label="现金支付金额:" v-if="this.$store.getters.xt_user.org.id == 10138 || this.$store.getters.xt_user.org.id == 10278  || this.$store.getters.xt_user.org.id == 10510  ">
89 89
         <el-input class="number_style" v-model="form.cash_pay" ></el-input>
90 90
       </el-form-item>
91 91
 
92
-      <el-form-item label="微信支付金额:" v-if="this.$store.getters.xt_user.org.id == 10138 || this.$store.getters.xt_user.org.id == 10278  || this.$store.getters.xt_user.org.id == 0  ">
92
+      <el-form-item label="微信支付金额:" v-if="this.$store.getters.xt_user.org.id == 10138 || this.$store.getters.xt_user.org.id == 10278  || this.$store.getters.xt_user.org.id == 10510  ">
93 93
         <el-input class="number_style" v-model="form.wechat_pay" ></el-input>
94 94
       </el-form-item>
95
-      <el-form-item label="银行卡支付金额:" v-if="this.$store.getters.xt_user.org.id == 10138 || this.$store.getters.xt_user.org.id == 10278  || this.$store.getters.xt_user.org.id == 0  ">
95
+      <el-form-item label="银行卡支付金额:" v-if="this.$store.getters.xt_user.org.id == 10138 || this.$store.getters.xt_user.org.id == 10278  || this.$store.getters.xt_user.org.id == 10510  ">
96 96
         <el-input class="number_style" v-model="form.band_card_pay" ></el-input>
97 97
       </el-form-item>
98
-      <el-form-item label="支付宝支付金额:" v-if="this.$store.getters.xt_user.org.id == 10138 || this.$store.getters.xt_user.org.id == 10278  || this.$store.getters.xt_user.org.id == 0  ">
98
+      <el-form-item label="支付宝支付金额:" v-if="this.$store.getters.xt_user.org.id == 10138 || this.$store.getters.xt_user.org.id == 10278  || this.$store.getters.xt_user.org.id == 10510  ">
99 99
         <el-input class="number_style" v-model="form.ali_pay" ></el-input>
100 100
       </el-form-item>
101
-      <el-form-item label="积分支付:" v-if="this.$store.getters.xt_user.org.id == 10138 || this.$store.getters.xt_user.org.id == 10278  || this.$store.getters.xt_user.org.id == 0  ">
101
+      <el-form-item label="积分支付:" v-if="this.$store.getters.xt_user.org.id == 10138 || this.$store.getters.xt_user.org.id == 10278  || this.$store.getters.xt_user.org.id == 10510  ">
102 102
         <el-input class="number_style" v-model="form.jifen_pay" ></el-input>
103 103
       </el-form-item>
104
-      <el-form-item label="其他说明:" v-if="this.$store.getters.xt_user.org.id == 10138 || this.$store.getters.xt_user.org.id == 10278  || this.$store.getters.xt_user.org.id == 0  ">
104
+      <el-form-item label="其他说明:" v-if="this.$store.getters.xt_user.org.id == 10138 || this.$store.getters.xt_user.org.id == 10278  || this.$store.getters.xt_user.org.id == 10510  ">
105 105
         <el-input class="number_style" v-model="form.oth_desc" ></el-input>
106 106
       </el-form-item>
107 107
 

+ 35 - 4
src/xt_pages/outpatientCharges/statementPrint.vue View File

@@ -763,7 +763,6 @@ export default {
763 763
               console.log(response.data.data.order_infos)
764 764
 
765 765
               var list = []
766
-
767 766
               //获取所有项目类型进行去重
768 767
               let med_chrgitm_types = []
769 768
               for (let i = 0; i < response.data.data.order_infos.length; i++) {
@@ -805,10 +804,7 @@ export default {
805 804
                 obj9.details = that.set10265NewData(tempDetails)
806 805
                 list.push(obj9)
807 806
               }
808
-              console.log("list")
809 807
               that.info['new_list'] = list
810
-
811
-              console.log(list)
812 808
               // list.sort((a,b) => a.sort < b.sort ? 1 : a.sort > b.sort ? -1 : 0)
813 809
 
814 810
               let obj = {
@@ -1172,6 +1168,41 @@ export default {
1172 1168
                 that.info['otherSelfTotal'] =
1173 1169
                   response.data.data.otherSelfTotal
1174 1170
 
1171
+
1172
+                //org_id 10485,此代码为阳春恒健血液透析中心结算单模版数据处理逻辑
1173
+                var list = []
1174
+                //获取所有项目类型进行去重
1175
+                let med_chrgitm_types = []
1176
+                for (let i = 0; i < response.data.data.order_infos.length; i++) {
1177
+                  med_chrgitm_types.push(response.data.data.order_infos[i].med_chrgitm_type)
1178
+                }
1179
+                const obj10 = {}
1180
+                med_chrgitm_types = med_chrgitm_types.reduce((cur, next) => {
1181
+                  obj10[next] ? '' : obj10[next] = true && cur.push(next)
1182
+                  return cur
1183
+                }, []) // 设置cur默认类型为数组,并且初始值为空的数组
1184
+                for (let i = 0; i < med_chrgitm_types.length; i++) {
1185
+
1186
+                  let obj9 = {
1187
+                    details: [],
1188
+                    med_chrgitm_name: that.getType(med_chrgitm_types[i]),
1189
+                    total:0,
1190
+                  }
1191
+
1192
+                  let tempDetails = []
1193
+                  for (let b = 0; b < response.data.data.order_infos.length; b++) {
1194
+                    if (med_chrgitm_types[i] == response.data.data.order_infos[b].med_chrgitm_type) {
1195
+                      tempDetails.push(response.data.data.order_infos[b])
1196
+                    }
1197
+                  }
1198
+                  obj9.total = that.getTotal(tempDetails)
1199
+                  obj9.details = that.set10265NewData(tempDetails)
1200
+                  list.push(obj9)
1201
+                }
1202
+                that.info['new_list'] = list
1203
+                //org_id 10485,此代码为阳春恒健血液透析中心结算单模版数据处理逻辑
1204
+
1205
+
1175 1206
                 let obj = {
1176 1207
                   type: 1,
1177 1208
                   details: [],

+ 1 - 1
src/xt_pages/outpatientDoctorStation/print.vue View File

@@ -3,7 +3,7 @@
3 3
     <div class="dialysisPage" style="padding-top: 40px">
4 4
       <div v-if="org_id != 10138 && org_id != 10278 && org_id != 10243">
5 5
 
6
-        <printOne v-if="org_id != 10088 && org_id != 10215 && org_id != 10375 && org_id != 10188 && org_id != 0" v-bind:childResponse="childResponse"
6
+        <printOne v-if="org_id != 10088 && org_id != 10215 && org_id != 10375 && org_id != 10188" v-bind:childResponse="childResponse"
7 7
         :advicePrint="advicePrint" :ids="ids" :patient="patient" :hisPatient="hisPatient"
8 8
         :doctorPorject="doctorPorject" :patient_id="patient_id" :record_date="record_date"
9 9
         :prescription_id="prescription_id"></printOne>

+ 1 - 1
src/xt_pages/outpatientDoctorStation/template/printOne.vue View File

@@ -39,7 +39,7 @@
39 39
               科室:{{ item.info ? getDepart(item.info.departments) : "" }}
40 40
             </div>
41 41
             <div style="margin-bottom: 10px">
42
-              医保卡号:{{ item.hisPatient.number ? item.hisPatient.number : "" }}
42
+              医保卡号:
43 43
             </div>
44 44
             <div style="margin-bottom: 10px" v-if="org_id != 10188">
45 45
               电话:{{ item.patient.phone }}