Commit 7a9bd7d4 by wuwx

优化定向礼包提交接口

1 parent 808f3402
No preview for this file type
......@@ -654,7 +654,13 @@ export default {
params.requestSource = 1
// 插入判断是否存在审批模板
// const { session } = this.$globalState
this.insertHttp(params)
if(this.editForm.receiveDetails) {
this.insertHttp(params)
} else if(this.editForm.receiveRule == 4) {
return this.$message.error('用户手机号不能为空!')
} else if(this.editForm.receiveRule == 1) {
return this.$message.error('领取条件不能为空!')
}
// this.$apis.giftBag.templateModal({ merchantId: session.merchantId }).then(result => {
// if (result.data && (!this.isChangeCoupons || !this.isChangePeople)) {
// this.$confirm(`<div>提交后立即生效,如需审批,请在企微工作台创建</div><div>是否继续提交</div>`, '提示', {
......
File mode changed
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!