mirror of
https://gitee.com/beijing_hongye_huicheng/lilishop-ui.git
synced 2025-12-22 19:05:54 +08:00
修改管理端bug
This commit is contained in:
@@ -64,14 +64,19 @@
|
||||
</template>
|
||||
<template slot-scope="{ row }" slot="action">
|
||||
<Button
|
||||
v-if="
|
||||
row.promotionStatus === 'NEW'
|
||||
"
|
||||
v-if="row.promotionStatus === 'NEW'"
|
||||
type="primary"
|
||||
size="small"
|
||||
@click="manage(row)"
|
||||
>管理</Button
|
||||
>
|
||||
<Button
|
||||
v-else
|
||||
type="info"
|
||||
size="small"
|
||||
@click="manage(row)"
|
||||
>查看</Button
|
||||
>
|
||||
</template>
|
||||
</Table>
|
||||
</Row>
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
<Button @click="delAll">批量删除</Button>
|
||||
</template>
|
||||
</Row>
|
||||
<Row v-show="openTip">
|
||||
<Row v-show="openTip" v-if="promotionStatus == 'NEW'">
|
||||
<Alert show-icon>
|
||||
已选择 <span class="select-count">{{ selectCount }}</span> 项
|
||||
</Alert>
|
||||
@@ -101,8 +101,7 @@
|
||||
<template slot-scope="{ row, index }" slot="action">
|
||||
<Button
|
||||
type="error"
|
||||
v-if="row.promotionApplyStatus !== 'PASS'"
|
||||
:disabled="promotionStatus != 'NEW'"
|
||||
v-if="promotionStatus === 'NEW'"
|
||||
size="small"
|
||||
ghost
|
||||
@click="delGoods(index, row.id)"
|
||||
@@ -119,7 +118,7 @@
|
||||
<Button
|
||||
type="primary"
|
||||
:loading="submitLoading"
|
||||
:disabled="promotionStatus != 'NEW'"
|
||||
v-if="promotionStatus === 'NEW'"
|
||||
@click="save"
|
||||
>提交</Button
|
||||
>
|
||||
|
||||
Reference in New Issue
Block a user