lilei 4 ماه پیش
والد
کامیت
24bbe0a1a5
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      src/views/salesManagement/salesQueryNew/detail.vue

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

@@ -759,7 +759,7 @@ export default {
     // 验证通过
     verificationSuccess (isBatch) {
       if (isBatch) { // 一键审核
-        if (this.$refs.productActiveList.hasOutStockOfActive) {
+        if (this.$refs.productActiveList && this.$refs.productActiveList.hasOutStockOfActive) {
           this.messageInfo('参加促销活动的产品存在缺货,不可一键审核!')
           return
         }