Commit fcacb0e7 by caoyanzhi

update: 替换新建卡券的门店选择器

parent 7897dab9
......@@ -1160,13 +1160,13 @@ export default {
card.storeWidgetKey = this.uuid;
// 这里判断部分门店是否为空
if (card.storeMode) {
let data = await this.$refs.storeCard.getRightList();
// let data = await this.$refs.storeCard.getRightList();
// console.log(this.$refs.storeCard.newUuid);
// console.log(this.uuid);
if (!data.length) {
this.$tips({ type: 'warning', message: '部分门店不能为空' });
return;
}
// if (!data.length) {
// this.$tips({ type: 'warning', message: '部分门店不能为空' });
// return;
// }
}
params.card = JSON.stringify(card);
......
......@@ -373,7 +373,8 @@
</div>
<div class="fz12 gray " v-else>* 仅支持选择账号管辖门店范围内的门店;</div>
<!-- :readonly="isEdit" -->
<vue-gic-store-card class="pt10" :readonly="isInfo" v-bind="storeParams" v-show="storeMode" ref="storeCard" :uuid.sync="uuid"></vue-gic-store-card>
<!-- <vue-gic-store-card class="pt10" :readonly="isInfo" v-bind="storeParams" v-show="storeMode" ref="storeCard" :uuid.sync="uuid"></vue-gic-store-card> -->
<dm-store-selector v-if="isAdd ? storeMode : storeMode && !isAdd && uuid" :readonly="isInfo" v-bind="storeParams" ref="storeCard" :uuid.sync="uuid"></dm-store-selector>
<el-alert v-show="storeMode && form.cardApplyChannel.indexOf('WMmicroMall') !== -1" title="选择的门店必须保持与微盟侧门店一致,请确认选择无误" type="warning" show-icon :closable="false" class="mt20 width80"></el-alert>
</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