Browse Source

提交代码

陈少旭 1 year ago
parent
commit
e2e0d3163a

+ 1 - 1
src/xt_pages/hospitalStation/batchStatementTemplate/hospitalBatchPrint.vue View File

@@ -124,7 +124,7 @@
124 124
         <td colspan="5" style="text-align:left;padding-left:10px;" v-if="info.med_type == '21'">普通住院</td>
125 125
 
126 126
         <td>结算时间</td>
127
-        <td colspan="5" style="text-align:left;padding-left:10px;">{{info.setl_time.split(' ')[0]}}</td>
127
+        <td colspan="5" style="text-align:left;padding-left:10px;">{{info.order.setl_time.split(' ')[0]}}</td>
128 128
       </tr>
129 129
       <tr>
130 130
         <td colspan="12" style="text-align:left;padding-left:10px;">

+ 104 - 46
src/xt_pages/hospitalStation/hospitalBatchStatementPrint.vue View File

@@ -197,54 +197,112 @@ export default {
197 197
             return false
198 198
           } else {
199 199
             let infos = []
200
+            console.log(response.data.data.infos)
200 201
             for(var i  = 0; i < response.data.data.infos.length; i++){
202
+              let tempInfo = {}
201 203
               var info = response.data.data.infos[i]
202
-              that.info['patient'] = info.patient
203
-              that.info['diagnosis'] = info.diagnosis
204
-              that.info['p_admin'] = info.printor_admin
205
-              that.info['charge_admin'] = info.charge_admin
206
-              that.info['fixmedins_name'] = info.org_name
207
-              that.info['fixmedins_code'] = info.org_code
208
-              that.info['order'] = info.order
209
-              that.info['date'] = info.date
210
-              that.info['number'] = info.number
211
-              that.info['order_infos'] = info.order_infos
212
-              that.info['diagnosis'] = info.diagnosis
213
-              that.info['dia_config'] = info.dia_config
214
-              that.info['doctor_info'] = info.doctor_info
215
-              that.info['bed_cost_total'] = info.bedCostTotal
216
-              that.info['bed_cost_self_total'] = info.bedCostSelfTotal
217
-              that.info['bed_cost_part_self_total'] = info.bedCostPartSelfTotal
218
-              that.info['operation_cost_total'] = info.operationCostTotal
219
-              that.info['operation_cost_self_total'] = info.operationCostSelfTotal
220
-              that.info['operation_cost_part_self_total'] = info.operationCostPartSelfTotal
221
-              that.info['other_cost_total'] = info.otherCostTotal
222
-              that.info['other_cost_self_total'] = info.otherCostSelfTotal
223
-              that.info['other_cost_part_self_total'] = info.otherCostPartSelfTotal
224
-              that.info['material_cost_total'] = info.materialCostTotal
225
-              that.info['material_cost_self_total'] = info.materialCostSelfTotal
226
-              that.info['material_cost_part_self_total'] = info.materialCostPartSelfTotal
227
-              that.info['western_medicine_cost_total'] = info.westernMedicineCostTotal
228
-              that.info['western_medicine_cost_self_total'] = info.westernMedicineCostSelfTotal
229
-              that.info['western_medicine_cost_part_self_total'] = info.westernMedicineCostPartSelfTotal
230
-              that.info['chinese_traditional_medicine_cost_total'] = info.chineseTraditionalMedicineCostTotal
231
-              that.info['chinese_traditional_medicine_cost_self_total'] = info.chineseTraditionalMedicineCostSelfTotal
232
-              that.info['chinese_traditional_medicine_cost_part_self_total'] = info.chineseTraditionalMedicineCostPartSelfTotal
233
-              that.info['check_cost_total'] = info.checkCostTotal
234
-              that.info['check_cost_self_total'] = info.checkCostSelfTotal
235
-              that.info['check_cost_part_self_total'] = info.checkCostPartSelfTotal
236
-              that.info['laboratory_cost_total'] = info.laboratoryCostTotal
237
-              that.info['laboratory_cost_self_total'] = info.laboratoryCostSelfTotal
238
-              that.info['laboratory_cost_part_self_total'] = info.laboratoryCostPartSelfTotal
239
-              that.info['treat_cost_total'] = info.treatCostTotal
240
-              that.info['treat_cost_self_total'] = info.treatCostSelfTotal
241
-              that.info['treat_cost_part_self_total'] = info.treatCostPartSelfTotal
242
-              that.info['date'] = info.date
243
-              that.info['number'] = info.number
244
-              that.info['order_infos'] = info.order_infos
245
-              that.info['diagnosis'] = info.diagnosis
246
-              that.info['his'] = info.his_hospital
247
-              infos.push(that.info)
204
+              console.log("info1")
205
+              console.log(info)
206
+              tempInfo["patient"] = info.patient
207
+              console.log("info2")
208
+              console.log(info.patient)
209
+
210
+              tempInfo["diagnosis"] = info.diagnosis
211
+              console.log("info3")
212
+              console.log(info.diagnosis)
213
+
214
+              tempInfo["p_admin"] = info.printor_admin
215
+              console.log("info4")
216
+              console.log( info.printor_admin)
217
+              tempInfo['charge_admin'] = info.charge_admin
218
+              console.log("info5")
219
+              console.log( info.charge_admin)
220
+              tempInfo['fixmedins_name'] = info.org_name
221
+              console.log("info6")
222
+              console.log( info.org_name)
223
+              tempInfo['fixmedins_code'] = info.org_code
224
+              console.log("info7")
225
+              console.log( info.org_code)
226
+              tempInfo['order'] = info.order
227
+              console.log("info8")
228
+              console.log( info.order)
229
+              tempInfo['date'] = info.date
230
+              console.log("info9")
231
+              console.log( info.date)
232
+              tempInfo['number'] = info.number
233
+              console.log("info10")
234
+              console.log( info.number)
235
+              tempInfo['order_infos'] = info.order_infos
236
+              console.log("info11")
237
+              console.log( info.order_infos)
238
+              tempInfo['diagnosis'] = info.diagnosis
239
+              console.log("info12")
240
+              console.log( info.diagnosis)
241
+              tempInfo['dia_config'] = info.dia_config
242
+              console.log("info13")
243
+              console.log( info.dia_config)
244
+              tempInfo['doctor_info'] = info.doctor_info
245
+              console.log("info14")
246
+              console.log( info.doctor_info)
247
+              tempInfo['bed_cost_total'] = info.bedCostTotal
248
+              console.log("info15")
249
+              console.log( info.bedCostTotal)
250
+              tempInfo['bed_cost_self_total'] = info.bedCostSelfTotal
251
+              console.log("info16")
252
+              console.log( info.bedCostSelfTotal)
253
+              tempInfo['bed_cost_part_self_total'] = info.bedCostPartSelfTotal
254
+              console.log("info17")
255
+              console.log( info.bedCostPartSelfTotal)
256
+              tempInfo['operation_cost_total'] = info.operationCostTotal
257
+              console.log("info18")
258
+              console.log( info.operationCostTotal)
259
+              tempInfo['operation_cost_self_total'] = info.operationCostSelfTotal
260
+              console.log("info19")
261
+              console.log( info.operationCostSelfTotal)
262
+              tempInfo['operation_cost_part_self_total'] = info.operationCostPartSelfTotal
263
+              console.log("info20")
264
+              console.log( info.operationCostPartSelfTotal)
265
+              tempInfo['other_cost_total'] = info.otherCostTotal
266
+              console.log("info21")
267
+              console.log( info.otherCostTotal)
268
+              tempInfo['other_cost_self_total'] = info.otherCostSelfTotal
269
+              console.log("info22")
270
+              console.log( info.otherCostSelfTotal)
271
+              tempInfo['other_cost_part_self_total'] = info.otherCostPartSelfTotal
272
+              console.log("info23")
273
+              console.log( info.otherCostPartSelfTotal)
274
+              tempInfo['material_cost_total'] = info.materialCostTotal
275
+              console.log("info24")
276
+              console.log( info.materialCostTotal)
277
+              tempInfo['material_cost_self_total'] = info.materialCostSelfTotal
278
+              console.log("info25")
279
+              console.log( info.materialCostSelfTotal)
280
+              tempInfo['material_cost_part_self_total'] = info.materialCostPartSelfTotal
281
+              console.log("info26")
282
+              console.log( info.materialCostPartSelfTotal)
283
+              tempInfo['western_medicine_cost_total'] = info.westernMedicineCostTotal
284
+              console.log("info27")
285
+              console.log( info.westernMedicineCostTotal)
286
+              tempInfo['western_medicine_cost_self_total'] = info.westernMedicineCostSelfTotal
287
+              console.log("info28")
288
+              console.log( info.westernMedicineCostSelfTotal)
289
+              tempInfo['western_medicine_cost_part_self_total'] = info.westernMedicineCostPartSelfTotal
290
+              console.log("info29")
291
+              console.log( info.westernMedicineCostPartSelfTotal)
292
+              tempInfo['chinese_traditional_medicine_cost_total'] = info.chineseTraditionalMedicineCostTotal
293
+              tempInfo['chinese_traditional_medicine_cost_self_total'] = info.chineseTraditionalMedicineCostSelfTotal
294
+              tempInfo['chinese_traditional_medicine_cost_part_self_total'] = info.chineseTraditionalMedicineCostPartSelfTotal
295
+              tempInfo['check_cost_total'] = info.checkCostTotal
296
+              tempInfo['check_cost_self_total'] = info.checkCostSelfTotal
297
+              tempInfo['check_cost_part_self_total'] = info.checkCostPartSelfTotal
298
+              tempInfo['laboratory_cost_total'] = info.laboratoryCostTotal
299
+              tempInfo['laboratory_cost_self_total'] = info.laboratoryCostSelfTotal
300
+              tempInfo['laboratory_cost_part_self_total'] = info.laboratoryCostPartSelfTotal
301
+              tempInfo['treat_cost_total'] = info.treatCostTotal
302
+              tempInfo['treat_cost_self_total'] = info.treatCostSelfTotal
303
+              tempInfo['treat_cost_part_self_total'] = info.treatCostPartSelfTotal
304
+              tempInfo['his'] = info.his_hospital
305
+              infos.push(tempInfo)
248 306
             }
249 307
             that.infos = infos
250 308
             console.log(infos)

+ 13 - 0
src/xt_pages/outpatientCharges/summary.vue View File

@@ -436,6 +436,19 @@
436 436
           :paramsObj="settlementObj"
437 437
       ></settlement-print>
438 438
     </el-dialog>
439
+
440
+    <el-dialog
441
+      class="centerDialog"
442
+      width="1200px"
443
+      title="打印"
444
+      :visible.sync="settlementVisible"
445
+    >
446
+      <settlement-print
447
+        ref="print"
448
+        :paramsObj="settlementObj"
449
+      ></settlement-print>
450
+    </el-dialog>
451
+
439 452
   </div>
440 453
 </template>
441 454