Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
cloud-platform-ui
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
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
youjj
cloud-platform-ui
Commits
3ba1a0f8
Commit
3ba1a0f8
authored
Aug 10, 2019
by
denghr
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
111
parent
df6147c0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
7 deletions
+8
-7
index.vue
src/views/order/rentVehicleInfo/index.vue
+8
-7
No files found.
src/views/order/rentVehicleInfo/index.vue
View file @
3ba1a0f8
...
@@ -105,7 +105,7 @@
...
@@ -105,7 +105,7 @@
<span
style=
"color: #13CE66;cursor: pointer;"
@
click=
"handleOrderDetail(scope.row)"
>
订单详情
</span>
<span
style=
"color: #13CE66;cursor: pointer;"
@
click=
"handleOrderDetail(scope.row)"
>
订单详情
</span>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
align=
"center"
label=
"操作"
width=
"
15
0"
fixed=
"right"
>
<el-table-column
align=
"center"
label=
"操作"
width=
"
30
0"
fixed=
"right"
>
<
template
scope=
"scope"
>
<
template
scope=
"scope"
>
<el-button
size=
"small"
v-if=
"scope.row.status >=4"
class=
"el-button el-button--text el-button--small"
@
click=
"handleHandoverOrderVehicle(scope.row)"
>
交车记录
</el-button>
<el-button
size=
"small"
v-if=
"scope.row.status >=4"
class=
"el-button el-button--text el-button--small"
@
click=
"handleHandoverOrderVehicle(scope.row)"
>
交车记录
</el-button>
<el-button
size=
"small"
v-if=
"scope.row.status == 6"
class=
"el-button el-button--text el-button--small"
@
click=
"handleReturnOrderVehicle(scope.row)"
>
还车记录
</el-button>
<el-button
size=
"small"
v-if=
"scope.row.status == 6"
class=
"el-button el-button--text el-button--small"
@
click=
"handleReturnOrderVehicle(scope.row)"
>
还车记录
</el-button>
...
@@ -208,7 +208,7 @@
...
@@ -208,7 +208,7 @@
<p
class=
"detailTitle"
v-if=
"dedDetail.length>0 && item.status==5"
style=
"margin-top: 15px"
>
定损总罚款{{dedTotal}}元
</p>
<p
class=
"detailTitle"
v-if=
"dedDetail.length>0 && item.status==5"
style=
"margin-top: 15px"
>
定损总罚款{{dedTotal}}元
</p>
<p
class=
"detailTitle"
v-if=
"dedDetail.length>0 && item.status==5"
>
明细
</p>
<p
class=
"detailTitle"
v-if=
"dedDetail.length>0 && item.status==5"
>
明细
</p>
<div
v-if=
"dedDetail.length>0 && item.status==5"
v-for=
"(itm,idx) in dedDetail"
:key=
"idx"
>
<div
v-if=
"dedDetail.length>0 && item.status==5"
v-for=
"(itm,idx) in dedDetail"
:key=
"idx"
>
<p
class=
"detailTitle"
>
{{itm.id}}、{{itm.statusName}}
</p>
<p
class=
"detailTitle"
>
{{itm.id}}、{{itm.statusName}}
扣{{itm.cost}}元
</p>
<div
class=
"picBox"
>
<div
class=
"picBox"
>
<img
class=
"picItem"
:src=
"it"
alt=
""
v-for =
"(it,ix) in itm.picList"
:key=
"ix"
>
<img
class=
"picItem"
:src=
"it"
alt=
""
v-for =
"(it,ix) in itm.picList"
:key=
"ix"
>
</div>
</div>
...
@@ -645,20 +645,21 @@
...
@@ -645,20 +645,21 @@
that
.
pictureList
=
[];
that
.
pictureList
=
[];
that
.
dedDetail
=
[];
that
.
dedDetail
=
[];
that
.
depositRefundRecord
=
[];
that
.
depositRefundRecord
=
[];
that
.
dedTotal
=
''
;
that
.
dedTotal
=
0
;
that
.
Tel
=
''
;
that
.
Tel
=
''
;
getStep
(
row
.
no
).
then
(
response
=>
{
getStep
(
row
.
no
).
then
(
response
=>
{
response
.
data
.
forEach
(
function
(
item
)
{
response
.
data
.
forEach
(
function
(
item
)
{
if
(
item
.
type
!=
1
){
if
(
item
.
type
!=
1
){
that
.
Tel
=
item
.
customerPhone
that
.
type
=
item
.
type
that
.
type
=
item
.
type
if
(
item
.
dedDetail
){
if
(
item
.
dedDetail
){
var
dedTotal
=
''
var
dedTotal
=
0
var
dedDetail
=
JSON
.
parse
(
item
.
dedDetail
);
var
dedDetail
=
JSON
.
parse
(
item
.
dedDetail
);
that
.
dedDetail
=
dedDetail
;
that
.
dedDetail
=
dedDetail
;
dedDetail
.
forEach
(
function
(
item
){
dedDetail
.
forEach
(
function
(
item
){
dedTotal
+=
item
.
cost
dedTotal
+=
Number
(
item
.
cost
)
})
})
that
.
dedTotal
=
dedTotal
;
that
.
dedTotal
=
dedTotal
.
toFixed
(
2
)
;
}
}
item
.
depositRefundRecord
.
forEach
(
function
(
itm
){
item
.
depositRefundRecord
.
forEach
(
function
(
itm
){
itm
.
updTimeStr
=
timestamp2Date
(
itm
.
updTime
);
itm
.
updTimeStr
=
timestamp2Date
(
itm
.
updTime
);
...
...
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