lilei 1 year ago
parent
commit
a5dce9bfbd
1 changed files with 8 additions and 8 deletions
  1. 8 8
      src/views/salesManagement/salesQueryNew/detail.vue

+ 8 - 8
src/views/salesManagement/salesQueryNew/detail.vue

@@ -306,15 +306,15 @@ export default {
     },
     // 打开审核/一键审核弹框
     handleAudit (isBatch) {
-      if(this.detailData&&this.detailData.promoFlag==1&&this.$refs.productList.outStockStr != ''){
-        this.$info({
-          title: '提示',
-          content: '参加促销活动的销售单,有缺货产品,不可一键审核!',
-          centered: true
-        })
-        return
-      }
       if (isBatch) { // 一键审核
+        if(this.detailData&&this.detailData.promoFlag==1&&this.$refs.productList.outStockStr != ''){
+          this.$info({
+            title: '提示',
+            content: '参加促销活动的销售单,有缺货产品,不可一键审核!',
+            centered: true
+          })
+          return
+        }
         this.showDsModal = true
         this.$refs.dsModal.setDetail(this.detailData)
       } else {