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
dd93306e
Commit
dd93306e
authored
Aug 19, 2023
by
dragondean@qq.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
空运出货列表通知弹出提醒
parent
8110b523
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
97 additions
and
69 deletions
+97
-69
indexAir.vue
src/views/ecw/box/indexAir.vue
+97
-69
No files found.
src/views/ecw/box/indexAir.vue
View file @
dd93306e
...
...
@@ -194,7 +194,7 @@
<
/template
>
<
script
>
import
{
deletebox
,
getbox
,
getboxPage
,
exportboxExcel
}
from
'
@/api/ecw/box
'
import
{
deletebox
,
getbox
,
getboxPage
,
exportboxExcel
,
getNoticeList
,
dealCustomsSplitNotify
}
from
'
@/api/ecw/box
'
import
{
getChannelList
}
from
'
@/api/ecw/channel
'
import
{
getWarehouseList
}
from
'
@/api/ecw/warehouse
'
import
costForm
from
'
./costForm.vue
'
...
...
@@ -342,13 +342,27 @@ export default {
getWarehouseList
().
then
((
res
)
=>
(
this
.
warehouseList
=
res
.
data
))
this
.
getList
()
this
.
getChannelList
()
this
.
queryNotice
()
}
,
methods
:
{
formatDate
,
getChannelList
()
{
getChannelList
().
then
((
res
)
=>
(
this
.
channelList
=
res
.
data
))
}
,
queryNotice
()
{
getNoticeList
({
transportTypeList
:
this
.
transportTypes
.
map
((
item
)
=>
item
.
value
),
}
).
then
((
res
)
=>
{
const
{
data
}
=
res
;
this
.
noticeList
=
data
??
[];
if
(
data
.
length
)
{
this
.
$set
(
this
.
dialogCfg
,
"
title
"
,
this
.
$t
(
"
出货操作提醒
"
));
this
.
$set
(
this
.
dialogCfg
,
"
dialogType
"
,
"
notice
"
);
this
.
$set
(
this
.
dialogCfg
,
"
width
"
,
"
650px
"
);
this
.
$set
(
this
.
dialogCfg
,
"
open
"
,
true
);
}
}
);
}
,
/** 查询列表 */
getList
()
{
this
.
loading
=
true
...
...
@@ -455,7 +469,8 @@ export default {
.
catch
(()
=>
{
}
)
}
,
/** 查看按钮操作 */
handleCommand
(
row
,
command
)
{
async
handleCommand
(
row
,
command
)
{
console
.
log
(
command
,
row
);
switch
(
command
)
{
case
"
detail
"
:
this
.
$router
.
push
(
"
/boxAir/query/
"
+
row
.
id
);
...
...
@@ -490,7 +505,7 @@ export default {
case
"
downloadPreloadGoodsList
"
:
downloadFile
(
command
,
{
shipmentId
:
row
.
id
}
,
{
shipmentId
:
row
.
id
}
,
this
.
$t
(
"
预装单
"
)
+
`(${row.selfNo
}
).xlsx`
,
"
xlsx
"
);
...
...
@@ -498,7 +513,7 @@ export default {
case
"
downloadLoadGoodsList
"
:
downloadFile
(
command
,
{
shipmentId
:
row
.
id
}
,
{
shipmentId
:
row
.
id
}
,
this
.
$t
(
"
已装单
"
)
+
`(${row.selfNo
}
).xlsx`
,
"
xlsx
"
);
...
...
@@ -506,7 +521,7 @@ export default {
case
"
downloadReceivableList
"
:
downloadFile
(
command
,
{
shipmentId
:
row
.
id
}
,
{
shipmentId
:
row
.
id
}
,
this
.
$t
(
"
应收汇总表
"
)
+
`(${row.selfNo
}
).xlsx`
,
"
xlsx
"
);
...
...
@@ -514,7 +529,7 @@ export default {
case
"
zipDownload
"
:
downloadFile
(
command
,
{
shipmentId
:
row
.
id
}
,
{
shipmentId
:
row
.
id
}
,
this
.
$t
(
"
提货单
"
)
+
`(${row.selfNo
}
).zip`
,
"
zip
"
);
...
...
@@ -522,7 +537,20 @@ export default {
case
"
downloadAgentListFiles
"
:
case
"
downloadSoncapFiles
"
:
case
"
downloadLadingCopy
"
:
downloadFileByUrl
(
command
,
{
shipmentId
:
row
.
id
}
);
downloadFileByUrl
(
command
,
{
shipmentId
:
row
.
id
}
);
break
;
case
"
handle
"
:
const
{
noticeType
}
=
row
;
if
([
1
,
2
,
3
,
4
,
8
].
includes
(
noticeType
))
{
this
.
$router
.
push
(
"
/boxAir/shippingAir/
"
+
row
.
id
);
}
if
([
5
,
6
,
7
].
includes
(
noticeType
))
{
this
.
$router
.
push
(
"
/boxAir/query/
"
+
row
.
id
);
}
if
([
9
].
includes
(
noticeType
)){
await
dealCustomsSplitNotify
(
row
.
notifyId
)
}
this
.
closeDialog
();
break
;
}
if
([
"
editLadingBill
"
,
"
cost
"
,
"
error
"
].
includes
(
command
))
{
...
...
@@ -533,7 +561,7 @@ export default {
}
}
,
}
}
}
<
/script
>
...
...
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