|
@@ -139,6 +139,7 @@
|
|
this.swiperCurrent = current
|
|
this.swiperCurrent = current
|
|
this.current = current
|
|
this.current = current
|
|
this.resetPage()
|
|
this.resetPage()
|
|
|
|
+ this.queryByTypeSum(true)
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
},
|
|
@@ -206,13 +207,15 @@
|
|
}
|
|
}
|
|
},
|
|
},
|
|
// 查询每个状态的数据条数
|
|
// 查询每个状态的数据条数
|
|
- queryByTypeSum () {
|
|
|
|
|
|
+ queryByTypeSum (flag) {
|
|
shelfReplenishStateCount({}).then(res => {
|
|
shelfReplenishStateCount({}).then(res => {
|
|
if (res.data && res.status == 200) {
|
|
if (res.data && res.status == 200) {
|
|
this.tabList[1].count = res.data.WAIT_CONFIRM || 0
|
|
this.tabList[1].count = res.data.WAIT_CONFIRM || 0
|
|
this.tabList[2].count = res.data.WAIT_OUT_STOCK || 0
|
|
this.tabList[2].count = res.data.WAIT_OUT_STOCK || 0
|
|
this.tabList[3].count = res.data.WAIT_CHECK || 0
|
|
this.tabList[3].count = res.data.WAIT_CHECK || 0
|
|
- this.getRow(1)
|
|
|
|
|
|
+ if(!flag){
|
|
|
|
+ this.getRow(1)
|
|
|
|
+ }
|
|
}
|
|
}
|
|
})
|
|
})
|
|
},
|
|
},
|