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
a404e556
Commit
a404e556
authored
Sep 06, 2023
by
dragondean@qq.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
预装单下载改异步
parent
bc8509ac
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
25 additions
and
8 deletions
+25
-8
box.js
src/api/ecw/box.js
+9
-0
indexAir.vue
src/views/ecw/box/indexAir.vue
+10
-2
indexSea.vue
src/views/ecw/box/indexSea.vue
+6
-6
No files found.
src/api/ecw/box.js
View file @
a404e556
...
...
@@ -54,6 +54,15 @@ export function exportboxExcel(query) {
});
}
// 导出预装单-异步
export
function
exportPreloadGoodsList
(
query
)
{
return
request
({
url
:
"
/ecw/box-preload-goods/downloadPreloadGoodsList
"
,
method
:
"
get
"
,
params
:
query
});
}
// 创建费用登记
export
function
createCost
(
data
)
{
if
(
data
.
id
)
{
...
...
src/views/ecw/box/indexAir.vue
View file @
a404e556
...
...
@@ -194,7 +194,15 @@
<
/template
>
<
script
>
import
{
deletebox
,
getbox
,
getboxPage
,
exportboxExcel
,
getNoticeList
,
dealCustomsSplitNotify
}
from
'
@/api/ecw/box
'
import
{
deletebox
,
getbox
,
getboxPage
,
exportboxExcel
,
getNoticeList
,
dealCustomsSplitNotify
,
exportPreloadGoodsList
}
from
'
@/api/ecw/box
'
import
{
getChannelList
}
from
'
@/api/ecw/channel
'
import
{
getWarehouseList
}
from
'
@/api/ecw/warehouse
'
import
costForm
from
'
./costForm.vue
'
...
...
@@ -512,7 +520,7 @@ export default {
// this.$t("预装单") + `($
{
row
.
selfNo
}
).
xlsx
`,
// "xlsx"
// );
this.exportExcel(export
boxExcel
, { shipmentId: row.id
}
, this.$t("预装单") + `
(
$
{
row
.
selfNo
}
).
xlsx
`)
this.exportExcel(export
PreloadGoodsList
, { shipmentId: row.id
}
, this.$t("预装单") + `
(
$
{
row
.
selfNo
}
).
xlsx
`)
break;
case "downloadLoadGoodsList":
downloadFile(
...
...
src/views/ecw/box/indexSea.vue
View file @
a404e556
...
...
@@ -209,11 +209,11 @@
<
script
>
import
{
deletebox
,
getbox
,
getboxPage
,
exportboxExcel
,
getNoticeList
,
dealCustomsSplitNotify
,
deletebox
,
getbox
,
getboxPage
,
exportboxExcel
,
getNoticeList
,
dealCustomsSplitNotify
,
exportPreloadGoodsList
,
}
from
"
@/api/ecw/box
"
;
import
{
downloadFile
,
...
...
@@ -495,7 +495,7 @@ export default {
// this.$t("预装单") + `($
{
row
.
selfNo
}
).
xlsx
`,
// "xlsx"
// );
this.exportExcel(export
boxExcel
, { shipmentId: row.id
}
, this.$t("预装单") + `
(
$
{
row
.
selfNo
}
).
xlsx
`)
this.exportExcel(export
PreloadGoodsList
, { shipmentId: row.id
}
, this.$t("预装单") + `
(
$
{
row
.
selfNo
}
).
xlsx
`)
break;
case "downloadLoadGoodsList":
downloadFile(
...
...
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