修改退款审核、订单详情等页面显示

This commit is contained in:
geng.tang@qq.com
2024-01-26 15:33:03 +08:00
parent c3413fd1a0
commit 8f6567e57e
24 changed files with 677 additions and 178 deletions

View File

@@ -3,11 +3,13 @@
<a-space :size="10" style="flex-wrap: wrap">
<a-radio-group v-model:value="listType" @change="handleTabs">
<a-radio-button :value="0">全部订单</a-radio-button>
<a-radio-button :value="1">待发货</a-radio-button>
<!-- <a-radio-button :value="1">待发货</a-radio-button> -->
<a-radio-button :value="2">待收货</a-radio-button>
<a-radio-button :value="3">待付款</a-radio-button>
<a-radio-button :value="4">已完成</a-radio-button>
<a-radio-button :value="5">已取消</a-radio-button>
<!-- <a-radio-button :value="4">已完成</a-radio-button> -->
<a-radio-button :value="4">进行中</a-radio-button>
<!-- <a-radio-button :value="5">已取消</a-radio-button> -->
<a-radio-button :value="6">已退租</a-radio-button>
</a-radio-group>
<a-button
danger
@@ -98,7 +100,7 @@
where.userId = searchText.value;
where.orderNo = undefined;
}
console.log(where);
// console.log(where);
emit('search', {
...where,
createTimeStart: d1 ? d1 + ' 00:00:00' : '',
@@ -120,33 +122,34 @@
console.log('全部订单');
}
// 待发货
if (listType == 1) {
console.log('待发货');
where.payStatus = 20;
where.deliveryStatus = 10;
}
// if (listType == 1) {
// console.log('待发货');
// where.payStatus = 20;
// where.deliveryStatus = 10;
// }
// 待收货
if (listType == 2) {
console.log('待货');
// console.log('待货');
where.payStatus = 20;
where.deliveryStatus = 20;
where.deliveryStatus <= 20;
where.receiptStatus = 10;
}
// 待付款
if (listType == 3) {
console.log('待付款');
// console.log('待付款');
where.payStatus = 10;
}
// 已完成
if (listType == 4) {
console.log('已完成');
// console.log('已完成');
where.payStatus = 20;
where.orderStatus = 30;
}
// 已取消
if (listType == 5) {
console.log('已取消');
where.orderStatus = 20;
// console.log('已取消');
// where.orderStatus = 20;
where.orderStatus = 21;
}
emit('search', {
...where