|
|
@@ -1,13 +1,16 @@
|
|
|
<template>
|
|
|
<view @click="pageTo({url:'/pagesOrder/detail',query: {id: item.id}})">
|
|
|
- <view class="order-top_box">
|
|
|
-
|
|
|
- <image style="width: 38upx;height:38upx;border-radius:38upx;" mode="aspectFit" :src="item.customAvatarUrl"></image>
|
|
|
+ <view class="order-top_box" style="position:relative;">
|
|
|
+
|
|
|
+ <image style="width:105upx;position:absolute;top:80upx;right:12upx;" v-if="item.status == 1"
|
|
|
+ @click.stop="pageTo({url:'/admin/billing/toPay',query: {orderId:item.id,orderSn:item.orderSn,actPrice:item.actPrice}})"
|
|
|
+ mode="widthFix" :src="`${constant.imgUrl}/icon/codePay8.png`"></image>
|
|
|
|
|
|
- <view class="tit"> {{ item.customName || "" }}</view>
|
|
|
- <view class="other-refund" v-if="item.refund==2">有退款</view>
|
|
|
- <view class="other-status" v-if="item.debt == 1">欠款</view>
|
|
|
- <view :class="['status',item.status == '3' ? 'buleColor' : item.status == '6' ? 'defColor' : '']">{{ statusFormat(item.status) }}</view>
|
|
|
+ <image style="width: 38upx;height:38upx;border-radius:38upx;" mode="aspectFit" :src="item.customAvatarUrl"></image>
|
|
|
+ <view class="tit"> {{ item.customName || "" }}</view>
|
|
|
+ <view class="other-refund" v-if="item.refund==2">有退款</view>
|
|
|
+ <view class="other-status" v-if="item.debt == 1">欠款</view>
|
|
|
+ <view :class="['status',item.status == '3' ? 'buleColor' : item.status == '6' ? 'defColor' : '']">{{ statusFormat(item.status) }}</view>
|
|
|
</view>
|
|
|
<view class="order-list_info">
|
|
|
<view class="order-info_box">
|
|
|
@@ -71,7 +74,7 @@ export default {
|
|
|
statusFormat(status) {
|
|
|
switch (status) {
|
|
|
case "1":
|
|
|
- return "待确认";
|
|
|
+ return "待付款";
|
|
|
break;
|
|
|
case "2":
|
|
|
return "待配送";
|