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
3f0743d0
Commit
3f0743d0
authored
Jul 26, 2023
by
我在何方
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
报关资料上传优化
parent
134488eb
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
3 deletions
+11
-3
order.js
src/api/ecw/order.js
+8
-0
DeclarationDocuments.vue
src/views/ecw/order/components/DeclarationDocuments.vue
+3
-3
No files found.
src/api/ecw/order.js
View file @
3f0743d0
...
...
@@ -798,6 +798,14 @@ export function uploadFile(data) {
data
:
data
})
}
//上传
export
function
uploadOrgname
(
data
)
{
return
request
({
url
:
'
/infra/file/org-name/up
'
,
method
:
'
post
'
,
data
:
data
})
}
/*根据订单ID查询目的国*/
export
function
getDestCountryByOrderId
(
params
){
return
request
({
...
...
src/views/ecw/order/components/DeclarationDocuments.vue
View file @
3f0743d0
...
...
@@ -23,7 +23,7 @@
</el-dialog>
</
template
>
<
script
>
import
{
warehousePictureList
,
warehousePictureCreate
,
warehousePictureDelete
,
upload
Fil
e
}
from
'
@/api/ecw/order
'
import
{
warehousePictureList
,
warehousePictureCreate
,
warehousePictureDelete
,
upload
Orgnam
e
}
from
'
@/api/ecw/order
'
export
default
{
props
:
{
...
...
@@ -84,8 +84,8 @@ export default {
// 上传
const
formData
=
new
FormData
()
formData
.
append
(
'
file
'
,
file
)
formData
.
append
(
'
path
'
,
this
.
uuid
())
upload
Fil
e
(
formData
).
then
(
response
=>
{
//
formData.append('path', this.uuid())
upload
Orgnam
e
(
formData
).
then
(
response
=>
{
if
(
response
.
data
)
{
this
.
createImage
(
response
.
data
)
}
...
...
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