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
3fd048f0
Commit
3fd048f0
authored
Oct 08, 2023
by
zhoutong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修复多次到港清关
parent
f941e5a5
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
125 additions
and
108 deletions
+125
-108
arrival.vue
src/views/ecw/box/shippingAir/nodePage/arrival.vue
+20
-3
cusClearance.vue
src/views/ecw/box/shippingAir/nodePage/cusClearance.vue
+105
-105
No files found.
src/views/ecw/box/shippingAir/nodePage/arrival.vue
View file @
3fd048f0
...
@@ -16,6 +16,7 @@
...
@@ -16,6 +16,7 @@
reserve-keyword
reserve-keyword
:filter-method=
"filterOrder"
:filter-method=
"filterOrder"
:placeholder=
"$t('请输入订单号、提单号、唛头')"
:placeholder=
"$t('请输入订单号、提单号、唛头')"
@
change=
"selectOrderId"
>
>
<el-option
<el-option
v-for=
"(item) in statusOrderList"
v-for=
"(item) in statusOrderList"
...
@@ -60,7 +61,7 @@ import regError from "../../regError";
...
@@ -60,7 +61,7 @@ import regError from "../../regError";
import
dayjs
from
"
dayjs
"
;
import
dayjs
from
"
dayjs
"
;
import
{
arrivalCreate
}
from
"
@/api/ecw/boxSeaAir
"
;
import
{
arrivalCreate
}
from
"
@/api/ecw/boxSeaAir
"
;
import
{
shipmentOrderList
}
from
"
@/api/ecw/boxAir
"
;
import
{
shipmentOrderList
}
from
"
@/api/ecw/boxAir
"
;
import
{
formatDateStr
,
serviceMsg
}
from
"
../utils
"
;
import
{
formatDateStr
,
serviceMsg
,
formatDate
}
from
"
../utils
"
;
/**
/**
* 到港
* 到港
...
@@ -106,6 +107,7 @@ export default {
...
@@ -106,6 +107,7 @@ export default {
dtRealHeadTimeFlag
:
false
,
dtRealHeadTimeFlag
:
false
,
orderList
:
[],
orderList
:
[],
orderListFilter
:
[],
orderListFilter
:
[],
arrivalOrderList
:
[]
};
};
},
},
created
()
{
created
()
{
...
@@ -121,7 +123,8 @@ export default {
...
@@ -121,7 +123,8 @@ export default {
this
.
dtRealHeadTimeFlag
=
true
this
.
dtRealHeadTimeFlag
=
true
}
}
if
(
!
this
.
airArrivalInfo
.
arriveType
)
this
.
$set
(
this
.
airArrivalInfo
,
'
arriveType
'
,
0
)
if
(
!
this
.
airArrivalInfo
.
arriveType
)
this
.
$set
(
this
.
airArrivalInfo
,
'
arriveType
'
,
0
)
if
(
this
.
airArrivalInfo
.
arrivalOrderList
)
this
.
$set
(
this
.
airArrivalInfo
,
'
arriveOrderIdList
'
,
this
.
airArrivalInfo
.
arrivalOrderList
.
map
(
item
=>
{
return
item
.
orderId
}))
if
(
this
.
airArrivalInfo
.
arrivalOrderList
)
this
.
$set
(
this
.
airArrivalInfo
,
'
arriveOrderIdList
'
,[])
if
(
this
.
$attrs
.
shipmentObj
.
airArrivalInfo
.
arrivalOrderList
)
this
.
arrivalOrderList
=
this
.
$attrs
.
shipmentObj
.
airArrivalInfo
.
arrivalOrderList
shipmentOrderList
(
this
.
$attrs
.
shipmentObj
.
id
).
then
(
r
=>
{
shipmentOrderList
(
this
.
$attrs
.
shipmentObj
.
id
).
then
(
r
=>
{
this
.
orderList
=
r
.
data
this
.
orderList
=
r
.
data
this
.
orderListFilter
=
r
.
data
this
.
orderListFilter
=
r
.
data
...
@@ -137,7 +140,7 @@ export default {
...
@@ -137,7 +140,7 @@ export default {
tidanNo
:
item
.
tidanNo
,
tidanNo
:
item
.
tidanNo
,
marks
:
item
.
marks
,
marks
:
item
.
marks
,
}
}
let
index
=
this
.
a
irArrivalInfo
.
arrivalOrderLis
?
this
.
airArrivalInfo
.
arrivalOrderList
.
findIndex
(
p
=>
p
.
orderId
==
item
.
orderId
):
-
1
let
index
=
this
.
a
rrivalOrderList
.
findIndex
(
p
=>
p
.
orderId
==
item
.
orderId
)
if
(
index
!=
-
1
){
if
(
index
!=
-
1
){
json
.
arrival
=
this
.
$t
(
'
已到港
'
)
json
.
arrival
=
this
.
$t
(
'
已到港
'
)
}
else
{
}
else
{
...
@@ -177,6 +180,20 @@ export default {
...
@@ -177,6 +180,20 @@ export default {
this
.
orderListFilter
=
this
.
orderList
this
.
orderListFilter
=
this
.
orderList
}
}
},
},
selectOrderId
(
val
)
{
if
(
val
.
length
==
1
)
{
let
arr
=
this
.
arrivalOrderList
.
find
((
item
)
=>
item
.
orderId
==
val
[
0
])
if
(
arr
)
{
this
.
$set
(
this
.
airArrivalInfo
,
'
actSecondTime
'
,
formatDate
(
arr
.
actSecondTime
))
this
.
$set
(
this
.
airArrivalInfo
,
'
estTime
'
,
formatDate
(
arr
.
estTime
))
this
.
$set
(
this
.
airArrivalInfo
,
'
actTime
'
,
formatDate
(
arr
.
actTime
))
}
}
else
{
this
.
$set
(
this
.
airArrivalInfo
,
'
actSecondTime
'
,
null
)
this
.
$set
(
this
.
airArrivalInfo
,
'
estTime
'
,
null
)
this
.
$set
(
this
.
airArrivalInfo
,
'
actTime
'
,
null
)
}
},
regCloseDialog
(
type
)
{
regCloseDialog
(
type
)
{
this
.
dialogVisible
=
false
;
this
.
dialogVisible
=
false
;
if
(
type
===
"
error
"
)
{
if
(
type
===
"
error
"
)
{
...
...
src/views/ecw/box/shippingAir/nodePage/cusClearance.vue
View file @
3fd048f0
This diff is collapsed.
Click to expand it.
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