This commit is contained in:
parent
f433a6f239
commit
ec27fd1ffe
|
@ -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) {
|
||||||
|
|
|
@ -503,6 +503,10 @@
|
||||||
name: '待付款',
|
name: '待付款',
|
||||||
type: 1,
|
type: 1,
|
||||||
value: 0
|
value: 0
|
||||||
|
}, {
|
||||||
|
name: '待核销',
|
||||||
|
type: 99,
|
||||||
|
value: 0
|
||||||
}, {
|
}, {
|
||||||
name: '待发货',
|
name: '待发货',
|
||||||
type: 2,
|
type: 2,
|
||||||
|
@ -511,15 +515,18 @@
|
||||||
name: '待收货',
|
name: '待收货',
|
||||||
type: 3,
|
type: 3,
|
||||||
value: 0
|
value: 0
|
||||||
}, {
|
},
|
||||||
name: '待评价',
|
// {
|
||||||
type: 4,
|
// name: '待评价',
|
||||||
value: 0
|
// type: 4,
|
||||||
}, {
|
// value: 0
|
||||||
|
// },
|
||||||
|
{
|
||||||
name: '退款',
|
name: '退款',
|
||||||
type: 6,
|
type: 6,
|
||||||
value: 0
|
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
|
||||||
},
|
},
|
||||||
|
|
|
@ -156,7 +156,7 @@
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
this.$refs.popups.handleOpen();
|
this.$refs.popups.handleOpen('money');
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
|
@ -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>
|
||||||
|
|
Loading…
Reference in New Issue