Commit 471f7518 authored by yaya's avatar yaya

feat:修改按钮展示逻辑

parent 7eac74eb
......@@ -77,8 +77,10 @@
size="mini"
@click="handleToDetail(scope.row)">详情
</el-button>
<!-- 预展中,竞拍中,中拍未付款,成交 -->
<!-- (1, "待上架"), (2, "竞拍中"), (3, "已截拍"), (10, "预展中"), (30, "中拍未付款"), (40, "中拍未付款流拍"), (50, "无出价流拍"), (100, "成交"), -->
<el-button
:disabled="(scope.row.auctionState === 10 || scope.row.auctionState === 20 || scope.row.auctionState === 30 || scope.row.auctionState === 100)"
:disabled="(scope.row.auctionState === 10 || scope.row.auctionState === 2 || scope.row.auctionState === 30 || scope.row.auctionState === 100)"
type="primary"
size="mini"
@click="handleToEdit(scope.row)">编辑
......@@ -126,7 +128,7 @@ export default {
value: 10,
label: '预展中'
}, {
value: 20,
value: 2,
label: '竞拍中'
}, {
value: 30,
......
......@@ -93,8 +93,9 @@
</el-table-column>
<el-table-column align="center" label="操作" width="100">
<template slot-scope="scope">
<!-- 预展中、竞拍中 -->
<el-button
:disabled="(scope.row.auctionState === 10 || scope.row.auctionState === 20)"
:disabled="(scope.row.auctionState === 10 || scope.row.auctionState === 2)"
type="danger"
size="mini"
@click="handleDeleteSpecialItem(scope.row)">删除
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment