Commit 0362e858 by 李伟康

Merge branch 'v3.22.1' of http://192.168.3.233:8090/saas/scrm-micro-discover into v3.22.1

2 parents ca39bf88 824d3d50
......@@ -645,9 +645,8 @@ export default {
} else callback()
} else {
const _target = this.saleMerchantList.find(item => {
let activityPrice = item.activityPrice || 0
let originalPrice = item.originalPrice || 0
return !(+activityPrice) || !(+originalPrice)
return !(+originalPrice)
})
const _integralTarget = this.saleMerchantList.find(item => !item.giveIntegral && item.giveIntegral !== 0)
const _exchangeintegralTarget = this.saleMerchantList.find(item => this.formObj.goodsSource == 1 && item.exchangeIntegralFlag && (!item.exchangeIntegral || item.exchangeIntegral == 0))
......@@ -658,7 +657,7 @@ export default {
return (+activityPrice > +originalPrice || +originalPrice < minSellPrice)
})
if (_target) {
callback(new Error(`门店${this.formObj.goodsSource == 2 ? '零售价' : '活动价和原价'}请填写大于0的数值`))
callback(new Error(`门店${this.formObj.goodsSource == 2 ? '零售价' : '原价'}请填写大于0的数值`))
} else if (this.formObj.goodsSource != 2 && hasTarget) {
callback(new Error('原价不能小于最低售价和活动价'))
} else if (_integralTarget) {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!