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
edc8998f
Commit
edc8998f
authored
Sep 02, 2020
by
lixy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
通用价格设置--车辆不存在bug修复
parent
78c0edf0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
generalPriceSetting.vue
src/views/vehicle/generalPriceSetting.vue
+2
-1
No files found.
src/views/vehicle/generalPriceSetting.vue
View file @
edc8998f
...
...
@@ -114,7 +114,7 @@
if
(
response
.
status
==
200
)
{
this
.
form
=
{
// id: response.data.id,
vehicleId
:
response
.
data
.
vehicleId
,
vehicleId
:
this
.
oneRow
.
vehicleId
,
applicationObj
:
response
.
data
.
allModelUse
?
2
:
response
.
data
.
allVehicleUse
?
3
:
1
,
// 周末免费天数扣除
rentFreeDay
:
response
.
data
.
rentFreeDay
,
// 免费天数扣除
rentPrice
:
response
.
data
.
rentPrice
,
// 租赁价格
...
...
@@ -153,6 +153,7 @@
params
.
allModelUse
=
params
.
applicationObj
==
2
?
1
:
0
params
.
allVehicleUse
=
params
.
applicationObj
==
3
?
1
:
0
params
.
applicationObj
=
undefined
params
.
vehicleId
=
this
.
oneRow
.
vehicleId
vehicleCommonPriceUpdate
(
params
).
then
(
response
=>
{
if
(
response
.
status
==
200
)
{
this
.
$notify
({
...
...
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