|
@@ -1,7 +1,7 @@
|
|
|
<template>
|
|
<template>
|
|
|
<ay-container :cusStyle="{ 'padding-bottom': '200rpx' }">
|
|
<ay-container :cusStyle="{ 'padding-bottom': '200rpx' }">
|
|
|
<ay-skeletons :rowList="data.rowList" :loading="data.firstUnload">
|
|
<ay-skeletons :rowList="data.rowList" :loading="data.firstUnload">
|
|
|
- <ayb-station type="2" :stationInfo="data.stationInfo" />
|
|
|
|
|
|
|
+ <ayb-station type="2" :stationInfo="computedStationInfo" />
|
|
|
<div class="chunk1">
|
|
<div class="chunk1">
|
|
|
<div>
|
|
<div>
|
|
|
<span class="mr-spacd4">加气量</span>
|
|
<span class="mr-spacd4">加气量</span>
|
|
@@ -154,6 +154,26 @@ const curPay = computed<待支付订单_可选支付方式物流支付实体类>
|
|
|
}
|
|
}
|
|
|
return rv
|
|
return rv
|
|
|
})
|
|
})
|
|
|
|
|
+const computedStationInfo = computed(() => {
|
|
|
|
|
+ const stationVo = {
|
|
|
|
|
+ platformPrice: 0,
|
|
|
|
|
+ tags: [],
|
|
|
|
|
+ }
|
|
|
|
|
+ // 这个对象肯定有值,站价格相关信息显示创建订单时的快照信息
|
|
|
|
|
+ if (data.paysel.stationVo) {
|
|
|
|
|
+ stationVo.platformPrice = data.paysel.stationVo.platformPrice
|
|
|
|
|
+ if (data.paysel.stationVo.reduceRebateStr) {
|
|
|
|
|
+ stationVo.tags.push(data.paysel.stationVo.reduceRebateStr)
|
|
|
|
|
+ }
|
|
|
|
|
+ if (data.paysel.stationVo.specialRebateStr) {
|
|
|
|
|
+ stationVo.tags.push(data.paysel.stationVo.specialRebateStr)
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+ return {
|
|
|
|
|
+ ...data.stationInfo,
|
|
|
|
|
+ ...stationVo,
|
|
|
|
|
+ }
|
|
|
|
|
+})
|
|
|
|
|
|
|
|
const methods = {
|
|
const methods = {
|
|
|
switchRebateDetail(type = 0) {
|
|
switchRebateDetail(type = 0) {
|