Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Q
qk_admin
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
quanku
qk_admin
Commits
471f7518
Commit
471f7518
authored
Jun 24, 2024
by
yaya
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat:修改按钮展示逻辑
parent
7eac74eb
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
3 deletions
+6
-3
src/views/sale/auctionList.vue
src/views/sale/auctionList.vue
+4
-2
src/views/sale/specialAdd.vue
src/views/sale/specialAdd.vue
+2
-1
No files found.
src/views/sale/auctionList.vue
View file @
471f7518
...
...
@@ -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 === 2
0
|| 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
:
2
0
,
value
:
2
,
label
:
'
竞拍中
'
}
,
{
value
:
30
,
...
...
src/views/sale/specialAdd.vue
View file @
471f7518
...
...
@@ -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 === 2
0
)
"
:
disabled
=
"
(scope.row.auctionState === 10 || scope.row.auctionState === 2)
"
type
=
"
danger
"
size
=
"
mini
"
@
click
=
"
handleDeleteSpecialItem(scope.row)
"
>
删除
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment