This commit is contained in:
cun-nan 2024-09-29 15:36:53 +08:00
parent cc621ac5a2
commit 298fa3037b
4 changed files with 44 additions and 31 deletions

View File

@ -33,7 +33,7 @@
<view class="leftIput">
<input style="width: 100%;" v-model="oilOrder.amount" type="text" placeholder="请输入金额" />
</view>
<view class="rr_box">{{oilOrder.oilNum}}L</view>
<view class="rr_box">{{oilOrder.oilNum || 0}}L</view>
</view>
<view class="title_">
付款备注

View File

@ -103,7 +103,7 @@
</view>
<u-icon name="arrow-right" color="#333"></u-icon>
</view>
<view class="g-box">
<view class="g-box" @click="goZJ()">
<view class="d-s">
<image src="../../static/my/fleetAmount.png" style="width: 20px; height: 20px;margin-right: 5px; ">
</image>
@ -241,7 +241,7 @@
},
goZJ(){
uni.navigateTo({
url:'/pagesMy/fleetInfo/fund'
url:'/pagesMy/fleetInfo/fund?fleetId='+this.fleetId
})
},
//

View File

@ -3,18 +3,22 @@
<view class="container">
<view class="box_f">
<view class="box_top">
<view class="">订单号xxxxxxxxxxxxxxxxxxxx</view>
<view class="">未使用</view>
<view class="">订单号{{orderInfo.orderNumber}}</view>
<view class="">{{orderInfo.orderStatus}}</view>
</view>
<view class="box_cont">
<view class="">
<image src="../../static/logo.png" style="width: 60px; height: 60px; "></image>
<image :src="baseUrl+orderInfo.coverImage" v-if="orderInfo.coverImage" style="width: 60px; height: 60px; "></image>
<image src="../../static/logo.png" v-else style="width: 60px; height: 60px; "></image>
</view>
<view class="r-bas">
<view style="font-size: 16px;color: #333333; margin-bottom: 5px;">虚拟产品</view>
<view class="">x1</view>
<view style="font-size: 16px;color: #333333; margin-bottom: 5px;">{{orderInfo. giftName}}</view>
<view class="">x{{orderInfo.exchangeQuantity || 0}}</view>
<view class="b-bs">
<view class="size1">实付 <text style="color: #E02020;">100积分</text> </view>
<view class="size1">
实付 <text style="color: #E02020;">{{orderInfo.integral}}积分</text>
<text style="color: #E02020;" v-if="orderInfo.amount">+{{orderInfo.amount}}</text>
</view>
</view>
</view>
@ -32,53 +36,53 @@
<view class="title_">自提信息</view>
<view class="b-s">
<view class="">油站名称</view>
<view class="">中建锦绣二期站</view>
<view class="">{{orderInfo.storeName}}</view>
</view>
<view class="b-s">
<view class="">油站地址</view>
<view class="">济南市槐荫区xxxxxx</view>
<view class="">{{orderInfo.storeAddress}}</view>
</view>
<view class="b-s">
<view class="">预留信息</view>
<view class="">张三 13964068390</view>
<view class="">{{orderInfo.addrName}} {{orderInfo.addrMobile}}</view>
</view>
</view>
<view class="box_" style="font-size: 14px;">
<view class="title_">金额信息</view>
<view class="b-s">
<view class="">订单金额</view>
<view class="r-size">0.00</view>
<view class="r-size">{{orderInfo.amount || 0}}</view>
</view>
<view class="b-s">
<view class="">订单积分</view>
<view class="r-size">100积分</view>
<view class="r-size">{{orderInfo.integral || 0}}积分</view>
</view>
<view class="b-s">
<view class="">1件商品</view>
<view class="r-size">实付100积分</view>
<view class="">{{orderInfo.exchangeQuantity}}件商品</view>
<view class="r-size">实付{{orderInfo.integral || 0}}积分</view>
</view>
</view>
<view class="box_" style="font-size: 14px;">
<view class="title_">订单信息</view>
<view class="b-s">
<view class="">订单编号</view>
<view class="">xxxxxxxxxxxxxxxxxxxx</view>
<view class="">{{orderInfo.orderNumber}}</view>
</view>
<view class="b-s">
<view class="">下单油站</view>
<view class="">中建锦绣二期站</view>
<view class="">{{orderInfo.storeName}}</view>
</view>
<view class="b-s">
<view class="">下单时间</view>
<view class="">2024-08-09 10:44:02</view>
<view class="">{{orderInfo.createTime}}</view>
</view>
<view class="b-s">
<view class="">支付方式</view>
<view class="">微信</view>
<view class="">{{orderInfo.paymentType}}</view>
</view>
<view class="b-s">
<view class="">支付时间</view>
<view class="">2024-08-09 10:45:02</view>
<view class="">{{orderInfo.createTime}}</view>
</view>
</view>
@ -87,11 +91,13 @@
</template>
<script>
import config from '@/config'
import request from '../../utils/request';
export default {
data() {
return {
title: '',
baseUrl: config.baseUrl,
List: [],
pageNo: 1,
pageSize: 10,
@ -100,7 +106,8 @@
code: 'https://qm.qq.com/cgi-bin/qm/qr?k=LKqML292dD2WvwQfAJXBUmvgbiB_TZWF&noverify=0', //
size: 300, // 460460rpx
},
orderId:'',
orderId: '',
orderInfo: {}
}
},
onPullDownRefresh() {
@ -110,28 +117,28 @@
onReachBottom() {
//
if (this.pageNo >= this.totalPage) {
} else {
this.pageNo++
}
},
onLoad(e) {
this.orderId = e.orderId
this.getInfo()
},
components: {
},
methods: {
getInfo(){
getInfo() {
request({
url: 'business/integral/integralOrders/queryByPageUni',
url: 'business/integral/integralOrders/' + this.orderId,
method: 'get',
params: this.query
}).then((res) => {
if (res.code == 200) {
console.log(res, 132);
this.orderInfo = res.data
}
})
},
@ -238,4 +245,4 @@
.r-size {
color: #E02020;
}
</style>
</style>

View File

@ -153,9 +153,15 @@
startTime: ""
},
pointsList: [],
total: 0
total: 0,
fleetId:'',
storeId:''
}
},
onLoad(e) {
this.fleetId = e.fleetId
this.storeId = uni.getStorageSync("storeId")
},
onShow() {
this.query.chainStoreId = uni.getStorageSync('chainStoreId');
this.getUserBalance()