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
639e54f2
Commit
639e54f2
authored
Jun 21, 2024
by
yaya
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat:优化专场拍品选择
parent
dae2818b
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
35 additions
and
17 deletions
+35
-17
src/api/business/sale.js
src/api/business/sale.js
+12
-0
src/views/sale/auctionList.vue
src/views/sale/auctionList.vue
+7
-7
src/views/sale/components/selectSpecialDialog.vue
src/views/sale/components/selectSpecialDialog.vue
+5
-4
src/views/sale/specialAdd.vue
src/views/sale/specialAdd.vue
+2
-3
src/views/sale/specialDetail.vue
src/views/sale/specialDetail.vue
+2
-2
src/views/sale/specialList.vue
src/views/sale/specialList.vue
+7
-1
No files found.
src/api/business/sale.js
View file @
639e54f2
...
...
@@ -163,6 +163,18 @@ export function findSpecialListById(data) {
data
})
}
/**
* 专场选择拍品
* @param data
* @returns {*}
*/
export
function
findSupplierItemForSpecialPerformance
(
data
)
{
return
request
({
url
:
'
/supplierItem/findSupplierItemForSpecialPerformance
'
,
method
:
'
post
'
,
data
})
}
/**
* 删除专场下拍品
* @param data
...
...
src/views/sale/auctionList.vue
View file @
639e54f2
...
...
@@ -3,7 +3,7 @@
<div
class=
"filter-container"
>
<div
class=
"button_left"
>
<el-input
v-model=
"listQuery.name"
clearable
class=
"filter-item"
style=
"width: 200px;"
placeholder=
"请输入标题"
/>
<el-select
v-model=
"listQuery.
status
"
placeholder=
"请选择拍卖状态"
class=
"filter-item"
style=
"width: 200px;"
clearable
>
<el-select
v-model=
"listQuery.
auctionState
"
placeholder=
"请选择拍卖状态"
class=
"filter-item"
style=
"width: 200px;"
clearable
>
<el-option
v-for=
"item in options"
:key=
"item.label"
...
...
@@ -122,22 +122,22 @@ export default {
value
:
1
,
label
:
'
待上架
'
}
,
{
value
:
2
,
value
:
10
,
label
:
'
预展中
'
}
,
{
value
:
3
,
value
:
20
,
label
:
'
竞拍中
'
}
,
{
value
:
4
,
value
:
30
,
label
:
'
中拍未付款
'
}
,
{
value
:
5
,
value
:
100
,
label
:
'
成交
'
}
,
{
value
:
6
,
value
:
40
,
label
:
'
中拍未付款流拍
'
}
,
{
value
:
7
,
value
:
50
,
label
:
'
无出价流拍
'
}
],
listLoading
:
true
,
...
...
src/views/sale/components/selectSpecialDialog.vue
View file @
639e54f2
...
...
@@ -82,7 +82,7 @@
<
script
>
import
Line2Hidden
from
'
@/components/line2Hidden
'
import
Pagination
from
'
@/components/Pagination
'
import
{
find
AuctionList
,
addSpecialItem
}
from
'
@/api/business/sale
'
import
{
find
SpecialListById
,
addSpecialItem
}
from
'
@/api/business/sale
'
export
default
{
name
:
'
SelectSpecialDialog
'
,
components
:
{
...
...
@@ -135,9 +135,10 @@ export default {
}
,
getList
()
{
this
.
listLoading
=
true
findAuctionList
(
this
.
listQuery
).
then
(
response
=>
{
this
.
list
=
response
.
data
.
data
.
dataList
this
.
total
=
response
.
data
.
data
.
total
this
.
listQuery
.
specialPerformanceId
=
this
.
specialPerformanceId
findSpecialListById
(
this
.
listQuery
).
then
(
response
=>
{
this
.
list
=
response
.
data
.
data
.
data
.
dataList
this
.
total
=
response
.
data
.
data
.
data
.
total
this
.
listLoading
=
false
}
).
catch
((
e
)
=>
{
this
.
list
=
[]
...
...
src/views/sale/specialAdd.vue
View file @
639e54f2
...
...
@@ -380,9 +380,8 @@ export default {
this
.
listLoading
=
true
this
.
listQuery
.
specialPerformanceId
=
this
.
id
findSpecialListById
(
this
.
listQuery
).
then
(
response
=>
{
debugger
this
.
list
=
response
.
data
.
data
.
dataList
this
.
total
=
response
.
data
.
data
.
total
this
.
list
=
response
.
data
.
data
.
data
.
dataList
this
.
total
=
response
.
data
.
data
.
data
.
total
this
.
listLoading
=
false
}
).
catch
((
e
)
=>
{
this
.
list
=
[]
...
...
src/views/sale/specialDetail.vue
View file @
639e54f2
...
...
@@ -95,10 +95,11 @@ import { findSpecialListById, specialDetail } from '../../api/business/sale'
import
CheckLargeImageDialog
from
'
../goods/components/CheckLargeImageDialog
'
import
CheckVideoDialog
from
'
../goods/components/CheckVideoDialog
'
import
Line2Hidden
from
'
@/components/line2Hidden
'
import
Pagination
from
'
@/components/Pagination
'
export
default
{
name
:
'
SpecialDetail
'
,
components
:
{
CheckVideoDialog
,
CheckLargeImageDialog
,
Line2Hidden
}
,
components
:
{
CheckVideoDialog
,
CheckLargeImageDialog
,
Line2Hidden
,
Pagination
}
,
data
()
{
return
{
id
:
''
,
...
...
@@ -183,7 +184,6 @@ export default {
this
.
listLoading
=
true
this
.
listQuery
.
specialPerformanceId
=
this
.
id
findSpecialListById
(
this
.
listQuery
).
then
(
response
=>
{
debugger
this
.
list
=
response
.
data
.
data
.
data
.
dataList
this
.
total
=
response
.
data
.
data
.
data
.
total
this
.
listLoading
=
false
...
...
src/views/sale/specialList.vue
View file @
639e54f2
...
...
@@ -37,7 +37,7 @@
:
disabled
=
"
(scope.row.state === 2)
"
type
=
"
primary
"
size
=
"
mini
"
@
click
=
"
handleTo
Detail
(scope.row)
"
>
编辑
@
click
=
"
handleTo
Edit
(scope.row)
"
>
编辑
<
/el-button
>
<
el
-
button
:
disabled
=
"
(scope.row.state === 2)
"
...
...
@@ -146,6 +146,12 @@ export default {
handleToDetail
(
item
)
{
this
.
$router
.
push
({
path
:
'
/sale/specialDetail
'
,
query
:
{
id
:
item
.
id
}}
)
}
,
/**
* 编辑
*/
handleToEdit
(
item
)
{
this
.
$router
.
push
({
path
:
'
/sale/specialAdd
'
,
query
:
{
id
:
item
.
id
}}
)
}
,
/**
* 删除
*/
...
...
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