Commit e87c51f0 by chenwq

优惠券

1 parent 1b91ee1e
......@@ -71,7 +71,7 @@
</glsx-combi-form>
<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="getCurrentRow()"></el-radio>
<el-radio :label="scope.scope.id" v-model="associationRadio" @change.native="getCouponInfo()"></el-radio>
</div>
</GLTable>
<!-- 表格区域 end -->
......@@ -91,9 +91,8 @@
<el-tooltip effect="dark" :content="editForm.relatedCouponName" placement="bottom">
<span class="associationLists-X">{{ editForm.relatedCouponName }}</span>
</el-tooltip>
<span class="associationLists-X">{{ editForm.relatedDiscountType }}</span>
<span class="associationLists-X">{{ editForm.relatedUseChannel }}</span>
<span class="associationLists-X">{{ editForm.relatedUseChannel || '-' }}</span>
<span class="associationLists" v-if="routeInfo.addOrEdit !== 3">
<el-button type="text" @click="del()">删除</el-button>
</span>
......@@ -367,7 +366,7 @@ export default {
label: '使用途径',
prop: 'useChannel',
formatter: cellValue => {
var useChannel = ''
var useChannel = '-'
if (cellValue.useChannel) {
useChannel = this.associationBaseData.useChannelList.find(item => item.confId == cellValue.useChannel).confName
}
......@@ -953,7 +952,7 @@ export default {
this.associationRadio = this.editForm.relatedCouponId
this.dialogTableVisible = false
},
getCurrentRow() {
getCouponInfo() {
//获取选中数据
// this.radio
let inx = this.templateSelection.findIndex(value => value.id == this.associationRadio)
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!