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
4606faae
Commit
4606faae
authored
Dec 16, 2022
by
huhaiqing
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
增加品牌逻辑
parent
1098d6b3
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
38 additions
and
36 deletions
+38
-36
query.vue
src/views/ecw/box/query.vue
+5
-5
startPacking.vue
...ews/ecw/box/shippingSea/nodePage/cabinet/startPacking.vue
+2
-3
cusDeclaration.vue
src/views/ecw/box/shippingSea/nodePage/cusDeclaration.vue
+14
-18
preinstall.vue
src/views/ecw/box/shippingSea/nodePage/preinstall.vue
+4
-3
index.vue
src/views/ecw/box/shippingSea/nodePage/tally/index.vue
+3
-2
startUnloading.vue
...ecw/box/shippingSea/nodePage/unloading/startUnloading.vue
+10
-5
No files found.
src/views/ecw/box/query.vue
View file @
4606faae
...
...
@@ -74,7 +74,7 @@
<a
href=
"javascript:void(0)"
@
click=
"jumpOrderDetail(scope.row)"
>
{{
scope
.
row
.
orderNo
}}
</a>
</
template
>
</el-table-column>
<el-table-column
prop=
"goodsList"
:label=
"$t('货物信息')"
width=
"2
5
0px"
align=
"center"
>
<el-table-column
prop=
"goodsList"
:label=
"$t('货物信息')"
width=
"2
3
0px"
align=
"center"
>
<
template
v-slot=
"{row}"
>
<section>
<div
v-for=
"(item, index) in row.goodsList"
:key=
"index"
>
...
...
@@ -98,7 +98,7 @@
</
template
>
</el-table-column>
<el-table-column
prop=
"customsFee"
:label=
"$t('报关费用')"
align=
"center"
></el-table-column>
<el-table-column
prop=
""
:label=
"$t('操作')"
align=
"center"
>
<el-table-column
prop=
""
:label=
"$t('操作')"
align=
"center"
width=
"120px"
>
<
template
slot-scope=
"scope"
>
<el-button
type=
"primary"
size=
"small"
:disabled=
"scope.row.abnormalDealStatus === 1"
@
click=
"()=>updateStatus('single', scope.row)"
>
{{
$t
(
'
更新状态
'
)
}}
</el-button>
</
template
>
...
...
@@ -363,17 +363,17 @@ export default {
getErrorType
()
{
for
(
const
[
key
,
value
]
of
Object
.
entries
(
this
.
shipmentObj
))
{
// 报关异常 customsInfo
if
(
key
===
"
customsInfo
"
&&
value
.
hasAbnormal
)
{
if
(
key
===
"
customsInfo
"
&&
value
&&
value
.
hasAbnormal
)
{
this
.
$set
(
this
.
errorInfo
,
"
errorType
"
,
"
customs
"
);
this
.
$set
(
this
.
dialogConfig
,
"
title
"
,
this
.
$t
(
"
更新报关异常状态
"
));
}
// 起运异常 shippingInfo
if
(
key
===
"
shippingInfo
"
&&
value
.
hasAbnormal
)
{
if
(
key
===
"
shippingInfo
"
&&
value
&&
value
.
hasAbnormal
)
{
this
.
$set
(
this
.
errorInfo
,
"
errorType
"
,
"
shipping
"
);
this
.
$set
(
this
.
dialogConfig
,
"
title
"
,
this
.
$t
(
"
更新起运异常状态
"
));
}
// 到港异常 arrivalInfo
if
(
key
===
"
arrivalInfo
"
&&
value
.
hasAbnormal
)
{
if
(
key
===
"
arrivalInfo
"
&&
value
&&
value
.
hasAbnormal
)
{
this
.
$set
(
this
.
errorInfo
,
"
errorType
"
,
"
arrival
"
);
this
.
$set
(
this
.
dialogConfig
,
"
title
"
,
this
.
$t
(
"
更新到港异常状态
"
));
}
...
...
src/views/ecw/box/shippingSea/nodePage/cabinet/startPacking.vue
View file @
4606faae
...
...
@@ -53,9 +53,8 @@
<section
class=
"table-goodList"
>
<div
v-for=
"(item, index) in scope.row.goodsList"
:key=
"index"
class=
"goodList-div"
>
<p>
{{
$t
(
'
品名
'
)
}}
:
{{
item
.
prodTitleZh
}}
</p>
<p>
{{
$t
(
'
品牌
'
)
}}
:【
<dict-tag
:type=
"DICT_TYPE.PRODUCT_RECORD_ATTRIBUTE"
:value=
"item.productRecord"
/>
】
<p>
{{
$t
(
'
品牌
'
)
}}
:【
<template
v-if=
"item.brandName"
>
{{
item
.
brandName
}}
</
template
>
<dict-tag
v-else
:type=
"DICT_TYPE.ECW_IS_BRAND"
:value=
"item.feeType"
/>
】
</p>
<p>
{{$t('其他')}}:{{getTotlContent(item)}}
</p>
</div>
...
...
src/views/ecw/box/shippingSea/nodePage/cusDeclaration.vue
View file @
4606faae
...
...
@@ -24,7 +24,7 @@
<el-option
v-for=
"type in this.getDictDatas(DICT_TYPE.BOX_SHIPPING_CUSTOMS_TYPE)"
:key=
"type.value"
:label=
"type.label"
:value=
"type.value"
></el-option>
</el-select>
</el-form-item>
<el-form-item
:label=
"$t('正常报关订单')"
>
<el-form-item
:label=
"$t('正常报关订单')"
v-show=
"isShowNormal"
>
<div
v-for=
"item in normalOrderList"
:key=
"item.orderId"
>
<a
href=
"javascript:void(0)"
@
click=
"jumpOrderDetail(item)"
>
{{ item.orderNo }}
</a>
</div>
...
...
@@ -231,6 +231,7 @@ export default {
)[
0
].
value
,
isDownload
:
false
,
normalOrderList
:
[],
isShowNormal
:
false
,
};
},
created
()
{
...
...
@@ -260,7 +261,6 @@ export default {
]);
this
.
cusDeclarationObj
=
oldData
;
// this.getCustomsOrderList(oldData.dcCustomsType);
},
methods
:
{
getCustomsOrderList
(
dcCustomsType
)
{
...
...
@@ -269,6 +269,11 @@ export default {
customsTypes
:
dcCustomsType
===
"
3
"
?
"
2,3
"
:
dcCustomsType
,
}).
then
((
res
)
=>
{
this
.
normalOrderList
=
res
.
data
??
[];
if
(
dcCustomsType
===
"
1
"
)
{
this
.
isShowNormal
=
false
;
}
else
{
this
.
isShowNormal
=
true
;
}
});
},
regCloseDialog
(
type
)
{
...
...
@@ -520,12 +525,9 @@ export default {
},
/* 判断查验选择是否禁用 */
disabledRadio
(
item
)
{
const
{
checkExamineStatus
,
checkDealStatus
,
customsInfo
,
}
=
this
.
shipmentObj
;
const
{
dcCheckStatus
}
=
customsInfo
??
{};
// 部分退场状态并且审核通过,退场不可选择
const
{
checkExamineStatus
,
checkDealStatus
,
customsInfo
}
=
this
.
shipmentObj
;
const
{
dcCheckStatus
}
=
customsInfo
??
{};
// 部分退场状态并且审核通过,退场不可选择
if
(
checkExamineStatus
===
2
&&
dcCheckStatus
===
2
&&
...
...
@@ -604,11 +606,8 @@ export default {
computed
:
{
/* 获取报关审核退场状态文字 */
getCheckExamineStatus
()
{
const
{
checkExamineStatus
,
checkDealStatus
,
customsInfo
,
}
=
this
.
shipmentObj
;
const
{
checkExamineStatus
,
checkDealStatus
,
customsInfo
}
=
this
.
shipmentObj
;
const
{
dcCheckStatus
}
=
customsInfo
??
{};
if
(
checkExamineStatus
===
1
)
{
return
dcCheckStatus
===
1
...
...
@@ -625,11 +624,8 @@ export default {
/* 判断是否已处理 */
isCheckDeal
()
{
return
(
type
)
=>
{
const
{
checkExamineStatus
,
checkDealStatus
,
customsInfo
,
}
=
this
.
shipmentObj
;
const
{
checkExamineStatus
,
checkDealStatus
,
customsInfo
}
=
this
.
shipmentObj
;
const
{
dcCheckStatus
}
=
customsInfo
??
{};
// 状态
...
...
src/views/ecw/box/shippingSea/nodePage/preinstall.vue
View file @
4606faae
...
...
@@ -236,9 +236,10 @@
<
el
-
table
v
-
loading
=
"
toBePreLoading
"
:
data
=
"
item.boxOrderItemList
"
border
show
-
summary
:
summary
-
method
=
"
getSummaries
"
>
<
el
-
table
-
column
type
=
"
index
"
align
=
"
center
"
:
label
=
"
$t('序号')
"
width
=
"
50
"
/>
<
el
-
table
-
column
:
label
=
"
$t('品名')
"
align
=
"
center
"
prop
=
"
prodTitleZh
"
/>
<
el
-
table
-
column
:
label
=
"
$t('备案')
"
align
=
"
center
"
prop
=
"
brandType
"
>
<
template
slot
-
scope
=
"
scope
"
>
<
dict
-
tag
:
type
=
"
DICT_TYPE.BOX_SHIPPING_BRAND_TYPE
"
:
value
=
"
scope.row.brandType
"
/>
<
el
-
table
-
column
:
label
=
"
$t('备案')
"
align
=
"
center
"
prop
=
"
feeType
"
>
<
template
slot
-
scope
=
"
{row
}
"
>
<
template
v
-
if
=
"
row.brandName
"
>
{{
row
.
brandName
}}
<
/template
>
<
dict
-
tag
v
-
else
:
type
=
"
DICT_TYPE.ECW_IS_BRAND
"
:
value
=
"
row.feeType
"
/>
<
/template
>
<
/el-table-column
>
<
el
-
table
-
column
:
label
=
"
$t('箱数')
"
align
=
"
center
"
prop
=
"
num
"
/>
...
...
src/views/ecw/box/shippingSea/nodePage/tally/index.vue
View file @
4606faae
...
...
@@ -41,8 +41,9 @@
<el-table-column
:label=
"$t('商品信息')"
width=
"250px"
align=
"center"
prop=
"prodTitleZh"
>
</el-table-column>
<el-table-column
:label=
"$t('备案')"
align=
"center"
prop=
"feeType"
>
<
template
v-slot=
"{row}"
>
<dict-tag
:type=
"DICT_TYPE.ECW_IS_BRAND"
:value=
"row.feeType"
/>
<
template
slot-scope=
"{row}"
>
<template
v-if=
"row.brandName"
>
{{
row
.
brandName
}}
</
template
>
<dict-tag
v-else
:type=
"DICT_TYPE.ECW_IS_BRAND"
:value=
"row.feeType"
/>
</template>
</el-table-column>
<el-table-column
:label=
"$t('报关方式')"
align=
"center"
prop=
"customsType"
>
...
...
src/views/ecw/box/shippingSea/nodePage/unloading/startUnloading.vue
View file @
4606faae
...
...
@@ -34,11 +34,14 @@
{{
scope
.
row
.
orderNo
}}
</
template
>
</el-table-column>
<el-table-column
:label=
"$t('商品信息')"
align=
"center"
prop=
"goodsList"
>
<el-table-column
:label=
"$t('商品信息')"
align=
"center"
prop=
"goodsList"
width=
"200px"
>
<
template
slot-scope=
"scope"
>
<section
class=
"table-goodList"
>
<div
v-for=
"(item, index) in scope.row.goodsList"
:key=
"index"
class=
"goodList-div"
>
<p>
{{
index
+
1
}}
:
{{
$l
(
item
,
'
prodTitle
'
)
}}
</p>
<p>
{{
$t
(
'
品名
'
)
}}
:
{{
item
.
prodTitleZh
}}
</p>
<p>
{{
$t
(
'
品牌
'
)
}}
:【
<template
v-if=
"item.brandName"
>
{{
item
.
brandName
}}
</
template
>
<dict-tag
v-else
:type=
"DICT_TYPE.ECW_IS_BRAND"
:value=
"item.feeType"
/>
】
</p>
</div>
</section>
</template>
...
...
@@ -392,15 +395,17 @@ export default {
.table-area
{
.table-goodList
{
.goodList-div
{
border-bottom
:
1px
solid
#e6ebf5
;
>
p
{
text-align
:
left
;
}
>
p
:last-child
{
>
span
{
margin-right
:
5
px
;
margin-right
:
0
px
;
}
}
}
>
div
:last-child
{
border-bottom
:
none
;
}
}
}
}
...
...
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