|
|
|
@ -1,19 +1,20 @@ |
|
|
|
|
<template> |
|
|
|
|
<view> |
|
|
|
|
<image class="headimg" src="../../../static/img/odrdes.png"></image> |
|
|
|
|
<image class="headimg" mode="aspectFill" src="../../../static/img/odrdes.png"></image> |
|
|
|
|
<view class="headsearch"> |
|
|
|
|
<view class="heads"> |
|
|
|
|
<view class="ordslef">已支付订单</view> |
|
|
|
|
<view class="ordsrig">{{oilorderdetails.payTime | timeFormat('yyyy-mm-dd hh:mm:ss')}}</view> |
|
|
|
|
<view class="ordsrig" v-if="oilorderdetails.payTime">{{oilorderdetails.payTime | timeFormat('yyyy-mm-dd hh:mm:ss')}}</view> |
|
|
|
|
</view> |
|
|
|
|
<view class="heads"> |
|
|
|
|
<view class="prices">实际支付: <text style="font-size: 16px;margin-left: 5px;"> |
|
|
|
|
¥{{oilorderdetails.payRealPrice}}</text></view> |
|
|
|
|
<view class="prices">实际支付: |
|
|
|
|
<text style="font-size: 16px;margin-left: 5px;" >¥{{oilorderdetails.payPrice || 0}}</text> |
|
|
|
|
</view> |
|
|
|
|
</view> |
|
|
|
|
<view class="line1con"></view> |
|
|
|
|
<view style="padding-top: 15px;"> |
|
|
|
|
<view class="prices">优惠立减: <text style="font-size: 16px;margin-left: 5px;"> |
|
|
|
|
¥{{oilorderdetails.deductionPrice}}</text></view> |
|
|
|
|
¥{{oilorderdetails.totalDeductionPrice || 0 }}</text></view> |
|
|
|
|
</view> |
|
|
|
|
</view> |
|
|
|
|
<view class="width92 height20 titles fcor333 font15 mart15 fontwig6"> |
|
|
|
@ -25,19 +26,19 @@ |
|
|
|
|
</view> |
|
|
|
|
<view class="width92 fcor666 font14 mart20 alijusstart"> |
|
|
|
|
<view class="width20">交易单号</view> |
|
|
|
|
<view class="width80p fotrt">{{oilorderdetails.orderNo}}</view> |
|
|
|
|
<view class="width80p fotrt">{{oilorderdetails.orderNo || ''}}</view> |
|
|
|
|
</view> |
|
|
|
|
<view class="width92 fcor666 font14 mart20 alijusstart"> |
|
|
|
|
<view class="width20">下单时间</view> |
|
|
|
|
<view class="width80p fotrt">{{oilorderdetails.createTime | timeFormat('yyyy-mm-dd hh:mm:ss')}}</view> |
|
|
|
|
<view class="width80p fotrt" v-if="oilorderdetails.createTime">{{oilorderdetails.createTime | timeFormat('yyyy-mm-dd hh:mm:ss')}}</view> |
|
|
|
|
</view> |
|
|
|
|
<view class="width92 fcor666 font14 mart20 alijusstart"> |
|
|
|
|
<view class="width20">油站名称</view> |
|
|
|
|
<view class="width80p fotrt">{{oilorderdetails.gasName}}</view> |
|
|
|
|
<view class="width80p fotrt">{{oilorderdetails.storeName || ''}}</view> |
|
|
|
|
</view> |
|
|
|
|
<view class="width92 fcor666 font14 mart20 alijusstart"> |
|
|
|
|
<view class="width20">地址</view> |
|
|
|
|
<view class="width80p fotrt">{{oilorderdetails.gasAddress}}</view> |
|
|
|
|
<view class="width80p fotrt">{{oilorderdetails.storeAddress || ''}}</view> |
|
|
|
|
</view> |
|
|
|
|
<view class="width92 line1 mart15"></view> |
|
|
|
|
<view class="width92 height20 fcor333 font15 mart20"> |
|
|
|
@ -45,19 +46,19 @@ |
|
|
|
|
</view> |
|
|
|
|
<view class="width92 fcor666 font14 mart20 alijusstart"> |
|
|
|
|
<view class="width20">油号/油枪</view> |
|
|
|
|
<view class="width80p fotrt">{{oilorderdetails.gasOilNo}}#/{{oilorderdetails.gasGunNo}}号枪</view> |
|
|
|
|
<view class="width80p fotrt" v-if="oilorderdetails.gasOilNo!= undefined">{{oilorderdetails.gasOilNo}}#/{{oilorderdetails.gasGunNo}}号枪</view> |
|
|
|
|
</view> |
|
|
|
|
<view class="width92 fcor666 font14 mart20 alijusstart"> |
|
|
|
|
<view class="width20">油站价</view> |
|
|
|
|
<view class="width80p fotrt">¥{{oilorderdetails.gasPriceGun}}</view> |
|
|
|
|
<view class="width20">油站单价</view> |
|
|
|
|
<view class="width80p fotrt">¥{{oilorderdetails.gasPriceGun || ''}}/L</view> |
|
|
|
|
</view> |
|
|
|
|
<view class="width92 fcor666 font14 mart20 alijusstart"> |
|
|
|
|
<view class="width80p">加油升数<text class="fcor999 font13">实际升数以油站加油机为准</text></view> |
|
|
|
|
<view class="width20 fotrt">{{oilorderdetails.gasOilLiters}}升</view> |
|
|
|
|
<view class="width20 fotrt" v-if="oilorderdetails.gasOilLiters!=undefined">{{oilorderdetails.gasOilLiters}}升</view> |
|
|
|
|
</view> |
|
|
|
|
<view class="width92 fcor666 font14 mart20 alijusstart"> |
|
|
|
|
<view class="width20">加油金额</view> |
|
|
|
|
<view class="width80p fotrt">¥{{oilorderdetails.totalPrice}}</view> |
|
|
|
|
<view class="width80p fotrt">¥{{oilorderdetails.gasRefuelPrice || 0}}</view> |
|
|
|
|
</view> |
|
|
|
|
<view class="width92 line1 mart15"></view> |
|
|
|
|
<view class="width92 height20 fcor333 font15 mart20"> |
|
|
|
@ -65,40 +66,36 @@ |
|
|
|
|
</view> |
|
|
|
|
<view class="width92 fcor666 font14 mart20 alijusstart"> |
|
|
|
|
<view class="width20">加油折扣</view> |
|
|
|
|
<view class="width80p fotrt" v-if="oilorderdetails.gasDiscount">¥{{oilorderdetails.gasDiscount}}</view> |
|
|
|
|
<view class="width80p fotrt" v-else>0折</view> |
|
|
|
|
<view class="width80p fotrt" >{{oilorderdetails.gasDiscount || 0}}折</view> |
|
|
|
|
</view> |
|
|
|
|
<view class="width92 fcor666 font14 mart20 alijusstart"> |
|
|
|
|
<view class="width20">加油补贴</view> |
|
|
|
|
<view class="width80p fotrt" v-if="oilorderdetails.gasOilSubsidy">¥{{oilorderdetails.gasOilSubsidy}}</view> |
|
|
|
|
<view class="width80p fotrt" v-else>¥0</view> |
|
|
|
|
<view class="width80p fotrt" >¥{{oilorderdetails.gasOilSubsidy || 0}}</view> |
|
|
|
|
</view> |
|
|
|
|
<view class="width92 fcor666 font14 mart20 alijusstart" > |
|
|
|
|
<view class="width20">每升优惠</view> |
|
|
|
|
<view class="width80p fotrt" v-if="oilorderdetails.gasLitersPreferences"> |
|
|
|
|
¥{{oilorderdetails.gasLitersPreferences}}</view> |
|
|
|
|
<view class="width80p fotrt" v-else>¥0</view> |
|
|
|
|
<view class="width80p fotrt" >¥{{oilorderdetails.gasLitersPreferences || 0}}</view> |
|
|
|
|
</view> |
|
|
|
|
<view class="width92 fcor666 font14 mart20 alijusstart" > |
|
|
|
|
<view class="width20">优惠价格</view> |
|
|
|
|
<view class="width80p fotrt" v-if="oilorderdetails.gasPricePreferences"> |
|
|
|
|
¥{{oilorderdetails.gasPricePreferences}}</view> |
|
|
|
|
<view class="width80p fotrt" v-else>¥0</view> |
|
|
|
|
<view class="width80p fotrt" >¥{{oilorderdetails.gasPricePreferences || 0}}</view> |
|
|
|
|
</view> |
|
|
|
|
<view class="width92 line1 mart15"></view> |
|
|
|
|
<view class="width92 fcor666 font18 mart20 alijusstart"> |
|
|
|
|
<view class="width50">加油实付金额</view> |
|
|
|
|
<view class="width50 fcor333 fontwig6 fotrt">¥{{oilorderdetails.payRealPrice}}</view> |
|
|
|
|
<view class="width50 fcor333 fontwig6 fotrt">¥{{oilorderdetails.payPrice}}</view> |
|
|
|
|
</view> |
|
|
|
|
<view class="width92 line1 mart15"></view> |
|
|
|
|
<view class="width92 fcor666 font16 mart20 alijusstart"> |
|
|
|
|
<view class="width50" v-if="oilorderdetails.payType == 1">支付宝支付</view> |
|
|
|
|
<view class="width50" v-if="oilorderdetails.payType == 2">微信支付</view> |
|
|
|
|
<view class="width50" v-if="oilorderdetails.payType == 3">金币支付</view> |
|
|
|
|
<view class="width50" v-if="oilorderdetails.payType == 3">积分兑换</view> |
|
|
|
|
<view class="width50" v-if="oilorderdetails.payType == 4">汇联通工会卡支付</view> |
|
|
|
|
<view class="width50" v-if="oilorderdetails.payType == 5">银联支付</view> |
|
|
|
|
<view class="width50" v-if="oilorderdetails.payType == 6">银联分期支付</view> |
|
|
|
|
<view class="width50 fotrt">¥{{oilorderdetails.payRealPrice}}</view> |
|
|
|
|
<view class="width50" v-if="oilorderdetails.payType == 7">嗨森逛个人油卡</view> |
|
|
|
|
<view class="width50" v-if="oilorderdetails.payType == 8">嗨森逛车队油卡</view> |
|
|
|
|
<view class="width50 fotrt">¥{{oilorderdetails.payPrice}}</view> |
|
|
|
|
</view> |
|
|
|
|
<view class="height40p"></view> |
|
|
|
|
</view> |
|
|
|
@ -121,7 +118,7 @@ |
|
|
|
|
}, |
|
|
|
|
methods: { |
|
|
|
|
|
|
|
|
|
啊 |
|
|
|
|
|
|
|
|
|
getGasOrderDetail() { |
|
|
|
|
uni.showLoading({ |
|
|
|
|
title: '加载中' |
|
|
|
@ -145,6 +142,7 @@ |
|
|
|
|
position: absolute; |
|
|
|
|
width: 100%; |
|
|
|
|
height: 180px; |
|
|
|
|
z-index: -1; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
.headsearch { |
|
|
|
|