|
@@ -66,7 +66,7 @@
|
66
|
66
|
</el-table-column>
|
67
|
67
|
<el-table-column align="center" prop="name" width="60" label="单价">
|
68
|
68
|
<template slot-scope="scope">
|
69
|
|
- <div>{{ scope.row.retail_price }}元</div>
|
|
69
|
+ <div>{{ scope.row.retail_price}}元</div>
|
70
|
70
|
|
71
|
71
|
<!--<el-input v-model="scope.row.retail_price" placeholder="" readonly></el-input>-->
|
72
|
72
|
</template>
|
|
@@ -75,9 +75,7 @@
|
75
|
75
|
<template slot-scope="scope">
|
76
|
76
|
<div>
|
77
|
77
|
{{
|
78
|
|
- (scope.row.prescribing_number * scope.row.retail_price).toFixed(
|
79
|
|
- 2
|
80
|
|
- )
|
|
78
|
+ (scope.row.prescribing_number * scope.row.retail_price).toFixed(2)
|
81
|
79
|
}}元
|
82
|
80
|
</div>
|
83
|
81
|
|
|
@@ -211,13 +209,13 @@
|
211
|
209
|
<el-table-column align="center" prop="name" width="50" label="单价">
|
212
|
210
|
<template slot-scope="scope">
|
213
|
211
|
<!--<el-input v-model="scope.row.price" placeholder="" readonly></el-input>-->
|
214
|
|
- {{ scope.row.price }}元
|
|
212
|
+ {{ scope.row.price.toFixed(2) }}元
|
215
|
213
|
</template>
|
216
|
214
|
</el-table-column>
|
217
|
215
|
|
218
|
216
|
<el-table-column align="center" prop="name" width="60" label="总价">
|
219
|
217
|
<template slot-scope="scope">
|
220
|
|
- <div>{{ (scope.row.total * scope.row.price).toFixed(2) }}元</div>
|
|
218
|
+ <div>{{ (scope.row.total * scope.row.price.toFixed(2)) }}元</div>
|
221
|
219
|
|
222
|
220
|
<!--<el-input v-model="scope.row.retail_price" placeholder="" readonly></el-input>-->
|
223
|
221
|
</template>
|