Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
scrm-micro-ordermanage
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 795a9188
authored
Sep 05, 2025
by
前端
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
BUG修复
1 parent
8fd4ee76
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
2 deletions
src/views/orderManage/orderDetail.vue
src/views/orderManage/orderDetail.vue
View file @
795a918
...
...
@@ -299,7 +299,7 @@
<!-- 上传接车/交车单 -->
<GLDialog
mode=
"mid"
class=
"import-dialog"
title=
"接车/交车单上传
"
:title=
"dialogTitle
"
:visible
.
sync=
"fileVisible"
@
onCancel=
"fileVisible = false"
@
onOk=
"handleConfirmImport"
...
...
@@ -403,6 +403,7 @@ export default {
fileName
:
[{
required
:
true
,
message
:
'请上传文件'
,
trigger
:
'change'
}]
},
carFileType
:
''
,
// 0接车单1交车单
dialogTitle
:
''
,
// 上传弹窗标题
pickUpOrder
:
null
,
// 接车单信息
deliveryNote
:
null
// 交车单信息
}
...
...
@@ -526,6 +527,11 @@ export default {
handleUpload
(
type
)
{
this
.
carFileType
=
type
if
(
type
==
'0'
)
{
this
.
dialogTitle
=
'上传接车单'
}
else
{
this
.
dialogTitle
=
'上传交车单'
}
this
.
fileVisible
=
!
this
.
fileVisible
},
...
...
@@ -584,7 +590,18 @@ export default {
},
handleCarFileUpload
(
obj
)
{
this
.
downloadPDF
(
obj
)
this
.
$confirm
(
'是否确定下载文件?'
,
'提示'
,
{
confirmButtonText
:
'确定'
,
cancelButtonText
:
'取消'
,
type
:
'warning'
,
closeOnClickModal
:
false
})
.
then
(()
=>
{
this
.
downloadPDF
(
obj
)
})
.
catch
(
err
=>
{
console
.
log
(
err
)
})
},
handleCarFilePreview
(
url
)
{
...
...
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