Commit 4bd0b203 by zhangquan

bug修复

1 parent 86f5dd8a
......@@ -216,7 +216,7 @@ export default {
required: true,
validator: (rule, value, callback) => {
const _target = this.saleMerchantList.find(item => !item.activityPrice || !item.originalPrice)
const _integralTarget = this.saleMerchantList.find(item => !item.giveIntegral)
const _integralTarget = this.saleMerchantList.find(item => !item.giveIntegral && item.giveIntegral!==0)
const hasTarget = this.saleMerchantList.find(item => {
let originalPrice = item.originalPrice || 0
let activityPrice = item.activityPrice || 0
......@@ -349,6 +349,7 @@ export default {
handler(nVal, oVal) {
const _target = this.formData.find(item => item.name == 'commerceDescribe')
_target.isHide = !nVal
if(!nVal) this.formObj.commerceDescribe = ''
},
deep: true
}
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!