商品订单搜索

This commit is contained in:
闫晓茹 2023-10-27 16:52:25 +08:00
parent f95a8d1d6f
commit ee2eeca204

View File

@ -302,10 +302,10 @@
uni.removeStorageSync('Refresh');
this.total = res.total
} else if (res.code == 9999) {
// this.$refs.uToast.show({
// title: ',',
// type: 'error',
// })
this.$refs.uToast.show({
title: '未登录,请先登录',
type: 'error',
})
}
})
},
@ -318,7 +318,7 @@
},
watch: { //
'orderTypeList.goodsName'() {
this.pageNum = 1
this.orderTypeList.pageNum = 1
this.goodsOrderinfo()
},
},
@ -328,7 +328,7 @@
// });
},
onShow() {
this.pageNum = 1;
this.orderTypeList.pageNum = 1;
this.baseurl = baseurl;
let that = this
const value3 = uni.getStorageSync('Refresh');
@ -359,7 +359,7 @@
},
onReachBottom() { //
if (this.orderlist.length >= this.total) {} else {
this.pageNum++;
this.orderTypeList.pageNum++;
ssgoodsOrder(this.orderTypeList).then(res => {
res.rows.forEach(e => {
// e.timestamp = null
@ -373,7 +373,7 @@
}
},
onPullDownRefresh() { //
this.pageNum = 1;
this.orderTypeList.pageNum = 1;
this.goodsOrderinfo();
setTimeout(function() {
uni.stopPullDownRefresh();