lilei 4 mesiacov pred
rodič
commit
24bbe0a1a5

+ 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
         }