mirror of
https://gitee.com/beijing_hongye_huicheng/lilishop-ui.git
synced 2025-12-21 18:35:53 +08:00
商家端优化库存预警,管理端 商家端隐藏所有促销活动的删除按钮
This commit is contained in:
@@ -235,7 +235,7 @@ export default {
|
||||
slot: "action",
|
||||
align: "center",
|
||||
fixed: "right",
|
||||
maxWidth: 140,
|
||||
maxWidth: 240,
|
||||
},
|
||||
],
|
||||
data: [], // 表单数据
|
||||
|
||||
@@ -43,8 +43,8 @@
|
||||
@click="openOrClose(row)">关闭</Button>
|
||||
<Button type="success" v-if="row.promotionStatus === 'CLOSE'" style="margin-left: 5px" size="small"
|
||||
@click="openOrClose(row)">开启</Button>
|
||||
<Button type="error" :disabled="row.promotionStatus == 'START'" style="margin-left: 5px" size="small"
|
||||
@click="del(row)">删除</Button>
|
||||
<!--<Button type="error" :disabled="row.promotionStatus == 'START'" style="margin-left: 5px" size="small"-->
|
||||
<!--@click="del(row)">删除</Button>-->
|
||||
</div>
|
||||
</template>
|
||||
</Table>
|
||||
|
||||
@@ -77,13 +77,13 @@
|
||||
@click="manage(row, 'view')"
|
||||
>查看</Button
|
||||
>
|
||||
<Button
|
||||
type="error"
|
||||
size="small"
|
||||
v-if="row.promotionStatus != 'START'"
|
||||
@click="remove(row)"
|
||||
>删除</Button
|
||||
>
|
||||
<!--<Button-->
|
||||
<!--type="error"-->
|
||||
<!--size="small"-->
|
||||
<!--v-if="row.promotionStatus != 'START'"-->
|
||||
<!--@click="remove(row)"-->
|
||||
<!-->删除</Button-->
|
||||
<!-->-->
|
||||
<Button
|
||||
type="success"
|
||||
v-if="row.promotionStatus == 'CLOSE'"
|
||||
|
||||
Reference in New Issue
Block a user