Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
scrm-micro-purchase
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
1
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit f7f5ccfc
authored
Feb 06, 2026
by
chenwq
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
feat(交付单): 在详情页和添加页显示签收凭证图片
添加签收凭证图片显示功能,支持多图预览。统一调整两个页面的布局和样式,使用新的底部间距类。
1 parent
1ec0a906
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
6 deletions
src/views/DeliverList/deliverAdd.vue
src/views/DeliverList/deliverDetail.vue
src/views/DeliverList/deliverAdd.vue
View file @
f7f5ccf
...
@@ -16,6 +16,13 @@
...
@@ -16,6 +16,13 @@
<span
v-else
>
-
</span>
<span
v-else
>
-
</span>
</div>
</div>
</div>
</div>
<div
class=
"detail-info m-b-33"
style=
"justify-content: flex-start; align-items: flex-start;"
>
签收凭证:
<div
v-if=
"detailInfo.uploadFileUrl"
>
<el-image
v-for=
"(url, index) in detailInfo.uploadFileUrl.split(',')"
:key=
"index"
:src=
"url"
:preview-src-list=
"detailInfo.uploadFileUrl.split(',')"
style=
"width: 36px; height: 36px; margin-right: 8px; cursor: pointer;"
class=
"sign-image"
fit=
"cover"
/>
</div>
<div
v-else
>
-
</div>
</div>
<template
v-for=
"(item, index) in detailInfo.deliveryDetailList"
>
<template
v-for=
"(item, index) in detailInfo.deliveryDetailList"
>
<div
class=
"table-wrap"
:key=
"index"
>
<div
class=
"table-wrap"
:key=
"index"
>
<div
class=
"detail-info"
>
<div
class=
"detail-info"
>
...
@@ -430,7 +437,6 @@ export default {
...
@@ -430,7 +437,6 @@ export default {
color
:
#
666666
ff
;
color
:
#
666666
ff
;
font
-
size
:
14
px
;
font
-
size
:
14
px
;
margin
-
bottom
:
16
px
;
margin
-
bottom
:
16
px
;
span
{
span
{
color
:
#
333333
ff
;
color
:
#
333333
ff
;
}
}
...
@@ -442,6 +448,10 @@ export default {
...
@@ -442,6 +448,10 @@ export default {
}
}
}
}
.
m
-
b
-
33
{
margin
-
bottom
:
33
px
;
}
.
table
-
wrap
{
.
table
-
wrap
{
border
:
1
px
solid
#
e5e5e5
;
border
:
1
px
solid
#
e5e5e5
;
padding
:
16
px
;
padding
:
16
px
;
...
...
src/views/DeliverList/deliverDetail.vue
View file @
f7f5ccf
...
@@ -14,7 +14,7 @@
...
@@ -14,7 +14,7 @@
<span>
{{
detailInfo
.
deliveryDate
?
dayjs
(
detailInfo
.
deliveryDate
).
format
(
'YYYY-MM-DD HH:mm:ss'
)
:
'-'
}}
</span>
<span>
{{
detailInfo
.
deliveryDate
?
dayjs
(
detailInfo
.
deliveryDate
).
format
(
'YYYY-MM-DD HH:mm:ss'
)
:
'-'
}}
</span>
</div>
</div>
</div>
</div>
<div
class=
"detail-info m-
t-16
"
style=
"justify-content: flex-start; align-items: flex-start;"
>
<div
class=
"detail-info m-
b-33
"
style=
"justify-content: flex-start; align-items: flex-start;"
>
签收凭证:
签收凭证:
<div
v-if=
"detailInfo.uploadFileUrl"
>
<div
v-if=
"detailInfo.uploadFileUrl"
>
<el-image
v-for=
"(url, index) in detailInfo.uploadFileUrl.split(',')"
:key=
"index"
:src=
"url"
:preview-src-list=
"detailInfo.uploadFileUrl.split(',')"
style=
"width: 36px; height: 36px; margin-right: 8px; cursor: pointer;"
class=
"sign-image"
fit=
"cover"
/>
<el-image
v-for=
"(url, index) in detailInfo.uploadFileUrl.split(',')"
:key=
"index"
:src=
"url"
:preview-src-list=
"detailInfo.uploadFileUrl.split(',')"
style=
"width: 36px; height: 36px; margin-right: 8px; cursor: pointer;"
class=
"sign-image"
fit=
"cover"
/>
...
@@ -189,10 +189,6 @@ export default {
...
@@ -189,10 +189,6 @@ export default {
color
:
#
666666
ff
;
color
:
#
666666
ff
;
font
-
size
:
14
px
;
font
-
size
:
14
px
;
margin
-
bottom
:
16
px
;
margin
-
bottom
:
16
px
;
.
m
-
t
-
16
{
margin
-
bottom
:
16
px
;
}
span
{
span
{
color
:
#
333333
ff
;
color
:
#
333333
ff
;
}
}
...
@@ -204,6 +200,10 @@ export default {
...
@@ -204,6 +200,10 @@ export default {
}
}
}
}
.
m
-
b
-
33
{
margin
-
bottom
:
33
px
;
}
.
table
-
wrap
{
.
table
-
wrap
{
border
:
1
px
solid
#
e5e5e5
;
border
:
1
px
solid
#
e5e5e5
;
padding
:
16
px
;
padding
:
16
px
;
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment