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
5d246aa5
Commit
5d246aa5
authored
Aug 05, 2019
by
denghr
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改申请预定bug
parent
18d1004b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
76 additions
and
2 deletions
+76
-2
index.vue
src/views/vehicle/vehicleInfo/index.vue
+76
-2
No files found.
src/views/vehicle/vehicleInfo/index.vue
View file @
5d246aa5
...
...
@@ -626,6 +626,18 @@
@
select=
"handleSelect4"
></el-autocomplete>
</el-form-item>
<el-form-item
label=
"使用人"
prop=
"vehicleUsername"
>
<el-input
v-model=
"form4Apply.vehicleUsername"
placeholder=
"请输入使用人"
></el-input>
</el-form-item>
<el-form-item
label=
"联系方式"
prop=
"vehicleUserPhone"
>
<el-input
v-model=
"form4Apply.vehicleUserPhone"
placeholder=
"请输入使用人联系方式"
></el-input>
</el-form-item>
<el-form-item
label=
"用途"
prop=
" bookType"
>
<el-select
class=
"filter-item"
v-model=
"form4Apply. bookType"
placeholder=
"请选择用途"
>
<el-option
:key=
"undefined"
label=
""
:value=
"undefined"
></el-option>
<el-option
v-for=
"(val, key, index) in book_type_list "
:key=
"val.id"
:label=
"val.name"
:value=
"val.id"
></el-option>
</el-select>
</el-form-item>
<el-form-item
label=
"目的地"
prop=
"destination"
>
<el-input
v-model=
"form4Apply.destination"
placeholder=
"请输入目的地"
></el-input>
</el-form-item>
...
...
@@ -886,6 +898,39 @@
}
]
},
book_type_list
:[
{
name
:
'租车'
,
id
:
1
},{
name
:
'用户租赁'
,
id
:
2
},{
name
:
'维修'
,
id
:
3
},{
name
:
'展览'
,
id
:
4
},{
name
:
'旅游'
,
id
:
5
},{
name
:
'保养'
,
id
:
6
},{
name
:
'预约中'
,
id
:
7
},{
name
:
'禁用'
,
id
:
8
},{
name
:
'客户用车'
,
id
:
9
},{
name
:
'其他'
,
id
:
10
}
],
form4Apply
:
{
bookStartDate
:
undefined
,
bookEndDate
:
undefined
,
...
...
@@ -897,7 +942,11 @@
liftCompany
:
undefined
,
destination
:
undefined
,
selectedAccItem
:
undefined
,
remark
:
undefined
remark
:
undefined
,
vehicleId
:
undefined
,
bookType
:
undefined
,
vehicleUsername
:
undefined
,
vehicleUserPhone
:
undefined
,
},
pickerOptions4Apply
:
{
disabledDate
:
this
.
checkBookDate
...
...
@@ -984,6 +1033,26 @@
trigger
:
'blur'
}
],
vehicleUsername
:[
{
required
:
true
,
message
:
'请输入使用人'
,
trigger
:
'blur'
}
],
vehicleUserPhone
:[
{
required
:
true
,
message
:
'请输入使用人联系方式'
,
trigger
:
'blur'
}
],
bookType
:[
{
required
:
true
,
message
:
'请选择用途'
,
}
],
liftCompany
:
[
{
required
:
true
,
...
...
@@ -1806,6 +1875,7 @@
selectArry
.
push
(
item
);
});
this
.
form4Apply
.
liftCompany
=
row
.
subordinateBranch
;
this
.
form4Apply
.
vehicleId
=
row
.
id
;
selectArry
.
map
(
function
(
iitem
)
{
if
(
row
.
subordinateBranch
==
iitem
.
id
){
that
.
form4Apply
.
state3
=
iitem
.
name
;
...
...
@@ -2009,7 +2079,11 @@
liftCompany
:
undefined
,
liftAddr
:
undefined
,
destination
:
undefined
,
remark
:
undefined
remark
:
undefined
,
vehicleId
:
undefined
,
bookType
:
undefined
,
vehicleUsername
:
undefined
,
vehicleUserPhone
:
undefined
,
};
},
resetTemp4BookInfo
()
{
...
...
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