|
@@ -62,7 +62,7 @@
|
62
|
62
|
<el-table-column align="center" prop="name" label="费用分类">
|
63
|
63
|
<template slot-scope="scope">
|
64
|
64
|
<span v-if="scope.row.type == 1">
|
65
|
|
- {{getAdviceMedChrgintmType(scope.row.advice_id)}}
|
|
65
|
+ {{getAdviceMedChrgintmType(scope.row.name)}}
|
66
|
66
|
</span>
|
67
|
67
|
<span v-if="scope.row.type == 2">
|
68
|
68
|
{{getProjectMedChrgintmType(scope.row.project_id)}}
|
|
@@ -305,7 +305,7 @@ export default {
|
305
|
305
|
order_info[i].med_chrgitm_type = this.getType(order_info[i].med_chrgitm_type)
|
306
|
306
|
order_info[i].chrgitm_lv = this.getMedicineInsuranceType(order_info[i].chrgitm_lv)
|
307
|
307
|
}
|
308
|
|
-
|
|
308
|
+ console.log("order_info32323232323232233232323232",order_info)
|
309
|
309
|
this.order_info_list = order_info
|
310
|
310
|
var prescription = response.data.data.prescription
|
311
|
311
|
|
|
@@ -862,7 +862,9 @@ export default {
|
862
|
862
|
for(let i=0;i<this.tableList.length;i++){
|
863
|
863
|
this.tableList[i].index = i + 1
|
864
|
864
|
}
|
865
|
|
- this.tableList.push(objOne)
|
|
865
|
+ this.tableList.push(objOne)
|
|
866
|
+
|
|
867
|
+ console.log("hh2323323232322323233223",this.tableList)
|
866
|
868
|
},
|
867
|
869
|
|
868
|
870
|
getTotalPrice(val){
|
|
@@ -872,10 +874,10 @@ export default {
|
872
|
874
|
}
|
873
|
875
|
return total_price.toFixed(2)
|
874
|
876
|
},
|
875
|
|
- getAdviceMedChrgintmType(advice_id){
|
|
877
|
+ getAdviceMedChrgintmType(name){
|
876
|
878
|
var med_chrgitm_type = ""
|
877
|
879
|
for(let i=0;i<this.order_info_list.length;i++){
|
878
|
|
- if(advice_id == this.order_info_list[i].advice_id){
|
|
880
|
+ if(name == this.order_info_list[i].advice.advice_name){
|
879
|
881
|
med_chrgitm_type = this.order_info_list[i].med_chrgitm_type
|
880
|
882
|
}
|
881
|
883
|
}
|
|
@@ -921,7 +923,7 @@ export default {
|
921
|
923
|
var total_price = 0
|
922
|
924
|
for(let i=0;i<this.tableList.length;i++){
|
923
|
925
|
if(this.tableList[i].advice_id > 0){
|
924
|
|
- this.tableList[i].drug_type = this.getAdviceMedChrgintmType(this.tableList[i].advice_id)
|
|
926
|
+ this.tableList[i].drug_type = this.getAdviceMedChrgintmType(this.tableList[i].name)
|
925
|
927
|
}
|
926
|
928
|
if(this.tableList[i].project_id > 0){
|
927
|
929
|
this.tableList[i].drug_type = this.getProjectMedChrgintmType(this.tableList[i].project_id)
|