Commit fa7269f0 by 前端

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

2 parents 7cdac9cd c15a7f18
......@@ -363,7 +363,10 @@ export default {
return
}
this.ruleForm.limitPurchaseNumber = 0
<<<<<<< HEAD
=======
>>>>>>> c15a7f1851a26aa5aedf629368c243b3b5583094
},
changeqrCode(val) {
this.ruleForm[val.key] = val.arr[0]
......@@ -473,10 +476,11 @@ export default {
},
submitForm(formName) {
this.$refs.ruleForm.validate(async valid => {
if (this.choseItemList.length <= 0) {
this.setmealContentRules = true
return
}
if (!valid) {
if (this.choseItemList.length <= 0) {
this.setmealContentRules = true
}
return
}
if (this.id) {
......@@ -549,10 +553,10 @@ export default {
params.packageImg = this.ruleForm.packageImg
params.sharePosterImg = this.ruleForm.sharePosterImg
}
if (!this.showGh && this.accountLevel == 4) {
params.limitPurchaseFlag = this.ruleForm.limitPurchaseFlag
params.limitPurchaseNumber = this.ruleForm.limitPurchaseFlag == 2 ? params.limitPurchaseNumber : ''
}
}
if (!this.showGh && this.accountLevel == 4) {
params.limitPurchaseFlag = this.ruleForm.limitPurchaseFlag
params.limitPurchaseNumber = this.ruleForm.limitPurchaseFlag == 2 ? this.ruleForm.limitPurchaseNumber : ''
}
let list = this.choseItemList
for (var i in list) {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!