Commit 21d74487 by caoyanzhi

update: 奥莱定制

parent 9346500f
......@@ -38,7 +38,7 @@ export default Vue.component('render-temp', {
</a>
);
const bind3 =
$getButtonLimit($buttonCode.marketingEditCard) && !isWeimo && !isApiCreate && (hasStoreCardAuth ? hasCouponCreate : true) ? (
$getButtonLimit($buttonCode.marketingEditCard) && !isWeimo && !isApiCreate && (this.item.cardType == 3 && hasStoreCardAuth ? hasCouponCreate : true) ? (
<a title="编辑" limit-code={$buttonCode.marketingEditCard} onClick={this.handler.bind(null, 3)}>
<i class="el-icon-edit" />
</a>
......@@ -46,7 +46,7 @@ export default Vue.component('render-temp', {
''
);
const bind4 =
$getButtonLimit($buttonCode.marketingDelCard) && canEdit && !isWeimo && (hasStoreCardAuth ? hasCouponCreate : true) ? (
$getButtonLimit($buttonCode.marketingDelCard) && canEdit && !isWeimo && (this.item.cardType == 3 && hasStoreCardAuth ? hasCouponCreate : true) ? (
<a title="删除" limit-code={$buttonCode.marketingDelCard} onClick={this.handler.bind(null, 4)}>
<i class="el-icon-delete" />
</a>
......@@ -59,7 +59,7 @@ export default Vue.component('render-temp', {
</a>
);
const bind6 =
$getButtonLimit($buttonCode.marketingCopyCard) && canEdit && !isApiCreate && !isWeimo && (hasStoreCardAuth ? hasCouponCreate : true) ? (
$getButtonLimit($buttonCode.marketingCopyCard) && canEdit && !isApiCreate && !isWeimo && (this.item.cardType == 3 && hasStoreCardAuth ? hasCouponCreate : true) ? (
<a title="复制" limit-code={$buttonCode.marketingCopyCard} onClick={this.handler.bind(null, 6)}>
<i class="iconfont icon-wxcard-copy" />
</a>
......
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