订单跳转修改
This commit is contained in:
parent
9b6befad9c
commit
2f6ca46b15
|
@ -39,7 +39,6 @@
|
|||
暂存
|
||||
</view>
|
||||
</scroll-view>
|
||||
|
||||
</view>
|
||||
</view>
|
||||
|
||||
|
@ -111,23 +110,33 @@
|
|||
<text class="fk_status" v-if="item.order_status == 0">未支付</text>
|
||||
<text class="fk_status" v-if="item.order_status == 1">
|
||||
<view>待核销</view>
|
||||
<view style="color: #FFE4BF;" v-if="!!item.refund_order_id && item.refund_status != -1 && item.refund_status != 3">退款中</view>
|
||||
<view style="color: #FFE4BF;"
|
||||
v-if="!!item.refund_order_id && item.refund_status != -1 && item.refund_status != 3">
|
||||
退款中</view>
|
||||
</text>
|
||||
<text class="fk_status" v-if="item.order_status == 2">
|
||||
<view>待发货</view>
|
||||
<view style="color: #FFE4BF;" v-if="!!item.refund_order_id && item.refund_status != -1 && item.refund_status != 3">退款中</view>
|
||||
<view style="color: #FFE4BF;"
|
||||
v-if="!!item.refund_order_id && item.refund_status != -1 && item.refund_status != 3">
|
||||
退款中</view>
|
||||
</text>
|
||||
<text class="fk_status" v-if="item.order_status == 3">
|
||||
<view>待收货</view>
|
||||
<view style="color: #FFE4BF;" v-if="!!item.refund_order_id && item.refund_status != -1 && item.refund_status != 3">退款中</view>
|
||||
<view style="color: #FFE4BF;"
|
||||
v-if="!!item.refund_order_id && item.refund_status != -1 && item.refund_status != 3">
|
||||
退款中</view>
|
||||
</text>
|
||||
<text class="fk_status" v-if="item.order_status == 4">
|
||||
<view>待评价</view>
|
||||
<view style="color: #FFE4BF;" v-if="!!item.refund_order_id && item.refund_status != -1 && item.refund_status != 3">退款中</view>
|
||||
<view style="color: #FFE4BF;"
|
||||
v-if="!!item.refund_order_id && item.refund_status != -1 && item.refund_status != 3">
|
||||
退款中</view>
|
||||
</text>
|
||||
<text class="fk_status" v-if="item.order_status == 5">
|
||||
<view>交易完成</view>
|
||||
<view style="color: #FFE4BF;" v-if="!!item.refund_order_id && item.refund_status != -1 && item.refund_status != 3">退款中</view>
|
||||
<view style="color: #FFE4BF;"
|
||||
v-if="!!item.refund_order_id && item.refund_status != -1 && item.refund_status != 3">
|
||||
退款中</view>
|
||||
</text>
|
||||
<text class="fk_status" v-if="item.refund_mark == 1">
|
||||
<view>退款成功</view>
|
||||
|
@ -181,7 +190,8 @@
|
|||
<view class="bnt bnt_color" v-if="item.order_status == 1" @click="toDetail(item)">去核销</view>
|
||||
<view class="bnt bnt_color" v-if="item.order_status == 2" @click="toPostagequ(item)">去发货
|
||||
</view>
|
||||
<navigator class="bnt bnt_color" v-if="!!item.refund_order_id && item.refund_status != -1 && item.refund_status!=3"
|
||||
<navigator class="bnt bnt_color"
|
||||
v-if="!!item.refund_order_id && item.refund_status != -1 && item.refund_status!=3"
|
||||
:url="'/pages/admin/orderRefund/index?id='+item.refund_order_id+'&merId='+merId">
|
||||
立即退款
|
||||
</navigator>
|
||||
|
|
|
@ -52,16 +52,11 @@
|
|||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<!-- <view class="content-open" v-if='!isshow' @click="open">
|
||||
<image src="@/static/images/zk.png" mode="aspectFit"></image>
|
||||
</view> -->
|
||||
|
||||
<div v-if='isshow' style="margin-top: 80rpx;">
|
||||
<!-- // type=price&time=today&merId=1 -->
|
||||
<view class="tools-one"
|
||||
style="font-size: 33rpx;font-family: PingFang SC-Medium, PingFang SC;font-weight: 500;color: #333333; margin-left: 30rpx;margin-bottom: 30rpx;">
|
||||
订单数据统计
|
||||
|
||||
</view>
|
||||
<ordertime ref='test' type='price' timetype='today' :merid='userInfoData.service.mer_id'></ordertime>
|
||||
</div>
|
||||
|
@ -75,7 +70,6 @@
|
|||
<view class="content-order-one">
|
||||
{{item.name}}
|
||||
</view>
|
||||
|
||||
</view>
|
||||
</view>
|
||||
|
||||
|
@ -120,7 +114,6 @@
|
|||
</view>
|
||||
</view>
|
||||
|
||||
|
||||
<view class="content-list">
|
||||
<view style="width: 100%;background-color: #fff;">
|
||||
<view class="tools-one">
|
||||
|
@ -899,6 +892,7 @@
|
|||
if (index == 3) url = "/pages/activeCode/subsidy";
|
||||
if (index == 1) url = "/pages/admin/orderList/index?merId=" + this.userInfoData.service.mer_id +
|
||||
"&types=88";
|
||||
if (index == 5) url = "/pages/admin/orderList/index?merId=" + this.userInfoData.service.mer_id + '&types=';
|
||||
|
||||
uni.navigateTo({
|
||||
url: url
|
||||
|
|
|
@ -170,10 +170,12 @@
|
|||
<view v-if="item.order_status == 2 && item.pay_type !=3" class='t-color'>待发货</view>
|
||||
<view v-if="item.order_status == 1 && item.pay_type==3" class='t-color'>待付款</view>
|
||||
<view v-if="item.order_status == 3" class='t-color'>待收货</view>
|
||||
<view v-if="item.order_status == 4 && item.pay_type !== 8" class='t-color'>待评价</view>
|
||||
<view v-if="item.order_status == 4 && item.pay_type !== 8" class='t-color'>待评价
|
||||
</view>
|
||||
<view v-if="item.order_status == 5" class='t-color'>已完成</view>
|
||||
<view v-if="item.order_status == 6" class='t-color'>已退款</view>
|
||||
<view v-if="item.order_status == 8 && item.pay_type == 8" class='t-color'>待结算</view>
|
||||
<view v-if="item.order_status == 8 && item.pay_type == 8" class='t-color'>待结算
|
||||
</view>
|
||||
|
||||
</view>
|
||||
<view v-if="item.activity_type === 2">
|
||||
|
@ -252,8 +254,8 @@
|
|||
</view>
|
||||
</view>
|
||||
<view class='bottom acea-row row-right row-middle'>
|
||||
<view v-if="!item.receipt && item.status != -1 && (item.status != 0)" class='bnt cancelBnt'
|
||||
@click.stop='applyInvoice(item.order_id)'>申请开票</view>
|
||||
<view v-if="!item.receipt && item.status != -1 && (item.status != 0)"
|
||||
class='bnt cancelBnt' @click.stop='applyInvoice(item.order_id)'>申请开票</view>
|
||||
<block v-if="item.status == 0 || item.status == 9 || item.status == -1">
|
||||
<view class='bnt b-color' @click='goOrderDetails(item.order_id, item)'>查看详情</view>
|
||||
</block>
|
||||
|
@ -345,7 +347,9 @@
|
|||
import {
|
||||
HTTP_REQUEST_URL
|
||||
} from '@/config/app';
|
||||
import { Toast } from '../../../libs/uniApi';
|
||||
import {
|
||||
Toast
|
||||
} from '../../../libs/uniApi';
|
||||
export default {
|
||||
components: {
|
||||
payment,
|
||||
|
|
Loading…
Reference in New Issue