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
967a4fba
Commit
967a4fba
authored
Aug 03, 2019
by
denghr
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
加一个判断
parent
5d459770
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
+5
-3
index.vue
src/views/vehicle/bookRecord/index.vue
+5
-3
No files found.
src/views/vehicle/bookRecord/index.vue
View file @
967a4fba
...
...
@@ -193,7 +193,9 @@
<el-button
size=
"small"
type=
"success"
v-if=
"scope.row.status==3"
@
click=
"illegalInquiry(scope.row)"
>
违章记录
</el-button>
<el-button
v-if=
"bookRecord_btn_prove&&scope.row.status==1"
size=
"small"
type=
"success"
@
click=
"handleProve(scope.row)"
>
通过
</el-button>
<el-button
v-if=
"bookRecord_btn_reject&&scope.row.status==1"
size=
"small"
type=
"danger"
@
click=
"handleReject(scope.row)"
>
驳回
</el-button>
<el-button
v-if=
"bookRecord_btn_lift&&scope.row.liftStatus==1"
size=
"small"
type=
"success"
@
click=
"handleLift(scope.row)"
>
出车
</el-button>
<template
v-if=
"scope.row.vehicleDepartureLogVo==undefined"
>
<el-button
v-if=
"bookRecord_btn_lift&&scope.row.liftStatus==1"
size=
"small"
type=
"success"
@
click=
"handleLift(scope.row)"
>
出车
</el-button>
</
template
>
<
template
v-if=
"scope.row.vehicleDepartureLogVo!=undefined"
>
<el-button
v-if=
"bookRecord_btn_ret&&scope.row.vehicleDepartureLogVo.state==0&&scope.row.retStatus==1"
size=
"small"
type=
"success"
@
click=
"handleRet(scope.row)"
>
收车
</el-button>
</
template
>
...
...
@@ -321,7 +323,7 @@
<el-row>
<el-col
:span=
"24"
>
<el-form-item
label=
"提车公里数"
>
<span
v-if=
"detailItem.vehicleDepartureLogVo
.mileageStart
"
>
{{detailItem.vehicleDepartureLogVo.mileageStart}}KM
</span>
<span
v-if=
"detailItem.vehicleDepartureLogVo"
>
{{detailItem.vehicleDepartureLogVo.mileageStart}}KM
</span>
</el-form-item>
</el-col>
</el-row>
...
...
@@ -353,7 +355,7 @@
<el-row>
<el-col
:span=
"24"
>
<el-form-item
label=
"还车公里数"
>
<span
v-if=
"detailItem.vehicleDepartureLogVo
.mileageEnd
"
>
{{detailItem.vehicleDepartureLogVo.mileageEnd}}KM
</span>
<span
v-if=
"detailItem.vehicleDepartureLogVo"
>
{{detailItem.vehicleDepartureLogVo.mileageEnd}}KM
</span>
</el-form-item>
</el-col>
</el-row>
...
...
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