Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
J
jiedao-app-operator-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-app-operator-master
Commits
4ddc9f83
Commit
4ddc9f83
authored
Mar 21, 2025
by
Smile
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
需求 后台-集运-包裹预报成功页面修改
parent
c39d7f86
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
6 deletions
+10
-6
success.vue
src/views/ecw/cons/success.vue
+10
-6
No files found.
src/views/ecw/cons/success.vue
View file @
4ddc9f83
...
@@ -47,7 +47,7 @@
...
@@ -47,7 +47,7 @@
<div
class=
"actions mt-50"
>
<div
class=
"actions mt-50"
>
<el-button
class=
"copy-btn"
:data-clipboard-text=
"consCopy"
>
{{ $t('一键复制') }}
</el-button>
<el-button
class=
"copy-btn"
:data-clipboard-text=
"consCopy"
>
{{ $t('一键复制') }}
</el-button>
<el-button
type=
"warning"
@
click=
"showNotice = true"
>
{{ $t('入仓须知') }}
</el-button>
<el-button
type=
"warning"
@
click=
"showNotice = true"
>
{{ $t('入仓须知') }}
</el-button>
<el-button
type=
"
primary"
@
click=
"$redirect('detail?orderId=' + order.orderId)
"
>
{{ $t('禁运物品') }}
</el-button>
<el-button
type=
"
success"
@
click=
"showEmbargoNotice = true
"
>
{{ $t('禁运物品') }}
</el-button>
</div>
</div>
<el-dialog
:title=
"$t('查看须知')"
:visible.sync=
"showNotice"
width=
"700px"
>
<el-dialog
:title=
"$t('查看须知')"
:visible.sync=
"showNotice"
width=
"700px"
>
...
@@ -57,6 +57,9 @@
...
@@ -57,6 +57,9 @@
<el-button
type=
"primary"
@
click=
"$refs.needKnow.downloadPdf()"
>
{{ $t('下载') }}
</el-button>
<el-button
type=
"primary"
@
click=
"$refs.needKnow.downloadPdf()"
>
{{ $t('下载') }}
</el-button>
</div>
</div>
</el-dialog>
</el-dialog>
<el-dialog
:title=
"$t('禁运物品')"
:visible.sync=
"showEmbargoNotice"
width=
"700px"
>
<need-know
keyname=
"warehousing"
ref=
"needKnow"
/>
</el-dialog>
</div>
</div>
</template>
</template>
<
script
>
<
script
>
...
@@ -75,6 +78,7 @@ export default {
...
@@ -75,6 +78,7 @@ export default {
return
{
return
{
cons
:
null
,
cons
:
null
,
showNotice
:
false
,
showNotice
:
false
,
showEmbargoNotice
:
false
,
warehouseList
:
[],
warehouseList
:
[],
warehouse
:{},
warehouse
:{},
transport
:
null
transport
:
null
...
@@ -83,7 +87,7 @@ export default {
...
@@ -83,7 +87,7 @@ export default {
},
},
computed
:
{
computed
:
{
consCopy
(){
consCopy
(){
return
`会员号:
${
this
.
cons
.
customerNumber
}
\n运输偏好
${
this
.
transport
}
\n收件人:
${
this
.
warehouse
.
head
}
${
this
.
cons
.
customerNumber
}
\n电话:
${
this
.
warehouse
.
tell
}
\n仓库地址:
${
this
.
warehouse
.
addressZh
}
${
this
.
cons
.
customerNumber
}
`
;
return
`会员号:
${
this
.
cons
.
customerNumber
}
\n运输偏好
:
${
this
.
transport
}
\n收件人:
${
this
.
warehouse
.
head
}
${
this
.
cons
.
customerNumber
}
\n电话:
${
this
.
warehouse
.
tell
}
\n仓库地址:
${
this
.
warehouse
.
addressZh
}
${
this
.
cons
.
customerNumber
}
`
;
},
},
consCustomerNumberCopy
(){
consCustomerNumberCopy
(){
return
`会员号:
${
this
.
cons
.
customerNumber
}
`
;
return
`会员号:
${
this
.
cons
.
customerNumber
}
`
;
...
@@ -99,10 +103,6 @@ export default {
...
@@ -99,10 +103,6 @@ export default {
}
}
},
},
async
created
()
{
async
created
()
{
getConsWarehouse
().
then
((
r
)
=>
{
this
.
warehouseList
=
r
.
data
;
this
.
setWarehouseId
()
});
await
this
.
loadData
()
await
this
.
loadData
()
await
this
.
$nextTick
()
await
this
.
$nextTick
()
clipboard
=
new
ClipboardJS
(
'
.copy-btn
'
)
clipboard
=
new
ClipboardJS
(
'
.copy-btn
'
)
...
@@ -112,6 +112,10 @@ export default {
...
@@ -112,6 +112,10 @@ export default {
clipboard
.
on
(
'
error
'
,
()
=>
{
clipboard
.
on
(
'
error
'
,
()
=>
{
this
.
$message
.
error
(
this
.
$t
(
'
复制失败
'
))
this
.
$message
.
error
(
this
.
$t
(
'
复制失败
'
))
})
})
getConsWarehouse
().
then
((
r
)
=>
{
this
.
warehouseList
=
r
.
data
;
this
.
setWarehouseId
()
});
},
},
destroyed
()
{
destroyed
()
{
clipboard
.
destroy
()
clipboard
.
destroy
()
...
...
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