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
de5c3e23
Commit
de5c3e23
authored
Apr 29, 2024
by
yaya
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 用户藏品添加重置按钮&修改藏品详情是否出售的展示
parent
99e5812c
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
2 deletions
+10
-2
src/views/sale/itemDetail.vue
src/views/sale/itemDetail.vue
+1
-1
src/views/sale/itemList.vue
src/views/sale/itemList.vue
+1
-1
src/views/sale/saleList.vue
src/views/sale/saleList.vue
+8
-0
No files found.
src/views/sale/itemDetail.vue
View file @
de5c3e23
...
@@ -33,7 +33,7 @@
...
@@ -33,7 +33,7 @@
<
div
class
=
"
user_info flex
"
>
<
div
class
=
"
user_info flex
"
>
<
el
-
form
ref
=
"
addInviteRef
"
label
-
width
=
"
120px
"
>
<
el
-
form
ref
=
"
addInviteRef
"
label
-
width
=
"
120px
"
>
<
el
-
form
-
item
label
=
"
是否售卖:
"
>
<
el
-
form
-
item
label
=
"
是否售卖:
"
>
<
div
>
{{
itemContent
&&
itemContent
.
isA
nabSal
e
?
'
是
'
:
'
否
'
}}
<
/div
>
<
div
>
{{
itemContent
&&
itemContent
.
isA
bleSale
===
tru
e
?
'
是
'
:
'
否
'
}}
<
/div
>
<
/el-form-item
>
<
/el-form-item
>
<
el
-
form
-
item
label
=
"
库存:
"
>
<
el
-
form
-
item
label
=
"
库存:
"
>
<
div
>
{{
itemContent
&&
itemContent
.
stock
||
'
-
'
}}
<
/div
>
<
div
>
{{
itemContent
&&
itemContent
.
stock
||
'
-
'
}}
<
/div
>
...
...
src/views/sale/itemList.vue
View file @
de5c3e23
...
@@ -20,7 +20,7 @@
...
@@ -20,7 +20,7 @@
size=
"mini"
/>
size=
"mini"
/>
</el-select>
</el-select>
<el-button
class=
"filter-item"
type=
"primary"
icon=
"el-icon-search"
style=
"margin-left: 12px"
@
click=
"handleFilter"
>
查找
</el-button>
<el-button
class=
"filter-item"
type=
"primary"
icon=
"el-icon-search"
style=
"margin-left: 12px"
@
click=
"handleFilter"
>
查找
</el-button>
<el-button
class=
"filter-item"
type=
"primary"
icon=
"el-icon-search"
style=
"margin-left: 12px"
@
click=
"handleReset"
>
重置
</el-button>
<el-button
class=
"filter-item"
type=
"primary"
style=
"margin-left: 12px"
@
click=
"handleReset"
>
重置
</el-button>
</div>
</div>
</div>
</div>
<el-table
<el-table
...
...
src/views/sale/saleList.vue
View file @
de5c3e23
...
@@ -12,6 +12,7 @@
...
@@ -12,6 +12,7 @@
size=
"mini"
/>
size=
"mini"
/>
</el-select>
</el-select>
<el-button
class=
"filter-item"
type=
"primary"
icon=
"el-icon-search"
style=
"margin-left: 12px"
@
click=
"handleFilter"
>
查找
</el-button>
<el-button
class=
"filter-item"
type=
"primary"
icon=
"el-icon-search"
style=
"margin-left: 12px"
@
click=
"handleFilter"
>
查找
</el-button>
<el-button
class=
"filter-item"
type=
"primary"
style=
"margin-left: 12px"
@
click=
"handleReset"
>
重置
</el-button>
</div>
</div>
<el-button
size=
"mini"
class=
"filter-item"
type=
"primary"
icon=
"el-icon-edit"
@
click=
"handleCreate"
>
添加
</el-button>
<el-button
size=
"mini"
class=
"filter-item"
type=
"primary"
icon=
"el-icon-edit"
@
click=
"handleCreate"
>
添加
</el-button>
</div>
</div>
...
@@ -144,6 +145,13 @@ export default {
...
@@ -144,6 +145,13 @@ export default {
this
.
listQuery
.
page
=
1
this
.
listQuery
.
page
=
1
this
.
getList
()
this
.
getList
()
}
,
}
,
handleReset
()
{
this
.
listQuery
=
{
page
:
1
,
limit
:
20
}
this
.
getList
()
}
,
handleSaleSwitch
(
e
,
item
)
{
handleSaleSwitch
(
e
,
item
)
{
const
params
=
{
id
:
item
.
id
,
isOnSale
:
e
}
const
params
=
{
id
:
item
.
id
,
isOnSale
:
e
}
updateOnSale
(
params
)
updateOnSale
(
params
)
...
...
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