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
0b2db738
Commit
0b2db738
authored
Oct 13, 2022
by
huhaiqing
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修复海运缺陷单
parent
0a17ac68
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
32 additions
and
6 deletions
+32
-6
indexSea.vue
src/views/ecw/box/indexSea.vue
+4
-4
cusDeclaration.vue
src/views/ecw/box/shippingSea/nodePage/cusDeclaration.vue
+26
-0
shippingSea.vue
src/views/ecw/box/shippingSea/shippingSea.vue
+2
-2
No files found.
src/views/ecw/box/indexSea.vue
View file @
0b2db738
...
...
@@ -3,9 +3,9 @@
<!-- 搜索工作栏 -->
<el-form
:model=
"queryParams"
ref=
"queryForm"
size=
"small"
:inline=
"true"
v-show=
"showSearch"
label-width=
"68px"
>
<el-form-item
label=
"运输方式
"
prop=
"transportType"
>
<el-select
v-model=
"queryParams.transportType"
placeholder=
"请选择运输方式
"
clearable
size=
"small"
>
<el-option
v-for=
"dict in transportTypes"
:key=
"dict.value"
:label=
"
dict.label
"
:value=
"dict.value"
/>
<el-form-item
:label=
"$t('运输方式')
"
prop=
"transportType"
>
<el-select
v-model=
"queryParams.transportType"
:placeholder=
"$t('请选择运输方式')
"
clearable
size=
"small"
>
<el-option
v-for=
"dict in transportTypes"
:key=
"dict.value"
:label=
"
$l(dict, 'label')
"
:value=
"dict.value"
/>
</el-select>
</el-form-item>
...
...
@@ -165,7 +165,7 @@
<div
class=
"notice-dialog"
>
<div
class=
"notice-title"
>
您有
{{
noticeList
.
length
}}
个待处理出货操作,请尽快前往处理:
</div>
<el-table
:data=
"noticeList"
height=
"500px"
border
>
<el-table-column
label=
"自编号
"
align=
"center"
prop=
"selfNo"
/>
<el-table-column
:label=
"$t('自编号')
"
align=
"center"
prop=
"selfNo"
/>
<el-table-column
label=
"类型"
align=
"center"
>
<template
slot-scope=
"scope"
>
<dict-tag
:type=
"DICT_TYPE.BOX_SHIPPING_NOTICE_TYPE"
:value=
"String(scope.row.noticeType)"
/>
...
...
src/views/ecw/box/shippingSea/nodePage/cusDeclaration.vue
View file @
0b2db738
...
...
@@ -25,6 +25,9 @@
</el-select>
</el-form-item>
<el-form-item
label=
"正常报关订单"
>
<div
v-for=
"item in shipmentObj.normalOrderList"
:key=
"item.orderId"
>
<a
href=
"javascript:void(0)"
@
click=
"jumpOrderDetail(item)"
>
{{ item.orderNo }}
</a>
</div>
</el-form-item>
<el-form-item
label=
"报关公司名称"
>
<supplierSelect
v-model=
"cusDeclarationObj.dcCompanyId"
:companyType=
"'2'"
placeholder=
"请选择报关公司名称"
:allSupplier=
"this.$attrs.allSupplier"
/>
...
...
@@ -206,6 +209,13 @@ export default {
...
this
.
shipmentObj
[
voName
],
documentInfo
:
this
.
shipmentObj
.
documentInfo
?.
split
(
"
,
"
)
??
[],
};
if
(
!
this
.
shipmentObj
[
voName
])
{
oldData
.
dcCustomsType
=
oldData
.
dcCustomsType
?
oldData
.
dcCustomsType
:
this
.
getDcCustomsType
(
oldData
.
documentInfo
);
}
oldData
=
formatDateStr
(
oldData
,
[
"
dcCutOffTime
"
,
"
dcCheckTime
"
,
...
...
@@ -219,6 +229,22 @@ export default {
this
.
cusDeclarationObj
=
oldData
;
},
methods
:
{
/* 跳转订单详情 */
jumpOrderDetail
(
row
)
{
this
.
$router
.
push
({
path
:
"
/order/detail
"
,
query
:
{
orderId
:
row
.
orderId
},
});
},
getDcCustomsType
(
documentInfo
=
[])
{
const
newList
=
Array
.
from
(
new
Set
(
documentInfo
));
if
(
newList
.
length
>
1
)
{
return
"
3
"
;
}
if
(
newList
.
length
===
1
)
{
return
newList
[
0
]
===
"
1
"
?
"
1
"
:
"
2
"
;
}
},
getButtonLabel
(
documentInfo
=
[])
{
const
newList
=
Array
.
from
(
new
Set
(
documentInfo
));
return
newList
.
length
>=
2
?
"
混合报关
"
:
"
VGM声明
"
;
...
...
src/views/ecw/box/shippingSea/shippingSea.vue
View file @
0b2db738
...
...
@@ -20,7 +20,7 @@
{{
importCityName
(
shipmentObj
.
destWarehouseId
)
}}
</el-descriptions-item>
<el-descriptions-item
label=
"状态"
>
{{
s
tatusLabel
}}
{{
s
hipmentObj
.
shipmentStatusText
}}
</el-descriptions-item>
</el-descriptions>
</el-card>
...
...
@@ -117,7 +117,7 @@ export default {
watch
:
{
/* 监听发货对象 */
shipmentObj
(
val
)
{
this
.
statusLabel
=
getStatusName
(
getSeaStatus
(
val
));
//
this.statusLabel = getStatusName(getSeaStatus(val));
},
},
};
...
...
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