wangfukang 16 hours ago
parent
commit
2d067322a8
  1. 6
      pages/index/index.vue

6
pages/index/index.vue

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

Loading…
Cancel
Save