wangfukang 16 hours ago
parent
commit
2da555b498
  1. 2
      components/tab-bar/tab-bar.vue

2
components/tab-bar/tab-bar.vue

@ -123,7 +123,7 @@
let shopId = uni.getStorageSync('shopId')
let worker = uni.getStorageSync('worker')
if(shopId || worker){
this.tui.request("/mall/delivery/countOrderByStatus", "POST", {workerId:uni.getStorageSync('worker').workerId}, false, true).then((res) => {
this.tui.request("/mall/delivery/countOrderByStatus", "POST", {workerId:uni.getStorageSync('worker').workerId,regionId:JSON.parse(uni.getStorageSync('area')).id}, false, true).then((res) => {
if (res.code == 200) {
if(res.result != null){
for(let i = 0;i<res.result.length;i++){

Loading…
Cancel
Save