Commit d0a8c031 by chenwq

编辑商品-优惠券创建按钮

1 parent cdeea166
......@@ -69,6 +69,9 @@
<el-button :size="size" type="primary" @click="handleSearch">查询</el-button>
</span>
</glsx-combi-form>
<!-- <GLButton class="default-blue-btn" style="float: right; margin-bottom: 10px;" :size="size" fn="创建优惠券" @click="handleJumpCoupon">创建优惠券</GLButton> -->
<el-button class="default-blue-btn" style="float: right; margin-bottom: 10px;" :size="size" @click="handleJumpCoupon">创建优惠券</el-button>
<GLTable ref="coupon" :hasNum="false" :getListApi="getListApi" :searchForm="searchForm" :tableParams="associationTableParams" :pageConf="pageConf" @setTableFinishFun="setTableFinishFun">
<div slot="association" slot-scope="scope" class="association">
<el-radio :label="scope.scope.id" v-model="associationRadio" @change.native="getCouponInfo()"></el-radio>
......@@ -955,6 +958,9 @@ export default {
this.associationRadio = this.editForm.relatedCouponId
this.dialogTableVisible = false
},
handleJumpCoupon() {
this.$history.push('/couponManage/index')
},
getCouponInfo() {
//获取选中数据
// this.radio
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!