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