Commit 2790ca72 by wuwx

修复第三轮BUG

1 parent 8cfd367c
...@@ -654,9 +654,11 @@ export default { ...@@ -654,9 +654,11 @@ export default {
params.requestSource = 1 params.requestSource = 1
// 插入判断是否存在审批模板 // 插入判断是否存在审批模板
// const { session } = this.$globalState // const { session } = this.$globalState
if(!((this.editForm.receiveRule == 1 || this.editForm.receiveRule == 4) && params.receiveDetailList && params.receiveDetailList.length)) { if(this.editForm.receiveRule == 1 || this.editForm.receiveRule == 4){
return this.$message.error(`${this.editForm.receiveRule == 1 ? '领取条件不能为空!':'用户手机号不能为空!'}`) if(!((this.editForm.receiveRule == 1 || this.editForm.receiveRule == 4) && params.receiveDetailList && params.receiveDetailList.length)) {
} return this.$message.error(`${this.editForm.receiveRule == 1 ? '领取条件不能为空!':'用户手机号不能为空!'}`)
}
}
this.insertHttp(params) this.insertHttp(params)
// this.$apis.giftBag.templateModal({ merchantId: session.merchantId }).then(result => { // this.$apis.giftBag.templateModal({ merchantId: session.merchantId }).then(result => {
// if (result.data && (!this.isChangeCoupons || !this.isChangePeople)) { // if (result.data && (!this.isChangeCoupons || !this.isChangePeople)) {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!