fixed bug
This commit is contained in:
@@ -28,8 +28,8 @@
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<u-radio :name="list.refund_id" shape="circle" @change="radioGroupChange">
|
||||
</u-radio>
|
||||
<u-radio :name="list.refund_id" v-if="type==4" shape="circle" @change="radioGroupChange">
|
||||
</u-radio >
|
||||
</view>
|
||||
</u-radio-group>
|
||||
<!-- 待处理 -->
|
||||
@@ -52,7 +52,7 @@
|
||||
</view>
|
||||
<!-- 待处理之后的 -->
|
||||
<view class="refunds-title" v-if="type!=1">收件人信息</view>
|
||||
<view class="refunds-user" v-if="type == 2 || type == 3 || type == 4 || type == 5 || type == 6">
|
||||
<view class="refunds-user" v-if="type == 2 || type == 3 || type == 4 || type == 5 || type == 6|| type == 7">
|
||||
<view>
|
||||
<image src="/static/image/home/2.png"></image>
|
||||
<view>{{ info.extend_order_common.reciver_name }}</view>
|
||||
@@ -92,7 +92,9 @@
|
||||
<view :class="{ active: cur == 1 }" @click="refuse">确定处理</view>
|
||||
</view>
|
||||
<!-- 同意退款/拒绝退款 -->
|
||||
<view class="refund" v-if="type == 5 || type == 6">退款状态:{{ type == 5 ? '同意退款,请注意查收!' : '拒绝退款,请等待客服联系!' }}</view>
|
||||
<view class="refund" v-if="type == 5 ">退款状态:同意退款,请注意查收!</view>
|
||||
<view class="refund" v-if="type == 6 ">退款状态:商家同意退款,等待后台处理!</view>
|
||||
<view class="refund" v-if="type == 7 ">退款状态:商家拒绝退款,请等待客服联系!</view>
|
||||
<u-popup v-model="showDelivery" mode="center" border-radius="10" class="delivery-popup">
|
||||
<view class="title">骑手信息</view>
|
||||
<view class="input-info">
|
||||
@@ -287,25 +289,6 @@ export default {
|
||||
this.cur = 0;
|
||||
this.showRefunds = true;
|
||||
},
|
||||
// 获取物流信息
|
||||
getcarinfo() {
|
||||
this.$u.api.getpushinfo({
|
||||
order_id: this.orderid
|
||||
}).then(res => {
|
||||
if (res.errCode != 0) {
|
||||
this.$refs.uToast.show({
|
||||
title: res.message,
|
||||
type: 'error'
|
||||
});
|
||||
} else {
|
||||
this.$refs.uToast.show({
|
||||
title: res.message,
|
||||
type: 'success'
|
||||
});
|
||||
console.log(res);
|
||||
}
|
||||
});
|
||||
},
|
||||
// 选择快递公司
|
||||
getselectcompany(e) {
|
||||
let obj = this.companylist[e[0]];
|
||||
@@ -405,6 +388,7 @@ export default {
|
||||
background-color: #ececec;
|
||||
.goods-info {
|
||||
background-color: #ffffff;
|
||||
width: 750rpx;
|
||||
padding: 30rpx;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
|
||||
@@ -50,10 +50,14 @@
|
||||
</view>
|
||||
</view>
|
||||
<view v-else-if="current == 5">
|
||||
<view v-for="(item, index) in finshlist" :key="index"><OrderItem :cur="current"></OrderItem></view>
|
||||
<view v-for="(item, index) in finshlist" :key="index">
|
||||
<OrderItem :info="item"></OrderItem>
|
||||
</view>
|
||||
</view>
|
||||
<view v-else-if="current == 6">
|
||||
<view v-for="(item, index) in badlist" :key="index"><OrderItem :cur="current"></OrderItem></view>
|
||||
<view v-for="(item, index) in badlist" :key="index">
|
||||
<OrderItem :info="item"></OrderItem>
|
||||
</view>
|
||||
</view>
|
||||
<view class="release-btn" @click="publish">
|
||||
<image src="../../static/image/index/publish.png"></image>
|
||||
@@ -150,15 +154,11 @@ export default {
|
||||
this.getswiper();
|
||||
// 获取可投诉列表
|
||||
this.getcarlist();
|
||||
// 所有订单
|
||||
this.getallorder(0);
|
||||
// 订单状态: 0:全部 1已付款未发货 2已发货 3已完成 4申请退款/退货 5已退款/退货 6拒绝退款/退货
|
||||
},
|
||||
onShow() {
|
||||
this.num=1
|
||||
this.current=0
|
||||
// 初始化数据
|
||||
this.resetarr()
|
||||
// 所有订单
|
||||
this.getallorder(0);
|
||||
this.publishstate = false;
|
||||
},
|
||||
onReachBottom() {
|
||||
@@ -198,7 +198,7 @@ export default {
|
||||
this.getallorder(3);
|
||||
} else if (current == 6) {
|
||||
// 退货订单
|
||||
this.getallorder(5);
|
||||
this.getallorder(4);
|
||||
}
|
||||
},
|
||||
// 关闭发布弹窗
|
||||
@@ -371,9 +371,6 @@ export default {
|
||||
this.current = index;
|
||||
this.num = 1;
|
||||
this.resetarr();
|
||||
if (index == 6) {
|
||||
this.getallorder(4);
|
||||
}
|
||||
this.reset();
|
||||
},
|
||||
// 发布内容跳转页面
|
||||
|
||||
Reference in New Issue
Block a user