Browse Source

Merge branch 'develop_szhj05' of http://git.chelingzhu.com/jianguan-web/qpls-md-html into develop_szhj05

chenrui 2 years ago
parent
commit
82b704ec26
2 changed files with 19 additions and 16 deletions
  1. 1 1
      public/version.json
  2. 18 15
      src/views/numsGoodsShelves/replenishmentManagement/list.vue

+ 1 - 1
public/version.json

@@ -1,5 +1,5 @@
 {
   "message": "发现有新版本发布,确定更新系统?",
   "vendorJsVersion": "",
-  "version": 1666658192181
+  "version": 1666665867407
 }

+ 18 - 15
src/views/numsGoodsShelves/replenishmentManagement/list.vue

@@ -263,22 +263,25 @@ export default {
       this.queryByTypeSum(true)
     },
     handleValidate (type, params) {
-      this.spinning = true
+      // this.spinning = true
+      if (type == 'confirm') { // 确认
+        this.confirmFun(params)
+      }
       // 校验产品库存是否足够
-      shelfReplenishDetailStock(params).then(res => {
-        if (res.status == 200) {
-          if (res.data && res.data.length > 0) {
-            this.stockList = res.data
-            this.validateType = 'confirm'
-            this.paramsData = params
-            this.openStockModal = true
-          } else {
-            if (type == 'confirm') { // 确认
-              this.confirmFun(params)
-            }
-          }
-        }
-      })
+      // shelfReplenishDetailStock(params).then(res => {
+      //   if (res.status == 200) {
+      //     if (res.data && res.data.length > 0) {
+      //       this.stockList = res.data
+      //       this.validateType = 'confirm'
+      //       this.paramsData = params
+      //       this.openStockModal = true
+      //     } else {
+      //       if (type == 'confirm') { // 确认
+      //         this.confirmFun(params)
+      //       }
+      //     }
+      //   }
+      // })
     },
     // 提交确认
     confirmFun (params) {