Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
SuperMan
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
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
罗超
SuperMan
Commits
b597f0de
Commit
b597f0de
authored
May 07, 2020
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
新增页面
parent
b467c53d
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
524 additions
and
33 deletions
+524
-33
busPriceConfig.vue
src/components/busManagement/busPriceConfig.vue
+445
-0
busUsePrice.vue
src/components/busManagement/busUsePrice.vue
+31
-14
busUsePriceDetails.vue
src/components/busManagement/busUsePriceDetails.vue
+40
-18
admissionStatistics.vue
src/components/scenicSpot/admissionStatistics.vue
+0
-1
config.js
src/router/config.js
+8
-0
No files found.
src/components/busManagement/busPriceConfig.vue
0 → 100644
View file @
b597f0de
This diff is collapsed.
Click to expand it.
src/components/busManagement/busUsePrice.vue
View file @
b597f0de
...
...
@@ -218,11 +218,14 @@
<th>
{{
$t
(
'ground.btbj'
)
}}
</th>
<th>
公里价格
</th>
<th>
{{
$t
(
'ground.qtgs'
)
}}
</th>
<th>
{{
$t
(
'ground.jsgs'
)
}}
{{
$t
(
'ground.jsgs'
)
}}
</th>
<th>
{{
$t
(
'ground.qtchadai'
)
}}
...
...
@@ -262,6 +265,9 @@
<td>
{{
item
.
HalfDayPrice
}}
</td>
<td>
{{
item
.
KMPrice
}}
</td>
<td>
{{
item
.
AllDayHighSpeedFee
}}
</td>
...
...
@@ -272,12 +278,13 @@
<td>
{{
item
.
PickUpChaDaiFee
}}
</td>
<td>
<el-popover
width=
"590"
trigger=
"click"
>
<table
width=
"100%"
border=
"0"
cellspacing=
"0"
cellpadding=
"0"
>
<table
width=
"100%"
border=
"0"
cellspacing=
"0"
cellpadding=
"0"
>
<tr
style=
"text-align:center;"
>
<th
width=
"70"
>
{{
$t
(
'ground.yuefen'
)
}}
</th>
<th
width=
"80"
>
{{
$t
(
'ground.jsPrice'
)
}}
</th>
<th
width=
"80"
>
{{
$t
(
'ground.AllDayPrice'
)
}}
</th>
<th
width=
"80"
>
{{
$t
(
'ground.btbj'
)
}}
</th>
<th
width=
"80"
>
公里价格
</th>
<th
width=
"80"
>
{{
$t
(
'ground.qtgs'
)
}}
</th>
<th
width=
"80"
>
{{
$t
(
'ground.jsgs'
)
}}
</th>
<th
width=
"80"
>
{{
$t
(
'ground.qtchadai'
)
}}
</th>
...
...
@@ -296,6 +303,9 @@
<td>
{{
fItem
.
S_HalfDayPrice
}}
</td>
<td>
{{
fItem
.
S_KMPrice
}}
</td>
<td>
{{
fItem
.
S_AllDayHighSpeedFee
}}
</td>
...
...
@@ -332,14 +342,14 @@
</td>
</tr>
<tr>
<td
colspan=
"1
3
"
>
<td
colspan=
"1
4
"
>
{{
$t
(
'pub.pubRemark'
)
}}
:
{{
item
.
Remark
}}
</td>
</tr>
</tbody>
<tfoot>
<tr>
<td
colspan=
"1
3
"
>
<td
colspan=
"1
4
"
>
<el-pagination
background
@
current-change=
"handleCurrentChange"
:current-page
.
sync=
"currentPage"
layout=
"total,prev, pager, next, jumper"
:page-size=
"this.msg.pageSize"
:total=
"total"
>
</el-pagination>
...
...
@@ -377,8 +387,8 @@
</el-col>
<el-col
:span=
"5"
>
<el-form-item
:label=
"$t('sm.zuoweishu')"
prop=
"UseNum"
>
<el-input
:placeholder=
"$t('sm.zuoweishu')"
v-model=
"addMsg.UseNum"
@
keyup
.
native=
"checkInteger(addMsg,'UseNum')"
class=
"busUsePeople"
>
<el-input
:placeholder=
"$t('sm.zuoweishu')"
v-model=
"addMsg.UseNum"
@
keyup
.
native=
"checkInteger(addMsg,'UseNum')"
class=
"busUsePeople"
>
<template
slot=
"append"
>
座
</
template
>
</el-input>
</el-form-item>
...
...
@@ -389,7 +399,7 @@
</el-form-item>
</el-col>
<el-col
:span=
"5"
>
<el-form-item
:label=
"$t('ground.songjiBj')"
style=
"display:none;"
>
<el-form-item
:label=
"$t('ground.songjiBj')"
style=
"display:none;"
>
<el-input
v-model=
"addMsg.SendPrice"
@
keyup
.
native=
"checkPrice(addMsg,'SendPrice')"
></el-input>
</el-form-item>
</el-col>
...
...
@@ -404,13 +414,19 @@
</el-form-item>
</el-col>
<el-col
:span=
"5"
style=
"display:none;"
>
<el-form-item
label=
"小时报价"
>
<el-form-item
label=
"小时报价"
>
<el-input
v-model=
"addMsg.HourPrice"
@
keyup
.
native=
"checkPrice(addMsg,'HourPrice')"
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"5"
>
<el-form-item
label=
"公里报价"
>
<el-input
v-model=
"addMsg.KMPrice"
@
keyup
.
native=
"checkPrice(addMsg,'KMPrice')"
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"5"
>
<el-form-item
:label=
"$t('ground.qtgs')"
prop=
"AllDayHighSpeedFee"
>
<el-input
v-model=
"addMsg.AllDayHighSpeedFee"
@
keyup
.
native=
"checkPrice(addMsg,'HourPrice')"
></el-input>
<el-input
v-model=
"addMsg.AllDayHighSpeedFee"
@
keyup
.
native=
"checkPrice(addMsg,'AllDayHighSpeedFee')"
>
</el-input>
</el-form-item>
</el-col>
<el-col
:span=
"5"
>
...
...
@@ -517,6 +533,7 @@
PickUpChaDaiFee
:
0
,
//接送茶代费
BusImage
:
''
,
//车辆图片
ShowBusImage
:
""
,
KMPrice
:
0
,
//公里价格
},
//表单验证
rules
:
{
...
...
@@ -675,8 +692,7 @@
})
return
AreaName
;
},
getBusTypeStr
(
busType
)
{
getBusTypeStr
(
busType
)
{
var
AreaName
=
''
;
this
.
BusTypeList
.
forEach
(
item
=>
{
if
(
item
.
Id
==
busType
)
{
...
...
@@ -685,7 +701,7 @@
})
return
AreaName
;
},
/*获取车辆类型列表*/
/*获取车辆类型列表*/
getBusTypeList
()
{
this
.
apipost
(
"bus_get_GetBusTypeList"
,
...
...
@@ -723,7 +739,7 @@
null
);
},
//币种下拉获取汇率
getRate
(
ID
)
{
this
.
currencyTypeList
.
forEach
(
x
=>
{
...
...
@@ -761,7 +777,8 @@
PickUpHighSpeedFee
:
0
,
AllDayChaDaiFee
:
0
,
PickUpChaDaiFee
:
0
,
BusImage
:
''
BusImage
:
''
,
KMPrice
:
0
};
},
submitForm
(
addMsg
)
{
...
...
src/components/busManagement/busUsePriceDetails.vue
View file @
b597f0de
...
...
@@ -174,6 +174,9 @@
<th>
半天价格
</th>
<th>
每公里价格
</th>
<th>
全天高速
</th>
...
...
@@ -194,7 +197,7 @@
<tbody
v-for=
"item in dataList"
:key=
"item.subCode"
>
<tr>
<td>
{{
getArea
(
item
.
AreaType
)
}}
-
{{
getBusTypeStr
(
item
.
BusType
)
}}
{{
getArea
(
item
.
AreaType
)
}}
-
{{
getBusTypeStr
(
item
.
BusType
)
}}
</td>
<td>
{{
item
.
MonthStr
}}
...
...
@@ -208,6 +211,9 @@
<td>
{{
item
.
S_HalfDayPrice
}}
</td>
<td>
{{
item
.
S_KMPrice
}}
</td>
<td>
{{
item
.
S_AllDayHighSpeedFee
}}
</td>
...
...
@@ -218,19 +224,21 @@
<td>
{{
item
.
S_PickUpChaDaiFee
}}
</td>
<td>
<el-row>
<el-tooltip
class=
"item"
effect=
"dark"
content=
"管理报价"
placement=
"top-start"
>
<el-button
type=
"primary"
class=
"iconfont icon-bianji-smal"
circle
@
click=
"managePrice(item.Id)"
></el-button>
</el-tooltip>
<el-tooltip
class=
"item"
effect=
"dark"
:content=
"$t('system.table_delete')"
placement=
"top-start"
>
<el-button
type=
"danger"
class=
"iconfont icon-img_delete_small"
circle
@
click=
"isdelete(item.Id)"
></el-button>
</el-tooltip>
<el-tooltip
class=
"item"
effect=
"dark"
content=
"管理报价"
placement=
"top-start"
>
<el-button
type=
"primary"
class=
"iconfont icon-bianji-smal"
circle
@
click=
"managePrice(item.Id)"
>
</el-button>
</el-tooltip>
<el-tooltip
class=
"item"
effect=
"dark"
:content=
"$t('system.table_delete')"
placement=
"top-start"
>
<el-button
type=
"danger"
class=
"iconfont icon-img_delete_small"
circle
@
click=
"isdelete(item.Id)"
>
</el-button>
</el-tooltip>
</el-row>
</td>
</tr>
</tbody>
<tfoot>
<tr>
<td
colspan=
"1
0
"
>
<td
colspan=
"1
1
"
>
<el-pagination
background
@
current-change=
"handleCurrentChange"
:current-page
.
sync=
"msg.currentPage"
layout=
"total,prev, pager, next, jumper"
:page-size=
"msg.pageSize"
:total=
"msg.total"
>
</el-pagination>
...
...
@@ -290,6 +298,11 @@
<el-input
v-model=
"addMsg.S_HourPrice"
@
keyup
.
native=
"checkPrice(addMsg,'S_HourPrice')"
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"5"
>
<el-form-item
label=
"每公里价格"
>
<el-input
v-model=
"addMsg.S_KMPrice"
@
keyup
.
native=
"checkPrice(addMsg,'S_KMPrice')"
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"5"
>
<el-form-item
label=
"全天高速"
>
<el-input
v-model=
"addMsg.S_AllDayHighSpeedFee"
@
keyup
.
native=
"checkPrice(addMsg,'S_AllDayHighSpeedFee')"
>
...
...
@@ -333,8 +346,8 @@
total
:
0
,
currentPage
:
1
,
},
AreaList
:[],
BusTypeList
:[],
AreaList
:
[],
BusTypeList
:
[],
addMsg
:
{
Id
:
0
,
//主键编号
StartDateStr
:
""
,
//开始月份
...
...
@@ -350,10 +363,19 @@
S_PickUpHighSpeedFee
:
0
,
//接送高速费
S_AllDayChaDaiFee
:
0
,
//全天茶代费
S_PickUpChaDaiFee
:
0
,
//接送茶代费
S_KMPrice
:
0
,
//每公里价格
},
rules
:
{
StartDateStr
:
[{
required
:
true
,
message
:
"请选择开始月份"
,
trigger
:
"change"
}],
EndDateStr
:
[{
required
:
true
,
message
:
"请选择结束月份"
,
trigger
:
"change"
}],
StartDateStr
:
[{
required
:
true
,
message
:
"请选择开始月份"
,
trigger
:
"change"
}],
EndDateStr
:
[{
required
:
true
,
message
:
"请选择结束月份"
,
trigger
:
"change"
}],
}
};
},
...
...
@@ -439,6 +461,7 @@
this
.
addMsg
.
S_PickUpHighSpeedFee
=
0
;
this
.
addMsg
.
S_AllDayChaDaiFee
=
0
;
this
.
addMsg
.
S_PickUpChaDaiFee
=
0
;
this
.
addMsg
.
S_KMPrice
=
0
;
},
submitForm
(
addMsg
)
{
//提交创建、修改表单
...
...
@@ -473,7 +496,7 @@
);
});
},
//获取地区下拉
//获取地区下拉
getAreaList
()
{
this
.
apipost
(
"busprice_get_GetBusAreaType"
,
{},
...
...
@@ -495,8 +518,7 @@
})
return
AreaName
;
},
getBusTypeStr
(
busType
)
{
getBusTypeStr
(
busType
)
{
var
AreaName
=
''
;
this
.
BusTypeList
.
forEach
(
item
=>
{
if
(
item
.
Id
==
busType
)
{
...
...
@@ -505,7 +527,7 @@
})
return
AreaName
;
},
/*获取车辆类型列表*/
/*获取车辆类型列表*/
getBusTypeList
()
{
this
.
apipost
(
"bus_get_GetBusTypeList"
,
...
...
@@ -520,8 +542,8 @@
},
},
mounted
()
{
this
.
getAreaList
();
this
.
getBusTypeList
();
this
.
getAreaList
();
this
.
getBusTypeList
();
this
.
msg
.
BusPriceId
=
this
.
$route
.
query
.
id
;
this
.
addMsg
.
BusPriceId
=
this
.
$route
.
query
.
id
;
this
.
initData
();
...
...
src/components/scenicSpot/admissionStatistics.vue
View file @
b597f0de
...
...
@@ -182,7 +182,6 @@
EndDate
:
''
},
queryCommonData
:
{
PlaceList
:
[],
LineList
:
[],
LineTeamList
:
[],
...
...
src/router/config.js
View file @
b597f0de
...
...
@@ -1857,6 +1857,14 @@ export default {
title
:
'车辆报价'
},
},
{
path
:
'/busPriceConfig'
,
//车资价格
name
:
'busPriceConfig'
,
component
:
resolve
=>
require
([
'@/components/busManagement/busPriceConfig'
],
resolve
),
meta
:
{
title
:
'车辆报价'
},
},
{
path
:
'/BusApportionManagement'
,
name
:
'BusApportionManagement'
,
...
...
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