江投页面

This commit is contained in:
2024-04-26 17:07:39 +08:00
parent 9aebbade3c
commit cecacfc7c7
6 changed files with 177 additions and 86 deletions

View File

@@ -139,7 +139,6 @@
this.getOrder('')
},
onPullDownRefresh() {
// console.log('这里是onPullDownRefresh')
this.currentPage = 1
this.list= []
if(this.TabHead == 1){
@@ -152,7 +151,6 @@
// }, 1000);
},
onReachBottom() {
// console.log('这里是onReachBottom')
if(this.TabHead == 1){
// this.nextPageUrea()
if(this.status.loadOrderStatus !='nomore' ){
@@ -182,7 +180,6 @@
})
},
onChangeSearch() {
console.log('%c 我闪','color:red;font-size:20px')
setTimeout(() => {
if(this.TabHead == 1){
this.onSearch()
@@ -201,7 +198,6 @@
}
},
tabSelect(value,i) {
console.log(value,'1564155555',i)
this.list = []
this.currentPage = 1
this.TabCur = i
@@ -221,7 +217,6 @@
},
}
orderApi.getOrderInfoByPage(postData).then(res => {
console.log(res)
if (res.code == 20000) {
// 0待支付 1已支付 -1支付失败 2已取消3已退款
this.list = this.list.concat(res.data.list)
@@ -246,9 +241,7 @@
tabSelectUrea(value,i) {
// console.log(value,'1564155555666666666666666666')
this.list = []
// console.log(this.list)
this.currentPage = 1
this.UreaTabCur = i
this.ativeUrea = value
@@ -267,7 +260,6 @@
}
orderApi.findXoiUreaPage(postData).then(res => {
if (res.code == 20000) {
// console.log('订单列表厂房发', page, res.data.list.length)
// 0待支付 1已支付 -1支付失败 2已取消3已退款
this.list = this.list.concat(res.data.list)
if (res.data.list.length < 10) { //判断接口返回数据量小于请求数据量,则表示此为最后一页