update:调整了退货订单默认显示全部

This commit is contained in:
lihaoyuan 2025-09-17 15:45:40 +08:00
parent e0f409c726
commit 7e0a1ba812
2 changed files with 7 additions and 4 deletions

View File

@ -24,7 +24,7 @@
}, },
{ {
"customPlaygroundType" : "device", "customPlaygroundType" : "device",
"playground" : "standard", "playground" : "custom",
"type" : "uni-app:app-android" "type" : "uni-app:app-android"
}, },
{ {

View File

@ -543,7 +543,7 @@ export default {
width: "170rpx", width: "170rpx",
}, },
], ],
salesReturnBtnSearchAcitve: 3105, salesReturnBtnSearchAcitve: null,
salesReturnOrderList: [], salesReturnOrderList: [],
showImgList: [], showImgList: [],
showImg: false, showImg: false,
@ -634,7 +634,7 @@ export default {
this.pageNum = 1; this.pageNum = 1;
if (newValue == "mchRetrunOrderList") { if (newValue == "mchRetrunOrderList") {
if (this.currentTab2 == 2) { if (this.currentTab2 == 2) {
this.getSalesReturnOrderList(); this.getSalesReturnOrderList(null);
console.log("触发getSalesReturnOrderList"); console.log("触发getSalesReturnOrderList");
} }
} else { } else {
@ -658,6 +658,9 @@ export default {
} else { } else {
this.getOrderList(); this.getOrderList();
} }
if (this.currentTab2 === 2) {
this.getSalesReturnOrderList(null);
}
}, },
onPullDownRefresh() { onPullDownRefresh() {
this.pageNum = 1; this.pageNum = 1;
@ -962,7 +965,7 @@ export default {
this.isDownNoSalesReturnData = false; this.isDownNoSalesReturnData = false;
if (this.currentTab2 == 2) { if (this.currentTab2 == 2) {
this.getSalesReturnOrderList(); this.getSalesReturnOrderList(null);
} else { } else {
this.getOrderList(); this.getOrderList();
} }