lilei 4 месяцев назад
Родитель
Сommit
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
         }