Commit 1565a036 by liuchenxi

Merge branch 'feature/11月迭代' of http://git.gicdev.com/marketing-web/marketing into feature/11月迭代

parents 9b11cfa8 ef14931e
......@@ -67,7 +67,8 @@ const initForm = {
bannerImageField: '015f1e5a-3b2f-42f5-b638-6a29c17e8f7e',
useJumpFlag: 0, // (0: 不跳转, 1: 跳转)
bannerJumpUrl: {},
giveRule: '1.卡券新老用户同享。\n2.用户使用卡券下单,订单取消后,卡券将自动失效'
giveRule: '1.卡券新老用户同享。\n2.用户使用卡券下单,订单取消后,卡券将自动失效',
wmCouponJson: {}
};
const sale_limit = { fee: 0, goods: '', flag: false, type: 0 }; //最低消费
const goods = { ok: '', no: '', flag: false };
......@@ -481,6 +482,7 @@ export default {
let manualGetFlagSettingRes = await getCardManualSetting(); // 获取商户卡券自动领取配置
this.couponAutoGetFlag = manualGetFlagSettingRes.result.couponAutoGetFlag || 0;
this.couponAutoGetStock = manualGetFlagSettingRes.result.couponAutoGetStock;
this.wmCouponJson = JSON.parse(manualGetFlagSettingRes.result.wmCouponJson || '{}');
let res = null;
if (this.isCopy) {
res = await copyCardDetailService({ coupCardId: this.$route.params.id });
......
......@@ -211,6 +211,7 @@
<li>开启后可与其它卡券叠加或在门店活动中使用(需要单独对接)</li>
<li>修改后请注意调整卡券使用说明</li>
</ul>
<el-alert v-if="form.cardApplyChannel.some(el => el == 'WMmicroMall') && wmCouponJson.couponOnlyFlag == 1" class="f-alert" type="warning" show-icon :closable="false" title="开启后,当此券同步至微盟侧,可在微盟侧修改调整卡券相应配置,比如修改使用规则等。注意,微盟侧修改后不会同步给达摩,请谨慎操作。"></el-alert>
</div>
</el-form-item>
<el-form-item prop="cardLimit" label="领券限制">
......@@ -397,7 +398,7 @@ export default cardForm;
<style lang="scss" scoped>
.f-alert {
width: 780px !important;
width: 900px !important;
/deep/ .el-alert__content {
height: 18px;
line-height: 18px;
......
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