|
@@ -52,8 +52,11 @@
|
|
bordered>
|
|
bordered>
|
|
<!-- 促销时间 -->
|
|
<!-- 促销时间 -->
|
|
<template slot="activeDate" slot-scope="text, record">
|
|
<template slot="activeDate" slot-scope="text, record">
|
|
- <span v-if="record.activeDateStart || record.activeDateEnd">{{ record.activeDateStart }} 至 {{ record.activeDateEnd }}</span>
|
|
|
|
- <span v-else>--</span>
|
|
|
|
|
|
+ <div v-if="record.activeDateEnable != '0'">
|
|
|
|
+ <span v-if="record.activeDateStart || record.activeDateEnd">{{ record.activeDateStart }} 至 {{ record.activeDateEnd }}</span>
|
|
|
|
+ <span v-else>--</span>
|
|
|
|
+ </div>
|
|
|
|
+ <span v-else>不限</span>
|
|
</template>
|
|
</template>
|
|
<!-- 状态 -->
|
|
<!-- 状态 -->
|
|
<template slot="enabledFlag" slot-scope="text, record">
|
|
<template slot="enabledFlag" slot-scope="text, record">
|
|
@@ -70,12 +73,14 @@
|
|
<a-button
|
|
<a-button
|
|
size="small"
|
|
size="small"
|
|
type="link"
|
|
type="link"
|
|
|
|
+ v-if="record.enabledFlag != 1"
|
|
class="button-primary"
|
|
class="button-primary"
|
|
@click="handleRule(record)"
|
|
@click="handleRule(record)"
|
|
id="promotionRulesList-rule-btn">规则设置</a-button>
|
|
id="promotionRulesList-rule-btn">规则设置</a-button>
|
|
<a-button
|
|
<a-button
|
|
size="small"
|
|
size="small"
|
|
type="link"
|
|
type="link"
|
|
|
|
+ v-if="record.enabledFlag != 1"
|
|
class="button-info"
|
|
class="button-info"
|
|
@click="handleEdit(record)"
|
|
@click="handleEdit(record)"
|
|
id="promotionRulesList-edit-btn">编辑</a-button>
|
|
id="promotionRulesList-edit-btn">编辑</a-button>
|