Commit 14a9079d authored by 罗超's avatar 罗超

1

parent f55f4b78
......@@ -3,7 +3,7 @@
<view class="typebox flex-center">
<view class="typeItem flex-center">
<view class="typeItem1 flex-center activeType">普通订单</view>
<view class="typeItem1 flex-center">维权订单</view>
<view class="typeItem1 flex-center">售后订单</view>
</view>
</view>
<view class="searchBox flex-between">
......@@ -263,8 +263,8 @@ export default {
},
changeTab(index) {
this.currentTab = index;
this.msg.OrderStatus=this.orderStatusList[index].Id
console.log(this.msg.OrderStatus)
this.msg.OrderStatus = this.orderStatusList[index].Id;
console.log(this.msg.OrderStatus);
},
lower(e) {
if (this.msg.pageIndex < this.page_count) {
......@@ -277,8 +277,9 @@ export default {
},
getOrderStatus() {
this.requestAdmin("/api/order/GetOrderStatusEnumList", {}, (res) => {
console.log(res)
this.orderStatusList = res.data;
this.orderStatusList.unshift({ Id: 0, Name: "全部" });
this.orderStatusList.push({ Id: 8, Name: "回收站" });
});
},
getList() {
......
This diff is collapsed.
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment