商品订单搜索
This commit is contained in:
parent
f95a8d1d6f
commit
ee2eeca204
@ -302,10 +302,10 @@
|
|||||||
uni.removeStorageSync('Refresh');
|
uni.removeStorageSync('Refresh');
|
||||||
this.total = res.total
|
this.total = res.total
|
||||||
} else if (res.code == 9999) {
|
} else if (res.code == 9999) {
|
||||||
// this.$refs.uToast.show({
|
this.$refs.uToast.show({
|
||||||
// title: '未登录,请先登录',
|
title: '未登录,请先登录',
|
||||||
// type: 'error',
|
type: 'error',
|
||||||
// })
|
})
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
@ -318,7 +318,7 @@
|
|||||||
},
|
},
|
||||||
watch: { //监听
|
watch: { //监听
|
||||||
'orderTypeList.goodsName'() {
|
'orderTypeList.goodsName'() {
|
||||||
this.pageNum = 1
|
this.orderTypeList.pageNum = 1
|
||||||
this.goodsOrderinfo()
|
this.goodsOrderinfo()
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
@ -328,7 +328,7 @@
|
|||||||
// });
|
// });
|
||||||
},
|
},
|
||||||
onShow() {
|
onShow() {
|
||||||
this.pageNum = 1;
|
this.orderTypeList.pageNum = 1;
|
||||||
this.baseurl = baseurl;
|
this.baseurl = baseurl;
|
||||||
let that = this
|
let that = this
|
||||||
const value3 = uni.getStorageSync('Refresh');
|
const value3 = uni.getStorageSync('Refresh');
|
||||||
@ -359,7 +359,7 @@
|
|||||||
},
|
},
|
||||||
onReachBottom() { //下滑加载
|
onReachBottom() { //下滑加载
|
||||||
if (this.orderlist.length >= this.total) {} else {
|
if (this.orderlist.length >= this.total) {} else {
|
||||||
this.pageNum++;
|
this.orderTypeList.pageNum++;
|
||||||
ssgoodsOrder(this.orderTypeList).then(res => {
|
ssgoodsOrder(this.orderTypeList).then(res => {
|
||||||
res.rows.forEach(e => {
|
res.rows.forEach(e => {
|
||||||
// e.timestamp = null
|
// e.timestamp = null
|
||||||
@ -373,7 +373,7 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
onPullDownRefresh() { //下拉刷新
|
onPullDownRefresh() { //下拉刷新
|
||||||
this.pageNum = 1;
|
this.orderTypeList.pageNum = 1;
|
||||||
this.goodsOrderinfo();
|
this.goodsOrderinfo();
|
||||||
setTimeout(function() {
|
setTimeout(function() {
|
||||||
uni.stopPullDownRefresh();
|
uni.stopPullDownRefresh();
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user