Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
J
jiedao-web-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-web-master
Commits
b63fc958
Commit
b63fc958
authored
Sep 07, 2024
by
dragondean@qq.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
优化订单详情
parent
6683f8ad
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
53 deletions
+16
-53
orderdetail.vue
src/views/jiedao/profile/orderdetail.vue
+16
-53
No files found.
src/views/jiedao/profile/orderdetail.vue
View file @
b63fc958
...
...
@@ -39,23 +39,28 @@
<span
style=
"color:#409EFF;margin-left:100px;font-size:16px"
@
click=
"consigneeChange"
>
{{ consigneeText }}
</span>
</div>
<el-descriptions
class=
"margin-top"
border
:column=
"2"
:content-style=
"{width:'130px'}"
>
<el-descriptions-item
:label=
"$t('orderdetail.consigneeName')"
label-style=
"width:150px"
>
{{ order.consigneeVO.name }}
</el-descriptions-item>
<el-descriptions-item
:label=
"$t('orderdetail.consigneePhone')"
label-style=
"width:150px"
>
+{{ order.consigneeVO.countryCode }} {{ order.consigneeVO.phone }}
</el-descriptions-item>
<el-descriptions-item
:label=
"$t('orderdetail.consigneeName')"
label-style=
"width:150px"
>
{{ consigneeVO.name }}
</el-descriptions-item>
<el-descriptions-item
:label=
"$t('orderdetail.consigneePhone')"
label-style=
"width:150px"
>
<
template
v-if=
"consigneeVO.countryCode"
>
+
{{
consigneeVO
.
countryCode
}}
</
template
>
{{ consigneeVO.phone }}
</el-descriptions-item>
</el-descriptions>
<el-descriptions
class=
"margin-top"
border
:column=
"3"
:content-style=
"{width:'130px'}"
>
<el-descriptions-item
:label=
"$t('delivery.harvestMethod')"
label-style=
"width:150px"
>
{{
order.consigneeVO?(order.
consigneeVO.harvestMethod==1?$t('orderdetail.own'):$t('orderdetail.toRoom')):''}}
</el-descriptions-item>
<el-descriptions-item
:label=
"$t('delivery.harvestMethod')"
label-style=
"width:150px"
>
{{
consigneeVO?(
consigneeVO.harvestMethod==1?$t('orderdetail.own'):$t('orderdetail.toRoom')):''}}
</el-descriptions-item>
<el-descriptions-item
:label=
"$t('delivery.deliveryaddress')"
label-style=
"width:150px"
>
{{ addressName }}
</el-descriptions-item>
<el-descriptions-item
:label=
"$t('delivery.addressdetail')"
label-style=
"width:150px"
>
{{
order.consigneeVO?order.
consigneeVO.address:''}}
</el-descriptions-item>
<el-descriptions-item
:label=
"$t('delivery.addressdetail')"
label-style=
"width:150px"
>
{{
consigneeVO?
consigneeVO.address:''}}
</el-descriptions-item>
</el-descriptions>
<el-descriptions
v-if=
"showMore"
border
:column=
"3"
:content-style=
"{width:'130px'}"
>
<el-descriptions-item
:label=
"$t('orderdetail.consigneeNameEn')"
label-style=
"width:150px"
>
{{
order.
consigneeVO.nameEn }}
</el-descriptions-item>
<el-descriptions-item
:label=
"$t('orderdetail.consigneeNameEn')"
label-style=
"width:150px"
>
{{ consigneeVO.nameEn }}
</el-descriptions-item>
<el-descriptions-item
:label=
"$t('orderdetail.consigneeCompany')"
label-style=
"width:150px"
>
{{
order.
consigneeVO.company }}
{{ consigneeVO.company }}
</el-descriptions-item>
<el-descriptions-item
:label=
"$t('orderdetail.consigneeCompanyEn')"
label-style=
"width:150px"
>
{{
order.
consigneeVO.companyEn }}
{{ consigneeVO.companyEn }}
</el-descriptions-item>
<el-descriptions-item
:label=
"$t('orderdetail.consigneeEmail')"
label-style=
"width:150px"
>
{{
order.
consigneeVO.email }}
</el-descriptions-item>
<el-descriptions-item
:label=
"$t('orderdetail.consigneeEmail')"
label-style=
"width:150px"
>
{{ consigneeVO.email }}
</el-descriptions-item>
</el-descriptions>
</el-col>
</el-row>
...
...
@@ -395,51 +400,9 @@ export default {
getTime
()
{
return
(
value
)
=>
parseTime
(
value
)
||
''
},
/* getProSum(){
let data = {
num:0,
volume:0,
weight:0,
quantity:0,
worth:0,
washouseNum:0,
washouseVolume:0,
washouseWeight:0,
washouseQuantity:0
}
if(this.order&&this.order.orderItemVOList.length>0){
this.order.orderItemVOList.forEach(item=>{
if(item.num){
data.num += item.num
}
if(item.volume){
data.volume += item.volume
}
if(item.weight){
data.weight += item.weight
}
if(item.quantity){
data.quantity += item.quantity
}
if(item.worth){
data.worth += item.worth
}
if(item.warehouseInInfoVO&&item.warehouseInInfoVO.cartonsNum){
data.washouseNum += item.washouseNum
}
if(item.warehouseInInfoVO&&item.warehouseInInfoVO.volume){
data.washouseVolume += item.washouseVolume
}
if(item.warehouseInInfoVO&&item.warehouseInInfoVO.weight){
data.washouseWeight += item.washouseWeight
}
if(item.warehouseInInfoVO&&item.warehouseInInfoVO.quantityAll){
data.washouseQuantity += item.washouseQuantity
}
})
consigneeVO
(){
return
this
.
order
.
consigneeVO
||
{}
}
return data
} */
},
created
()
{
getCurrencyList
().
then
(
res
=>
{
...
...
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