23 lines
1.1 KiB
HTML
23 lines
1.1 KiB
HTML
<div class="bg-white margin-top-xs padding border-radius">
|
|
<div class=" ">
|
|
<button type="button" class="btn btn-white btn-sm" v-on:click="_openAddCouponRuleModal()">
|
|
<vc:i18n name='添加' namespace='couponRuleDiv'></vc:i18n>
|
|
</button>
|
|
<button type="button" class="btn btn-white btn-sm" v-on:click="_openEditCouponRuleModel()">
|
|
<vc:i18n name='修改' namespace='couponRuleDiv'></vc:i18n>
|
|
</button>
|
|
<button type="button" class="btn btn-white btn-sm" v-on:click="_openDeleteCouponRuleModel()" >
|
|
<vc:i18n name='删除' namespace='couponRuleDiv'></vc:i18n>
|
|
</button>
|
|
</div>
|
|
<div class="vc-org margin-top">
|
|
<ul>
|
|
<li v-for="(rule,index) in couponRuleDivInfo.couponRules" @click="_switchCouponRule(rule)"
|
|
:class="{'active':rule.ruleId == couponRuleDivInfo.curCouponRule.ruleId}">{{rule.ruleName}}
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
<vc:create path="scm/addCouponRule" callBackListener="" callBackFunction=""></vc:create>
|
|
<vc:create path="scm/editCouponRule"></vc:create>
|
|
<vc:create path="scm/deleteCouponRule"></vc:create>
|
|
</div> |