Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
J
jiedao-web-master
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lanbaoming
jiedao-web-master
Commits
c7fd7804
Commit
c7fd7804
authored
Nov 12, 2024
by
Administrator
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'release' into 'jd_dev'
release最新代码合并到jd_dev20241108 See merge request
!36
parents
5172b0e8
d0ef76f9
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
2 deletions
+19
-2
PrintWarehouseReceipt.vue
...views/jiedao/profile/components/PrintWarehouseReceipt.vue
+19
-2
No files found.
src/views/jiedao/profile/components/PrintWarehouseReceipt.vue
View file @
c7fd7804
...
...
@@ -5,7 +5,7 @@
<div
id=
"myproa"
>
<p
style=
"padding-bottom:10px;font-size:16px;"
>
{{
$t
(
'
printWarehouseReceipt.orderNo
'
)
}}
:
{{
detail
.
orderNo
}}
{{
$t
(
'
printWarehouseReceipt.phone
'
)
}}
:
{{
detail
.
name
}}
{{
detail
.
phone
}}
{{
$t
(
'
printWarehouseReceipt.phone
'
)
}}
:
+
{{
detail
.
consignorVO
.
countryCode
}}
{{
detail
.
consignorVO
.
phone
|
maskPhoneNumber
}}
{{
$t
(
'
printWarehouseReceipt.address
'
)
}}
:
{{
objective
.
titleZh
}}
<img
:src=
"qrcode"
style=
"margin-left: 10px;width:17mm;vertical-align:middle"
>
</p>
...
...
@@ -76,7 +76,24 @@ import lodop from '@/utils/lodop'
import
{
getOrderWarehouseIn
,
getOrderDetail
}
from
'
@/api/order
'
import
qrcode
from
'
qrcode
'
export
default
{
filters
:
{
parseTime
},
filters
:
{
parseTime
,
maskPhoneNumber
(
phoneNumber
)
{
const
length
=
phoneNumber
.
length
;
if
(
length
<=
5
)
{
return
phoneNumber
.
slice
(
0
,
-
3
)
+
'
*
'
.
repeat
(
Math
.
min
(
3
,
length
));
}
// 保留的明文字符数
const
plainLength
=
length
-
5
;
// 尾部保留的明文字符数
const
after
=
Math
.
floor
(
plainLength
/
2
)
// 前面保留的明文字符数
const
before
=
plainLength
-
after
;
return
phoneNumber
.
slice
(
0
,
before
)
+
'
*
'
.
repeat
(
5
)
+
phoneNumber
.
slice
(
-
after
);
}
},
components
:
{
},
props
:
{
orderId
:
[
String
,
Number
]
...
...
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