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
12d3c661
Commit
12d3c661
authored
Nov 30, 2023
by
zhoutong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
没有到港,也应该可以清关
parent
251638ae
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
22 additions
and
3 deletions
+22
-3
boxAir.js
src/api/ecw/boxAir.js
+15
-0
arrival.vue
src/views/ecw/box/shippingAir/nodePage/arrival.vue
+2
-0
cusClearance.vue
src/views/ecw/box/shippingAir/nodePage/cusClearance.vue
+5
-3
No files found.
src/api/ecw/boxAir.js
View file @
12d3c661
...
...
@@ -317,6 +317,21 @@ export function updateOrderArrival(data) {
});
}
/**
* 创建到港订单
*
* @export
* @param {*} data
* @return {*}
*/
export
function
createOrderArrival
(
data
)
{
return
request
({
url
:
`/ecw/box-arrival-air/create`
,
method
:
"
post
"
,
data
:
data
});
}
/**
* 更新所有订单到港状态
*
...
...
src/views/ecw/box/shippingAir/nodePage/arrival.vue
View file @
12d3c661
...
...
@@ -243,7 +243,9 @@ export default {
this
.
selectOrders
=
[]
this
.
selectOrders
.
push
(
val
)
let
arr
=
this
.
arrivalOrderList
.
find
((
item
)
=>
item
.
orderId
==
val
.
orderId
)
console
.
log
(
arr
,
'
arr
'
);
if
(
arr
)
{
console
.
log
(
formatDate
(
arr
.
actSecondTime
),
arr
.
actSecondTime
);
this
.
$set
(
this
.
airArrivalInfo
,
'
actSecondTime
'
,
formatDate
(
arr
.
actSecondTime
))
this
.
$set
(
this
.
airArrivalInfo
,
'
estTime
'
,
formatDate
(
arr
.
estTime
))
this
.
$set
(
this
.
airArrivalInfo
,
'
actTime
'
,
formatDate
(
arr
.
actTime
))
...
...
src/views/ecw/box/shippingAir/nodePage/cusClearance.vue
View file @
12d3c661
...
...
@@ -118,7 +118,7 @@ import dayjs from 'dayjs'
import
{
clearanceCreate
}
from
'
@/api/ecw/boxSea
'
import
{
shipmentOrderList
}
from
'
@/api/ecw/boxAir
'
import
{
formatDateStr
,
serviceMsg
,
formatDate
}
from
'
../utils
'
import
{
upd
ateOrderArrival
}
from
'
@/api/ecw/boxAir
'
import
{
cre
ateOrderArrival
}
from
'
@/api/ecw/boxAir
'
/**
* 清关
...
...
@@ -339,10 +339,12 @@ export default {
if
(
this
.
cusClearanceObj
.
clearanceType
==
1
)
{
this
.
$refs
[
'
airArrivalForm
'
].
validate
((
arrvalid
)
=>
{
if
(
arrvalid
)
{
upd
ateOrderArrival
({
cre
ateOrderArrival
({
...
this
.
airArrivalInfo
,
shipmentId
:
this
.
$attrs
.
shipmentObj
.
id
,
orderIdList
:
this
.
cusClearanceObj
.
clearanceOrderIdList
arriveOrderIdList
:
this
.
cusClearanceObj
.
clearanceOrderIdList
,
arriveType
:
1
,
operateType
:
2
}).
then
(()
=>
{
clearanceCreate
({
...
this
.
cusClearanceObj
,
...
...
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