已支付订单列表:where.payStatus = 1;

This commit is contained in:
2024-07-10 22:44:18 +08:00
parent 9dd834adb5
commit 1311eb03b8
611 changed files with 92828 additions and 400 deletions
+7 -8
View File
@@ -216,32 +216,31 @@
if (this.current !== e.currentIndex) {
this.current = e.currentIndex
}
if (userId == 0) {
if (userId === 0) {
app.openLogin()
return;
}
// 全部
if (index == 0) {
if (index === 0) {
where.payStatus = undefined;
where.orderStatus = undefined;
}
// 未支付
if (index == 1) {
if (index === 1) {
where.payStatus = 0;
where.orderStatus = undefined;
}
// 已支付
if (index == 2) {
if (index === 2) {
where.payStatus = 1;
where.orderStatus = 0;
}
// 已完成
if (index == 3) {
if (index === 3) {
where.payStatus = 1;
where.orderStatus = 1;
}
// 押金
if (index == 4) {
if (index === 4) {
pageWechatDeposit({
uid: uni.getStorageSync('user_id')
}).then(res => {
@@ -412,4 +411,4 @@
font-size: 30rpx !important;
}
}
</style>
</style>