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
6bc2fc98
Commit
6bc2fc98
authored
Jul 01, 2019
by
lixy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
热门车型、热门旅游路线设置
parent
f580c6fa
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
6 deletions
+17
-6
oneTourModal.vue
src/views/tourManage/modal/oneTourModal.vue
+9
-3
oneType.vue
src/views/vehicleType/modal/oneType.vue
+8
-3
No files found.
src/views/tourManage/modal/oneTourModal.vue
View file @
6bc2fc98
...
...
@@ -29,6 +29,11 @@
</el-form-item>
</el-col>
</el-row>
<el-form-item
label=
"是否为推荐"
prop=
"mileage"
>
<el-radio
class=
"radio"
v-model=
"form.recommend"
label=
"1"
>
是
</el-radio>
<el-radio
class=
"radio"
v-model=
"form.recommend"
label=
"0"
>
否
</el-radio>
</el-form-item>
<el-form-item
label=
"会员价格"
prop=
"mileage"
>
<el-radio
class=
"radio"
v-model=
"form.isMember"
label=
"1"
>
启用会员价
</el-radio>
<el-radio
class=
"radio"
v-model=
"form.isMember"
label=
"0"
>
不启用会员价
</el-radio>
...
...
@@ -260,14 +265,14 @@
name
:
undefined
,
//旅行名称
price
:
undefined
,
//成人价
rank
:
undefined
,
recommend
:
undefined
,
recommend
:
"0"
,
//是否设置为推荐,默认不推荐
saleCount
:
undefined
,
//初始销量
status
:
undefined
,
//0:未发布,1:上架 2:下架
stock
:
undefined
,
//总人数
unit
:
undefined
,
//单位
updTime
:
undefined
,
//更新时间
viewCount
:
undefined
,
//浏览量
isMember
:
undefined
,
//是否是会员商品
isMember
:
"0"
,
//是否是会员商品
tagDTOS
:
[],
//旅行标签
bannerDTOS
:[],
//banner轮播
},
...
...
@@ -807,6 +812,7 @@
});
this
.
fileList2
=
fileList2
;
this
.
form
.
isMember
=
this
.
form
.
isMember
+
""
;
this
.
form
.
recommend
=
this
.
form
.
recommend
+
""
;
this
.
form
.
isOutside
=
this
.
form
.
isOutside
+
""
;
})
},
...
...
@@ -914,7 +920,7 @@
name
:
undefined
,
//旅行名称
price
:
undefined
,
//成人价
rank
:
undefined
,
recommend
:
0
,
//是否推荐0:不推荐,1推荐
recommend
:
"0"
,
//是否推荐0:不推荐,1推荐
saleCount
:
undefined
,
//初始销量
status
:
undefined
,
//0:未发布,1:上架 2:下架
stock
:
undefined
,
//总人数
...
...
src/views/vehicleType/modal/oneType.vue
View file @
6bc2fc98
...
...
@@ -10,6 +10,10 @@
</el-form-item>
</el-col>
</el-row>
<el-form-item
label=
"热门车型"
>
<el-radio
class=
"radio"
v-model=
"form.hotSign"
label=
"1"
>
是
</el-radio>
<el-radio
class=
"radio"
v-model=
"form.hotSign"
label=
"2"
>
否
</el-radio>
</el-form-item>
<el-row>
<el-col
:span=
"8"
>
<el-form-item
label=
"房车品牌"
>
...
...
@@ -223,7 +227,7 @@
price
:
0
,
//租车价格
deposit
:
20000
,
//总押金
vioDeposit
:
0
,
//违章押金
hotSign
:
"
1"
,
//热门车型
hotSign
:
"
2"
,
//热门车型 1、热门 2、非热门
rentDiscountStatus
:
"0"
,
//租车优惠状态 0--没有优惠;1--会员折扣;2--固定值
RentDiscountPrice
:
0
,
//租车优惠价格 固定优化价格
buyPrice
:
0
,
//购买价格
...
...
@@ -423,7 +427,7 @@
price
:
this
.
form
.
price
,
//租车价格
deposit
:
this
.
form
.
deposit
,
//总押金
vioDeposit
:
this
.
form
.
vioDeposit
,
// "hotSign"
: this.form.hotSign,//热门车型
hotSign
:
this
.
form
.
hotSign
,
//热门车型
// "rentDiscountStatus":"0",//租车优惠状态 0--没有优惠;1--会员折扣;2--固定值
// "RentDiscountPrice":"",//租车优惠价格 固定优化价格
buyPrice
:
this
.
form
.
buyPrice
,
//购买价格
...
...
@@ -661,6 +665,7 @@
})
});
this
.
canSelectLabel
=
canSelectLabel
;
response
.
data
.
hotSign
=
response
.
data
.
hotSign
?
response
.
data
.
hotSign
:
"2"
;
this
.
form
=
response
.
data
;
})
},
...
...
@@ -737,7 +742,7 @@
price
:
0
,
//租车价格
deposit
:
20000
,
//总押金
vioDeposit
:
0
,
//违章押金
hotSign
:
"
1"
,
//热门车型
hotSign
:
"
2"
,
//热门车型 1、热门 2、非热门
rentDiscountStatus
:
"0"
,
//租车优惠状态 0--没有优惠;1--会员折扣;2--固定值
RentDiscountPrice
:
0
,
//租车优惠价格 固定优化价格
buyPrice
:
0
,
//购买价格
...
...
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