wangfukang 14 hours ago
parent
commit
2d067322a8
  1. 8
      pages/index/index.vue

8
pages/index/index.vue

@ -626,6 +626,7 @@
if(worker != '' && worker != undefined && worker != null){ if(worker != '' && worker != undefined && worker != null){
this.worker = worker this.worker = worker
} }
that.searchForm.workerId = uni.getStorageSync('worker') ? uni.getStorageSync('worker').workerId : ''
// //
this.getUserLocation(); this.getUserLocation();
this.getUserOrders(); this.getUserOrders();
@ -751,6 +752,7 @@
}, },
getDelivery(){ getDelivery(){
let that = this let that = this
console.log("1111111111111",this.searchForm)
this.tui.request("/mall/delivery/page", "POST", this.searchForm, false, false).then((res) => { this.tui.request("/mall/delivery/page", "POST", this.searchForm, false, false).then((res) => {
that.loadStatus = 'nomore'; that.loadStatus = 'nomore';
if (res.code == 200) { if (res.code == 200) {
@ -764,11 +766,11 @@
}else if(res.result.orderCount[i].deliveryType == 3){ }else if(res.result.orderCount[i].deliveryType == 3){
that.paotuiCount = res.result.orderCount[i].orderCount that.paotuiCount = res.result.orderCount[i].orderCount
} }
if(res.result.zhipaiCount != undefined && res.result.zhipaiCount != null){
that.zhipaiCount = res.result.zhipaiCount
}
} }
} }
if(res.result.zhipaiCount != undefined && res.result.zhipaiCount != null){
that.zhipaiCount = res.result.zhipaiCount
}
that.$forceUpdate(); that.$forceUpdate();
} else { } else {
that.tui.toast(res.message); that.tui.toast(res.message);

Loading…
Cancel
Save