|
@@ -44,15 +44,14 @@
|
|
|
</el-col>
|
|
|
<el-col :xs="12" :sm="12" :lg="6">
|
|
|
<div class="flex xiaoliang">
|
|
|
- <div style="line-height: 62px;font-size: 44px;">{{ form.cyamt}}元</div>
|
|
|
- <div style="font-size: 28px;">柴油</div>
|
|
|
+ <div style="line-height: 62px;font-size: 44px;">{{ form.qyamt }}元</div>
|
|
|
+ <div style="font-size: 28px;">汽油</div>
|
|
|
</div>
|
|
|
</el-col>
|
|
|
-
|
|
|
<el-col :xs="12" :sm="12" :lg="6">
|
|
|
<div class="flex xiaoliang">
|
|
|
- <div style="line-height: 62px;font-size: 44px;">{{ form.qyamt }}元</div>
|
|
|
- <div style="font-size: 28px;">汽油</div>
|
|
|
+ <div style="line-height: 62px;font-size: 44px;">{{ form.cyamt}}元</div>
|
|
|
+ <div style="font-size: 28px;">柴油</div>
|
|
|
</div>
|
|
|
</el-col>
|
|
|
</el-row>
|
|
@@ -479,9 +478,9 @@ export default {
|
|
|
listOilType(this.queryParams).then(response => {
|
|
|
if(response.hasOwnProperty('rows')){
|
|
|
for (let i in response.rows) {
|
|
|
- if (response.rows[i].oilType === "1") {
|
|
|
+ if (response.rows[i].oilType === "2") {
|
|
|
this.form.qyamt = response.rows[i].amt;
|
|
|
- } else if (response.rows[i].oilType === "2") {
|
|
|
+ } else if (response.rows[i].oilType === "1") {
|
|
|
this.form.cyamt = response.rows[i].amt;
|
|
|
}
|
|
|
}
|