fixed 修改下架的按钮样式
This commit is contained in:
parent
55e205da04
commit
7b082a9009
@ -62,7 +62,7 @@
|
||||
</el-button>
|
||||
</el-col>
|
||||
<el-col :span="1.5">
|
||||
<el-button type="danger" :disabled="multiple" plain icon="Bottom" @click="handleShelf(2)">
|
||||
<el-button type="warning" :disabled="multiple" plain icon="Bottom" @click="handleShelf(2)">
|
||||
下架
|
||||
</el-button>
|
||||
</el-col>
|
||||
@ -122,7 +122,7 @@
|
||||
v-hasPermi="['business:goods:delete']">删除</el-button>
|
||||
<el-button v-if="scope.row.goodsShelfStatus == 2" type="success" size="small" icon="Top"
|
||||
@click="handleShelf(1, scope.row)">上架</el-button>
|
||||
<el-button v-if="scope.row.goodsShelfStatus == 1" type="danger" size="small" icon="Bottom"
|
||||
<el-button v-if="scope.row.goodsShelfStatus == 1" type="warning" size="small" icon="Bottom"
|
||||
@click="handleShelf(2, scope.row)">下架</el-button>
|
||||
<!-- <el-button size="small" icon="view" @click="handleDetail(scope.row)">查看</el-button> -->
|
||||
</template>
|
||||
@ -362,7 +362,7 @@ function handleShelf(status, row) {
|
||||
distinguishCancelAndClose: true,
|
||||
confirmButtonText: '确定',
|
||||
cancelButtonText: '取消',
|
||||
type: "warning",
|
||||
type: "warning",z
|
||||
})
|
||||
.then(async () => {
|
||||
ShelfData.goodsShelfStatus = status
|
||||
|
Loading…
Reference in New Issue
Block a user