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
0f24ef21
Commit
0f24ef21
authored
Sep 08, 2024
by
dragondean@qq.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
完善订单详情
parent
e25386f4
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
241 additions
and
270 deletions
+241
-270
DetailProd.vue
src/views/ecw/order/components/DetailProd.vue
+202
-0
detail.vue
src/views/ecw/order/detail.vue
+39
-270
No files found.
src/views/ecw/order/components/DetailProd.vue
0 → 100644
View file @
0f24ef21
<
script
>
import
Decimal
from
'
decimal.js
'
export
default
{
name
:
'
DetailProd
'
,
props
:
{
list
:
{
type
:
Array
,
required
:
true
},
attrList
:
{
type
:
Array
,
required
:
true
}
},
computed
:{
// 显示特性
showAttrText
(){
return
ids
=>
{
if
(
!
ids
)
return
''
ids
=
!
Array
.
isArray
(
ids
)
?
ids
.
split
(
'
,
'
)
:
ids
const
attrMap
=
{}
this
.
attrList
.
forEach
(
item
=>
{
attrMap
[
item
.
id
]
=
this
.
$l
(
item
,
'
attrName
'
)
})
return
ids
.
map
(
id
=>
attrMap
[
id
]).
join
(
'
,
'
)
}
},
},
methods
:{
// 获取品名汇总数据
getProdSummary
(
e
){
console
.
log
(
"
getProdSummart
"
,
e
)
// 货值
let
worth
=
new
Decimal
(
0
)
// 填单数据
let
fillData
=
{
num
:
new
Decimal
(
0
),
weight
:
new
Decimal
(
0
),
volume
:
new
Decimal
(
0
),
quantity
:
new
Decimal
(
0
)
}
// 入仓数据
let
warehouseInData
=
{
num
:
new
Decimal
(
0
),
weight
:
new
Decimal
(
0
),
volume
:
new
Decimal
(
0
),
quantity
:
new
Decimal
(
0
)
}
// 收费数据
let
chargeData
=
{
weight
:
new
Decimal
(
0
),
volume
:
new
Decimal
(
0
),
}
this
.
list
?.
forEach
(
item
=>
{
worth
=
worth
.
plus
(
item
.
worth
)
fillData
.
num
=
fillData
.
num
.
plus
(
item
.
num
)
fillData
.
weight
=
fillData
.
weight
.
plus
(
item
.
weight
)
fillData
.
volume
=
fillData
.
volume
.
plus
(
item
.
volume
)
fillData
.
quantity
=
fillData
.
quantity
.
plus
(
item
.
quantity
)
if
(
item
.
warehouseInInfoVO
){
warehouseInData
.
num
=
warehouseInData
.
num
.
plus
(
item
.
cartonsNum
)
warehouseInData
.
weight
=
warehouseInData
.
weight
.
plus
(
item
.
weight
)
warehouseInData
.
volume
=
warehouseInData
.
volume
.
plus
(
item
.
volume
)
warehouseInData
.
quantity
=
warehouseInData
.
quantity
.
plus
(
item
.
quantityAll
)
}
chargeData
.
weight
=
chargeData
.
weight
.
plus
(
item
.
chargeWeight
)
chargeData
.
volume
=
chargeData
.
volume
.
plus
(
item
.
chargeVolume
)
})
const
summary
=
Array
(
19
).
fill
(
null
)
summary
[
3
]
=
this
.
$t
(
"
合计
"
)
// 入仓
summary
[
4
]
=
`
${
warehouseInData
.
num
}${
this
.
$t
(
'
箱
'
)}
${
warehouseInData
.
weight
}
KG
${
warehouseInData
.
volume
}
m³
${
warehouseInData
.
quantity
}${
this
.
$t
(
'
个
'
)}
`
// 货值
summary
[
7
]
=
worth
.
toNumber
()
// 收费数九
summary
[
10
]
=
`
${
chargeData
.
weight
}
KG
${
chargeData
.
volume
}
m³`
// 填单数据
summary
[
17
]
=
`
${
fillData
.
num
}${
this
.
$t
(
'
箱
'
)}
${
fillData
.
weight
}
KG
${
fillData
.
volume
}
m³
${
fillData
.
quantity
}${
this
.
$t
(
'
个
'
)}
`
return
summary
}
}
}
</
script
>
<
template
>
<el-table
:data=
"list"
border
show-summary
:summary-method=
"getProdSummary"
style=
"width: 100%"
>
<el-table-column
:label=
"$t('序号')"
width=
"90px"
>
<template
slot-scope=
"scope"
>
{{
scope
.
$index
+
1
}}
</
template
>
</el-table-column>
<el-table-column
prop=
"prodTitleZh"
:label=
"$t('品名')"
>
<
template
slot-scope=
"{row}"
>
{{
row
.
prodTitleZh
}}
/
{{
row
.
prodTitleEn
}}
</
template
>
</el-table-column>
<!--<el-table-column prop="prodTitleEn" :label="$t('品名')" />-->
<el-table-column
prop=
"brand"
:label=
"$t('品牌')"
width=
"90px"
>
<
template
slot-scope=
"{row}"
>
<template
v-if=
"row.brandName"
>
{{
row
.
brandName
}}
</
template
>
<dict-tag
v-else
:type=
"DICT_TYPE.ECW_IS_BRAND"
:value=
"row.brandType"
/>
</template>
</el-table-column>
<el-table-column
prop=
"brand"
:label=
"$t('特性')"
width=
"90px"
>
<
template
slot-scope=
"{row}"
>
{{
showAttrText
(
row
.
warehouseInInfoVO
?
row
.
warehouseInProdAttrIds
:
row
.
prodAttrIds
)
}}
</
template
>
</el-table-column>
<el-table-column
prop=
"sumNum"
:label=
"$t('入仓信息')"
width=
"90px"
>
<
template
slot-scope=
"{row}"
>
<!--
<el-link
type=
"primary"
@
click.native=
"showWarehouseLogs(row,1)"
>
{{
row
.
warehouseInInfoVO
?
row
.
warehouseInInfoVO
.
cartonsNum
:
0
}}
</el-link>
<div
v-if=
"row.warehouseInInfoVO && row.warehouseInInfoVO.isMultiSpecification"
>
(
{{
$t
(
'
多规格
'
)
}}
)
</div>
-->
<div
v-if=
"row.warehouseInInfoVO"
>
{{
row
.
warehouseInInfoVO
.
cartonsNum
}}{{
$t
(
'
箱
'
)
}}
{{
row
.
warehouseInInfoVO
.
weight
}}
Kg
{{
row
.
warehouseInInfoVO
.
volume
}}
m³
{{
row
.
warehouseInInfoVO
.
quantityAll
}}{{
$t
(
'
个
'
)
}}
</div>
</
template
>
</el-table-column>
<el-table-column
prop=
"warehouseType"
:label=
"$t('类型')"
width=
"120px"
/>
<el-table-column
prop=
"specificationType"
:label=
"$t('包装')"
width=
"120px"
/>
<el-table-column
prop=
"worth"
:label=
"$t('货值')"
width=
"120px"
/>
<el-table-column
prop=
"warehouseRecordRemark"
:label=
"$t('入仓备注')"
width=
"120px"
/>
<el-table-column
prop=
"TODO"
:label=
"$t('快递单号')"
/>
<el-table-column
prop=
"sumNum"
:label=
"$t('收费数据')"
width=
"90px"
>
<
template
slot-scope=
"{row}"
>
<div
v-if=
"row.warehouseInInfoVO"
>
{{
row
.
chargeWeight
}}
Kg
{{
row
.
chargeVolume
}}
m³
</div>
</
template
>
</el-table-column>
<el-table-column
prop=
""
:label=
"`${$t('费用类型')}/${$t('模式')}`"
>
<
template
slot-scope=
"{row}"
>
<dict-tag
:type=
"DICT_TYPE.ECW_PAY_ADVANCE"
:value=
"row.isPayAdvance"
/>
<div
v-if=
"row.charging ==0"
>
{{
$t
(
'
运费/清关费
'
)
}}
</div>
<div
v-if=
"row.charging ==1"
>
{{
$t
(
'
全包价
'
)
}}
</div>
</
template
>
</el-table-column>
<el-table-column
prop=
""
:label=
"$t('成交单价')"
width=
"220px"
>
<
template
slot-scope=
"{row}"
>
<template
v-if=
"row.charging ==1"
>
<template
v-if=
"!row.originalSeaFreight"
>
{{
$t
(
'
未报价
'
)
}}
</
template
>
<el-link
type=
"primary"
@
click=
"showFeeDetail(row, 'clearance')"
v-else
>
{{$t('全包价')}} {{row.oneSeaFreight}} {{currencyMap[row.seaFreightCurrency]}} / {{unitMap[row.seaFreightVolume]}}
</el-link>
</template>
<
template
v-else-if=
"!row.originalSeaFreight && !row.originalClearanceFreight"
>
{{
$t
(
'
未报价
'
)
}}
</
template
>
<
template
v-else
>
<el-link
type=
"primary"
@
click=
"showFeeDetail(row, 'freight')"
>
{{
$t
(
'
运费
'
)
}}
:
{{
row
.
oneSeaFreight
}}
{{
currencyMap
[
row
.
seaFreightCurrency
]
}}
/
{{
unitMap
[
row
.
seaFreightVolume
]
}}
</el-link>
<el-link
type=
"primary"
@
click=
"showFeeDetail(row, 'clearance')"
>
{{
$t
(
'
清关费
'
)
}}
:
{{
row
.
oneClearanceFreight
}}
{{
currencyMap
[
row
.
clearanceFreightCurrency
]
}}
/
{{
unitMap
[
row
.
clearanceFreightVolume
]
}}
</el-link
>
</
template
>
</template>
</el-table-column>
<el-table-column
prop=
""
:label=
"$t('材质')"
>
<
template
slot-scope=
"{row}"
>
<dict-tag
:type=
"DICT_TYPE.ECW_PRODUCT_MATERIAL"
:value=
"row.material"
/>
</
template
>
</el-table-column>
<el-table-column
prop=
""
:label=
"$t('用途')"
>
<
template
slot-scope=
"{row}"
>
<div
v-if=
"row.usageIds"
>
<div
v-for=
"(item,index) in row.usageIds.split(',')"
>
<dict-tag
:type=
"DICT_TYPE.OREER_ITEM_USAGE"
:value=
"item"
/>
<span
v-if=
"(index+1)!=row.usageIds.split(',').length"
>
,
</span>
</div>
</div>
</
template
>
</el-table-column>
<el-table-column
prop=
""
:label=
"$t('储位')"
>
<
template
slot-scope=
"{row}"
>
<template
v-if=
"row.warehouseInInfoVO"
>
{{
getLocationName
(
row
.
warehouseInInfoVO
.
orderLocationMergeVOSet
)
}}
</
template
>
</template>
</el-table-column>
<el-table-column
prop=
""
:label=
"$t('商品链接')"
>
<
template
slot-scope=
"{row}"
>
<template
v-if=
"row.link"
>
<a
target=
"_blank"
:url=
"row.link"
>
{{
row
.
link
}}
</a>
</
template
>
</template>
</el-table-column>
<el-table-column
prop=
"sumNum"
:label=
"$t('填单信息')"
width=
"90px"
>
<
template
slot-scope=
"{row}"
>
{{
row
.
num
}}{{
$t
(
'
箱
'
)
}}
{{
row
.
weight
}}
Kg
{{
row
.
volume
}}
m³
{{
row
.
quantity
}}{{
$t
(
'
个
'
)
}}
</
template
>
</el-table-column>
<el-table-column
prop=
"expressNo"
:label=
"$t('填单快递单号')"
/>
</el-table>
</template>
src/views/ecw/order/detail.vue
View file @
0f24ef21
...
@@ -110,10 +110,11 @@
...
@@ -110,10 +110,11 @@
{{order.wvolume}}m³
{{order.wvolume}}m³
{{order.sumQuantity}}{{$t('个')}}
{{order.sumQuantity}}{{$t('个')}}
</el-descriptions-item>
</el-descriptions-item>
<el-descriptions-item
:label=
"$t('付款人')"
v-if=
"showMore"
>
<el-descriptions-item
:label=
"$t('付款人')"
>
<el-link
v-if=
"order.drawee == 3"
@
click.native=
"showDarweeDialog=true"
type=
"primary"
>
{{ $t('自定义') }}
</el-link>
<el-link
v-if=
"order.drawee == 3"
@
click.native=
"showDarweeDialog=true"
type=
"primary"
>
{{ $t('自定义') }}
</el-link>
<dict-tag
v-else
:type=
"DICT_TYPE.DRAWEE"
:value=
"order.drawee"
></dict-tag>
<dict-tag
v-else
:type=
"DICT_TYPE.DRAWEE"
:value=
"order.drawee"
></dict-tag>
</el-descriptions-item>
</el-descriptions-item>
<el-descriptions-item
:label=
"$t('单证报关')"
>
<el-descriptions-item
:label=
"$t('单证报关')"
>
<dict-tag
:type=
"DICT_TYPE.ECW_CUSTOMS_TYPE"
:value=
"order.customsType"
/>
<dict-tag
:type=
"DICT_TYPE.ECW_CUSTOMS_TYPE"
:value=
"order.customsType"
/>
</el-descriptions-item>
</el-descriptions-item>
...
@@ -144,25 +145,30 @@
...
@@ -144,25 +145,30 @@
// TODO
// TODO
</el-descriptions-item>
</el-descriptions-item>
<el-descriptions-item
:label=
"$t('提货数据')"
>
<el-descriptions-item
:label=
"$t('提货数据')"
>
// TODO
{{order.pickNum}} {{$t('箱')}} {{order.pickRatio}}%
</el-descriptions-item>
</el-descriptions-item>
<el-descriptions-item
:label=
"$t('送货时间')"
v-if=
"!order.isExternalWarehouse"
>
{{order.deliveryDate}}
</el-descriptions-item>
<el-descriptions-item
:label=
"$t('送货时间')"
v-if=
"!order.isExternalWarehouse"
>
{{order.deliveryDate}}
</el-descriptions-item>
<el-descriptions-item
:label=
"$t('入仓类型')"
>
<el-descriptions-item
:label=
"$t('入仓类型')"
>
<dict-tag
:type=
"DICT_TYPE.ECW_WAREHOUSING_TYPE"
:value=
"order.warehouseType"
/>
<dict-tag
:type=
"DICT_TYPE.ECW_WAREHOUSING_TYPE"
:value=
"order.warehouseType"
/>
</el-descriptions-item>
</el-descriptions-item>
<el-descriptions-item
:label=
"$t('清关证书')"
>
{{order.isSingleTicketTransport? this.$t('是'):this.$t('否')}}
<!--海运隐藏下面字段-->
</el-descriptions-item>
<
template
v-if=
"order.transportId != 1 && order.transportId != 2"
>
<el-descriptions-item
:label=
"$t('清关证书备注')"
>
<el-descriptions-item
:label=
"$t('清关证书')"
>
{{ order.customsClearCertRemarks }}
{{
order
.
isSingleTicketTransport
?
this
.
$t
(
'
是
'
):
this
.
$t
(
'
否
'
)
}}
</el-descriptions-item>
</el-descriptions-item>
<el-descriptions-item
:label=
"$t('是否拆包')"
>
<el-descriptions-item
:label=
"$t('清关证书备注')"
>
{{order.isUnpack? this.$t('是'):this.$t('否')}}
{{
order
.
customsClearCertRemarks
}}
</el-descriptions-item>
</el-descriptions-item>
<el-descriptions-item
:label=
"$t('单票立刻转运')"
>
<el-descriptions-item
:label=
"$t('是否拆包')"
>
{{order.isSingleTicketTransport? this.$t('是'):this.$t('否')}}
{{
order
.
isUnpack
?
this
.
$t
(
'
是
'
):
this
.
$t
(
'
否
'
)
}}
</el-descriptions-item>
</el-descriptions-item>
<el-descriptions-item
:label=
"$t('单票立刻转运')"
>
{{
order
.
isSingleTicketTransport
?
this
.
$t
(
'
是
'
):
this
.
$t
(
'
否
'
)
}}
</el-descriptions-item>
</
template
>
<el-descriptions-item
:label=
"$t('代收货款')"
>
<el-descriptions-item
:label=
"$t('代收货款')"
>
<dict-tag
:type=
"DICT_TYPE.INFRA_BOOLEAN_STRING"
:value=
"order.isCollection"
/>
<dict-tag
:type=
"DICT_TYPE.INFRA_BOOLEAN_STRING"
:value=
"order.isCollection"
/>
<
template
v-if=
"order.isCollection == 1"
>
(
{{
order
.
collectionProxy
}}{{
currencyMap
[
order
.
collectionProxyCurrency
]
}}
)
</
template
>
<
template
v-if=
"order.isCollection == 1"
>
(
{{
order
.
collectionProxy
}}{{
currencyMap
[
order
.
collectionProxyCurrency
]
}}
)
</
template
>
...
@@ -209,250 +215,11 @@
...
@@ -209,250 +215,11 @@
<el-card
class=
"card"
>
<el-card
class=
"card"
>
<el-tabs
v-model=
"activeName"
>
<el-tabs
v-model=
"activeName"
>
<el-tab-pane
:label=
"$t('货物详情')"
name=
"first"
>
<el-tab-pane
:label=
"$t('货物详情')"
name=
"first"
>
<el-table
:data=
"order.orderItemVOList"
border
style=
"width: 100%"
>
<detail-prod
:list=
"order.orderItemVOList"
:attr-list=
"attrList"
></detail-prod>
<el-table-column
:label=
"$t('序号')"
width=
"90px"
>
<
template
slot-scope=
"scope"
>
{{
scope
.
$index
+
1
}}
</
template
>
</el-table-column>
<el-table-column
prop=
"prodTitleZh"
:label=
"$t('中文品名')"
/>
<el-table-column
prop=
"prodTitleEn"
:label=
"$t('英文品名')"
/>
<el-table-column
prop=
"brand"
:label=
"$t('品牌')"
width=
"90px"
>
<
template
slot-scope=
"{row}"
>
<template
v-if=
"row.brandName"
>
{{
row
.
brandName
}}
</
template
>
<dict-tag
v-else
:type=
"DICT_TYPE.ECW_IS_BRAND"
:value=
"row.brandType"
/>
</template>
</el-table-column>
<el-table-column
prop=
"brand"
:label=
"$t('特性')"
width=
"90px"
>
<
template
slot-scope=
"{row}"
>
{{
showAttrText
(
row
.
warehouseInInfoVO
?
row
.
warehouseInProdAttrIds
:
row
.
prodAttrIds
)
}}
</
template
>
</el-table-column>
<el-table-column
prop=
"num"
:label=
"$t('填单件数')"
width=
"90px"
/>
<el-table-column
prop=
"sumNum"
:label=
"$t('入仓件数')"
width=
"90px"
>
<
template
slot-scope=
"{row}"
>
<el-link
type=
"primary"
@
click.native=
"showWarehouseLogs(row,1)"
>
{{
row
.
warehouseInInfoVO
?
row
.
warehouseInInfoVO
.
cartonsNum
:
0
}}
</el-link>
<div
v-if=
"row.warehouseInInfoVO && row.warehouseInInfoVO.isMultiSpecification"
>
(
{{
$t
(
'
多规格
'
)
}}
)
</div>
</
template
>
</el-table-column>
<el-table-column
prop=
"unit"
:label=
"$t('填单包装单位')"
width=
"100px"
>
<
template
slot-scope=
"{row}"
>
<dict-tag
:type=
"DICT_TYPE.ECW_PACKAGING_TYPE"
:value=
"row.unit"
/>
</
template
>
</el-table-column>
<el-table-column
prop=
"worth"
:label=
"$t('货值')"
width=
"120px"
/>
<el-table-column
prop=
"warehouseType"
:label=
"$t('入仓类型')"
width=
"120px"
/>
<el-table-column
prop=
"specificationType"
:label=
"$t('入仓包装单位')"
width=
"120px"
/>
<el-table-column
prop=
""
:label=
"$t('材质')"
>
<
template
slot-scope=
"{row}"
>
<dict-tag
:type=
"DICT_TYPE.ECW_PRODUCT_MATERIAL"
:value=
"row.material"
/>
</
template
>
</el-table-column>
<el-table-column
prop=
"volume"
:label=
"$t('体积') + '(m³)'"
width=
"90px"
>
<
template
slot-scope=
"{row}"
>
{{
row
.
warehouseInInfoVO
?
row
.
warehouseInInfoVO
.
volume
:
row
.
volume
}}
</
template
>
</el-table-column>
<el-table-column
prop=
"weight"
:label=
"$t('重量') + '(kg)'"
width=
"90px"
>
<
template
slot-scope=
"{row}"
>
{{
row
.
warehouseInInfoVO
?
row
.
warehouseInInfoVO
.
weight
:
row
.
weight
}}
</
template
>
</el-table-column>
<el-table-column
prop=
"warehouseInInfoVO.quantityAll"
:label=
"$t('数量') + '(个)'"
width=
"90px"
>
<
template
slot-scope=
"{row}"
>
{{
row
.
warehouseInInfoVO
?
row
.
warehouseInInfoVO
.
quantityAll
:
row
.
quantity
}}
</
template
>
</el-table-column>
<el-table-column
prop=
"weight"
:label=
"$t('收费重量') + '(kg)'"
width=
"100px"
>
<
template
slot-scope=
"{row}"
>
{{
row
.
chargeWeight
}}
</
template
>
</el-table-column>
<el-table-column
prop=
"volume"
:label=
"$t('收费方数') + '(m³)'"
width=
"100px"
>
<
template
slot-scope=
"{row}"
>
{{
row
.
chargeVolume
}}
</
template
>
</el-table-column>
<el-table-column
prop=
""
:label=
"$t('费用类型')"
>
<
template
slot-scope=
"{row}"
>
<dict-tag
:type=
"DICT_TYPE.ECW_PAY_ADVANCE"
:value=
"row.isPayAdvance"
/>
</
template
>
</el-table-column>
<el-table-column
prop=
"warehouseRecordRemark"
:label=
"$t('入仓记录备注')"
width=
"120px"
/>
<el-table-column
prop=
""
:label=
"$t('用途')"
>
<
template
slot-scope=
"{row}"
>
<div
v-if=
"row.usageIds"
>
<div
v-for=
"(item,index) in row.usageIds.split(',')"
>
<dict-tag
:type=
"DICT_TYPE.OREER_ITEM_USAGE"
:value=
"item"
/>
<span
v-if=
"(index+1)!=row.usageIds.split(',').length"
>
,
</span>
</div>
</div>
<div
v-else
></div>
</
template
>
</el-table-column>
<el-table-column
prop=
"charging"
:label=
"$t('收费模式')"
width=
"120px"
>
<
template
slot-scope=
"{row}"
>
<template
v-if=
"row.charging ==0"
>
{{
$t
(
'
运费/清关费
'
)
}}
</
template
>
<
template
v-if=
"row.charging ==1"
>
{{
$t
(
'
全包价
'
)
}}
</
template
>
</template>
</el-table-column>
<el-table-column
prop=
""
:label=
"$t('成交单价')"
width=
"220px"
>
<
template
slot-scope=
"{row}"
>
<template
v-if=
"row.charging ==1"
>
<template
v-if=
"!row.originalSeaFreight"
>
{{
$t
(
'
未报价
'
)
}}
</
template
>
<el-link
type=
"primary"
@
click=
"showFeeDetail(row, 'clearance')"
v-else
>
{{$t('全包价')}} {{row.oneSeaFreight}} {{currencyMap[row.seaFreightCurrency]}} / {{unitMap[row.seaFreightVolume]}}
</el-link>
</template>
<
template
v-else-if=
"!row.originalSeaFreight && !row.originalClearanceFreight"
>
{{
$t
(
'
未报价
'
)
}}
</
template
>
<
template
v-else
>
<el-link
type=
"primary"
@
click=
"showFeeDetail(row, 'freight')"
>
{{
$t
(
'
运费
'
)
}}
:
{{
row
.
oneSeaFreight
}}
{{
currencyMap
[
row
.
seaFreightCurrency
]
}}
/
{{
unitMap
[
row
.
seaFreightVolume
]
}}
</el-link>
<el-link
type=
"primary"
@
click=
"showFeeDetail(row, 'clearance')"
>
{{
$t
(
'
清关费
'
)
}}
:
{{
row
.
oneClearanceFreight
}}
{{
currencyMap
[
row
.
clearanceFreightCurrency
]
}}
/
{{
unitMap
[
row
.
clearanceFreightVolume
]
}}
</el-link
>
</
template
>
</template>
</el-table-column>
<el-table-column
prop=
""
:label=
"$t('储位')"
>
<
template
slot-scope=
"{row}"
>
<template
v-if=
"row.warehouseInInfoVO"
>
{{
getLocationName
(
row
.
warehouseInInfoVO
.
orderLocationMergeVOSet
)
}}
</
template
>
</template>
</el-table-column>
<el-table-column
prop=
""
:label=
"$t('填单快递单号')"
>
<
template
slot-scope=
"{row}"
>
<!-- 这里不知道什么原因被改成了入仓单号,现根据bug单改成填单快递单号,如需更改请注明缘由
https://zentao.test.jdshangmen.com/bug-view-2645.html -->
{{
row
.
expressNo
}}
</
template
>
</el-table-column>
</el-table>
</el-tab-pane>
</el-tab-pane>
<!--退参品名 退仓/已混箱品名 lanbm 2024-04-16 按客户的要求修改-->
<!--退参品名 退仓/已混箱品名 lanbm 2024-04-16 按客户的要求修改-->
<el-tab-pane
:label=
"$t('退仓/已混箱品名')"
name=
"six"
>
<el-tab-pane
:label=
"$t('退仓/已混箱品名')"
name=
"six"
>
<el-table
:data=
"orderItemDeletedData"
border
style=
"width: 100%"
>
<detail-prod
:list=
"orderItemDeletedData"
:attr-list=
"attrList"
></detail-prod>
<el-table-column
:label=
"$t('序号')"
width=
"90px"
>
<
template
slot-scope=
"scope"
>
{{
scope
.
$index
+
1
}}
</
template
>
</el-table-column>
<el-table-column
prop=
"prodTitleZh"
:label=
"$t('中文品名')"
/>
<el-table-column
prop=
"prodTitleEn"
:label=
"$t('英文品名')"
/>
<el-table-column
prop=
"brand"
:label=
"$t('品牌')"
width=
"90px"
>
<
template
slot-scope=
"{row}"
>
<template
v-if=
"row.brandName"
>
{{
row
.
brandName
}}
</
template
>
<dict-tag
v-else
:type=
"DICT_TYPE.ECW_IS_BRAND"
:value=
"row.brandType"
/>
</template>
</el-table-column>
<el-table-column
prop=
"brand"
:label=
"$t('特性')"
width=
"90px"
>
<
template
slot-scope=
"{row}"
>
{{
showAttrText
(
row
.
warehouseInInfoVO
?
row
.
warehouseInProdAttrIds
:
row
.
prodAttrIds
)
}}
</
template
>
</el-table-column>
<el-table-column
prop=
"num"
:label=
"$t('填单件数')"
width=
"90px"
/>
<el-table-column
prop=
"sumNum"
:label=
"$t('入仓件数')"
width=
"90px"
>
<
template
slot-scope=
"{row}"
>
<el-link
type=
"primary"
@
click.native=
"showWarehouseLogs(row,2)"
>
{{
row
.
warehouseInInfoVO
?
row
.
warehouseInInfoVO
.
cartonsNum
:
0
}}
</el-link>
<div
v-if=
"row.warehouseInInfoVO && row.warehouseInInfoVO.isMultiSpecification"
>
(
{{
$t
(
'
多规格
'
)
}}
)
</div>
</
template
>
</el-table-column>
<el-table-column
prop=
"unit"
:label=
"$t('单位')"
width=
"90px"
>
<
template
slot-scope=
"{row}"
>
<dict-tag
:type=
"DICT_TYPE.ECW_PACKAGING_TYPE"
:value=
"row.unit"
/>
</
template
>
</el-table-column>
<el-table-column
prop=
"worth"
:label=
"$t('货值')"
width=
"120px"
/>
<el-table-column
prop=
""
:label=
"$t('材质')"
>
<
template
slot-scope=
"{row}"
>
<dict-tag
:type=
"DICT_TYPE.ECW_PRODUCT_MATERIAL"
:value=
"row.material"
/>
</
template
>
</el-table-column>
<el-table-column
prop=
"volume"
:label=
"$t('体积') + '(m³)'"
width=
"90px"
>
<
template
slot-scope=
"{row}"
>
{{
row
.
warehouseInInfoVO
?
row
.
warehouseInInfoVO
.
volume
:
row
.
volume
}}
</
template
>
</el-table-column>
<el-table-column
prop=
"weight"
:label=
"$t('重量') + '(kg)'"
width=
"90px"
>
<
template
slot-scope=
"{row}"
>
{{
row
.
warehouseInInfoVO
?
row
.
warehouseInInfoVO
.
weight
:
row
.
weight
}}
</
template
>
</el-table-column>
<el-table-column
prop=
"warehouseInInfoVO.quantityAll"
:label=
"$t('数量') + '(个)'"
width=
"90px"
>
<
template
slot-scope=
"{row}"
>
{{
row
.
warehouseInInfoVO
?
row
.
warehouseInInfoVO
.
quantityAll
:
row
.
quantity
}}
</
template
>
</el-table-column>
<el-table-column
prop=
"weight"
:label=
"$t('收费重量') + '(kg)'"
width=
"100px"
>
<
template
slot-scope=
"{row}"
>
{{
row
.
chargeWeight
}}
</
template
>
</el-table-column>
<el-table-column
prop=
"volume"
:label=
"$t('收费方数') + '(m³)'"
width=
"100px"
>
<
template
slot-scope=
"{row}"
>
{{
row
.
chargeVolume
}}
</
template
>
</el-table-column>
<el-table-column
prop=
""
:label=
"$t('费用类型')"
>
<
template
slot-scope=
"{row}"
>
<dict-tag
:type=
"DICT_TYPE.ECW_PAY_ADVANCE"
:value=
"row.isPayAdvance"
/>
</
template
>
</el-table-column>
<el-table-column
prop=
""
:label=
"$t('用途')"
>
<
template
slot-scope=
"{row}"
>
<div
v-if=
"row.usageIds"
>
<div
v-for=
"(item,index) in row.usageIds.split(',')"
>
<dict-tag
:type=
"DICT_TYPE.OREER_ITEM_USAGE"
:value=
"item"
/>
<span
v-if=
"(index+1)!=row.usageIds.split(',').length"
>
,
</span>
</div>
</div>
<div
v-else
></div>
</
template
>
</el-table-column>
<el-table-column
prop=
""
:label=
"$t('成交单价')"
width=
"220px"
>
<
template
slot-scope=
"{row}"
>
<template
v-if=
"row.charging ==1"
>
<template
v-if=
"!row.originalSeaFreight"
>
{{
$t
(
'
未报价
'
)
}}
</
template
>
<el-link
type=
"primary"
@
click=
"showFeeDetail(row, 'clearance')"
v-else
>
{{$t('全包价')}} {{row.oneSeaFreight}} {{currencyMap[row.seaFreightCurrency]}} / {{unitMap[row.seaFreightVolume]}}
</el-link>
</template>
<
template
v-else-if=
"!row.originalSeaFreight && !row.originalClearanceFreight"
>
{{
$t
(
'
未报价
'
)
}}
</
template
>
<
template
v-else
>
<el-link
type=
"primary"
@
click=
"showFeeDetail(row, 'freight')"
>
{{
$t
(
'
运费
'
)
}}
:
{{
row
.
oneSeaFreight
}}
{{
currencyMap
[
row
.
seaFreightCurrency
]
}}
/
{{
unitMap
[
row
.
seaFreightVolume
]
}}
</el-link>
<el-link
type=
"primary"
@
click=
"showFeeDetail(row, 'clearance')"
>
{{
$t
(
'
清关费
'
)
}}
:
{{
row
.
oneClearanceFreight
}}
{{
currencyMap
[
row
.
clearanceFreightCurrency
]
}}
/
{{
unitMap
[
row
.
clearanceFreightVolume
]
}}
</el-link
>
</
template
>
</template>
</el-table-column>
<el-table-column
prop=
""
:label=
"$t('储位')"
>
<
template
slot-scope=
"{row}"
>
<template
v-if=
"row.warehouseInInfoVO"
>
{{
getLocationName
(
row
.
warehouseInInfoVO
.
orderLocationMergeVOSet
)
}}
</
template
>
</template>
</el-table-column>
<el-table-column
prop=
""
:label=
"$t('填单快递单号')"
>
<
template
slot-scope=
"{row}"
>
<!-- 这里不知道什么原因被改成了入仓单号,现根据bug单改成填单快递单号,如需更改请注明缘由
https://zentao.test.jdshangmen.com/bug-view-2645.html -->
{{
row
.
expressNo
}}
</
template
>
</el-table-column>
</el-table>
</el-tab-pane>
</el-tab-pane>
<!--lanbm 2024-06-11 处理订单到仓时间取值问题-->
<!--lanbm 2024-06-11 处理订单到仓时间取值问题-->
<el-tab-pane
:label=
"$t('订单动态')"
name=
"second"
>
<el-tab-pane
:label=
"$t('订单动态')"
name=
"second"
>
...
@@ -694,10 +461,13 @@ import PackHistoryDetail from './components/PackHistoryDetail';
...
@@ -694,10 +461,13 @@ import PackHistoryDetail from './components/PackHistoryDetail';
import
{
getOfferCheck
}
from
'
@/api/ecw/offer
'
import
{
getOfferCheck
}
from
'
@/api/ecw/offer
'
import
{
getSupplier
}
from
"
@/api/ecw/supplier
"
;
import
{
getSupplier
}
from
"
@/api/ecw/supplier
"
;
import
{
getProductAttrList
}
from
"
@/api/ecw/productAttr
"
;
import
{
getProductAttrList
}
from
"
@/api/ecw/productAttr
"
;
import
Decimal
from
'
decimal.js
'
import
DetailProd
from
'
@/views/ecw/order/components/DetailProd.vue
'
export
default
{
export
default
{
name
:
"
detail
"
,
name
:
"
detail
"
,
components
:
{
components
:
{
DetailProd
,
ImageDisplay
,
ImageDisplay
,
OperateLogDetail
,
OperateLogDetail
,
PrintWarehouseReceipt
,
PrintLadingBill
,
PrintWarehouseReceipt
,
PrintLadingBill
,
...
@@ -1050,21 +820,20 @@ export default {
...
@@ -1050,21 +820,20 @@ export default {
if
(
!
note
)
return
[]
if
(
!
note
)
return
[]
return
JSON
.
parse
(
note
)
return
JSON
.
parse
(
note
)
}
,
}
,
//查看打包历史
//查看打包历史
openPackHistory
(
id
){
openPackHistory
(
id
){
this
.
shopPackId
=
id
this
.
shopPackId
=
id
}
,
}
,
//查看打包历史详情
//查看打包历史详情
showPackDetail
(
packAfterData
){
showPackDetail
(
packAfterData
){
this
.
packAfterData
=
packAfterData
this
.
packAfterData
=
packAfterData
}
,
}
,
getOfferNumber
()
{
getOfferNumber
()
{
const
that
=
this
const
that
=
this
getOfferCheck
({
orderId
:
that
.
orderId
}
).
then
(
response
=>
{
getOfferCheck
({
orderId
:
that
.
orderId
}
).
then
(
response
=>
{
that
.
offerData
=
response
.
data
that
.
offerData
=
response
.
data
}
)
}
)
}
}
}
}
}
;
}
;
<
/script
>
<
/script
>
...
...
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