lilei hace 4 meses
padre
commit
24bbe0a1a5
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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
         }