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
5ae92387
Commit
5ae92387
authored
Jan 09, 2024
by
dragondean@qq.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
下载已装单改异步
parent
ee579df8
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
22 additions
and
17 deletions
+22
-17
indexSea.vue
src/views/ecw/box/indexSea.vue
+8
-11
index.vue
src/views/ecw/box/ladingBill/index.vue
+14
-6
No files found.
src/views/ecw/box/indexSea.vue
View file @
5ae92387
...
...
@@ -209,11 +209,11 @@
<
script
>
import
{
deletebox
,
getbox
,
getboxPage
,
exportboxExcel
,
getNoticeList
,
dealCustomsSplitNotify
,
exportSeaPreloadGoodsList
,
zipDownload
,
deletebox
,
getbox
,
getboxPage
,
exportboxExcel
,
getNoticeList
,
dealCustomsSplitNotify
,
exportSeaPreloadGoodsList
,
zipDownload
,
downloadLoadGoodsList
,
}
from
"
@/api/ecw/box
"
;
import
{
downloadFile
,
...
...
@@ -498,12 +498,9 @@ export default {
this.exportExcel(exportSeaPreloadGoodsList, { shipmentId: row.id
}
, this.$t("预装单") + `
(
$
{
row
.
selfNo
}
).
xlsx
`)
break;
case "downloadLoadGoodsList":
downloadFile(
command,
{ shipmentId: row.id
}
,
this.$t("已装单") + `
(
$
{
row
.
selfNo
}
).
xlsx
`,
"xlsx"
);
downloadLoadGoodsList({ shipmentId: row.id
}
).then(res => {
this.$message.success(this.$t('已加入导出队列,请稍后在下载日志中下载'))
}
)
break;
case "downloadReceivableList":
downloadFile(
...
...
src/views/ecw/box/ladingBill/index.vue
View file @
5ae92387
...
...
@@ -108,10 +108,15 @@
<
script
>
import
{
getMakeBillList
,
makeBillService
,
getBillService
,
deleteBillService
,
zipDownload
,
downloadReceivableList
,
makeAirBillService
,
downloadAirReceivableList
,
getMakeBillList
,
makeBillService
,
getBillService
,
deleteBillService
,
zipDownload
,
downloadReceivableList
,
makeAirBillService
,
downloadAirReceivableList
,
downloadLoadGoodsList
,
}
from
"
@/api/ecw/box
"
;
import
{
getTotlContent
,
...
...
@@ -217,12 +222,15 @@ export default {
});
break
;
case
"
downloadLoadGoodsList
"
:
downloadFile
(
downloadLoadGoodsList
({
shipmentId
:
this
.
shipmentObj
.
id
}).
then
(
res
=>
{
this
.
$message
.
success
(
this
.
$t
(
'
已加入导出队列,请稍后在下载日志中下载
'
))
})
/*downloadFile(
type,
{ shipmentId: this.shipmentObj.id },
this.$t("已装单") + `(${this.shipmentObj.selfNo}).xlsx`,
"xlsx"
);
);
*/
return
;
case
"
downloadReceivableList
"
:
const
api
=
this
.
type
==
'
air
'
?
downloadAirReceivableList
:
downloadReceivableList
;
...
...
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