江投页面
This commit is contained in:
@@ -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) { //判断接口返回数据量小于请求数据量,则表示此为最后一页
|
||||
|
||||
Reference in New Issue
Block a user