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
17b5185e
Commit
17b5185e
authored
Jun 27, 2023
by
邓春圆
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/dev' into dev
parents
07ba575b
f30abadb
Changes
7
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
166 additions
and
16 deletions
+166
-16
order.js
src/api/ecw/order.js
+9
-0
editAirForm.vue
src/views/ecw/box/editAirForm.vue
+2
-4
booking.vue
src/views/ecw/box/shippingAir/nodePage/booking.vue
+2
-2
ordersSelect.vue
...iews/ecw/box/shippingAir/nodePage/common/ordersSelect.vue
+75
-0
usersSelect.vue
...views/ecw/box/shippingAir/nodePage/common/usersSelect.vue
+36
-0
cusDeclaration.vue
src/views/ecw/box/shippingAir/nodePage/cusDeclaration.vue
+38
-10
seaProcess.vue
src/views/ecw/box/shippingAir/seaProcess.vue
+4
-0
No files found.
src/api/ecw/order.js
View file @
17b5185e
...
...
@@ -52,6 +52,15 @@ export function getOrderPage(query) {
})
}
// 获得订单列表
export
function
getOrderList
(
query
)
{
return
request
({
url
:
'
/ecw/order/list
'
,
method
:
'
get
'
,
params
:
query
})
}
// 导出订单 Excel
export
function
exportOrderExcel
(
query
)
{
return
request
({
...
...
src/views/ecw/box/editAirForm.vue
View file @
17b5185e
...
...
@@ -77,9 +77,7 @@ export default {
data
()
{
return
{
// 表单参数
form
:
{
destinationClearance
:
null
},
form
:
{},
channelList
:
[],
// 表单校验
rules
:
{
...
...
@@ -101,7 +99,7 @@ export default {
},
destinationClearanceSelect
(
val
)
{
if
(
val
==
3
){
this
.
form
.
destinationClearance
=
val
this
.
$set
(
this
.
form
,
'
destinationClearance
'
,
val
)
}
},
/** 提交按钮 */
...
...
src/views/ecw/box/shippingAir/nodePage/booking.vue
View file @
17b5185e
...
...
@@ -5,10 +5,10 @@
<el-input
v-model=
"bookingObj.blNo"
:placeholder=
"$t('请输入提单号')"
></el-input>
</el-form-item>
<el-form-item
:label=
"$t('起运港')"
>
<dockSelect
v-model=
"bookingObj.departurePortId"
:placeholder=
"$t('请选择起运港')"
portType=
"
2
"
:allDocks=
"this.$attrs.allDocks"
/>
<dockSelect
v-model=
"bookingObj.departurePortId"
:placeholder=
"$t('请选择起运港')"
portType=
"
1
"
:allDocks=
"this.$attrs.allDocks"
/>
</el-form-item>
<el-form-item
:label=
"$t('目的港')"
>
<dockSelect
v-model=
"bookingObj.destPortId"
:placeholder=
"$t('请选择目的港')"
portType=
"
2
"
:allDocks=
"this.$attrs.allDocks"
/>
<dockSelect
v-model=
"bookingObj.destPortId"
:placeholder=
"$t('请选择目的港')"
portType=
"
1
"
:allDocks=
"this.$attrs.allDocks"
/>
</el-form-item>
<el-form-item
:label=
"$t('Shipper')"
>
<supplierSelect
v-model=
"bookingObj.shipperId"
:companyType=
"'5'"
:placeholder=
"$t('请选择Shipper')"
:allSupplier=
"this.$attrs.allSupplier"
/>
...
...
src/views/ecw/box/shippingAir/nodePage/common/ordersSelect.vue
0 → 100644
View file @
17b5185e
<
template
>
<el-select
v-model=
"valueSync"
multiple
filterable
clearable
remote
reserve-keyword
:disabled=
"disabled"
:placeholder=
"$t('请输入订单号')"
@
focus=
"remoteMethod('')"
:remote-method=
"remoteMethod"
:loading=
"loading"
>
<el-option
v-for=
"(item) in list"
:key=
"item.id"
:label=
"item.orderNo"
:value=
"item.orderId"
>
</el-option>
</el-select>
</
template
>
<
script
>
import
{
getOrderPage
,
getOrderList
}
from
'
@/api/ecw/order
'
export
default
{
props
:{
value
:
[
Array
],
disabled
:
{
type
:
Boolean
,
default
:
false
}
},
data
(){
return
{
valueSync
:
[],
list
:[],
loading
:
false
}
},
watch
:{
valueSync
(
val
){
this
.
$emit
(
'
input
'
,
val
)
},
value
(
val
){
this
.
valueSync
=
this
.
value
this
.
init
(
val
)
}
},
created
(){
this
.
valueSync
=
this
.
value
this
.
init
(
this
.
value
)
},
methods
:{
init
(
val
){
if
(
val
===
null
||
val
==
undefined
||
val
==
''
)
return
let
params
=
{
ids
:
val
.
toString
()
}
getOrderList
(
params
).
then
(
res
=>
{
this
.
list
=
res
.
data
})
},
remoteMethod
(
keyword
){
let
params
=
{
pageSize
:
10
,
}
params
.
orderNo
=
keyword
this
.
loading
=
true
getOrderPage
(
params
)
.
then
(
res
=>
this
.
list
=
res
.
data
.
list
)
.
finally
(()
=>
this
.
loading
=
false
)
}
}
}
</
script
>
\ No newline at end of file
src/views/ecw/box/shippingAir/nodePage/common/usersSelect.vue
0 → 100644
View file @
17b5185e
<
template
>
<el-select
filterable
:value=
"value"
@
change=
"change"
multiple
v-bind=
"$attrs"
clearable
>
<el-option
v-for=
"user in getUser"
:key=
"user.id"
:value=
"user.id"
:label=
"user.nickname"
></el-option>
</el-select>
</
template
>
<
script
>
/**
* 用户
*/
export
default
{
name
:
"
userSelect
"
,
inheritAttrs
:
false
,
props
:
{
value
:
Number
|
Array
,
allUsers
:
Array
,
},
model
:
{
prop
:
"
value
"
,
event
:
"
change
"
,
},
data
()
{
return
{};
},
computed
:
{
getUser
()
{
return
this
.
allUsers
;
},
},
methods
:
{
change
(
val
)
{
this
.
$emit
(
"
change
"
,
val
);
},
},
};
</
script
>
src/views/ecw/box/shippingAir/nodePage/cusDeclaration.vue
View file @
17b5185e
...
...
@@ -59,19 +59,18 @@
<el-radio
:label=
"2"
>
{{
$t
(
'
异常
'
)
}}
</el-radio>
</el-radio-group>
</el-form-item>
<el-form-item
prop=
"overMachineAbnormalStatus"
v-show=
"cusDeclarationObj.overMachineStatus ==
=
2"
>
<el-form-item
prop=
"overMachineAbnormalStatus"
v-show=
"cusDeclarationObj.overMachineStatus == 2"
>
<el-radio-group
v-model=
"cusDeclarationObj.overMachineAbnormalStatus"
:disabled=
"inReview"
>
<el-radio
:label=
"1"
>
{{
$t
(
'
敏感货
'
)
}}
</el-radio>
<el-radio
:label=
"2"
>
{{
$t
(
'
重量误报
'
)
}}
</el-radio>
</el-radio-group>
</el-form-item>
<el-form-item
prop=
"overMachineAbnormalStatus"
v-show=
"cusDeclarationObj.overMachineAbnormalStatus === 1"
>
<el-row
class=
"operate-button"
v-if=
"inReview"
>
<el-button
type=
"primary"
@
click=
"jumpReviewDetail"
>
{{
cusDeclarationObj
.
dcCheckStatus
===
'
1
'
?
$t
(
'
全部退场审核中
'
)
:
$t
(
'
部分退场审核中
'
)
}}
</el-button>
<el-button
type=
"primary"
plain
@
click=
"canclAudit"
>
{{
cusDeclarationObj
.
dcCheckStatus
===
'
1
'
?
$t
(
'
取消全部退场审核
'
)
:
$t
(
'
取消部分退场审核
'
)
}}
</el-button>
</el-row>
<el-form-item
v-show=
"cusDeclarationObj.overMachineStatus == 2 && cusDeclarationObj.overMachineAbnormalStatus == 1"
>
<el-form-item
:label=
"$t('删单退场状态')"
>
{{
getCheckExamineStatus
}}
</el-form-item>
<el-form-item
prop=
"weightMisreport"
v-show=
"cusDeclarationObj.overMachineAbnormalStatus === 2"
>
</el-form-item>
<el-form-item
prop=
"weightMisreport"
v-show=
"cusDeclarationObj.overMachineStatus == 2 && cusDeclarationObj.overMachineAbnormalStatus == 2"
>
<el-radio-group
v-model=
"cusDeclarationObj.weightMisreport"
:disabled=
"inReview"
>
<el-radio
:label=
"1"
>
{{
$t
(
'
机场误差3%
'
)
}}
</el-radio>
<el-radio
:label=
"2"
>
{{
$t
(
'
超过误差10KG
'
)
}}
</el-radio>
...
...
@@ -79,6 +78,22 @@
<el-radio
:label=
"4"
>
{{
$t
(
'
过机放行-已找到重货订单
'
)
}}
</el-radio>
</el-radio-group>
</el-form-item>
<el-form-item
:label=
"$t('超出机场重量')"
prop=
"overWeight"
v-show=
"cusDeclarationObj.overMachineStatus == 2 && cusDeclarationObj.overMachineAbnormalStatus == 2"
>
<el-input
v-model=
"cusDeclarationObj.overWeight"
style=
"width: 180px"
>
<template
slot=
"append"
>
{{
$t
(
'
KG
'
)
}}
</
template
>
</el-input>
</el-form-item>
<el-form-item
:label=
"$t('处理人')"
prop=
"overDealUser"
v-show=
"cusDeclarationObj.overMachineStatus == 2"
>
<usersSelect
v-model=
"cusDeclarationObj.overDealUser"
:placeholder=
"$t('请选择处理人')"
:allUsers=
"this.$attrs.allUsers"
/>
</el-form-item>
<el-form-item
:label=
"$t('备注')"
prop=
"overRemarks"
v-show=
"cusDeclarationObj.overMachineStatus == 2"
>
<el-input
v-model=
"cusDeclarationObj.overRemarks"
style=
"width: 180px"
/>
</el-form-item>
<el-form-item
:label=
"$t('超重订单')"
prop=
"overOrders"
v-show=
"cusDeclarationObj.overMachineStatus == 2&&cusDeclarationObj.weightMisreport == 4"
>
<ordersSelect
v-model=
"cusDeclarationObj.overOrders"
:placeholder=
"$t('请选择超重订单')"
:allUsers=
"this.$attrs.allUsers"
/>
</el-form-item>
<!-- <el-form-item :label="$t('装箱单')">
<el-button type="primary">{{$t('下载装箱单')}}</el-button>
...
...
@@ -88,7 +103,10 @@
</el-form-item>
</el-form>
<el-row
class=
"operate-button"
v-if=
"inReview"
>
<el-button
type=
"primary"
@
click=
"jumpReviewDetail"
>
{{cusDeclarationObj.dcCheckStatus === '1' ? $t('全部退场审核中') : $t('部分退场审核中')}}
</el-button>
<el-button
type=
"primary"
plain
@
click=
"canclAudit"
>
{{cusDeclarationObj.dcCheckStatus === '1' ? $t('取消全部退场审核') : $t('取消部分退场审核')}}
</el-button>
</el-row>
<el-row
class=
"operate-button"
>
<el-button
type=
"primary"
@
click=
"onSubmit(1)"
:disabled=
"isCheckDeal('submit')"
>
{{$t('保存')}}
</el-button>
<el-button
type=
"success"
v-if=
"!inReview"
@
click=
"onSubmit(2)"
:disabled=
"isCheckDeal('submit')"
>
{{$t('提交')}}
</el-button>
...
...
@@ -158,6 +176,8 @@
<
script
>
import
supplierSelect
from
"
./common/supplierSelect.vue
"
;
import
usersSelect
from
"
./common/usersSelect.vue
"
;
import
ordersSelect
from
"
./common/ordersSelect.vue
"
;
import
{
customsCreate
,
extraCostList
,
...
...
@@ -187,7 +207,7 @@ import dayjs from "dayjs";
export
default
{
name
:
"
cusDeclaration
"
,
inheritAttrs
:
false
,
components
:
{
supplierSelect
,
ImageUpload
,
regError
},
components
:
{
supplierSelect
,
ImageUpload
,
regError
,
usersSelect
,
ordersSelect
},
props
:
{
shipmentObj
:
Object
,
},
...
...
@@ -262,10 +282,16 @@ export default {
"
dcCustomsStatus
"
,
"
dcCheckStatus
"
,
]);
oldData
.
overDealUser
=
this
.
strToArray
(
oldData
.
overDealUser
)
oldData
.
overOrders
=
this
.
strToArray
(
oldData
.
overOrders
)
this
.
cusDeclarationObj
=
oldData
;
this
.
cusDeclarationObj
=
oldData
;
console
.
log
(
this
.
cusDeclarationObj
.
overDealUser
)
},
methods
:
{
strToArray
(
str
)
{
let
array
=
str
?.
split
(
"
,
"
)
??
[]
return
array
.
map
(
item
=>
{
return
Number
(
item
)})
},
getCustomsOrderList
(
dcCustomsType
)
{
customsOrderList
({
shipmentId
:
this
.
shipmentObj
.
id
,
...
...
@@ -322,6 +348,8 @@ export default {
return
newList
.
length
>=
2
?
this
.
$t
(
"
混合报关
"
)
:
this
.
$t
(
"
VGM声明
"
);
},
submitCustomsCreate
(
operateType
)
{
this
.
cusDeclarationObj
.
overDealUser
=
this
.
cusDeclarationObj
.
overDealUser
.
join
(
'
,
'
)
this
.
cusDeclarationObj
.
overOrders
=
this
.
cusDeclarationObj
.
overOrders
.
join
(
'
,
'
)
customsCreate
({
...
this
.
cusDeclarationObj
,
shipmentId
:
this
.
shipmentObj
.
id
,
...
...
src/views/ecw/box/shippingAir/seaProcess.vue
View file @
17b5185e
...
...
@@ -161,6 +161,10 @@ export default {
case
"
clrDocument
"
:
this
.
$set
(
this
.
dialogConfig
,
"
width
"
,
"
700px
"
);
break
;
// 报关
case
"
cusDeclaration
"
:
this
.
$set
(
this
.
dialogConfig
,
"
width
"
,
"
700px
"
);
break
;
// AGENT
case
"
agent
"
:
this
.
$set
(
this
.
dialogConfig
,
"
title
"
,
this
.
$t
(
"
代理商设置
"
));
...
...
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