Browse Source

新建盘点不校验是否还有未完结的盘点单

chenrui 3 years ago
parent
commit
2297be176a
1 changed files with 9 additions and 9 deletions
  1. 9 9
      src/views/inventoryManagement/inventoryChecking/list.vue

+ 9 - 9
src/views/inventoryManagement/inventoryChecking/list.vue

@@ -190,15 +190,15 @@ export default {
         content: '如果开始盘点,不能再进行其他与产品出入库相关的操作。确认开始盘点吗?',
         content: '如果开始盘点,不能再进行其他与产品出入库相关的操作。确认开始盘点吗?',
         centered: true,
         centered: true,
         onOk () {
         onOk () {
-          checkWarehouseValidate({}).then(res => {
-            if (res.status == 200) {
-              if (res.data) {
-                _this.openModal = true
-              } else {
-                _this.$message.info('存在未完结的盘点单,不能新增,请先完成盘点后再新增')
-              }
-            }
-          })
+          // checkWarehouseValidate({}).then(res => {
+          //   if (res.status == 200) {
+          //     if (res.data) {
+          _this.openModal = true
+          //     } else {
+          //       _this.$message.info('存在未完结的盘点单,不能新增,请先完成盘点后再新增')
+          //     }
+          //   }
+          // })
         }
         }
       })
       })
     },
     },