lilei 2 years ago
parent
commit
49da1f4eee
1 changed files with 4 additions and 4 deletions
  1. 4 4
      src/views/numsGoodsShelves/replenishmentManagement/list.vue

+ 4 - 4
src/views/numsGoodsShelves/replenishmentManagement/list.vue

@@ -263,7 +263,7 @@ export default {
     handleOutWarehousingOk () {
       this.nowData = null
       this.openOutWarehousingModal = false
-      this.queryByTypeSum()
+      this.queryByTypeSum(true)
     },
     handleValidate (type, params) {
       // 校验产品库存是否足够
@@ -301,7 +301,7 @@ export default {
     handlePutWarehousingOk () {
       this.nowData = null
       this.openPutWarehousingModal = false
-      this.queryByTypeSum()
+      this.queryByTypeSum(true)
     },
     // 取消补货单
     handleCancelOrder (row) {
@@ -405,7 +405,7 @@ export default {
       this.queryParam.customerSn = obj.key || undefined
     },
     // 获取类型
-    queryByTypeSum () {
+    queryByTypeSum (flag) {
       const params = JSON.parse(JSON.stringify(this.queryParam))
       delete params.bizType
       shelfReplenishStateCount(params).then(res => {
@@ -416,7 +416,7 @@ export default {
           this.tabPaneData[4].countNum = res.data.FINISH || 0
           this.tabPaneData[5].countNum = res.data.CANCEL || 0
           this.queryParam.bizType = this.curBizType
-          this.$refs.table.refresh(true)
+          this.$refs.table.refresh(!flag)
         }
       })
     },