|
@@ -8,7 +8,9 @@
|
8
|
8
|
<div class="listTitle_1">{{$store.getters.xt_user.org.org_name}}发票联<span>收</span></div>
|
9
|
9
|
<div class="listInfo">
|
10
|
10
|
<div>收费日期:{{this.$route.query.end_time}}</div>
|
11
|
|
- <div style="width:400px">发票代码:</div>
|
|
11
|
+ <div style="width:400px">发票代码:
|
|
12
|
+ <span v-if="order!=undefined && order.length > 0">{{order[0].fa_piao_code}}</span>
|
|
13
|
+ </div>
|
12
|
14
|
</div>
|
13
|
15
|
<table class="listTable" table border rules=none cellspacing=0 align=center>
|
14
|
16
|
<tr>
|
|
@@ -17,7 +19,10 @@
|
17
|
19
|
<td></td>
|
18
|
20
|
</tr>
|
19
|
21
|
<tr>
|
20
|
|
- <td>费用类别:</td>
|
|
22
|
+ <td>费用类别:
|
|
23
|
+ <span v-if="balanceAccountsType == 2">自费</span>
|
|
24
|
+ <span v-if="balanceAccountsType != 2">医保</span>
|
|
25
|
+ </td>
|
21
|
26
|
<td>金额(元):{{getAllPice()}}</td>
|
22
|
27
|
<td></td>
|
23
|
28
|
</tr>
|
|
@@ -47,8 +52,10 @@
|
47
|
52
|
<td>其他:{{getOtherCostTotal()}}</td>
|
48
|
53
|
</tr>
|
49
|
54
|
<tr style="border: 1px solid;">
|
50
|
|
- <td>合计金额(大写):{{smalltoBIG((getAllPiceOne() + getWesternMedicineCostTotalOne() + getChineseTraditionalMedicineCostTotalOne()+getChineseTotalOne() +getCheckCostTotalOne()+getOxygenOne() + getOperationOne()+getLaboratoryCostTotalOne()+getBloodOne()+getZhenChaCostTotalOne()+getTreatementOne()+getNursingOne()+getBedCostTotalOne()+getAnesthesiaOne()+getMaterialCostTotalOne()+getOtherCostTotalOne()).toFixed(2))}}</td>
|
51
|
|
- <td>人民币¥:{{(getAllPiceOne() + getWesternMedicineCostTotalOne() + getChineseTraditionalMedicineCostTotalOne()+getChineseTotalOne() +getCheckCostTotalOne()+getOxygenOne() + getOperationOne()+getLaboratoryCostTotalOne()+getBloodOne()+getZhenChaCostTotalOne()+getTreatementOne()+getNursingOne()+getBedCostTotalOne()+getAnesthesiaOne()+getMaterialCostTotalOne()+getOtherCostTotalOne())}}</td>
|
|
55
|
+ <td>合计金额(大写):{{smalltoBIG(getAllPice())}}</td>
|
|
56
|
+ <td>人民币¥:{{getAllPice()}}</td>
|
|
57
|
+ <!-- <td>合计金额(大写):{{smalltoBIG((getAllPiceOne() + getWesternMedicineCostTotalOne() + getChineseTraditionalMedicineCostTotalOne()+getChineseTotalOne() +getCheckCostTotalOne()+getOxygenOne() + getOperationOne()+getLaboratoryCostTotalOne()+getBloodOne()+getZhenChaCostTotalOne()+getTreatementOne()+getNursingOne()+getBedCostTotalOne()+getAnesthesiaOne()+getMaterialCostTotalOne()+getOtherCostTotalOne()).toFixed(2))}}</td>
|
|
58
|
+ <td>人民币¥:{{(getAllPiceOne() + getWesternMedicineCostTotalOne() + getChineseTraditionalMedicineCostTotalOne()+getChineseTotalOne() +getCheckCostTotalOne()+getOxygenOne() + getOperationOne()+getLaboratoryCostTotalOne()+getBloodOne()+getZhenChaCostTotalOne()+getTreatementOne()+getNursingOne()+getBedCostTotalOne()+getAnesthesiaOne()+getMaterialCostTotalOne()+getOtherCostTotalOne())}}</td> -->
|
52
|
59
|
<td></td>
|
53
|
60
|
</tr>
|
54
|
61
|
<tr style="height: 65px;">
|
|
@@ -62,7 +69,7 @@
|
62
|
69
|
收款单位(章):
|
63
|
70
|
</div>
|
64
|
71
|
<div style="width:300px">
|
65
|
|
- 收费员:
|
|
72
|
+ 收费员:{{getAdminRole(admin_user_id)}}
|
66
|
73
|
</div>
|
67
|
74
|
<div style="width:300px">
|
68
|
75
|
{{printDate}}
|
|
@@ -98,6 +105,7 @@
|
98
|
105
|
order_info_list:[],
|
99
|
106
|
balanceAccountsType:0,
|
100
|
107
|
medicalInsuranceLevelList:[],
|
|
108
|
+ balanceAccountsType:0,
|
101
|
109
|
}
|
102
|
110
|
},
|
103
|
111
|
methods:{
|
|
@@ -743,10 +751,10 @@
|
743
|
751
|
}
|
744
|
752
|
return total_price.toFixed(2)
|
745
|
753
|
},
|
746
|
|
- getAdviceMedChrgintmType(advice_id){
|
|
754
|
+ getAdviceMedChrgintmType(name){
|
747
|
755
|
var med_chrgitm_type = ""
|
748
|
756
|
for(let i=0;i<this.order_info_list.length;i++){
|
749
|
|
- if(advice_id == this.order_info_list[i].advice_id){
|
|
757
|
+ if(name == this.order_info_list[i].advice.advice_name){
|
750
|
758
|
med_chrgitm_type = this.order_info_list[i].med_chrgitm_type
|
751
|
759
|
}
|
752
|
760
|
}
|
|
@@ -792,7 +800,7 @@
|
792
|
800
|
var total_price = 0
|
793
|
801
|
for(let i=0;i<this.tableList.length;i++){
|
794
|
802
|
if(this.tableList[i].advice_id > 0){
|
795
|
|
- this.tableList[i].drug_type = this.getAdviceMedChrgintmType(this.tableList[i].advice_id)
|
|
803
|
+ this.tableList[i].drug_type = this.getAdviceMedChrgintmType(this.tableList[i].name)
|
796
|
804
|
}
|
797
|
805
|
if(this.tableList[i].project_id > 0){
|
798
|
806
|
this.tableList[i].drug_type = this.getProjectMedChrgintmType(this.tableList[i].project_id)
|
|
@@ -808,7 +816,7 @@
|
808
|
816
|
var total_price = 0
|
809
|
817
|
for(let i=0;i<this.tableList.length;i++){
|
810
|
818
|
if(this.tableList[i].advice_id > 0){
|
811
|
|
- this.tableList[i].drug_type = this.getAdviceMedChrgintmType(this.tableList[i].advice_id)
|
|
819
|
+ this.tableList[i].drug_type = this.getAdviceMedChrgintmType(this.tableList[i].name)
|
812
|
820
|
}
|
813
|
821
|
if(this.tableList[i].project_id > 0){
|
814
|
822
|
this.tableList[i].drug_type = this.getProjectMedChrgintmType(this.tableList[i].project_id)
|
|
@@ -824,7 +832,7 @@
|
824
|
832
|
var total_price = 0
|
825
|
833
|
for(let i=0;i<this.tableList.length;i++){
|
826
|
834
|
if(this.tableList[i].advice_id > 0){
|
827
|
|
- this.tableList[i].drug_type = this.getAdviceMedChrgintmType(this.tableList[i].advice_id)
|
|
835
|
+ this.tableList[i].drug_type = this.getAdviceMedChrgintmType(this.tableList[i].name)
|
828
|
836
|
}
|
829
|
837
|
if(this.tableList[i].project_id > 0){
|
830
|
838
|
this.tableList[i].drug_type = this.getProjectMedChrgintmType(this.tableList[i].project_id)
|
|
@@ -840,7 +848,7 @@
|
840
|
848
|
var total_price = 0
|
841
|
849
|
for(let i=0;i<this.tableList.length;i++){
|
842
|
850
|
if(this.tableList[i].advice_id > 0){
|
843
|
|
- this.tableList[i].drug_type = this.getAdviceMedChrgintmType(this.tableList[i].advice_id)
|
|
851
|
+ this.tableList[i].drug_type = this.getAdviceMedChrgintmType(this.tableList[i].name)
|
844
|
852
|
}
|
845
|
853
|
if(this.tableList.project_id > 0){
|
846
|
854
|
this.tableList[i].drug_type = this.getProjectMedChrgintmType(this.tableList[i].project_id)
|
|
@@ -856,7 +864,7 @@
|
856
|
864
|
var total_price = 0
|
857
|
865
|
for(let i=0;i<this.tableList.length;i++){
|
858
|
866
|
if(this.tableList[i].advice_id > 0){
|
859
|
|
- this.tableList[i].drug_type = this.getAdviceMedChrgintmType(this.tableList[i].advice_id)
|
|
867
|
+ this.tableList[i].drug_type = this.getAdviceMedChrgintmType(this.tableList[i].name)
|
860
|
868
|
}
|
861
|
869
|
if(this.tableList[i].project_id > 0){
|
862
|
870
|
this.tableList[i].drug_type = this.getProjectMedChrgintmType(this.tableList[i].project_id)
|
|
@@ -872,7 +880,7 @@
|
872
|
880
|
var total_price = 0
|
873
|
881
|
for(let i=0;i<this.tableList.length;i++){
|
874
|
882
|
if(this.tableList[i].advice_id > 0){
|
875
|
|
- this.tableList[i].drug_type = this.getAdviceMedChrgintmType(this.tableList[i].advice_id)
|
|
883
|
+ this.tableList[i].drug_type = this.getAdviceMedChrgintmType(this.tableList[i].name)
|
876
|
884
|
}
|
877
|
885
|
if(this.tableList.project_id > 0){
|
878
|
886
|
this.tableList[i].drug_type = this.getProjectMedChrgintmType(this.tableList[i].project_id)
|
|
@@ -888,7 +896,7 @@
|
888
|
896
|
var total_price = 0
|
889
|
897
|
for(let i=0;i<this.tableList.length;i++){
|
890
|
898
|
if(this.tableList[i].advice_id > 0){
|
891
|
|
- this.tableList[i].drug_type = this.getAdviceMedChrgintmType(this.tableList[i].advice_id)
|
|
899
|
+ this.tableList[i].drug_type = this.getAdviceMedChrgintmType(this.tableList[i].name)
|
892
|
900
|
}
|
893
|
901
|
if(this.tableList[i].project_id > 0){
|
894
|
902
|
this.tableList[i].drug_type = this.getProjectMedChrgintmType(this.tableList[i].project_id)
|
|
@@ -905,7 +913,7 @@
|
905
|
913
|
var total_price = 0
|
906
|
914
|
for(let i=0;i<this.tableList.length;i++){
|
907
|
915
|
if(this.tableList[i].advice_id > 0){
|
908
|
|
- this.tableList[i].drug_type = this.getAdviceMedChrgintmType(this.tableList[i].advice_id)
|
|
916
|
+ this.tableList[i].drug_type = this.getAdviceMedChrgintmType(this.tableList[i].name)
|
909
|
917
|
}
|
910
|
918
|
if(this.tableList[i].project_id > 0){
|
911
|
919
|
this.tableList[i].drug_type = this.getProjectMedChrgintmType(this.tableList[i].project_id)
|
|
@@ -921,7 +929,7 @@
|
921
|
929
|
var total_price = 0
|
922
|
930
|
for(let i=0;i<this.tableList.length;i++){
|
923
|
931
|
if(this.tableList[i].advice_id > 0){
|
924
|
|
- this.tableList[i].drug_type = this.getAdviceMedChrgintmType(this.tableList[i].advice_id)
|
|
932
|
+ this.tableList[i].drug_type = this.getAdviceMedChrgintmType(this.tableList[i].name)
|
925
|
933
|
}
|
926
|
934
|
if(this.tableList[i].project_id > 0){
|
927
|
935
|
this.tableList[i].drug_type = this.getProjectMedChrgintmType(this.tableList[i].project_id)
|
|
@@ -937,7 +945,7 @@
|
937
|
945
|
var total_price = 0
|
938
|
946
|
for(let i=0;i<this.tableList.length;i++){
|
939
|
947
|
if(this.tableList[i].advice_id > 0){
|
940
|
|
- this.tableList[i].drug_type = this.getAdviceMedChrgintmType(this.tableList[i].advice_id)
|
|
948
|
+ this.tableList[i].drug_type = this.getAdviceMedChrgintmType(this.tableList[i].name)
|
941
|
949
|
}
|
942
|
950
|
if(this.tableList[i].project_id > 0){
|
943
|
951
|
this.tableList[i].drug_type = this.getProjectMedChrgintmType(this.tableList[i].project_id)
|
|
@@ -954,7 +962,7 @@
|
954
|
962
|
var total_price = 0
|
955
|
963
|
for(let i=0;i<this.tableList.length;i++){
|
956
|
964
|
if(this.tableList[i].advice_id > 0){
|
957
|
|
- this.tableList[i].drug_type = this.getAdviceMedChrgintmType(this.tableList[i].advice_id)
|
|
965
|
+ this.tableList[i].drug_type = this.getAdviceMedChrgintmType(this.tableList[i].name)
|
958
|
966
|
}
|
959
|
967
|
if(this.tableList[i].project_id > 0){
|
960
|
968
|
this.tableList[i].drug_type = this.getProjectMedChrgintmType(this.tableList[i].project_id)
|
|
@@ -970,7 +978,7 @@
|
970
|
978
|
var total_price = 0
|
971
|
979
|
for(let i=0;i<this.tableList.length;i++){
|
972
|
980
|
if(this.tableList[i].advice_id > 0){
|
973
|
|
- this.tableList[i].drug_type = this.getAdviceMedChrgintmType(this.tableList[i].advice_id)
|
|
981
|
+ this.tableList[i].drug_type = this.getAdviceMedChrgintmType(this.tableList[i].name)
|
974
|
982
|
}
|
975
|
983
|
if(this.tableList[i].project_id > 0){
|
976
|
984
|
this.tableList[i].drug_type = this.getProjectMedChrgintmType(this.tableList[i].project_id)
|
|
@@ -986,7 +994,7 @@
|
986
|
994
|
var total_price = 0
|
987
|
995
|
for(let i=0;i<this.tableList.length;i++){
|
988
|
996
|
if(this.tableList[i].advice_id > 0){
|
989
|
|
- this.tableList[i].drug_type = this.getAdviceMedChrgintmType(this.tableList[i].advice_id)
|
|
997
|
+ this.tableList[i].drug_type = this.getAdviceMedChrgintmType(this.tableList[i].name)
|
990
|
998
|
}
|
991
|
999
|
if(this.tableList[i].project_id > 0){
|
992
|
1000
|
this.tableList[i].drug_type = this.getProjectMedChrgintmType(this.tableList[i].project_id)
|
|
@@ -1002,7 +1010,7 @@
|
1002
|
1010
|
var total_price = 0
|
1003
|
1011
|
for(let i=0;i<this.tableList.length;i++){
|
1004
|
1012
|
if(this.tableList[i].advice_id > 0){
|
1005
|
|
- this.tableList[i].drug_type = this.getAdviceMedChrgintmType(this.tableList[i].advice_id)
|
|
1013
|
+ this.tableList[i].drug_type = this.getAdviceMedChrgintmType(this.tableList[i].name)
|
1006
|
1014
|
}
|
1007
|
1015
|
if(this.tableList[i].project_id > 0){
|
1008
|
1016
|
this.tableList[i].drug_type = this.getProjectMedChrgintmType(this.tableList[i].project_id)
|
|
@@ -1018,7 +1026,7 @@
|
1018
|
1026
|
var total_price = 0
|
1019
|
1027
|
for(let i=0;i<this.tableList.length;i++){
|
1020
|
1028
|
if(this.tableList[i].advice_id > 0){
|
1021
|
|
- this.tableList[i].drug_type = this.getAdviceMedChrgintmType(this.tableList[i].advice_id)
|
|
1029
|
+ this.tableList[i].drug_type = this.getAdviceMedChrgintmType(this.tableList[i].name)
|
1022
|
1030
|
}
|
1023
|
1031
|
if(this.tableList[i].project_id > 0){
|
1024
|
1032
|
this.tableList[i].drug_type = this.getProjectMedChrgintmType(this.tableList[i].project_id)
|
|
@@ -1040,7 +1048,7 @@
|
1040
|
1048
|
var total_price = 0
|
1041
|
1049
|
for(let i=0;i<this.tableList.length;i++){
|
1042
|
1050
|
if(this.tableList[i].advice_id > 0){
|
1043
|
|
- this.tableList[i].drug_type = this.getAdviceMedChrgintmType(this.tableList[i].advice_id)
|
|
1051
|
+ this.tableList[i].drug_type = this.getAdviceMedChrgintmType(this.tableList[i].name)
|
1044
|
1052
|
}
|
1045
|
1053
|
if(this.tableList[i].project_id > 0){
|
1046
|
1054
|
this.tableList[i].drug_type = this.getProjectMedChrgintmType(this.tableList[i].project_id)
|
|
@@ -1056,7 +1064,7 @@
|
1056
|
1064
|
var total_price = 0
|
1057
|
1065
|
for(let i=0;i<this.tableList.length;i++){
|
1058
|
1066
|
if(this.tableList[i].advice_id > 0){
|
1059
|
|
- this.tableList[i].drug_type = this.getAdviceMedChrgintmType(this.tableList[i].advice_id)
|
|
1067
|
+ this.tableList[i].drug_type = this.getAdviceMedChrgintmType(this.tableList[i].name)
|
1060
|
1068
|
}
|
1061
|
1069
|
if(this.tableList[i].project_id > 0){
|
1062
|
1070
|
this.tableList[i].drug_type = this.getProjectMedChrgintmType(this.tableList[i].project_id)
|
|
@@ -1072,7 +1080,7 @@
|
1072
|
1080
|
var total_price = 0
|
1073
|
1081
|
for(let i=0;i<this.tableList.length;i++){
|
1074
|
1082
|
if(this.tableList[i].advice_id > 0){
|
1075
|
|
- this.tableList[i].drug_type = this.getAdviceMedChrgintmType(this.tableList[i].advice_id)
|
|
1083
|
+ this.tableList[i].drug_type = this.getAdviceMedChrgintmType(this.tableList[i].name)
|
1076
|
1084
|
}
|
1077
|
1085
|
if(this.tableList[i].project_id > 0){
|
1078
|
1086
|
this.tableList[i].drug_type = this.getProjectMedChrgintmType(this.tableList[i].project_id)
|
|
@@ -1088,7 +1096,7 @@
|
1088
|
1096
|
var total_price = 0
|
1089
|
1097
|
for(let i=0;i<this.tableList.length;i++){
|
1090
|
1098
|
if(this.tableList[i].advice_id > 0){
|
1091
|
|
- this.tableList[i].drug_type = this.getAdviceMedChrgintmType(this.tableList[i].advice_id)
|
|
1099
|
+ this.tableList[i].drug_type = this.getAdviceMedChrgintmType(this.tableList[i].name)
|
1092
|
1100
|
}
|
1093
|
1101
|
if(this.tableList.project_id > 0){
|
1094
|
1102
|
this.tableList[i].drug_type = this.getProjectMedChrgintmType(this.tableList[i].project_id)
|
|
@@ -1104,7 +1112,7 @@
|
1104
|
1112
|
var total_price = 0
|
1105
|
1113
|
for(let i=0;i<this.tableList.length;i++){
|
1106
|
1114
|
if(this.tableList[i].advice_id > 0){
|
1107
|
|
- this.tableList[i].drug_type = this.getAdviceMedChrgintmType(this.tableList[i].advice_id)
|
|
1115
|
+ this.tableList[i].drug_type = this.getAdviceMedChrgintmType(this.tableList[i].name)
|
1108
|
1116
|
}
|
1109
|
1117
|
if(this.tableList[i].project_id > 0){
|
1110
|
1118
|
this.tableList[i].drug_type = this.getProjectMedChrgintmType(this.tableList[i].project_id)
|
|
@@ -1120,7 +1128,7 @@
|
1120
|
1128
|
var total_price = 0
|
1121
|
1129
|
for(let i=0;i<this.tableList.length;i++){
|
1122
|
1130
|
if(this.tableList[i].advice_id > 0){
|
1123
|
|
- this.tableList[i].drug_type = this.getAdviceMedChrgintmType(this.tableList[i].advice_id)
|
|
1131
|
+ this.tableList[i].drug_type = this.getAdviceMedChrgintmType(this.tableList[i].name)
|
1124
|
1132
|
}
|
1125
|
1133
|
if(this.tableList.project_id > 0){
|
1126
|
1134
|
this.tableList[i].drug_type = this.getProjectMedChrgintmType(this.tableList[i].project_id)
|
|
@@ -1136,7 +1144,7 @@
|
1136
|
1144
|
var total_price = 0
|
1137
|
1145
|
for(let i=0;i<this.tableList.length;i++){
|
1138
|
1146
|
if(this.tableList[i].advice_id > 0){
|
1139
|
|
- this.tableList[i].drug_type = this.getAdviceMedChrgintmType(this.tableList[i].advice_id)
|
|
1147
|
+ this.tableList[i].drug_type = this.getAdviceMedChrgintmType(this.tableList[i].name)
|
1140
|
1148
|
}
|
1141
|
1149
|
if(this.tableList[i].project_id > 0){
|
1142
|
1150
|
this.tableList[i].drug_type = this.getProjectMedChrgintmType(this.tableList[i].project_id)
|
|
@@ -1153,7 +1161,7 @@
|
1153
|
1161
|
var total_price = 0
|
1154
|
1162
|
for(let i=0;i<this.tableList.length;i++){
|
1155
|
1163
|
if(this.tableList[i].advice_id > 0){
|
1156
|
|
- this.tableList[i].drug_type = this.getAdviceMedChrgintmType(this.tableList[i].advice_id)
|
|
1164
|
+ this.tableList[i].drug_type = this.getAdviceMedChrgintmType(this.tableList[i].name)
|
1157
|
1165
|
}
|
1158
|
1166
|
if(this.tableList[i].project_id > 0){
|
1159
|
1167
|
this.tableList[i].drug_type = this.getProjectMedChrgintmType(this.tableList[i].project_id)
|
|
@@ -1169,7 +1177,7 @@
|
1169
|
1177
|
var total_price = 0
|
1170
|
1178
|
for(let i=0;i<this.tableList.length;i++){
|
1171
|
1179
|
if(this.tableList[i].advice_id > 0){
|
1172
|
|
- this.tableList[i].drug_type = this.getAdviceMedChrgintmType(this.tableList[i].advice_id)
|
|
1180
|
+ this.tableList[i].drug_type = this.getAdviceMedChrgintmType(this.tableList[i].name)
|
1173
|
1181
|
}
|
1174
|
1182
|
if(this.tableList[i].project_id > 0){
|
1175
|
1183
|
this.tableList[i].drug_type = this.getProjectMedChrgintmType(this.tableList[i].project_id)
|
|
@@ -1185,7 +1193,7 @@
|
1185
|
1193
|
var total_price = 0
|
1186
|
1194
|
for(let i=0;i<this.tableList.length;i++){
|
1187
|
1195
|
if(this.tableList[i].advice_id > 0){
|
1188
|
|
- this.tableList[i].drug_type = this.getAdviceMedChrgintmType(this.tableList[i].advice_id)
|
|
1196
|
+ this.tableList[i].drug_type = this.getAdviceMedChrgintmType(this.tableList[i].name)
|
1189
|
1197
|
}
|
1190
|
1198
|
if(this.tableList[i].project_id > 0){
|
1191
|
1199
|
this.tableList[i].drug_type = this.getProjectMedChrgintmType(this.tableList[i].project_id)
|
|
@@ -1202,7 +1210,7 @@
|
1202
|
1210
|
var total_price = 0
|
1203
|
1211
|
for(let i=0;i<this.tableList.length;i++){
|
1204
|
1212
|
if(this.tableList[i].advice_id > 0){
|
1205
|
|
- this.tableList[i].drug_type = this.getAdviceMedChrgintmType(this.tableList[i].advice_id)
|
|
1213
|
+ this.tableList[i].drug_type = this.getAdviceMedChrgintmType(this.tableList[i].name)
|
1206
|
1214
|
}
|
1207
|
1215
|
if(this.tableList[i].project_id > 0){
|
1208
|
1216
|
this.tableList[i].drug_type = this.getProjectMedChrgintmType(this.tableList[i].project_id)
|
|
@@ -1218,7 +1226,7 @@
|
1218
|
1226
|
var total_price = 0
|
1219
|
1227
|
for(let i=0;i<this.tableList.length;i++){
|
1220
|
1228
|
if(this.tableList[i].advice_id > 0){
|
1221
|
|
- this.tableList[i].drug_type = this.getAdviceMedChrgintmType(this.tableList[i].advice_id)
|
|
1229
|
+ this.tableList[i].drug_type = this.getAdviceMedChrgintmType(this.tableList[i].name)
|
1222
|
1230
|
}
|
1223
|
1231
|
if(this.tableList[i].project_id > 0){
|
1224
|
1232
|
this.tableList[i].drug_type = this.getProjectMedChrgintmType(this.tableList[i].project_id)
|
|
@@ -1234,7 +1242,7 @@
|
1234
|
1242
|
var total_price = 0
|
1235
|
1243
|
for(let i=0;i<this.tableList.length;i++){
|
1236
|
1244
|
if(this.tableList[i].advice_id > 0){
|
1237
|
|
- this.tableList[i].drug_type = this.getAdviceMedChrgintmType(this.tableList[i].advice_id)
|
|
1245
|
+ this.tableList[i].drug_type = this.getAdviceMedChrgintmType(this.tableList[i].name)
|
1238
|
1246
|
}
|
1239
|
1247
|
if(this.tableList[i].project_id > 0){
|
1240
|
1248
|
this.tableList[i].drug_type = this.getProjectMedChrgintmType(this.tableList[i].project_id)
|
|
@@ -1250,7 +1258,7 @@
|
1250
|
1258
|
var total_price = 0
|
1251
|
1259
|
for(let i=0;i<this.tableList.length;i++){
|
1252
|
1260
|
if(this.tableList[i].advice_id > 0){
|
1253
|
|
- this.tableList[i].drug_type = this.getAdviceMedChrgintmType(this.tableList[i].advice_id)
|
|
1261
|
+ this.tableList[i].drug_type = this.getAdviceMedChrgintmType(this.tableList[i].name)
|
1254
|
1262
|
}
|
1255
|
1263
|
if(this.tableList[i].project_id > 0){
|
1256
|
1264
|
this.tableList[i].drug_type = this.getProjectMedChrgintmType(this.tableList[i].project_id)
|
|
@@ -1266,7 +1274,7 @@
|
1266
|
1274
|
var total_price = 0
|
1267
|
1275
|
for(let i=0;i<this.tableList.length;i++){
|
1268
|
1276
|
if(this.tableList[i].advice_id > 0){
|
1269
|
|
- this.tableList[i].drug_type = this.getAdviceMedChrgintmType(this.tableList[i].advice_id)
|
|
1277
|
+ this.tableList[i].drug_type = this.getAdviceMedChrgintmType(this.tableList[i].name)
|
1270
|
1278
|
}
|
1271
|
1279
|
if(this.tableList[i].project_id > 0){
|
1272
|
1280
|
this.tableList[i].drug_type = this.getProjectMedChrgintmType(this.tableList[i].project_id)
|
|
@@ -1277,14 +1285,25 @@
|
1277
|
1285
|
}
|
1278
|
1286
|
|
1279
|
1287
|
return total_price
|
|
1288
|
+ },
|
|
1289
|
+ getAdminRole(admin_user_id){
|
|
1290
|
+ var user_name = ""
|
|
1291
|
+ for(let i=0;i<this.admin.length;i++){
|
|
1292
|
+ if(admin_user_id == this.admin[i].admin_user_id){
|
|
1293
|
+ user_name = this.admin[i].user_name
|
|
1294
|
+ }
|
|
1295
|
+ }
|
|
1296
|
+ return user_name
|
1280
|
1297
|
}
|
1281
|
1298
|
},
|
1282
|
1299
|
created(){
|
|
1300
|
+ this.admin_user_id = this.$store.getters.xt_user.user.id
|
|
1301
|
+ console.log("admin_user_id23323232323",this.admin_user_id)
|
1283
|
1302
|
this.getGatherDetailList()
|
1284
|
1303
|
var data = new Date();
|
1285
|
1304
|
var month =data.getMonth() < 9 ? "0" + (data.getMonth() + 1) : data.getMonth() + 1;
|
1286
|
1305
|
var date = data.getDate() <= 9 ? "0" + data.getDate() : data.getDate();
|
1287
|
|
- this.printDate = data.getFullYear() + "-" + month + "-" + date;
|
|
1306
|
+ this.printDate = data.getFullYear() + "年" + month + "月" + date+"日";
|
1288
|
1307
|
}
|
1289
|
1308
|
|
1290
|
1309
|
}
|