Commit f7b30ffa by liuchenxi

update: 卡券增加小程序文案

parent 9c80b2ad
......@@ -16,6 +16,7 @@ const initForm = {
cardType: 0, // 1.卡券类型: 抵金券: 0; 折扣券: 1; 兑换券: 2
cardName: '', // 2.卡券名称
cardApplyChannel: [], // 卡券适用渠道
channelTip: '',
subName: '', // 3.备注名
subTitle: '', // 4.卡券副标题
erpDemoCode: '', // demo券号
......@@ -527,6 +528,7 @@ export default {
this.storeMode = card.storeMode === 0 ? 0 : 1;
this.gicCouponType = card.gicCouponType;
this.form.cardApplyChannel = card.cardApplyChannel ? card.cardApplyChannel.split(',') : [];
this.form.channelTip = card.channelTip;
this.form.auditingStatus = card.auditingStatus || '';
this.form.giveFlag = card.giveFlag;
this.form.refundFlag = card.refundFlag || 0;
......@@ -896,6 +898,7 @@ export default {
let card = {};
let params = {};
card.channelTip = this.form.channelTip;
card.cardApplyChannel = this.form.cardApplyChannel.join(',');
card.coupCardId = this.form.coupCardId;
card.cardType = this.form.cardType;
......
......@@ -13,6 +13,9 @@
<el-option v-for="item in cardApplyChannelOptions" :key="item.value" :label="item.name" :value="item.value"></el-option>
</el-select>
</el-form-item>
<el-form-item label="展示适用渠道文案" prop="channelTip">
<dm-input v-model="form.channelTip" class="w400" placeholder="请输入小程序端展示的适用渠道文案" :byteType="1" :maxlength="18"></dm-input>
</el-form-item>
<el-form-item prop="cardName" label="卡券名称">
<dm-input v-model="form.cardName" class="w400" placeholder="请输入卡券名称" :disabled="isEdit || isInfo" :byteType="1" :maxlength="30"></dm-input>
</el-form-item>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment