This commit is contained in:
parent
f433a6f239
commit
ec27fd1ffe
|
@ -348,6 +348,10 @@
|
|||
onLoad(option) {
|
||||
this.where.product_type = uni.getStorageSync("PRODUCT_TYPE") ?? ""
|
||||
this.where.status = option.types
|
||||
if (option.types == 99) {
|
||||
delete this.where.status;
|
||||
this.where.is_verify = 1;
|
||||
}
|
||||
this.current = "";
|
||||
this.merId = option.merId;
|
||||
if (option.pay_time) {
|
||||
|
|
|
@ -500,26 +500,33 @@
|
|||
value: 0
|
||||
}, ],
|
||||
order: [{
|
||||
name: '待付款',
|
||||
type: 1,
|
||||
value: 0
|
||||
}, {
|
||||
name: '待发货',
|
||||
type: 2,
|
||||
value: 0
|
||||
}, {
|
||||
name: '待收货',
|
||||
type: 3,
|
||||
value: 0
|
||||
}, {
|
||||
name: '待评价',
|
||||
type: 4,
|
||||
value: 0
|
||||
}, {
|
||||
name: '退款',
|
||||
type: 6,
|
||||
value: 0
|
||||
}],
|
||||
name: '待付款',
|
||||
type: 1,
|
||||
value: 0
|
||||
}, {
|
||||
name: '待核销',
|
||||
type: 99,
|
||||
value: 0
|
||||
}, {
|
||||
name: '待发货',
|
||||
type: 2,
|
||||
value: 0
|
||||
}, {
|
||||
name: '待收货',
|
||||
type: 3,
|
||||
value: 0
|
||||
},
|
||||
// {
|
||||
// name: '待评价',
|
||||
// type: 4,
|
||||
// value: 0
|
||||
// },
|
||||
{
|
||||
name: '退款',
|
||||
type: 6,
|
||||
value: 0
|
||||
}
|
||||
],
|
||||
other_order: [{
|
||||
name: '待发货',
|
||||
type: 2,
|
||||
|
@ -963,7 +970,13 @@
|
|||
|
||||
})
|
||||
break;
|
||||
case 99:
|
||||
uni.navigateTo({
|
||||
url: '/pages/admin/orderList/index?merId=' + this.userInfoData.service.mer_id +
|
||||
'&types=' + item.type
|
||||
|
||||
})
|
||||
break;
|
||||
}
|
||||
} else {
|
||||
this.isAuto = true;
|
||||
|
@ -1262,11 +1275,16 @@
|
|||
}
|
||||
orderStatistics(this.userInfoData.service.mer_id, data).then(
|
||||
res => {
|
||||
this.order[0].value = res.data.order.unpaid
|
||||
this.order[1].value = res.data.order.unshipped
|
||||
this.order[2].value = res.data.order.untake
|
||||
this.order[3].value = res.data.order.unevaluate
|
||||
this.order[0].value = res.data.order.unpaid;
|
||||
this.order[1].value = res.data.order.verify;
|
||||
|
||||
this.order[2].value = res.data.order.unshipped
|
||||
this.order[3].value = res.data.order.untake
|
||||
// this.order[4].value = res.data.order.unevaluate
|
||||
this.order[4].value = res.data.order.refund
|
||||
|
||||
|
||||
|
||||
this.list[2].value = res.data.data.month.orderNum
|
||||
this.list[5].value = res.data.data.today.orderNum
|
||||
},
|
||||
|
@ -1347,13 +1365,13 @@
|
|||
storeActivityTotal().then(res => {
|
||||
res.data.forEach(item => {
|
||||
if (item.type == 13) {
|
||||
this.list[4].value = item.total_amount;
|
||||
this.list[4].name = item.type_cn;
|
||||
}
|
||||
this.list[4].value = item.total_amount;
|
||||
this.list[4].name = item.type_cn;
|
||||
}
|
||||
if (item.type == 2) {
|
||||
this.list[3].value = item.total_amount;
|
||||
this.list[3].name = item.type_cn;
|
||||
}
|
||||
this.list[3].value = item.total_amount;
|
||||
this.list[3].name = item.type_cn;
|
||||
}
|
||||
})
|
||||
})
|
||||
}
|
||||
|
|
|
@ -156,7 +156,7 @@
|
|||
})
|
||||
}
|
||||
} else {
|
||||
this.$refs.popups.handleOpen();
|
||||
this.$refs.popups.handleOpen('money');
|
||||
}
|
||||
},
|
||||
|
||||
|
|
|
@ -37,7 +37,7 @@
|
|||
</view>
|
||||
<view class="shop-type-list-item-con-item">
|
||||
<view class="shop-type-list-item-con-key">审核人:</view>
|
||||
<view class="shop-type-list-item-con-val">{{item.name}}</view>
|
||||
<view class="shop-type-list-item-con-val">{{item.check_name}}</view>
|
||||
</view>
|
||||
<view class="shop-type-list-item-con-item" v-if="item.status == 1 || item.status == 2">
|
||||
<view class="shop-type-list-item-con-key">审核时间:</view>
|
||||
|
|
Loading…
Reference in New Issue