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
b62f36e8
Commit
b62f36e8
authored
May 11, 2023
by
我在何方
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
订单详情页面优化
parent
709770a2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
52 additions
and
33 deletions
+52
-33
detail.vue
src/views/ecw/order/detail.vue
+52
-33
No files found.
src/views/ecw/order/detail.vue
View file @
b62f36e8
...
@@ -7,40 +7,39 @@
...
@@ -7,40 +7,39 @@
<
template
v-else-if=
"order.containerNumber"
>
-
{{
order
.
containerNumber
}}
</
template
>
<
template
v-else-if=
"order.containerNumber"
>
-
{{
order
.
containerNumber
}}
</
template
>
</div>
</div>
<el-row
:gutter=
"24"
>
<el-row
:gutter=
"24"
>
<el-col
:span=
"10"
v-if=
"order.consignorVO"
>
<el-col
:span=
"12"
v-if=
"order.consignorVO"
style=
"position: relative;"
>
<el-descriptions
class=
"margin-top"
border
:title=
"$t('发货人')"
:column=
"2"
:labelStyle=
"{width:'150px'}"
>
<span
style=
"color:#409EFF;position: absolute;left:160px;top:0;font-size:16px"
@
click=
"consigneeChange"
>
{{consigneeText}}
</span>
<el-descriptions-item
:label=
"$t('发货人中文名称')"
>
{{order.consignorVO.name}}
</el-descriptions-item>
<el-descriptions
class=
"margin-top"
border
:title=
"$t('发货人')"
:column=
"3"
:labelStyle=
"{width:'110px'}"
:contentStyle=
"{width:'150px'}"
>
<el-descriptions-item
:label=
"$t('中文名称')"
>
{{order.consignorVO.name}}
</el-descriptions-item>
<!-- v1.7新增 -->
<!-- v1.7新增 -->
<el-descriptions-item
:label=
"$t('
发货人
英文名称')"
>
{{order.consignorVO.nameEn}}
</el-descriptions-item>
<el-descriptions-item
:label=
"$t('英文名称')"
>
{{order.consignorVO.nameEn}}
</el-descriptions-item>
<el-descriptions-item
:label=
"$t('
发货人
电话')"
>
<el-descriptions-item
:label=
"$t('电话')"
>
+{{order.consignorVO.countryCode}} {{order.consignorVO.phone}}
+{{order.consignorVO.countryCode}} {{order.consignorVO.phone}}
</el-descriptions-item>
</el-descriptions-item>
<el-descriptions-item
:label=
"$t('发货人邮箱')"
>
{{order.consignorVO.email}}
</el-descriptions-item>
<el-descriptions-item
:label=
"$t('付款人')"
>
<el-descriptions-item
:label=
"$t('发货人公司中文名称')"
>
<el-link
v-if=
"order.drawee == 3"
@
click.native=
"showDarweeDialog=true"
type=
"primary"
>
{{ $t('自定义') }}
</el-link>
{{order.consignorVO.company}}
<dict-tag
v-else
:type=
"DICT_TYPE.DRAWEE"
:value=
"order.drawee"
></dict-tag>
</el-descriptions-item>
<!-- v1.7新增 -->
<el-descriptions-item
:label=
"$t('发货人公司英文名称')"
>
{{order.consignorVO.companyEn}}
</el-descriptions-item>
</el-descriptions-item>
</el-descriptions>
</el-descriptions>
<el-descriptions
border
:class=
"showMore?'showInfo':'hiddenInfo'"
:column=
"3"
:labelStyle=
"{width:'110px'}"
:contentStyle=
"{width:'150px'}"
>
<el-descriptions-item
:label=
"$t('邮箱')"
>
{{order.consignorVO.email}}
</el-descriptions-item>
<el-descriptions-item
:label=
"$t('公司中文名称')"
>
{{order.consignorVO.company}}
</el-descriptions-item>
<!-- v1.7新增 -->
<el-descriptions-item
:label=
"$t('公司英文名称')"
>
{{order.consignorVO.companyEn}}
</el-descriptions-item>
</el-descriptions>
</el-col>
</el-col>
<el-col
:span=
"1
4
"
v-if=
"order.consigneeVO"
>
<el-col
:span=
"1
2
"
v-if=
"order.consigneeVO"
>
<el-descriptions
class=
"margin-top"
border
:title=
"$t('收货人')"
:column=
"3"
:labelStyle=
"{width:'150px'}"
>
<el-descriptions
class=
"margin-top"
border
:title=
"$t('收货人')"
:column=
"3"
:labelStyle=
"{width:'1
10px'}"
:contentStyle=
"{width:'1
50px'}"
>
<el-descriptions-item
:label=
"$t('
收货人
中文名称')"
>
{{order.consigneeVO.name}}
</el-descriptions-item>
<el-descriptions-item
:label=
"$t('中文名称')"
>
{{order.consigneeVO.name}}
</el-descriptions-item>
<!-- v1.7新增 -->
<!-- v1.7新增 -->
<el-descriptions-item
:label=
"$t('
收货人
英文名称')"
>
{{order.consigneeVO.nameEn}}
</el-descriptions-item>
<el-descriptions-item
:label=
"$t('英文名称')"
>
{{order.consigneeVO.nameEn}}
</el-descriptions-item>
<el-descriptions-item
:label=
"$t('
收货人
电话')"
>
<el-descriptions-item
:label=
"$t('电话')"
>
+{{order.consigneeVO.countryCode}} {{order.consigneeVO.phone}}
+{{order.consigneeVO.countryCode}} {{order.consigneeVO.phone}}
</el-descriptions-item>
</el-descriptions-item>
<el-descriptions-item
:label=
"$t('收货人邮箱')"
>
{{order.consigneeVO.email}}
</el-descriptions-item>
<el-descriptions-item
:label=
"$t('收货人公司中文名称')"
>
{{order.consigneeVO.company}}
</el-descriptions-item>
<!-- v1.7新增 -->
<el-descriptions-item
:label=
"$t('收货人公司英文名称')"
>
{{order.consigneeVO.companyEn}}
</el-descriptions-item>
<el-descriptions-item
:label=
"$t('收货方式')"
>
<el-descriptions-item
:label=
"$t('收货方式')"
>
<dict-tag
:type=
"DICT_TYPE.ECW_HARVEST_METHOD"
:value=
"order.consigneeVO.harvestMethod"
/>
<dict-tag
:type=
"DICT_TYPE.ECW_HARVEST_METHOD"
:value=
"order.consigneeVO.harvestMethod"
/>
</el-descriptions-item>
</el-descriptions-item>
...
@@ -51,15 +50,18 @@
...
@@ -51,15 +50,18 @@
{{order.consigneeVO.address}}
{{order.consigneeVO.address}}
</el-descriptions-item>
</el-descriptions-item>
</el-descriptions>
</el-descriptions>
<el-descriptions
border
:class=
"showMore?'showInfo':'hiddenInfo'"
:column=
"3"
:labelStyle=
"{width:'110px'}"
:contentStyle=
"{width:'150px'}"
>
<el-descriptions-item
:label=
"$t('邮箱')"
>
{{order.consigneeVO.email}}
</el-descriptions-item>
<el-descriptions-item
:label=
"$t('公司中文名称')"
>
{{order.consigneeVO.company}}
</el-descriptions-item>
<!-- v1.7新增 -->
<el-descriptions-item
:label=
"$t('公司英文名称')"
>
{{order.consigneeVO.companyEn}}
</el-descriptions-item>
</el-descriptions>
</el-col>
</el-col>
</el-row>
</el-row>
<el-descriptions
class=
"margin-top"
border
:column=
"1"
:labelStyle=
"{width:'150px'}"
>
<el-descriptions-item
:label=
"$t('付款人')"
>
<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>
</el-descriptions-item>
</el-descriptions>
</el-card>
</el-card>
<el-card
class=
"card"
>
<el-card
class=
"card"
>
<el-descriptions
border
:title=
"$t('物流信息')"
:column=
"4"
>
<el-descriptions
border
:title=
"$t('物流信息')"
:column=
"4"
>
...
@@ -463,7 +465,9 @@ export default {
...
@@ -463,7 +465,9 @@ export default {
logsLoading
:
false
,
// 日志加载中
logsLoading
:
false
,
// 日志加载中
logs
:
[],
// 操作日志
logs
:
[],
// 操作日志
activeNames
:
[],
//显示隐藏订单基本信息
activeNames
:
[],
//显示隐藏订单基本信息
showText
:
this
.
$t
(
'
显示更多
'
)
showText
:
this
.
$t
(
'
显示更多
'
),
showMore
:
false
,
consigneeText
:
this
.
$t
(
'
展示
'
),
}
}
}
,
}
,
computed
:{
computed
:{
...
@@ -545,6 +549,11 @@ export default {
...
@@ -545,6 +549,11 @@ export default {
handleChange
(
val
){
handleChange
(
val
){
this
.
showText
=
val
.
length
>
0
?
this
.
$t
(
'
隐藏
'
)
:
this
.
$t
(
'
显示更多
'
)
this
.
showText
=
val
.
length
>
0
?
this
.
$t
(
'
隐藏
'
)
:
this
.
$t
(
'
显示更多
'
)
}
,
}
,
//订单信息显示更多
consigneeChange
(){
this
.
showMore
=
!
this
.
showMore
;
this
.
consigneeText
=
this
.
showMore
?
this
.
$t
(
'
隐藏
'
)
:
this
.
$t
(
'
展示
'
)
}
,
// 显示费用详情
// 显示费用详情
showFeeDetail
(
row
,
type
){
showFeeDetail
(
row
,
type
){
this
.
showFeeDetailDialog
=
true
this
.
showFeeDetailDialog
=
true
...
@@ -713,7 +722,17 @@ export default {
...
@@ -713,7 +722,17 @@ export default {
.
el
-
icon
-
arrow
-
down
{
.
el
-
icon
-
arrow
-
down
{
font
-
size
:
12
px
;
font
-
size
:
12
px
;
}
}
.
hiddenInfo
{
display
:
none
;
}
.
showInfo
{
display
:
block
;
}
/deep/
.
el
-
collapse
-
item__header
{
/deep/
.
el
-
collapse
-
item__header
{
color
:
#
409
EFF
!
important
;
color
:
#
409
EFF
!
important
;
}
}
/deep/
.
el
-
collapse
-
item__wrap
{
margin
-
left
:
-
12
px
;
border
:
none
!
important
;
}
<
/style
>
<
/style
>
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