This commit is contained in:
DESKTOP-GMUNQ1B\k 2024-03-23 14:40:10 +08:00
parent f433a6f239
commit ec27fd1ffe
4 changed files with 54 additions and 32 deletions

View File

@ -348,6 +348,10 @@
onLoad(option) { onLoad(option) {
this.where.product_type = uni.getStorageSync("PRODUCT_TYPE") ?? "" this.where.product_type = uni.getStorageSync("PRODUCT_TYPE") ?? ""
this.where.status = option.types this.where.status = option.types
if (option.types == 99) {
delete this.where.status;
this.where.is_verify = 1;
}
this.current = ""; this.current = "";
this.merId = option.merId; this.merId = option.merId;
if (option.pay_time) { if (option.pay_time) {

View File

@ -500,26 +500,33 @@
value: 0 value: 0
}, ], }, ],
order: [{ order: [{
name: '待付款', name: '待付款',
type: 1, type: 1,
value: 0 value: 0
}, { }, {
name: '待发货', name: '待核销',
type: 2, type: 99,
value: 0 value: 0
}, { }, {
name: '待收货', name: '待发货',
type: 3, type: 2,
value: 0 value: 0
}, { }, {
name: '待评价', name: '待收货',
type: 4, type: 3,
value: 0 value: 0
}, { },
name: '退款', // {
type: 6, // name: '',
value: 0 // type: 4,
}], // value: 0
// },
{
name: '退款',
type: 6,
value: 0
}
],
other_order: [{ other_order: [{
name: '待发货', name: '待发货',
type: 2, type: 2,
@ -963,7 +970,13 @@
}) })
break; break;
case 99:
uni.navigateTo({
url: '/pages/admin/orderList/index?merId=' + this.userInfoData.service.mer_id +
'&types=' + item.type
})
break;
} }
} else { } else {
this.isAuto = true; this.isAuto = true;
@ -1262,11 +1275,16 @@
} }
orderStatistics(this.userInfoData.service.mer_id, data).then( orderStatistics(this.userInfoData.service.mer_id, data).then(
res => { res => {
this.order[0].value = res.data.order.unpaid this.order[0].value = res.data.order.unpaid;
this.order[1].value = res.data.order.unshipped this.order[1].value = res.data.order.verify;
this.order[2].value = res.data.order.untake
this.order[3].value = res.data.order.unevaluate 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.order[4].value = res.data.order.refund
this.list[2].value = res.data.data.month.orderNum this.list[2].value = res.data.data.month.orderNum
this.list[5].value = res.data.data.today.orderNum this.list[5].value = res.data.data.today.orderNum
}, },
@ -1347,13 +1365,13 @@
storeActivityTotal().then(res => { storeActivityTotal().then(res => {
res.data.forEach(item => { res.data.forEach(item => {
if (item.type == 13) { if (item.type == 13) {
this.list[4].value = item.total_amount; this.list[4].value = item.total_amount;
this.list[4].name = item.type_cn; this.list[4].name = item.type_cn;
} }
if (item.type == 2) { if (item.type == 2) {
this.list[3].value = item.total_amount; this.list[3].value = item.total_amount;
this.list[3].name = item.type_cn; this.list[3].name = item.type_cn;
} }
}) })
}) })
} }

View File

@ -156,7 +156,7 @@
}) })
} }
} else { } else {
this.$refs.popups.handleOpen(); this.$refs.popups.handleOpen('money');
} }
}, },

View File

@ -37,7 +37,7 @@
</view> </view>
<view class="shop-type-list-item-con-item"> <view class="shop-type-list-item-con-item">
<view class="shop-type-list-item-con-key">审核人</view> <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>
<view class="shop-type-list-item-con-item" v-if="item.status == 1 || item.status == 2"> <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> <view class="shop-type-list-item-con-key">审核时间</view>