lilei 1 yıl önce
ebeveyn
işleme
714d761c7f

+ 1 - 22
src/views/inventoryManagement/inventoryCheck/list.vue

@@ -188,28 +188,7 @@ export default {
   methods: {
     // 新增
     handleAdd () {
-      this.spinning = true
-      checkWarehouseStartCheck({}).then(res => {
-        this.spinning = false
-        if (res.status == 200) {
-          if (res.data && res.data.length > 0) {
-            // this.modalHtml = `<div style="width: 100%">
-            //   <h3 style="font-size: 15px;font-weight: bold;margin: 20px 0 5px;text-align: center;">存在以下状态的销售单,无法盘点。</h3>
-            //   <h3 style="font-size: 15px;font-weight: bold;margin-bottom: 25px;text-align: center;">请先检查并处理完以下单据再试。</h3>
-            //   ${res.data.indexOf('WAIT_AUDIT') != -1 ? '<p>销售单-待审核(总部自建)</p>' : ''}
-            //   ${res.data.indexOf('AUDIT_REJECT') != -1 ? '<p>销售单-审核不通过(总部自建)</p>' : ''}
-            //   ${res.data.indexOf('HQ_CHANGE') != -1 ? '<p>销售单-总公司改单</p>' : ''}
-            //   ${res.data.indexOf('WAIT_PUSH') != -1 ? '<p>销售单-待下推</p>' : ''}
-            // </div>`
-            this.modalHtml = `<div style="width: 100%">
-              ${res.data.indexOf('WAIT_PUSH') != -1 ? '<p>存在“待下推”状态的销售单,无法盘点。</p>' : ''}
-            </div>`
-            this.openCommonModal = true
-          } else {
-            this.openAddModal = true
-          }
-        }
-      })
+      this.openAddModal = true
     },
     // 新增 成功
     handleAddOk (data) {