1. 修改订单列表弹窗

huipay-app-dev
杨杰 1 year ago
parent ee7ab73ab2
commit 23004934fc
  1. 6
      pages/index/salesOrderList/salesOrderList.vue

@ -117,7 +117,6 @@
} }
getOrderList(datas).then(res => { getOrderList(datas).then(res => {
uni.hideLoading(); uni.hideLoading();
console.log('======='+JSON.stringify(res))
if (res.return_code == '000000' && res.return_data.list !='') { if (res.return_code == '000000' && res.return_data.list !='') {
this.isLoadMore = res.return_data.list.length == this.pageSize ? false : true; this.isLoadMore = res.return_data.list.length == this.pageSize ? false : true;
this.serviceList = this.serviceList.concat(res.return_data.list); this.serviceList = this.serviceList.concat(res.return_data.list);
@ -127,11 +126,6 @@
this.pageNum = res.return_data.list.length == this.pageSize ? ++pagenum : pagenum; this.pageNum = res.return_data.list.length == this.pageSize ? ++pagenum : pagenum;
} else { } else {
this.serviceList = []; this.serviceList = [];
uni.showToast({
title: res.return_msg,
duration: 2000,
icon: 'none'
})
} }
}) })

Loading…
Cancel
Save