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
4e476c0f
Commit
4e476c0f
authored
Dec 26, 2023
by
yaya
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 寄售详情展示优化
parent
92413862
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
36 additions
and
10 deletions
+36
-10
src/views/consign/components/FinishSettlementDialog.vue
src/views/consign/components/FinishSettlementDialog.vue
+2
-2
src/views/consign/consignDetail.vue
src/views/consign/consignDetail.vue
+34
-8
No files found.
src/views/consign/components/FinishSettlementDialog.vue
View file @
4e476c0f
...
...
@@ -5,12 +5,12 @@
:before-close=
"handleCancelFinishDialog"
width=
"600px"
height=
"800px"
title=
"
货品售出
"
>
title=
"
向用户结款
"
>
<el-form
ref=
"finish"
:model=
"saleForm"
>
<el-form-item>
<div
v-if=
"saleUserInfo"
class=
"sale_info"
>
{{
`向${saleUserInfo.name || '-'
}
(手机号:${saleUserInfo.phone || '-'
}
)转账${saleUserInfo.settleAmount || '-'
}
元`
}}
<
/div
>
<
/el-form-item
>
<
el
-
form
-
item
label
=
"
商品图片
"
>
<
el
-
form
-
item
label
=
"
凭证
"
required
>
<
el
-
upload
:
action
=
"
uploadPath
"
:
headers
=
"
headers
"
...
...
src/views/consign/consignDetail.vue
View file @
4e476c0f
...
...
@@ -52,14 +52,14 @@
<div
slot=
"header"
class=
"clearfix"
>
<span
style=
"font-weight: bold"
>
寄售单信息
</span>
</div>
<div
class=
"consign_content_item"
>
<div
class=
"consign_content_item"
style=
"height: calc(100vh - 240px)"
>
<div
style=
"font-weight: bold"
>
货品信息
</div>
<div
class=
"consign_content_item__text"
>
{{
`藏品类目:${consignDetail.categoryNamesStr || '-'
}
`
}}
<
/div
>
<
div
class
=
"
consign_content_item__text
"
>
{{
`藏品名称:${consignDetail.name || '-'
}
`
}}
<
/div
>
<
div
class
=
"
consign_content_item__text
"
>
{{
`详细介绍:${consignDetail.detail || '-'
}
`
}}
<
/div
>
<
div
class
=
"
consign_content_item__text
"
>
{{
`\u2003入手价:${consignDetail.price ? '¥' + consignDetail.price : '-'
}
`
}}
<
/div
>
<
div
class
=
"
consign_content_item__image
"
>
<
div
style
=
"
width: 1
8
0px
"
>
藏品图片
/
视频:
<
/div
>
<
div
style
=
"
width: 1
2
0px
"
>
藏品图片
/
视频:
<
/div
>
<
div
class
=
"
image_content
"
>
<
div
v
-
if
=
"
consignDetail.videosImageUrl
"
class
=
"
image_content_video
"
@
click
=
"
showVideoDialog = true
"
>
<
img
:
src
=
"
consignDetail.videosImageUrl
"
class
=
"
image_content_video_item
"
>
...
...
@@ -76,6 +76,25 @@
<
/div
>
<
/div
>
<
/div
>
<
el
-
divider
/>
<
div
v
-
if
=
"
userVo && (userVo.nickname || userVo.phone)
"
style
=
"
font-weight: bold
"
>
发布人信息
<
/div
>
<
div
v
-
if
=
"
userVo.nickname
"
class
=
"
consign_content_item__text
"
>
{{
`昵称:${userVo.nickname || '-'
}
`
}}
<
/div
>
<
div
v
-
if
=
"
userVo.phone
"
class
=
"
consign_content_item__text
"
>
{{
`手机号:${userVo.phone || '-'
}
`
}}
<
/div
>
<
el
-
divider
/>
<
div
v
-
if
=
"
payInfo && (payInfo.name || payInfo.phone || payInfo.settleAmount)
"
style
=
"
font-weight: bold
"
>
转账信息
<
/div
>
<
div
v
-
if
=
"
payInfo && (payInfo.name || payInfo.phone || payInfo.settleAmount)
"
class
=
"
consign_content_item__text
"
>
{{
`向${payInfo.name || '-'
}
(手机号:${payInfo.phone || '-'
}
)转账${payInfo.settleAmount || '-'
}
元`
}}
<
/div
>
<
div
v
-
if
=
"
payInfo && payInfo.imageList && payInfo.imageList.length > 0
"
class
=
"
consign_content_item__image
"
>
<
div
style
=
"
width: 60px
"
>
凭证
:
<
/div
>
<
div
class
=
"
image_content
"
>
<
div
v
-
for
=
"
(item, index) in payInfo.imageList
"
:
key
=
"
item + index
"
class
=
"
select_item
"
@
click
=
"
handleShowLargeDialog(item)
"
>
<
img
:
src
=
"
item
"
class
=
"
image_content_item
"
>
<
/div
>
<
/div
>
<
/div
>
<
/div
>
<
/el-card
>
<
el
-
card
class
=
"
box-card
"
style
=
"
width: 45%;height: calc(100vh - 180px);margin-left: 20px
"
>
...
...
@@ -159,6 +178,8 @@ export default {
systemState
:
0
,
systemStateName
:
''
,
consignDetail
:
{
}
,
userVo
:
{
}
,
payInfo
:
{
}
,
isHasPrice
:
false
,
consignSaleRecordVoList
:
[],
imageValueForm
:
{
...
...
@@ -208,6 +229,11 @@ export default {
}
this
.
consignDetail
=
response
.
data
.
data
.
itemVo
this
.
isHasPrice
=
response
.
data
.
data
.
isHasPrice
this
.
userVo
=
response
.
data
.
data
.
userVo
this
.
payInfo
=
response
.
data
.
data
.
payInfo
if
(
response
.
data
.
data
.
payInfo
&&
response
.
data
.
data
.
payInfo
.
credential
)
{
this
.
payInfo
.
imageList
=
response
.
data
.
data
.
payInfo
.
credential
.
split
(
'
;
'
)
}
if
(
this
.
consignDetail
.
images
)
{
this
.
consignDetail
.
imageList
=
this
.
consignDetail
.
images
.
split
(
'
;
'
)
||
[]
}
...
...
@@ -243,10 +269,6 @@ export default {
if
(
loading
)
{
loading
.
close
()
}
MessageBox
.
alert
(
'
业务错误:
'
+
response
.
data
.
errmsg
,
'
警告
'
,
{
confirmButtonText
:
'
确定
'
,
type
:
'
error
'
}
)
}
)
}
,
/**
...
...
@@ -326,7 +348,8 @@ export default {
flex
-
direction
:
row
;
.
consign_content_item__text
{
margin
-
top
:
20
px
;
margin
-
top
:
14
px
;
font
-
size
:
15
px
;
}
.
consign_content_item__image
{
...
...
@@ -337,7 +360,6 @@ export default {
.
image_content
{
display
:
flex
;
flex
-
direction
:
row
;
flex
-
wrap
:
wrap
;
.
image_content_video
{
position
:
relative
;
...
...
@@ -369,6 +391,10 @@ export default {
}
}
.
consign_content_item
{
overflow
:
auto
;
padding
-
bottom
:
80
px
;
}
.
consign_step
{
overflow
:
auto
;
}
...
...
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