gdpao
This commit is contained in:
@@ -56,6 +56,12 @@
|
||||
</view>
|
||||
<u-empty margin-top="20" v-if="!badlist.length" mode="order"></u-empty>
|
||||
</view>
|
||||
<view v-else-if="current == 7">
|
||||
<view v-for="(item, index) in paidList" :key="index">
|
||||
<OrderItem :info="item"></OrderItem>
|
||||
</view>
|
||||
<u-empty margin-top="20" v-if="!paidList.length" mode="order"></u-empty>
|
||||
</view>
|
||||
<view class="release-btn" @click="publish">
|
||||
<image src="../../static/image/index/publish.png"></image>
|
||||
<view class="text">发布</view>
|
||||
@@ -124,7 +130,10 @@ export default {
|
||||
},
|
||||
{
|
||||
name: '退货订单'
|
||||
}
|
||||
},
|
||||
{
|
||||
name: '待支付订单'
|
||||
}
|
||||
],
|
||||
imageList: [],
|
||||
showSelect: false,
|
||||
@@ -142,6 +151,7 @@ export default {
|
||||
finshlist: [], //已完成列表
|
||||
badlist: [], //退货列表
|
||||
carlist: [], //可投诉订单列表
|
||||
paidList: [], // 待支付订单
|
||||
reportinfo: null, //投诉信息
|
||||
reportcontent: '', //投诉内容
|
||||
del_id: 0, // 删除id
|
||||
@@ -178,6 +188,7 @@ export default {
|
||||
this.badlist = [];
|
||||
this.badlist = [];
|
||||
this.testlist = [];
|
||||
this.paidList = [];
|
||||
},
|
||||
// 根据current请求不同的接口
|
||||
reset() {
|
||||
@@ -202,7 +213,10 @@ export default {
|
||||
} else if (current == 6) {
|
||||
// 退货订单
|
||||
this.getallorder(4);
|
||||
}
|
||||
} else if (current == 7) {
|
||||
// 待支付订单
|
||||
this.getallorder(10);
|
||||
}
|
||||
},
|
||||
// 关闭发布弹窗
|
||||
close() {
|
||||
@@ -332,7 +346,9 @@ export default {
|
||||
this.badlist.push(arr[index]);
|
||||
} else if (type == 5) {
|
||||
this.badlist.push(arr[index]);
|
||||
}
|
||||
} else if (type == 10) {
|
||||
this.paidList.push(arr[index]);
|
||||
}
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user