|
|
|
@ -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 { |
|
|
|
|