| @@ -67,14 +67,13 @@ Page({ | |||||
| loading: true, | loading: true, | ||||
| content: '小主,我在玩命加载中...' | content: '小主,我在玩命加载中...' | ||||
| }) | }) | ||||
| const mallTenantId = tt.getStorageSync('mallTenantId') | |||||
| Http.get({ | Http.get({ | ||||
| url: config.api.couponOrderList, | url: config.api.couponOrderList, | ||||
| data: { | data: { | ||||
| pageNum: that.data.pageNum, | pageNum: that.data.pageNum, | ||||
| pageSize: 10, | pageSize: 10, | ||||
| couponOrderStatus: that.data.boatFlag == "all" ? "" : that.data.boatFlag, | couponOrderStatus: that.data.boatFlag == "all" ? "" : that.data.boatFlag, | ||||
| mallTenantId: mallTenantId || that.data.mallTenantId | |||||
| mallTenantId: that.data.mallTenantId | |||||
| } | } | ||||
| }).then(res => { | }).then(res => { | ||||
| if (that.data.pageNum == 1) { | if (that.data.pageNum == 1) { | ||||
| @@ -237,13 +237,13 @@ Page({ | |||||
| * key==0 | * key==0 | ||||
| * 不发送该字段 | * 不发送该字段 | ||||
| */ | */ | ||||
| const mallTenantId = tt.getStorageSync('mallTenantId') | |||||
| // const mallTenantId = tt.getStorageSync('mallTenantId') | |||||
| if (key == 'all') { | if (key == 'all') { | ||||
| var variable = { | var variable = { | ||||
| pageNum: pageNum, | pageNum: pageNum, | ||||
| pageSize: 10, | pageSize: 10, | ||||
| paymentType: 0, | paymentType: 0, | ||||
| mallTenantId: mallTenantId || that.data.mallTenantId | |||||
| mallTenantId: that.data.mallTenantId | |||||
| }; | }; | ||||
| } else { | } else { | ||||
| var variable = { | var variable = { | ||||
| @@ -251,7 +251,7 @@ Page({ | |||||
| pageSize: 10, | pageSize: 10, | ||||
| orderStatus: key, | orderStatus: key, | ||||
| paymentType: 0, | paymentType: 0, | ||||
| mallTenantId: mallTenantId || that.data.mallTenantId | |||||
| mallTenantId: that.data.mallTenantId | |||||
| }; | }; | ||||
| } | } | ||||