Browse Source

结算单

test_user 2 years ago
parent
commit
ba0bc38adf
1 changed files with 1 additions and 133 deletions
  1. 1 133
      src/xt_pages/outpatientCharges/statementPrint.vue

+ 1 - 133
src/xt_pages/outpatientCharges/statementPrint.vue View File

@@ -395,139 +395,7 @@
395 395
       searchAction() {
396 396
       },
397 397
       getInfo(order_id, obj) {
398
-        if( this.org_id  == 0){
399
-          console.log("12222444444")
400
-          let params = {
401
-            his_patient_id: obj.his_patient_id,
402
-            id: obj.order_id,
403
-            order_id: obj.order_id,
404
-            admin_user_id: this.$store.getters.xt_user.user.id,
405
-          };
406
-          getPrivateExpensesTwo(params).then((response) => {
407
-            if (response.data.state == 0) {
408
-              // this.$message.error(response.data.msg)
409
-
410
-              return false;
411
-            } else {
412
-              var that = this;
413
-              that.info = response.data.data.info;
414
-              that.info["p_admin"] = that.p_admin;
415
-              that.info["charge_admin"] = that.charge_admin;
416
-              that.info["order_number"] = response.data.data.order_number;
417
-              that.info["number"] = response.data.data.number;
418
-              that.info["fixmedins_name"] = response.data.data.org_name;
419
-              that.info["fixmedins_code"] = response.data.data.org_code;
420
-              that.info["bed_cost_total"] = response.data.data.bedCostTotal;
421
-              that.info["bed_cost_self_total"] =
422
-                response.data.data.bedCostSelfTotal;
423
-              that.info["bed_cost_part_self_total"] =
424
-                response.data.data.bedCostPartSelfTotal;
425
-
426
-              that.info["bedInscpTotal"] =
427
-                response.data.data.bedInscpTotal;
428
-              that.info["bedSelfTotal"] =
429
-                response.data.data.bedSelfTotal;
430
-
431
-
432
-              that.info["operationInscpTotal"] =
433
-                response.data.data.operationInscpTotal;
434
-              that.info["operationSelfTotal"] =
435
-                response.data.data.operationSelfTotal;
436
-
437
-              that.info["checkInscpTotal"] =
438
-                response.data.data.checkInscpTotal;
439
-              that.info["checkSelfTotal"] =
440
-                response.data.data.checkSelfTotal;
441
-
442
-              that.info["treatInscpTotal"] =
443
-                response.data.data.treatInscpTotal;
444
-              that.info["treatSelfTotal"] =
445
-                response.data.data.treatSelfTotal;
446
-
447
-
448
-              that.info["laboratoryInscpTotal"] =
449
-                response.data.data.laboratoryInscpTotal;
450
-              that.info["laboratorySelfTotal"] =
451
-                response.data.data.laboratorySelfTotal;
452
-
453
-
454
-              that.info["westernMedicineInscpTotal"] =
455
-                response.data.data.westernMedicineInscpTotal;
456
-              that.info["westernMedicineSelfTotal"] =
457
-                response.data.data.westernMedicineSelfTotal;
458
-
459
-              that.info["materialInscpTotal"] =
460
-                response.data.data.materialInscpTotal;
461
-              that.info["materialSelfTotal"] =
462
-                response.data.data.materialSelfTotal;
463
-
464
-              that.info["chineseTraditionalInscpTotal"] =
465
-                response.data.data.chineseTraditionalInscpTotal;
466
-              that.info["chineseTraditionalSelfTotal"] =
467
-                response.data.data.chineseTraditionalSelfTotal;
468
-
469
-              that.info["otherInscpTotal"] =
470
-                response.data.data.otherInscpTotal;
471
-              that.info["otherSelfTotal"] =
472
-                response.data.data.otherSelfTotal;
473
-
474
-              that.info["operation_cost_total"] =
475
-                response.data.data.operationCostTotal;
476
-              that.info["operation_cost_self_total"] =
477
-                response.data.data.operationCostSelfTotal;
478
-              that.info["operation_cost_part_self_total"] =
479
-                response.data.data.operationCostPartSelfTotal;
480
-
481
-              that.info["other_cost_total"] = response.data.data.otherCostTotal;
482
-              that.info["other_cost_self_total"] =
483
-                response.data.data.otherCostSelfTotal;
484
-              that.info["other_cost_part_self_total"] =
485
-                response.data.data.otherCostPartSelfTotal;
486
-
487
-              that.info["material_cost_total"] =
488
-                response.data.data.materialCostTotal;
489
-              that.info["material_cost_self_total"] =
490
-                response.data.data.materialCostSelfTotal;
491
-              that.info["material_cost_part_self_total"] =
492
-                response.data.data.materialCostPartSelfTotal;
493
-
494
-              that.info["western_medicine_cost_total"] =
495
-                response.data.data.westernMedicineCostTotal;
496
-              that.info["western_medicine_cost_self_total"] =
497
-                response.data.data.westernMedicineCostSelfTotal;
498
-              that.info["western_medicine_cost_part_self_total"] =
499
-                response.data.data.westernMedicineCostPartSelfTotal;
500
-
501
-              that.info["chinese_traditional_medicine_cost_total"] =
502
-                response.data.data.chineseTraditionalMedicineCostTotal;
503
-              that.info["chinese_traditional_medicine_cost_self_total"] =
504
-                response.data.data.chineseTraditionalMedicineCostSelfTotal;
505
-              that.info["chinese_traditional_medicine_cost_part_self_total"] =
506
-                response.data.data.chineseTraditionalMedicineCostPartSelfTotal;
507
-
508
-              that.info["check_cost_total"] = response.data.data.checkCostTotal;
509
-              that.info["check_cost_self_total"] =
510
-                response.data.data.checkCostSelfTotal;
511
-              that.info["check_cost_part_self_total"] =
512
-                response.data.data.checkCostPartSelfTotal;
513
-
514
-              that.info["laboratory_cost_total"] =
515
-                response.data.data.laboratoryCostTotal;
516
-              that.info["laboratory_cost_self_total"] =
517
-                response.data.data.laboratoryCostSelfTotal;
518
-              that.info["laboratory_cost_part_self_total"] =
519
-                response.data.data.laboratoryCostPartSelfTotal;
520
-
521
-              that.info["treat_cost_total"] = response.data.data.treatCostTotal;
522
-              that.info["treat_cost_self_total"] =
523
-                response.data.data.treatCostSelfTotal;
524
-              that.info["treat_cost_part_self_total"] =
525
-                response.data.data.treatCostPartSelfTotal;
526
-              console.log(that.info)
527 398
 
528
-            }
529
-          });
530
-        }else{
531 399
           if (obj.balance_accounts_type == 2 ) {
532 400
             let params = {
533 401
               his_patient_id: obj.his_patient_id,
@@ -1387,7 +1255,7 @@
1387 1255
             }
1388 1256
           }
1389 1257
 
1390
-        }
1258
+
1391 1259
 
1392 1260
       },
1393 1261
     },