优化管理端促销相关文本,操作条件

This commit is contained in:
paulGao
2022-06-22 10:55:17 +08:00
parent f4b7068cd6
commit 0a5563e5e2
6 changed files with 22 additions and 21 deletions

View File

@@ -59,7 +59,7 @@
>
<template slot-scope="{ row }" slot="action">
<Button
v-if="row.promotionStatus !== 'START'"
v-if="row.promotionStatus === 'CLOSE' || row.promotionStatus === 'NEW'"
type="info"
size="small"
@click="see(row)"
@@ -78,7 +78,7 @@
</Button>
<Button
class="ml_5"
v-if="row.promotionStatus === 'CLOSE'"
v-if="row.promotionStatus === 'CLOSE' || row.promotionStatus === 'END'"
type="error"
size="small"
@click="remove(row)"