|
@@ -95,10 +95,10 @@
|
95
|
95
|
|
96
|
96
|
<el-table-column label="药品类型" align="center">
|
97
|
97
|
<template slot-scope="scope">
|
98
|
|
- <!-- <span v-if="scope.row.drug_type == 1">西药</span>
|
|
98
|
+ <span v-if="scope.row.drug_type == 1">西药</span>
|
99
|
99
|
<span v-if="scope.row.drug_type == 2">草药</span>
|
100
|
|
- <span v-if="scope.row.drug_type == 3">成药</span> -->
|
101
|
|
- {{getTypeList(scope.row.drug_type)}}
|
|
100
|
+ <span v-if="scope.row.drug_type == 3">成药</span>
|
|
101
|
+ <!-- {{getTypeList(scope.row.drug_type)}} -->
|
102
|
102
|
</template>
|
103
|
103
|
</el-table-column>
|
104
|
104
|
|
|
@@ -348,7 +348,7 @@ export default {
|
348
|
348
|
var drugInOrder = response.data.data.detail
|
349
|
349
|
var drugTypeParent = response.data.data.drugTypeParent
|
350
|
350
|
console.log("药品类型",drugTypeParent)
|
351
|
|
- this.drugTypeList = drugTypeParent
|
|
351
|
+ // this.drugTypeList = drugTypeParent
|
352
|
352
|
var total_price = 0
|
353
|
353
|
for(let i=0;i<drugInOrder.length;i++){
|
354
|
354
|
drugInOrder[i].specification_name = drugInOrder[i].dose + drugInOrder[i].dose_unit + "*" + drugInOrder[i].min_number + drugInOrder[i].min_unit + "/" + drugInOrder[i].max_unit
|