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
61c3c828
Commit
61c3c828
authored
Dec 13, 2023
by
zhoutong
Committed by
houjn@hikoon.cn
Dec 18, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
空运下载已装单
parent
60883a07
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
21 additions
and
1 deletion
+21
-1
boxAir.js
src/api/ecw/boxAir.js
+12
-0
indexAir.vue
src/views/ecw/box/indexAir.vue
+9
-1
No files found.
src/api/ecw/boxAir.js
View file @
61c3c828
...
...
@@ -390,4 +390,16 @@ export function getLineInfo(params) {
method
:
"
get
"
,
params
});
}
/**
* 下载空运已装单
*/
export
function
downloadLoadGoods
(
params
)
{
return
request
({
url
:
"
/ecw/box-preload-goods/downloadAirLoadGoodsList
"
,
method
:
"
get
"
,
timeout
:
120000
,
params
,
})
}
\ No newline at end of file
src/views/ecw/box/indexAir.vue
View file @
61c3c828
...
...
@@ -134,12 +134,12 @@
</el-button>
<el-dropdown-menu
slot=
"dropdown"
>
<el-dropdown-item
command=
"downloadPreloadGoodsList"
v-hasPermi=
"['shipment:air:download:downloadPreloadGoodsList']"
>
{{
$t
(
'
预装单
'
)
}}
</el-dropdown-item>
<!--el-dropdown-item command="downloadLoadGoodsList" v-hasPermi="['shipment:air:download:downloadLoadGoodsList']">
{{
$t
(
'
已装单
'
)
}}
</el-dropdown-item-->
<el-dropdown-item
command=
"downloadReceivableList"
v-hasPermi=
"['shipment:air:download:downloadReceivableList']"
>
{{
$t
(
'
应收汇总表
'
)
}}
</el-dropdown-item>
<el-dropdown-item
command=
"downloadAgentListFiles"
v-hasPermi=
"['shipment:air:download:downloadAgentListFiles']"
>
agent list
</el-dropdown-item>
<el-dropdown-item
command=
"downloadSoncapFiles"
v-hasPermi=
"['shipment:air:download:downloadSoncapFiles']"
>
soncap
</el-dropdown-item>
<el-dropdown-item
command=
"zipDownload"
v-hasPermi=
"['shipment:air:download:zipDownload']"
>
{{
$t
(
'
提货单
'
)
}}
</el-dropdown-item>
<el-dropdown-item
command=
"downloadLadingCopy"
v-hasPermi=
"['shipment:air:download:downloadLadingCopy']"
>
{{
$t
(
'
提单Copy
'
)
}}
</el-dropdown-item>
<el-dropdown-item
command=
"downloadLoadGoods"
v-hasPermi=
"['shipment:air:download:downloadLoadGoods']"
>
{{
$t
(
'
已装单
'
)
}}
</el-dropdown-item>
</el-dropdown-menu>
</el-dropdown>
</
template
>
...
...
@@ -211,6 +211,7 @@ import {
}
from
'
@/api/ecw/box
'
import
{
getLineInfo
}
from
'
@/api/ecw/boxAir
'
import
{
getChannelList
}
from
'
@/api/ecw/channel
'
import
{
downloadLoadGoods
}
from
'
@/api/ecw/boxAir
'
import
{
getWarehouseList
}
from
'
@/api/ecw/warehouse
'
import
costForm
from
'
./costForm.vue
'
import
regError
from
'
./regError.vue
'
...
...
@@ -597,6 +598,13 @@ export default {
case "downloadLadingCopy":
downloadFileByUrl(command, {shipmentId: row.id
}
);
break;
case "downloadLoadGoods":
if(row.tyStatus < 2112){
this.$message.error('请先完成理货后,再下载已装单')
return
}
this.exportExcel(downloadLoadGoods, { shipmentId: row.id
}
, this.$t("已装单") + `
(
$
{
row
.
selfNo
}
).
xls
`)
break;
case "handle":
const { noticeType
}
= row;
if ([1, 2, 3, 4, 8, 14].includes(noticeType)) {
...
...
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