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
10933e7f
Commit
10933e7f
authored
Jun 13, 2023
by
zhoutong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
空运排单
parent
0e5d8f9d
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
119 additions
and
141 deletions
+119
-141
boxAir.js
src/api/ecw/boxAir.js
+30
-0
preinstall.vue
src/views/ecw/box/shippingAir/nodePage/preinstall.vue
+30
-30
seaProcess.vue
src/views/ecw/box/shippingAir/seaProcess.vue
+1
-1
utils.js
src/views/ecw/box/shippingAir/utils.js
+58
-110
No files found.
src/api/ecw/boxAir.js
View file @
10933e7f
...
...
@@ -40,3 +40,33 @@ export function booking(data) {
data
,
});
}
/**
* 获得待预装分页
*
* @export
* @param {*} data
* @return {*}
*/
export
function
preloadPage
(
data
)
{
return
request
({
url
:
"
/ecw/box-preload-goods/preloadPageAir
"
,
method
:
"
post
"
,
data
,
});
}
/**
* 预装
*
* @export
* @param {*} data
* @return {*}
*/
export
function
createGoods
(
data
)
{
return
request
({
url
:
"
/ecw/box-preload-goods/createAir
"
,
method
:
"
post
"
,
data
,
});
}
\ No newline at end of file
src/views/ecw/box/shippingAir/nodePage/preinstall.vue
View file @
10933e7f
...
...
@@ -30,11 +30,11 @@
<el-option
v-for=
"item in declarationMethodOps"
:label=
"$l(item, 'label')"
:value=
"item.value"
:key=
"item.value"
></el-option>
</el-select>
</el-form-item>
<el-form-item
:label=
"$t('待
预装
订单')"
prop=
"toBePreOrderNo"
>
<el-input
v-model=
"queryParams.toBePreOrderNo"
:placeholder=
"$t('请输入待
预装
订单')"
clearable
/>
<el-form-item
:label=
"$t('待
分拣
订单')"
prop=
"toBePreOrderNo"
>
<el-input
v-model=
"queryParams.toBePreOrderNo"
:placeholder=
"$t('请输入待
分拣
订单')"
clearable
/>
</el-form-item>
<el-form-item
:label=
"$t('已
预装
单号')"
prop=
"preOrderNo"
>
<el-input
v-model=
"queryParams.preOrderNo"
:placeholder=
"$t('请输入已
预装
单号')"
clearable
/>
<el-form-item
:label=
"$t('已
分拣
单号')"
prop=
"preOrderNo"
>
<el-input
v-model=
"queryParams.preOrderNo"
:placeholder=
"$t('请输入已
分拣
单号')"
clearable
/>
</el-form-item>
<el-form-item
:label=
"$t('品名')"
prop=
"itemName"
>
<el-input
v-model=
"queryParams.itemName"
:placeholder=
"$t('请输入品名')"
clearable
/>
...
...
@@ -47,8 +47,8 @@
</el-form-item>
<el-form-item>
<el-button
type=
"primary"
icon=
"el-icon-search"
@
click=
"handleQuery('pre')"
>
{{
$t
(
'
搜索已
预装
订单
'
)
}}
</el-button>
<el-button
type=
"primary"
icon=
"el-icon-search"
@
click=
"handleQuery('toBePre')"
>
{{
$t
(
'
搜索待
预装
订单
'
)
}}
</el-button>
<el-button
type=
"primary"
icon=
"el-icon-search"
@
click=
"handleQuery('pre')"
>
{{
$t
(
'
搜索已
分拣
订单
'
)
}}
</el-button>
<el-button
type=
"primary"
icon=
"el-icon-search"
@
click=
"handleQuery('toBePre')"
>
{{
$t
(
'
搜索待
分拣
订单
'
)
}}
</el-button>
<el-button
icon=
"el-icon-refresh"
@
click=
"resetQuery"
>
{{
$t
(
'
重置
'
)
}}
</el-button>
</el-form-item>
</el-form>
...
...
@@ -83,16 +83,16 @@
</div>
</el-row>
<el-row
class=
"preinstall-table"
>
<!-- 已
预装
订单 -->
<!-- 已
分拣
订单 -->
<el-col
:span=
"12"
>
<el-row
class=
"preinstall-title"
>
<div
class=
"table-label"
>
{{
$t
(
'
已
预装
订单
'
)
}}
</div>
<div
class=
"table-label"
>
{{
$t
(
'
已
分拣
订单
'
)
}}
</div>
<div>
<p>
{{
$t
(
'
总计
'
)
}}
:
</p>
<p>
{{
getTotlContent
(
preList
.
loadStatistics
)
}}
</p>
</div>
<div
class=
"red-label"
>
<p>
{{
$t
(
'
可
预装
方数
'
)
}}
:
</p>
<p>
{{
$t
(
'
可
分拣
方数
'
)
}}
:
</p>
<p>
{{
preList
.
remainVolume
}}
m³
</p>
</div>
<div
class=
"red-label"
>
...
...
@@ -182,13 +182,13 @@
<
/el-row
>
<
/el-scrollbar
>
<
/el-col
>
<!--
待
预装
订单
-->
<!--
待
分拣
订单
-->
<
el
-
col
:
span
=
"
12
"
>
<
el
-
row
class
=
"
preinstall-title
"
>
<
div
class
=
"
table-label red-label
"
>
{{
$t
(
'
待
预装
订单
'
)
}}
<
/div
>
<
div
class
=
"
table-label red-label
"
>
{{
$t
(
'
待
分拣
订单
'
)
}}
<
/div
>
<
div
class
=
"
preinstall-title preinstalled
"
>
<
div
class
=
"
red-label
"
>
<
p
>
{{
$t
(
'
筛选后待
预装
数量
'
)
}}
:
<
/p
>
<
p
>
{{
$t
(
'
筛选后待
分拣
数量
'
)
}}
:
<
/p
>
<
p
>
{{
getTotlContent
(
unloadStatistics
,[
'
num
'
])
}}
<
/p
>
<
/div
>
<
div
class
=
"
red-label
"
>
...
...
@@ -231,7 +231,7 @@
<
div
class
=
"
table-button
"
>
<
el
-
button
v
-
if
=
"
item.relateOrderList
"
type
=
"
primary
"
size
=
"
small
"
style
=
"
margin-right: 20px;
"
@
click
=
"
getRelationOrder(item)
"
>
{{
$t
(
'
关联订单
'
)
}}
<
/el-button
>
<
el
-
dropdown
trigger
=
"
click
"
@
command
=
"
(command)=>handleGoods('all',item,command)
"
>
<
el
-
button
type
=
"
success
"
size
=
"
small
"
:
disabled
=
"
isAudit
"
>
{{
$t
(
'
预装
全部
'
)
}}
<
/el-button
>
<
el
-
button
type
=
"
success
"
size
=
"
small
"
:
disabled
=
"
isAudit
"
>
{{
$t
(
'
分拣
全部
'
)
}}
<
/el-button
>
<
el
-
dropdown
-
menu
slot
=
"
dropdown
"
v
-
if
=
"
preList.sectionGoodList
"
>
<
el
-
dropdown
-
item
:
command
=
"
part
"
v
-
for
=
"
(part, index) in preList.sectionGoodList
"
:
key
=
"
part.id
"
>
{{
$t
(
'
第{index
}
部分
'
,
{
index
:
index
+
1
}
)
}}
...
...
@@ -277,7 +277,7 @@
<!--
<
el
-
table
-
column
:
label
=
"
$t('操作')
"
align
=
"
center
"
class
-
name
=
"
small-padding fixed-width
"
>
<
template
slot
-
scope
=
"
scope
"
>
<
el
-
dropdown
trigger
=
"
click
"
@
command
=
"
(command)=>handleGoods('single',scope.row,command)
"
>
<
el
-
button
type
=
"
primary
"
size
=
"
small
"
>
{{
$t
(
'
预装
'
)
}}
<
/el-button
>
<
el
-
button
type
=
"
primary
"
size
=
"
small
"
>
{{
$t
(
'
分拣
'
)
}}
<
/el-button
>
<
el
-
dropdown
-
menu
slot
=
"
dropdown
"
>
<
el
-
dropdown
-
item
:
command
=
"
part
"
v
-
for
=
"
(part, index) in preList
"
:
key
=
"
part.id
"
>
第
{{
index
+
1
}}
部分
<
/el-dropdown-item
>
<
/el-dropdown-menu
>
...
...
@@ -334,10 +334,8 @@
import
{
DICT_TYPE
}
from
"
@/utils/dict
"
;
import
{
secGoodsList
,
preloadPage
,
createSection
,
deleteSection
,
createGoods
,
deleteGoods
,
changeSection
,
approvalCreate
,
...
...
@@ -345,6 +343,7 @@ import {
loadRelationOrder
,
getAllRelateOrderList
}
from
"
@/api/ecw/boxSea
"
;
import
{
createGoods
,
preloadPage
}
from
"
@/api/ecw/boxAir
"
import
userSelect
from
"
./common/userSelect.vue
"
;
import
{
formatDate
,
...
...
@@ -358,7 +357,7 @@ import WorkFlow from "@/components/WorkFlow";
import
Decimal
from
"
decimal.js
"
;
/**
*
预装
*
分拣
*/
export
default
{
name
:
"
preinstall
"
,
...
...
@@ -377,7 +376,7 @@ export default {
declarationMethodOps
:
this
.
getDictDatas
(
DICT_TYPE
.
ECW_CUSTOMS_TYPE
),
// 查询标识
type
:
""
,
// 已
预装
遮罩层
// 已
分拣
遮罩层
preLoading
:
false
,
preList
:
{
sectionGoodList
:
[],
...
...
@@ -387,7 +386,7 @@ export default {
// 选中行
selectedRows
:
{
}
,
// 待
预装
// 待
分拣
toBePreLoading
:
false
,
toBePreList
:
[],
total
:
0
,
...
...
@@ -415,7 +414,7 @@ export default {
shipmentObj
:
this
.
$attrs
.
shipmentObj
,
// 抄送人数组
selectedUsers
:
[],
// 智慧
预装
// 智慧
分拣
smartInstall
:
1
,
//关联订单
relationOrderListDialog
:
{
...
...
@@ -451,7 +450,7 @@ export default {
}
,
}
,
created
()
{
// 查询待
预装
// 查询待
分拣
this
.
handleQuery
(
"
toBePre
"
);
this
.
handleQuery
(
"
pre
"
);
this
.
smartInstall
=
0
;
...
...
@@ -468,12 +467,12 @@ export default {
checkboxSelect
(
selection
,
part
)
{
this
.
selectedRows
[
part
.
id
]
=
selection
;
}
,
/* 查询已
预装
*/
/* 查询已
分拣
*/
getSecGoods
()
{
this
.
preLoading
=
true
;
// 处理查询参数
let
params
=
this
.
getParams
();
// 已
预装
单号
// 已
分拣
单号
params
.
orderNo
=
params
.
preOrderNo
;
params
.
shipmentId
=
this
.
shipmentObj
.
id
;
params
.
smartInstall
=
this
.
smartInstall
;
...
...
@@ -495,7 +494,7 @@ export default {
this
.
preLoading
=
false
;
}
);
}
,
/* 查询待
预装
*/
/* 查询待
分拣
*/
getPreLoad
()
{
this
.
toBePreLoading
=
true
;
// 处理查询参数
...
...
@@ -503,6 +502,7 @@ export default {
// 订单号
params
.
orderNo
=
params
.
toBePreOrderNo
;
params
.
transportType
=
this
.
shipmentObj
.
transportType
;
params
.
shipmentId
=
this
.
shipmentObj
.
id
;
preloadPage
({
...
params
,
...
this
.
pageParam
}
).
then
((
res
)
=>
{
const
{
data
}
=
res
;
this
.
toBePreList
=
data
.
dataList
?.
list
??
[];
...
...
@@ -546,9 +546,9 @@ export default {
}
approvalCreate
({
...
this
.
operatorData
,
applyReason
:
this
.
$t
(
"
预装
审核
"
),
applyReason
:
this
.
$t
(
"
分拣
审核
"
),
approvalStatus
:
0
,
approvalType
:
1
,
//
预装
approvalType
:
1
,
//
分拣
copyUserId
:
this
.
selectedUsers
,
shipmentId
:
this
.
$attrs
.
shipmentObj
.
id
,
}
).
then
((
res
)
=>
{
...
...
@@ -601,7 +601,7 @@ export default {
}
return
0
;
}
,
/* 待
预装
订单分页 */
/* 待
分拣
订单分页 */
pageChange
(
page
)
{
this
.
pageParam
.
pageNo
=
page
;
this
.
getPreLoad
();
...
...
@@ -624,7 +624,7 @@ export default {
/* 删除部分 */
deletePart
(
part
)
{
this
.
$confirm
(
this
.
$t
(
"
确认删除该部分及其已
预装
订单?
"
),
this
.
$t
(
"
确认删除该部分及其已
分拣
订单?
"
),
this
.
$t
(
"
提示
"
),
{
type
:
"
warning
"
,
...
...
@@ -643,7 +643,7 @@ export default {
}
)
.
catch
((
_
)
=>
{
}
);
}
,
/**
预装
*/
/**
分拣
*/
handleGoods
(
type
,
item
,
part
)
{
if
(
type
===
"
all
"
)
{
let
params
=
{
...
...
@@ -700,7 +700,7 @@ export default {
}
if
(
res
.
code
===
566
)
{
this
.
$confirm
(
res
.
msg
+
this
.
$t
(
'
是否需要一起
预装
?
'
),
this
.
$t
(
"
提示
"
),
{
this
.
$confirm
(
res
.
msg
+
this
.
$t
(
'
是否需要一起
分拣
?
'
),
this
.
$t
(
"
提示
"
),
{
dangerouslyUseHTMLString
:
true
,
type
:
"
warning
"
,
}
)
...
...
src/views/ecw/box/shippingAir/seaProcess.vue
View file @
10933e7f
...
...
@@ -173,7 +173,7 @@ export default {
this
.
$set
(
this
.
dialogConfig
,
"
title
"
,
this
.
$t
(
"
预装反审
"
));
}
else
{
this
.
$set
(
this
.
dialogConfig
,
"
fullscreen
"
,
true
);
this
.
$set
(
this
.
dialogConfig
,
"
title
"
,
this
.
$t
(
"
出货安排(预装)
"
));
this
.
$set
(
this
.
dialogConfig
,
"
title
"
,
this
.
$t
(
"
空运-排单
"
));
}
// 装柜
case
"
cabinet
"
:
...
...
src/views/ecw/box/shippingAir/utils.js
View file @
10933e7f
...
...
@@ -52,18 +52,7 @@ function airBaseData() {
wait
:
[
22
,
23
,
24
],
end
:
[
25
],
},
},
{
title
:
"
AGENT
"
,
imgSrc
:
{
start
:
require
(
"
@/assets/images/shipping/agent-start.png
"
),
wait
:
require
(
"
@/assets/images/shipping/agent-wait.png
"
),
end
:
require
(
"
@/assets/images/shipping/agent-end.png
"
),
},
type
:
"
agent
"
,
voName
:
"
agentInfo
"
,
currStatus
:
"
start
"
,
},
}
],
[
{
...
...
@@ -87,7 +76,7 @@ function airBaseData() {
},
},
{
title
:
i18n
.
$t
(
"
拖车
"
),
title
:
i18n
.
$t
(
"
合包
"
),
imgSrc
:
{
start
:
require
(
"
@/assets/images/shipping/tc-start.png
"
),
wait
:
require
(
"
@/assets/images/shipping/tc-wait.png
"
),
...
...
@@ -109,7 +98,27 @@ function airBaseData() {
],
[
{
title
:
i18n
.
$t
(
"
装柜
"
),
title
:
i18n
.
$t
(
"
出货
"
),
imgSrc
:
{
start
:
require
(
"
@/assets/images/shipping/zg-start.png
"
),
wait
:
require
(
"
@/assets/images/shipping/zg-wait.png
"
),
end
:
require
(
"
@/assets/images/shipping/zg-end.png
"
),
},
type
:
"
cabinet
"
,
dataKey
:
"
4
"
,
// 字典数据键值
/**
* 装柜状态:41、未装柜;42、装柜中;43、已装柜、待封柜;44、封柜审核中;45、封柜审核失败;46、封柜审核成功;47、已封柜,待出仓
*/
voName
:
"
cabinetInfo
"
,
keyName
:
"
ldStatus
"
,
status
:
{
start
:
[
41
],
wait
:
[
42
,
43
,
44
,
45
,
46
],
end
:
[
47
],
},
},
{
title
:
i18n
.
$t
(
"
出仓
"
),
imgSrc
:
{
start
:
require
(
"
@/assets/images/shipping/zg-start.png
"
),
wait
:
require
(
"
@/assets/images/shipping/zg-wait.png
"
),
...
...
@@ -130,6 +139,17 @@ function airBaseData() {
},
],
[
{
title
:
"
AGENT
"
,
imgSrc
:
{
start
:
require
(
"
@/assets/images/shipping/agent-start.png
"
),
wait
:
require
(
"
@/assets/images/shipping/agent-wait.png
"
),
end
:
require
(
"
@/assets/images/shipping/agent-end.png
"
),
},
type
:
"
agent
"
,
voName
:
"
agentInfo
"
,
currStatus
:
"
start
"
,
},
{
title
:
i18n
.
$t
(
"
报关
"
),
imgSrc
:
{
...
...
@@ -150,26 +170,6 @@ function airBaseData() {
end
:
[
53
],
},
},
{
title
:
i18n
.
$t
(
"
配船
"
),
imgSrc
:
{
start
:
require
(
"
@/assets/images/shipping/pc-start.png
"
),
wait
:
require
(
"
@/assets/images/shipping/pc-wait.png
"
),
end
:
require
(
"
@/assets/images/shipping/pc-end.png
"
),
},
type
:
"
ship
"
,
dataKey
:
"
6
"
,
// 字典数据键值
/**
* 配船状态:61、未配船;62、已配船
*/
voName
:
"
shipConfigInfo
"
,
keyName
:
"
saStatus
"
,
status
:
{
start
:
[
61
],
wait
:
[],
end
:
[
62
],
},
},
{
title
:
i18n
.
$t
(
"
提单补料
"
),
imgSrc
:
{
...
...
@@ -193,69 +193,27 @@ function airBaseData() {
],
[
{
title
:
i18n
.
$t
(
"
驳船
"
),
imgSrc
:
{
start
:
require
(
"
@/assets/images/shipping/bc-start.png
"
),
wait
:
require
(
"
@/assets/images/shipping/bc-wait.png
"
),
end
:
require
(
"
@/assets/images/shipping/bc-end.png
"
),
},
type
:
"
barge
"
,
dataKey
:
"
8
"
,
// 字典数据键值
/**
* 驳船状态:81、未驳船;82、已驳船
*/
voName
:
"
bargeInfo
"
,
keyName
:
"
bgStatus
"
,
status
:
{
start
:
[
81
],
wait
:
[],
end
:
[
82
],
},
},
],
[
{
title
:
i18n
.
$t
(
"
起运
"
),
title
:
i18n
.
$t
(
"
起飞
"
),
imgSrc
:
{
start
:
require
(
"
@/assets/images/shipping/
qy
-start.png
"
),
wait
:
require
(
"
@/assets/images/shipping/
qy
-wait.png
"
),
end
:
require
(
"
@/assets/images/shipping/
qy
-end.png
"
),
start
:
require
(
"
@/assets/images/shipping/
ecqf
-start.png
"
),
wait
:
require
(
"
@/assets/images/shipping/
ecqf
-wait.png
"
),
end
:
require
(
"
@/assets/images/shipping/
ecqf
-end.png
"
),
},
type
:
"
departure
"
,
dataKey
:
"
9
"
,
// 字典数据键值
type
:
"
twoWayTakeoff
"
,
dataKey
:
"
14
"
,
// 字典数据键值
/**
* 起
运状态:91、未起运;92、已起运
* 起
飞状态:141、未起飞;142、已起飞
*/
voName
:
"
shipping
Info
"
,
keyName
:
"
dt
Status
"
,
voName
:
"
takeOff
Info
"
,
keyName
:
"
stk
Status
"
,
status
:
{
start
:
[
9
1
],
start
:
[
14
1
],
wait
:
[],
end
:
[
9
2
],
end
:
[
14
2
],
},
},
],
[
{
title
:
i18n
.
$t
(
"
提单Copy
"
),
imgSrc
:
{
start
:
require
(
"
@/assets/images/shipping/tdcopy-start.png
"
),
wait
:
require
(
"
@/assets/images/shipping/tdcopy-wait.png
"
),
end
:
require
(
"
@/assets/images/shipping/tdcopy-end.png
"
),
},
type
:
"
blCopy
"
,
dataKey
:
"
10
"
,
// 字典数据键值
/**
* 提单COPY状态:101、未上传;102、已上传
*/
voName
:
"
ladingCopyInfo
"
,
keyName
:
"
cpStatus
"
,
status
:
{
start
:
[
101
],
wait
:
[],
end
:
[
102
],
},
},
{
type
:
"
clrDocument
"
,
imgSrc
:
{
...
...
@@ -323,7 +281,7 @@ function airBaseData() {
],
[
{
title
:
i18n
.
$t
(
"
卸柜
"
),
title
:
i18n
.
$t
(
"
到仓
"
),
imgSrc
:
{
start
:
require
(
"
@/assets/images/shipping/xg-start.png
"
),
wait
:
require
(
"
@/assets/images/shipping/xg-wait.png
"
),
...
...
@@ -783,24 +741,14 @@ function seaAirBaseData() {
*/
function
getColmnMapping
()
{
return
{
book
Sea
Info
:
[
book
Air
Info
:
[
{
title
:
"
SO NO
"
,
key
:
"
sono
"
,
},
{
title
:
i18n
.
$t
(
"
船公司类型
"
),
key
:
"
shipCompanyType
"
,
type
:
"
supplier
"
,
},
{
title
:
i18n
.
$t
(
"
驳船港
"
),
key
:
"
bargePortId
"
,
type
:
"
dock
"
,
title
:
i18n
.
$t
(
"
提单号
"
),
key
:
"
blNo
"
,
},
{
title
:
i18n
.
$t
(
"
大船
港
"
),
key
:
"
big
PortId
"
,
title
:
i18n
.
$t
(
"
起运
港
"
),
key
:
"
departure
PortId
"
,
type
:
"
dock
"
,
},
{
...
...
@@ -809,18 +757,18 @@ function getColmnMapping() {
type
:
"
dock
"
,
},
{
title
:
i18n
.
$t
(
"
订舱
公司
"
),
key
:
"
spac
eCompanyId
"
,
title
:
i18n
.
$t
(
"
航空
公司
"
),
key
:
"
airlin
eCompanyId
"
,
type
:
"
supplier
"
,
},
{
title
:
i18n
.
$t
(
"
预计驳船时间
"
),
key
:
"
bargeTime
"
,
type
:
"
date
"
,
title
:
i18n
.
$t
(
"
Shipper
"
),
key
:
"
shipperId
"
,
type
:
"
supplier
"
,
},
{
title
:
i18n
.
$t
(
"
预计
开船
时间
"
),
key
:
"
sail
Time
"
,
title
:
i18n
.
$t
(
"
预计
起飞
时间
"
),
key
:
"
fly
Time
"
,
type
:
"
date
"
,
},
{
...
...
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