Commit 7396befd by zhangquan

修改table逻辑

1 parent fa34de91
......@@ -130,6 +130,11 @@ const saveCouponInfo = params => {
// 获取模板下的优惠券列表
const getCouponById = params => {
if(!params.templateId) {
return new Promise((resolve, reject)=>{
reject()
})
};
params.method = `${defaultPath}template.details.page`
return other_http({
url,
......
......@@ -166,7 +166,7 @@ import selectCouponDialog from './components/selectCouponDialog.vue'
beforeSearchFn(){
return new Promise((resolve, reject) => {
this.searchForm.templateId = this.curConfigId
if(!this.curConfigId) return reject();
// if(!this.curConfigId) return reject();
resolve()
})
},
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!