Commit 7a6cf2a1 by 杨北旺

fix:判断是否存在审批模板

1 parent 87bf8a7b
...@@ -449,7 +449,7 @@ export default { ...@@ -449,7 +449,7 @@ export default {
// 插入判断是否存在审批模板 // 插入判断是否存在审批模板
const { session } = this.$globalState const { session } = this.$globalState
this.$apis.giftBag.templateModal({merchantId:session.merchantId}).then((result)=>{ this.$apis.giftBag.templateModal({merchantId:session.merchantId}).then((result)=>{
if(result.data!=null&&(!this.isChangeCoupons || !this.isChangePeople)){ if(result.data&&(!this.isChangeCoupons || !this.isChangePeople)){
this.$confirm(`<div>提交后立即生效,如需审批,请在企微工作台创建</div><div>是否继续提交</div>`, '提示', { this.$confirm(`<div>提交后立即生效,如需审批,请在企微工作台创建</div><div>是否继续提交</div>`, '提示', {
confirmButtonText: '确定', confirmButtonText: '确定',
cancelButtonText: '取消', cancelButtonText: '取消',
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!