ソースを参照

Merge branch '20230223_pc_vue_new_branch' of http://git.shengws.com/csx/Vue_New into 20230223_pc_vue_new_branch

28169 6 日 前
コミット
a7fe0ca23b

+ 436 - 6
src/xt_pages/outpatientCharges/statementPrint.vue ファイルの表示

@@ -73,7 +73,7 @@
73 73
       <!-- 杏康 -->
74 74
       <printSeventheen  :info="info" v-if=" org_id == 10721"></printSeventheen>
75 75
       <printeighteen :info="info" v-if=" org_id == 10726"></printeighteen>
76
-      <printOne :info="info" v-if=" org_id != 9990 && org_id !=0 &&
76
+      <printOne :info="info" v-if=" org_id != 9990 &&
77 77
             org_id != 10138 && org_id != 9504 && org_id != 10028  && org_id != 10744 &&
78 78
             org_id != 10610 && org_id !=10537 && org_id !=10697 &&
79 79
             org_id != 10278 && org_id != 10387 && org_id != 10191 &&
@@ -1164,7 +1164,7 @@ export default {
1164 1164
           })
1165 1165
         }
1166 1166
       } else {
1167
-        console.log('1111111',this.org_id)
1167
+
1168 1168
         if (this.org_id == 1000000) {
1169 1169
           let params = {
1170 1170
             order_id: obj.order_id,
@@ -2011,8 +2011,6 @@ export default {
2011 2011
                 that.info['his'] = response.data.data.his
2012 2012
                 that.info['dia_config'] = response.data.data.dia_config
2013 2013
 
2014
-                const jsonArr = JSON.parse(response.data.data.his.idetinfo);
2015
-                that.info['psn_idet_type'] = jsonArr[0].psn_idet_type
2016 2014
 
2017 2015
 
2018 2016
                 const jsons = JSON.parse(response.data.data.his.iinfo);
@@ -2216,7 +2214,7 @@ export default {
2216 2214
 
2217 2215
 
2218 2216
 
2219
-          } else if(this.org_id == 10633 || this.org_id == 0){
2217
+          } else if(this.org_id == 10633 ){
2220 2218
             let params = {
2221 2219
               order_id: obj.order_id,
2222 2220
               admin_user_id: this.$store.getters.xt_user.user.id
@@ -2597,7 +2595,438 @@ export default {
2597 2595
 
2598 2596
 
2599 2597
 
2600
-          }else {
2598
+          }else if(this.org_id == 9478 || this.org_id == 0 ){
2599
+
2600
+            let params = {
2601
+              order_id: obj.order_id,
2602
+              admin_user_id: this.$store.getters.xt_user.user.id
2603
+            }
2604
+            getPrivateExpensesOrder(params).then((response) => {
2605
+              if (response.data.state == 0) {
2606
+                // this.$message.error(response.data.msg)
2607
+
2608
+                return false
2609
+              } else {
2610
+                var that = this
2611
+                that.info = response.data.data.info
2612
+                that.p_admin = response.data.data.printor_admin
2613
+                that.charge_admin = response.data.data.charge_admin
2614
+                that.info['new_order'] = response.data.data.info
2615
+                that.info['p_admin'] = that.p_admin
2616
+                that.info['his'] = that.info.his
2617
+                that.info['charge_admin'] = that.charge_admin
2618
+                that.info['order_number'] = response.data.data.order_number
2619
+                that.info['patient'] = response.data.data.patient
2620
+                that.info['date'] = response.data.data.date
2621
+                that.info['number'] = response.data.data.number
2622
+                that.info['order_infos'] = response.data.data.order_infos
2623
+                that.info['diagnosis'] = response.data.data.diagnosis
2624
+
2625
+
2626
+                that.info['dise_name'] = "慢性肾脏病5期"
2627
+
2628
+
2629
+
2630
+                that.info['begndate'] = response.data.data.info.setl_time
2631
+                that.info['enddate'] = response.data.data.info.setl_time
2632
+
2633
+
2634
+                that.info['fixmedins_name'] = response.data.data.org_name
2635
+                that.info['fixmedins_code'] = response.data.data.org_code
2636
+                // that.info["doctor_code"] = response.data.data.doctor_code;
2637
+                // that.info["department"] = response.data.data.department;
2638
+                // that.info["health_card_no"] = response.data.data.health_card_no;
2639
+
2640
+                that.info['bed_cost_total'] = response.data.data.bedCostTotal
2641
+                that.info['bed_cost_self_total'] =
2642
+                  response.data.data.bedCostSelfTotal
2643
+                that.info['bed_cost_part_self_total'] =
2644
+                  response.data.data.bedCostPartSelfTotal
2645
+
2646
+                that.info['operation_cost_total'] =
2647
+                  response.data.data.operationCostTotal
2648
+                that.info['operation_cost_self_total'] =
2649
+                  response.data.data.operationCostSelfTotal
2650
+                that.info['operation_cost_part_self_total'] =
2651
+                  response.data.data.operationCostPartSelfTotal
2652
+
2653
+                that.info['other_cost_total'] = response.data.data.otherCostTotal
2654
+                that.info['other_cost_self_total'] =
2655
+                  response.data.data.otherCostSelfTotal
2656
+                that.info['other_cost_part_self_total'] =
2657
+                  response.data.data.otherCostPartSelfTotal
2658
+
2659
+                that.info['material_cost_total'] =
2660
+                  response.data.data.materialCostTotal
2661
+                that.info['material_cost_self_total'] =
2662
+                  response.data.data.materialCostSelfTotal
2663
+                that.info['material_cost_part_self_total'] =
2664
+                  response.data.data.materialCostPartSelfTotal
2665
+
2666
+                that.info['western_medicine_cost_total'] =
2667
+                  response.data.data.westernMedicineCostTotal
2668
+                that.info['western_medicine_cost_self_total'] =
2669
+                  response.data.data.westernMedicineCostSelfTotal
2670
+                that.info['western_medicine_cost_part_self_total'] =
2671
+                  response.data.data.westernMedicineCostPartSelfTotal
2672
+
2673
+                that.info['chinese_traditional_medicine_cost_total'] =
2674
+                  response.data.data.chineseTraditionalMedicineCostTotal
2675
+                that.info['chinese_traditional_medicine_cost_self_total'] =
2676
+                  response.data.data.chineseTraditionalMedicineCostSelfTotal
2677
+                that.info['chinese_traditional_medicine_cost_part_self_total'] =
2678
+                  response.data.data.chineseTraditionalMedicineCostPartSelfTotal
2679
+
2680
+                that.info['check_cost_total'] = response.data.data.checkCostTotal
2681
+                that.info['check_cost_self_total'] =
2682
+                  response.data.data.checkCostSelfTotal
2683
+                that.info['check_cost_part_self_total'] =
2684
+                  response.data.data.checkCostPartSelfTotal
2685
+
2686
+                that.info['laboratory_cost_total'] =
2687
+                  response.data.data.laboratoryCostTotal
2688
+                that.info['laboratory_cost_self_total'] =
2689
+                  response.data.data.laboratoryCostSelfTotal
2690
+                that.info['laboratory_cost_part_self_total'] =
2691
+                  response.data.data.laboratoryCostPartSelfTotal
2692
+
2693
+                that.info['treat_cost_total'] = response.data.data.treatCostTotal
2694
+                that.info['treat_cost_self_total'] =
2695
+                  response.data.data.treatCostSelfTotal
2696
+                that.info['treat_cost_part_self_total'] =
2697
+                  response.data.data.treatCostPartSelfTotal
2698
+
2699
+
2700
+                that.info['bedInscpTotal'] =
2701
+                  response.data.data.bedInscpTotal
2702
+                that.info['bedSelfTotal'] =
2703
+                  response.data.data.bedSelfTotal
2704
+
2705
+                that.info['operationInscpTotal'] =
2706
+                  response.data.data.operationInscpTotal
2707
+                that.info['operationSelfTotal'] =
2708
+                  response.data.data.operationSelfTotal
2709
+
2710
+                that.info['checkInscpTotal'] =
2711
+                  response.data.data.checkInscpTotal
2712
+                that.info['checkSelfTotal'] =
2713
+                  response.data.data.checkSelfTotal
2714
+
2715
+                that.info['treatInscpTotal'] =
2716
+                  response.data.data.treatInscpTotal
2717
+                that.info['treatSelfTotal'] =
2718
+                  response.data.data.treatSelfTotal
2719
+
2720
+                that.info['laboratoryInscpTotal'] =
2721
+                  response.data.data.laboratoryInscpTotal
2722
+                that.info['laboratorySelfTotal'] =
2723
+                  response.data.data.laboratorySelfTotal
2724
+
2725
+                that.info['westernMedicineInscpTotal'] =
2726
+                  response.data.data.westernMedicineInscpTotal
2727
+                that.info['westernMedicineSelfTotal'] =
2728
+                  response.data.data.westernMedicineSelfTotal
2729
+
2730
+                that.info['materialInscpTotal'] =
2731
+                  response.data.data.materialInscpTotal
2732
+                that.info['materialSelfTotal'] =
2733
+                  response.data.data.materialSelfTotal
2734
+
2735
+                that.info['chineseTraditionalInscpTotal'] =
2736
+                  response.data.data.chineseTraditionalInscpTotal
2737
+                that.info['chineseTraditionalSelfTotal'] =
2738
+                  response.data.data.chineseTraditionalSelfTotal
2739
+
2740
+
2741
+
2742
+                if(response.data.data.zcCostTotal){
2743
+                  that.info['zc_cost_total'] =
2744
+                    response.data.data.zcCostTotal
2745
+                }else{
2746
+                  that.info['zc_cost_total'] = 0
2747
+                }
2748
+
2749
+                if(response.data.data.zcCostSelfTotal){
2750
+                  that.info['zc_cost_self_total'] =
2751
+                    response.data.data.zcCostSelfTotal
2752
+                }else{
2753
+                  that.info['zc_cost_self_total'] = 0
2754
+                }
2755
+
2756
+
2757
+
2758
+
2759
+                if(response.data.data.zcCostPartSelfTotal){
2760
+                  that.info['zc_cost_part_self_total'] =
2761
+                    response.data.data.zcCostPartSelfTotal
2762
+                }else{
2763
+                  that.info['zc_cost_part_self_total'] = 0
2764
+                }
2765
+
2766
+                if(response.data.data.huliCostTotal){
2767
+                  that.info['huli_cost_total'] =
2768
+                    response.data.data.huliCostTotal
2769
+                }else{
2770
+                  that.info['huli_cost_total'] = 0
2771
+                }
2772
+                if(response.data.data.huliCostSelfTotal){
2773
+                  that.info['huli_cost_self_total'] =
2774
+                    response.data.data.huliCostSelfTotal
2775
+                }else{
2776
+                  that.info['huli_cost_self_total'] = 0
2777
+                }
2778
+                if(response.data.data.huliCostPartSelfTotal){
2779
+                  that.info['huli_cost_part_self_total'] =
2780
+                    response.data.data.huliCostPartSelfTotal
2781
+                }else{
2782
+                  that.info['huli_cost_part_self_total'] = 0
2783
+                }
2784
+
2785
+                that.info['date'] = response.data.data.date
2786
+                that.info['number'] = response.data.data.number
2787
+                that.info['order_infos'] = response.data.data.order_infos
2788
+                that.info['diagnosis'] = response.data.data.diagnosis
2789
+                that.info['his'] = response.data.data.his
2790
+                that.info['dia_config'] = response.data.data.dia_config
2791
+
2792
+
2793
+                const jsons = JSON.parse(response.data.data.his.iinfo);
2794
+                that.info['emp_name'] = jsons[0].emp_name
2795
+
2796
+
2797
+
2798
+                for (let i = 0; i < response.data.data.order_infos.length; i++) {
2799
+                  if (response.data.data.order_infos[i].advice_id > 0 && response.data.data.order_infos[i].project_id == 0) {
2800
+                    response.data.data.order_infos[i].med_chrgitm_type = '09'
2801
+                  }
2802
+                  if (response.data.data.order_infos[i].advice_id == 0 && response.data.data.order_infos[i].project_id > 0) {
2803
+                    if (response.data.data.order_infos[i].project.type == 2) { //项目
2804
+                      if (response.data.data.order_infos[i].project.project.cost_classify == 2) {
2805
+                        response.data.data.order_infos[i].med_chrgitm_type = '05'
2806
+                      } else if (response.data.data.order_infos[i].project.project.cost_classify == 3) {
2807
+                        response.data.data.order_infos[i].med_chrgitm_type = '04'
2808
+                      } else {
2809
+                        response.data.data.order_infos[i].med_chrgitm_type = '14'
2810
+                      }
2811
+                    } else if (response.data.data.order_infos[i].project.type == 3) { //耗材
2812
+                      response.data.data.order_infos[i].med_chrgitm_type = '08'
2813
+                    }
2814
+                  }
2815
+                }
2816
+                console.log(response.data.data.order_infos)
2817
+                console.log(that.info)
2818
+
2819
+                let list = []
2820
+                for (let i = 0; i < response.data.data.order_infos.length; i++) {
2821
+                  let order = response.data.data.order_infos[i]
2822
+                  let obj = {
2823
+                    name: '',
2824
+                    spec: '',
2825
+                    cnt: '',
2826
+                    det_item_fee_sumamt: '',
2827
+                    price:'',
2828
+                  }
2829
+
2830
+                  if (order.advice_id > 0 && order.project_id == 0) {
2831
+                    obj.name = order.advice.advice_name
2832
+                    let spec = order.advice.drug.dose + order.advice.drug.dose_unit + '*' + order.advice.drug.min_number + order.advice.drug.min_unit + '/' + order.advice.drug.max_unit
2833
+                    obj.spec = spec
2834
+                    obj.cnt = order.cnt
2835
+                    obj.det_item_fee_sumamt = order.det_item_fee_sumamt
2836
+                    obj.price = order.pric
2837
+                    list.push(obj)
2838
+
2839
+                  } else if (order.advice_id == 0 && order.project_id > 0) {
2840
+                    if (order.project.type == 2) {
2841
+                      obj.name = order.project.project.project_name
2842
+                      obj.spec = ''
2843
+                      obj.cnt = order.cnt
2844
+                      obj.det_item_fee_sumamt = order.det_item_fee_sumamt
2845
+                      obj.price = order.pric
2846
+                    } else {
2847
+                      obj.name = order.project.good_info.good_name
2848
+                      obj.spec = order.project.good_info.specification_name
2849
+                      obj.cnt = order.cnt
2850
+                      obj.det_item_fee_sumamt = order.det_item_fee_sumamt
2851
+                      obj.price = order.pric
2852
+                    }
2853
+                    list.push(obj)
2854
+                  }
2855
+
2856
+                }
2857
+                that.info['Z_list'] = list
2858
+                console.log(" that.info")
2859
+                console.log(that.info.Z_list)
2860
+                console.log(" that.info")
2861
+
2862
+
2863
+                //获取所有项目类型进行去重
2864
+                let med_chrgitm_types = []
2865
+                for (let i = 0; i < response.data.data.order_infos.length; i++) {
2866
+                  med_chrgitm_types.push(response.data.data.order_infos[i].med_chrgitm_type)
2867
+                }
2868
+                const obj10 = {}
2869
+                med_chrgitm_types = med_chrgitm_types.reduce((cur, next) => {
2870
+                  obj10[next] ? '' : obj10[next] = true && cur.push(next)
2871
+                  return cur
2872
+                }, []) // 设置cur默认类型为数组,并且初始值为空的数组
2873
+                let tempOrderInfo = []
2874
+                for (let i = 0; i < med_chrgitm_types.length; i++) {
2875
+
2876
+                  let obj9 = {
2877
+                    details: [],
2878
+                    med_chrgitm_name: that.getType(med_chrgitm_types[i]),
2879
+                    total:0,
2880
+                  }
2881
+
2882
+                  // if(med_chrgitm_types[i] == '09'){
2883
+                  //   obj.sort = 99
2884
+                  // } else if(med_chrgitm_types[i] == '05'){
2885
+                  //   obj.sort = 98
2886
+                  // } else if(med_chrgitm_types[i] == '08'){
2887
+                  //   obj.sort = 97
2888
+                  // }else if(med_chrgitm_types[i] == '03'){
2889
+                  //   obj.sort = 96
2890
+                  // }
2891
+
2892
+                  let tempDetails = []
2893
+                  for (let b = 0; b < response.data.data.order_infos.length; b++) {
2894
+                    if (med_chrgitm_types[i] == response.data.data.order_infos[b].med_chrgitm_type) {
2895
+                      tempDetails.push(response.data.data.order_infos[b])
2896
+                    }
2897
+                  }
2898
+                  console.log(med_chrgitm_types[i])
2899
+                  console.log(tempDetails)
2900
+                  obj9.total = that.getTotal(tempDetails)
2901
+                  obj9.details = that.set10265NewData(tempDetails)
2902
+                  list.push(obj9)
2903
+                }
2904
+                that.info['new_list'] = list
2905
+                // list.sort((a,b) => a.sort < b.sort ? 1 : a.sort > b.sort ? -1 : 0)
2906
+
2907
+                let obj = {
2908
+                  type: 1,
2909
+                  details: [],
2910
+                  total: 0
2911
+                }
2912
+                let obj2 = {
2913
+                  type: 2,
2914
+                  details: [],
2915
+                  total: 0
2916
+                }
2917
+                let obj3 = {
2918
+                  type: 3,
2919
+                  details: [],
2920
+                  total: 0
2921
+                }
2922
+
2923
+                let obj4 = {
2924
+                  type: 4,
2925
+                  details: [],
2926
+                  total: 0
2927
+                }
2928
+                let num = 0
2929
+                that.info.order_infos.map((item) => {
2930
+                  if (item.advice_id > 0) {
2931
+                    obj.details.push(item)
2932
+                    obj.total += item.pric * item.advice.prescribing_number
2933
+                    num++
2934
+                  } else {
2935
+                    if (item.project.type == 2) {
2936
+                      obj2.details.push(item)
2937
+                      obj2.total += item.pric * item.project.count
2938
+                      num++
2939
+                    } else {
2940
+                      obj3.details.push(item)
2941
+                      obj3.total += item.pric * item.project.count
2942
+                      num++
2943
+                    }
2944
+                  }
2945
+                })
2946
+
2947
+                // this.info.order_infos.map(item => {
2948
+                //   obj4.total = item.Total
2949
+                //   obj4.details.push(item)
2950
+                //   num++
2951
+                //
2952
+                // })
2953
+                var funds = []
2954
+                for(let i = 0; i <  response.data.data.funds.length; i++){
2955
+                  var objs = {}
2956
+                  objs["number"] = i + 1
2957
+                  objs["fund_pay"] = response.data.data.funds[i].fund_payamt
2958
+                  objs["limit_pay"] = response.data.data.funds[i].inscp_scp_amt
2959
+                  objs["insp_pay"] = response.data.data.funds[i].inscp_scp_amt
2960
+                  for(let b = 0; b < that.fundsArray.length; b++){
2961
+                    if(response.data.data.funds[i].fund_pay_type ==  that.fundsArray[b].code){
2962
+                      objs["name"] =that.fundsArray[b].name
2963
+                    }
2964
+                  }
2965
+                  funds.push(objs)
2966
+                }
2967
+                that.info['funds'] = funds
2968
+                console.log(that.info)
2969
+
2970
+                that.info.new_detail_list = []
2971
+                that.info.new_detail_list.push(obj)
2972
+                that.info.new_detail_list.push(obj2)
2973
+                that.info.new_detail_list.push(obj3)
2974
+                // that.info.new_detail_list.push(obj4)
2975
+
2976
+                that.num = num
2977
+
2978
+                if (that.paramsObj.settle_type != 1) {
2979
+                  that.info.begndate = that.getTimes(that.paramsObj.start_time)
2980
+                  that.info.enddate = that.getTimes(that.paramsObj.end_time)
2981
+                }
2982
+
2983
+                that.info.order_infos.map((item) => {
2984
+
2985
+                })
2986
+
2987
+
2988
+                that.info["jia_drug"] = 0
2989
+                that.info["yi_drug"] = 0
2990
+                that.info["zifei_drug"] = 0
2991
+
2992
+
2993
+                that.info["jia_yiliao"] = 0
2994
+                that.info["yi_yiliao"] = 0
2995
+                that.info["zifei_yiliao"] = 0
2996
+
2997
+                for(let a = 0; a < response.data.data.order_infos.length; a++){
2998
+                  if(response.data.data.order_infos[a].chrgitm_lv == "01" && response.data.data.order_infos[a].med_chrgitm_type == "09"){
2999
+                    that.info["jia_drug"] = that.info["jia_drug"] + response.data.data.order_infos[a].det_item_fee_sumamt
3000
+                  }
3001
+                  if(response.data.data.order_infos[a].chrgitm_lv == "02" && response.data.data.order_infos[a].med_chrgitm_type == "09"){
3002
+                    that.info["yi_drug"] = that.info["yi_drug"] + response.data.data.order_infos[a].det_item_fee_sumamt
3003
+                  }
3004
+                  if(response.data.data.order_infos[a].chrgitm_lv != "01" && response.data.data.order_infos[a].chrgitm_lv != "02" && response.data.data.order_infos[a].med_chrgitm_type == "09"){
3005
+                    that.info["zifei_drug"] = that.info["zifei_drug"] + response.data.data.order_infos[a].det_item_fee_sumamt
3006
+                  }
3007
+                }
3008
+
3009
+                for(let a = 0; a < response.data.data.order_infos.length; a++){
3010
+                  if(response.data.data.order_infos[a].chrgitm_lv == "01" && response.data.data.order_infos[a].med_chrgitm_type != "09"){
3011
+                    that.info["jia_yiliao"] = that.info["jia_yiliao"] + response.data.data.order_infos[a].det_item_fee_sumamt
3012
+                  }
3013
+                  if(response.data.data.order_infos[a].chrgitm_lv == "02" && response.data.data.order_infos[a].med_chrgitm_type != "09"){
3014
+                    that.info["yi_yiliao"] = that.info["yi_yiliao"] + response.data.data.order_infos[a].det_item_fee_sumamt
3015
+                  }
3016
+                  if(response.data.data.order_infos[a].chrgitm_lv != "01" && response.data.data.order_infos[a].chrgitm_lv != "02" && response.data.data.order_infos[a].med_chrgitm_type != "09"){
3017
+                    that.info["zifei_yiliao"] = that.info["zifei_yiliao"] + response.data.data.order_infos[a].det_item_fee_sumamt
3018
+                  }
3019
+                }
3020
+
3021
+              }
3022
+            })
3023
+
3024
+
3025
+
3026
+
3027
+
3028
+
3029
+          } else {
2601 3030
             var that = this
2602 3031
             axios
2603 3032
               .get('http://127.0.0.1:9532/api/settle/query', {
@@ -2617,6 +3046,7 @@ export default {
2617 3046
                   that.charge_admin = response.data.data.charge_admin
2618 3047
                   that.info['psn_cash_pay'] = response.data.data.psn_cash_pay
2619 3048
                   that.info['new_order'] = response.data.data.order
3049
+                  that.info['his'] = response.data.data.his
2620 3050
                   that.info['p_admin'] = that.p_admin
2621 3051
                   that.info['charge_admin'] = that.charge_admin
2622 3052
                   that.info['order_number'] = response.data.data.order_number

+ 15 - 0
src/xt_pages/outpatientDoctorStation/components/prescriptionTemplateTable.vue ファイルの表示

@@ -21,6 +21,15 @@
21 21
             </template>
22 22
           </el-table-column>
23 23
 
24
+
25
+          <el-table-column align="center" prop="drug_name" label="规格">
26
+            <template slot-scope="scope">
27
+                  <span>
28
+                    {{ scope.row.drug.dose }}{{ scope.row.drug.dose_unit }}*{{ scope.row.drug.min_number }}{{ scope.row.drug.min_unit }}/{{ scope.row.drug.max_unit }}
29
+                  </span>
30
+            </template>
31
+          </el-table-column>
32
+
24 33
           <el-table-column align="center" prop="single_dose" width="150" label="单次用量">
25 34
             <template slot-scope="scope">
26 35
               <div style="display:flex;align-items:center;">
@@ -158,6 +167,12 @@
158 167
 
159 168
                 </template>
160 169
             </el-table-column>
170
+          <el-table-column align="center" prop="project_name" label="规格">
171
+            <template slot-scope="scope">
172
+              <span v-if="scope.row.type==2">{{ scope.row.project_name }}</span>
173
+              <span v-if="scope.row.type==3">{{ scope.row.good_info.specification_name }}</span>
174
+            </template>
175
+          </el-table-column>
161 176
             <el-table-column align="center" prop="delivery_way" width="80" label="用法">
162 177
                 <template slot-scope="scope">
163 178
                     <el-autocomplete

+ 28 - 27
src/xt_pages/outpatientDoctorStation/doctorDesk.vue ファイルの表示

@@ -2348,7 +2348,7 @@ export default {
2348 2348
                     if (this.org_id == 10028 || this.org_id == 10571  || this.org_id == 10633) {
2349 2349
                       preTime = this.record_date + ' ' + '6:30'
2350 2350
                     } else if(this.org_id == 10206 || this.org_id == 10598){
2351
-                      preTime = this.record_date + ' ' + '6:00'
2351
+                      preTime = this.record_date + ' ' + '05:40'
2352 2352
                     }else if(this.org_id == 10721){
2353 2353
                       preTime = this.record_date + ' ' + '05:30'
2354 2354
                     } else {
@@ -2387,7 +2387,7 @@ export default {
2387 2387
                     // preTime = this.record_date
2388 2388
                     if(this.schedule.schedule_type == 1){
2389 2389
                       if(this.org_id == 10206   || this.org_id == 10598) {
2390
-                        preTime = this.record_date+ ' ' + '6:00'
2390
+                        preTime = this.record_date+ ' ' + '05:40'
2391 2391
                       } else if(this.org_id == 10721){
2392 2392
                         preTime = this.record_date + ' ' + '05:30'
2393 2393
                       }else {
@@ -2576,7 +2576,7 @@ export default {
2576 2576
                     if (this.org_id == 10028 ||  this.org_id == 10571 || this.org_id == 10633) {
2577 2577
                       preTime = this.record_date + ' ' + '6:30'
2578 2578
                     } else if(this.org_id == 10206  || this.org_id == 10598) {
2579
-                      preTime = this.record_date+ ' ' + '6:00'
2579
+                      preTime = this.record_date+ ' ' + '05:40'
2580 2580
                     } else if(this.org_id == 10721 ) {
2581 2581
                       preTime = this.record_date+ ' ' + '05:30'
2582 2582
                     } else {
@@ -2606,7 +2606,7 @@ export default {
2606 2606
                 if(nowTime.split(" ")[0] != this.record_date){
2607 2607
                   if(this.schedule.schedule_type == 1){
2608 2608
                     if(this.org_id == 10206  || this.org_id == 0 ||  this.org_id == 10598) {
2609
-                      preTime = this.record_date+ ' ' + '6:00'
2609
+                      preTime = this.record_date+ ' ' + '05:40'
2610 2610
                     } else if(this.org_id == 10721 ) {
2611 2611
                       preTime = this.record_date+ ' ' + '05:30'
2612 2612
                     }else {
@@ -2682,7 +2682,7 @@ export default {
2682 2682
                 // preTime = this.record_date
2683 2683
                 if(this.schedule.schedule_type == 1){
2684 2684
                   if(this.org_id == 10206  || this.org_id == 0 || this.org_id == 10598) {
2685
-                    preTime = this.record_date+ ' ' + '6:00'
2685
+                    preTime = this.record_date+ ' ' + '05:40'
2686 2686
                   }else if(this.org_id == 10721 ) {
2687 2687
                     preTime = this.record_date+ ' ' + '05:30'
2688 2688
                   }else {
@@ -2746,7 +2746,7 @@ export default {
2746 2746
 
2747 2747
     choosePatient(val) {
2748 2748
       console.log('1234567890',val);
2749
-      
2749
+
2750 2750
       if (this.titleType == '电子病历') {
2751 2751
         if (this.$refs.child != undefined && this.$refs.child.watchSign > 2) {
2752 2752
           this.$confirm('是否保存当前病例', '保存', {
@@ -3003,7 +3003,7 @@ export default {
3003 3003
                           if (this.org_id == 10028 || this.org_id == 10571  || this.org_id == 10633) {
3004 3004
                             preTime = this.record_date + ' ' + '6:30'
3005 3005
                           } else if(this.org_id == 10206 || this.org_id == 10598){
3006
-                            preTime = this.record_date + ' ' + '6:00'
3006
+                            preTime = this.record_date + ' ' + '05:40'
3007 3007
                           } else if(this.org_id == 10721 ){
3008 3008
                             preTime = this.record_date + ' ' + '05:30'
3009 3009
                           } else {
@@ -3037,7 +3037,7 @@ export default {
3037 3037
                         if(nowTime.split(" ")[0] != this.record_date){
3038 3038
                           if(this.schedule.schedule_type == 1){
3039 3039
                             if(this.org_id == 10206  || this.org_id == 10598) {
3040
-                              preTime = this.record_date+ ' ' + '6:00'
3040
+                              preTime = this.record_date+ ' ' + '05:40'
3041 3041
                             } else if(this.org_id == 10721) {
3042 3042
                               preTime = this.record_date+ ' ' + '05:30'
3043 3043
                             }else {
@@ -3207,7 +3207,7 @@ export default {
3207 3207
                           if (this.org_id == 10028 || this.org_id == 10571 || this.org_id == 10633) {
3208 3208
                             preTime = this.record_date + ' ' + '6:30'
3209 3209
                           } else if(this.org_id == 10206 || this.org_id == 10598){
3210
-                            preTime = this.record_date + ' ' + '6:00'
3210
+                            preTime = this.record_date + ' ' + '05:40'
3211 3211
                           } else if(this.org_id == 10721){
3212 3212
                             preTime = this.record_date + ' ' + '05:30'
3213 3213
                           } else {
@@ -3238,7 +3238,7 @@ export default {
3238 3238
                       if(nowTime.split(" ")[0] != this.record_date){
3239 3239
                         if(this.schedule.schedule_type == 1){
3240 3240
                           if(this.org_id == 10206  || this.org_id == 0 || this.org_id == 10598) {
3241
-                            preTime = this.record_date+ ' ' + '6:00'
3241
+                            preTime = this.record_date+ ' ' + '05:40'
3242 3242
                           } else if(this.org_id == 10721) {
3243 3243
                             preTime = this.record_date+ ' ' + '05:30'
3244 3244
                           }else {
@@ -3308,7 +3308,7 @@ export default {
3308 3308
                     if(nowTime.split(" ")[0] != this.record_date){
3309 3309
                       if(this.schedule.schedule_type == 1){
3310 3310
                         if(this.org_id == 10206  || this.org_id == 0 || this.org_id == 10598) {
3311
-                          preTime = this.record_date+ ' ' + '6:00'
3311
+                          preTime = this.record_date+ ' ' + '05:40'
3312 3312
                         }else if(this.org_id == 10721) {
3313 3313
                           preTime = this.record_date+ ' ' + '05:30'
3314 3314
                         }else {
@@ -3712,7 +3712,7 @@ export default {
3712 3712
                       if(nowTime.split(" ")[0] != this.record_date){
3713 3713
                         if(this.schedule.schedule_type == 1){
3714 3714
                           if(this.org_id == 10206  || this.org_id == 0 || this.org_id == 10598) {
3715
-                            preTime = this.record_date+ ' ' + '6:00'
3715
+                            preTime = this.record_date+ ' ' + '05:40'
3716 3716
                           }else if(this.org_id == 10721) {
3717 3717
                             preTime = this.record_date+ ' ' + '05:30'
3718 3718
                           }else {
@@ -3874,7 +3874,7 @@ export default {
3874 3874
                       if(nowTime.split(" ")[0] != this.record_date){
3875 3875
                         if(this.schedule.schedule_type == 1){
3876 3876
                           if(this.org_id == 10206  || this.org_id == 0 || this.org_id == 10598) {
3877
-                            preTime = this.record_date+ ' ' + '6:00'
3877
+                            preTime = this.record_date+ ' ' + '05:40'
3878 3878
                           }else if (this.org_id == 10721){
3879 3879
                             preTime = this.record_date+ ' ' + '05:30'
3880 3880
 
@@ -3940,7 +3940,7 @@ export default {
3940 3940
                     if(nowTime.split(" ")[0] != this.record_date){
3941 3941
                       if(this.schedule.schedule_type == 1){
3942 3942
                         if(this.org_id == 10206  || this.org_id == 0 || this.org_id == 10598) {
3943
-                          preTime = this.record_date+ ' ' + '6:00'
3943
+                          preTime = this.record_date+ ' ' + '05:40'
3944 3944
                         }else if(this.org_id == 10721) {
3945 3945
                           preTime = this.record_date+ ' ' + '05:30'
3946 3946
                         }else {
@@ -4310,6 +4310,7 @@ export default {
4310 4310
                     tempProject.push(obj)
4311 4311
                   }
4312 4312
 
4313
+
4313 4314
                   //附加收费
4314 4315
                   // for (let b = 0; b < prescription.addition.length; b++) {
4315 4316
                   //   let obj = {
@@ -4329,7 +4330,7 @@ export default {
4329 4330
                     if(nowTime.split(" ")[0] != this.record_date){
4330 4331
                       if(this.schedule.schedule_type == 1){
4331 4332
                         if(this.org_id == 10206  || this.org_id == 0 || this.org_id == 10598) {
4332
-                          preTime = this.record_date+ ' ' + '6:00'
4333
+                          preTime = this.record_date+ ' ' + '05:40'
4333 4334
                         }else if(this.org_id == 10721){
4334 4335
                           preTime = this.record_date+ ' ' + '05:30'
4335 4336
 
@@ -4497,7 +4498,7 @@ export default {
4497 4498
                     if(nowTime.split(" ")[0] != this.record_date){
4498 4499
                       if(this.schedule.schedule_type == 1){
4499 4500
                         if(this.org_id == 10206  || this.org_id == 0 || this.org_id == 10598) {
4500
-                          preTime = this.record_date+ ' ' + '6:00'
4501
+                          preTime = this.record_date+ ' ' + '05:40'
4501 4502
                         }else if(this.org_id == 10721) {
4502 4503
                           preTime = this.record_date+ ' ' + '05:30'
4503 4504
                         }else {
@@ -4561,7 +4562,7 @@ export default {
4561 4562
                   if(nowTime.split(" ")[0] != this.record_date){
4562 4563
                     if(this.schedule.schedule_type == 1){
4563 4564
                       if(this.org_id == 10206  || this.org_id == 0 || this.org_id == 10598) {
4564
-                        preTime = this.record_date+ ' ' + '6:00'
4565
+                        preTime = this.record_date+ ' ' + '05:40'
4565 4566
                       }else if(this.org_id == 10721) {
4566 4567
                         preTime = this.record_date+ ' ' + '05:30'
4567 4568
                       }else {
@@ -5036,7 +5037,7 @@ export default {
5036 5037
                             preTime = this.record_date + ' ' + '6:30'
5037 5038
                           } else if(this.org_id == 10206 || this.org_id == 10598){
5038 5039
 
5039
-                            preTime = this.record_date + ' ' + '6:00'
5040
+                            preTime = this.record_date + ' ' + '05:40'
5040 5041
 
5041 5042
                           } else if(this.org_id == 10721){
5042 5043
 
@@ -5077,7 +5078,7 @@ export default {
5077 5078
                         if(nowTime.split(" ")[0] != this.record_date){
5078 5079
                           if(this.schedule.schedule_type == 1){
5079 5080
                             if(this.org_id == 10206  || this.org_id == 10598) {
5080
-                              preTime = this.record_date+ ' ' + '6:00'
5081
+                              preTime = this.record_date+ ' ' + '05:40'
5081 5082
                             }else if(this.org_id == 10721){
5082 5083
                               preTime = this.record_date + ' ' + '05:30'
5083 5084
 
@@ -5251,7 +5252,7 @@ export default {
5251 5252
                           if (this.org_id == 10028 || this.org_id == 10571 || this.org_id == 10633) {
5252 5253
                             preTime = this.record_date + ' ' + '6:30'
5253 5254
                           } else if(this.org_id == 10206 || this.org_id == 10598){
5254
-                            preTime = this.record_date+ ' ' + '6:00'
5255
+                            preTime = this.record_date+ ' ' + '05:40'
5255 5256
                           } else if(this.org_id == 10721){
5256 5257
                             preTime = this.record_date+ ' ' + '05:30'
5257 5258
                           } else {
@@ -5280,7 +5281,7 @@ export default {
5280 5281
                       if(nowTime.split(" ")[0] != this.record_date){
5281 5282
                         if(this.schedule.schedule_type == 1){
5282 5283
                           if(this.org_id == 10206  || this.org_id == 0 || this.org_id == 10598) {
5283
-                            preTime = this.record_date+ ' ' + '6:00'
5284
+                            preTime = this.record_date+ ' ' + '05:40'
5284 5285
                           } else if(this.org_id == 10721){
5285 5286
                             preTime = this.record_date+ ' ' + '05:30'
5286 5287
                           }else {
@@ -5357,7 +5358,7 @@ export default {
5357 5358
                     if(nowTime.split(" ")[0] != this.record_date){
5358 5359
                       if(this.schedule.schedule_type == 1){
5359 5360
                         if(this.org_id == 10206  || this.org_id == 0 || this.org_id == 10598) {
5360
-                          preTime = this.record_date+ ' ' + '6:00'
5361
+                          preTime = this.record_date+ ' ' + '05:40'
5361 5362
                         }else if(this.org_id == 10721){
5362 5363
                           preTime = this.record_date+ ' ' + '05:30'
5363 5364
                         }else {
@@ -5736,7 +5737,7 @@ export default {
5736 5737
                           if (this.org_id == 10028 || this.org_id == 10571 || this.org_id == 0 || this.org_id == 10633) {
5737 5738
                             preTime = this.record_date + ' ' + '6:30'
5738 5739
                           } else if(this.org_id == 10206 || this.org_id == 10598){
5739
-                            preTime = this.record_date + ' ' + '6:00'
5740
+                            preTime = this.record_date + ' ' + '05:40'
5740 5741
                           } else if(this.org_id == 10721){
5741 5742
                             preTime = this.record_date+ ' ' + '05:30'
5742 5743
                           }else {
@@ -5772,7 +5773,7 @@ export default {
5772 5773
                         if(nowTime.split(" ")[0] != this.record_date){
5773 5774
                           if(this.schedule.schedule_type == 1){
5774 5775
                             if(this.org_id == 10206  || this.org_id == 0 || this.org_id == 10598) {
5775
-                              preTime = this.record_date+ ' ' + '6:00'
5776
+                              preTime = this.record_date+ ' ' + '05:40'
5776 5777
                             }else if(this.org_id == 10721){
5777 5778
                               preTime = this.record_date+ ' ' + '05:30'
5778 5779
                             }else {
@@ -5948,7 +5949,7 @@ export default {
5948 5949
                           if (this.org_id == 10028 || this.org_id == 10571 || this.org_id == 0 || this.org_id == 10633) {
5949 5950
                             preTime = this.record_date + ' ' + '6:30'
5950 5951
                           } else if(this.org_id == 10206 || this.org_id == 10598){
5951
-                            preTime = this.record_date + ' ' + '6:00'
5952
+                            preTime = this.record_date + ' ' + '05:40'
5952 5953
                           } else if(this.org_id == 10721){
5953 5954
                             preTime = this.record_date+ ' ' + '05:30'
5954 5955
                           }else {
@@ -5978,7 +5979,7 @@ export default {
5978 5979
                       if(nowTime.split(" ")[0] != this.record_date){
5979 5980
                         if(this.schedule.schedule_type == 1){
5980 5981
                           if(this.org_id == 10206  || this.org_id == 0 || this.org_id == 10598) {
5981
-                            preTime = this.record_date+ ' ' + '6:00'
5982
+                            preTime = this.record_date+ ' ' + '05:40'
5982 5983
                           }else if(this.org_id == 10721){
5983 5984
                             preTime = this.record_date+ ' ' + '05:30'
5984 5985
                           }else {
@@ -6056,7 +6057,7 @@ export default {
6056 6057
                     if(nowTime.split(" ")[0] != this.record_date){
6057 6058
                       if(this.schedule.schedule_type == 1){
6058 6059
                         if(this.org_id == 10206  || this.org_id == 0 || this.org_id == 10598) {
6059
-                          preTime = this.record_date+ ' ' + '6:00'
6060
+                          preTime = this.record_date+ ' ' + '05:40'
6060 6061
                         }else if(this.org_id == 10721){
6061 6062
                           preTime = this.record_date + ' ' + '05:30'
6062 6063