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
4bf6caa7
Commit
4bf6caa7
authored
Apr 14, 2026
by
吴春
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
11
parent
27063e94
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
53 additions
and
10 deletions
+53
-10
busUsePrice.vue
src/components/busManagement/busUsePrice.vue
+53
-10
No files found.
src/components/busManagement/busUsePrice.vue
View file @
4bf6caa7
...
@@ -250,8 +250,11 @@
...
@@ -250,8 +250,11 @@
<img
v-if=
"item.ShowBusImage"
:src=
"item.ShowBusImage"
style=
"width:200px;height:150px;"
/>
<img
v-if=
"item.ShowBusImage"
:src=
"item.ShowBusImage"
style=
"width:200px;height:150px;"
/>
<img
v-else
src=
"../../assets/img/suplier.jpg"
style=
"width:200px;height:150px;"
/>
<img
v-else
src=
"../../assets/img/suplier.jpg"
style=
"width:200px;height:150px;"
/>
</td>
</td>
<td>
<td
style=
"vertical-align: top;"
>
{{
getArea
(
item
.
AreaType
)
}}
-
{{
getBusTypeStr
(
item
.
BusType
)
}}
<div
style=
"font-size: 14px; color: #333; margin-bottom: 5px;"
>
{{
getArea
(
item
.
AreaType
)
}}
-
{{
getBusTypeStr
(
item
.
BusType
)
}}
</div>
<template
v-if=
"item.ProvinceNameList&&item.ProvinceNameList.length>0"
>
<div
style=
"font-size: 13px; color: #666; padding-top: 5px;"
>
{{
item
.
ProvinceNameList
.
join
(
","
)
}}
</div>
</
template
>
</td>
</td>
<td>
<td>
{{item.UseNum}}
{{item.UseNum}}
...
@@ -384,10 +387,20 @@
...
@@ -384,10 +387,20 @@
</el-select>
</el-select>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
<el-col
:span=
"5"
>
<el-form-item
label=
"省份"
>
<el-select
v-model=
"addMsg.ProvinceIdList"
multiple
filterable
:placeholder=
"$t('hotel.hotel_province')"
clearable
>
<el-option
:key=
"0"
:value=
"0"
:label=
"$t('pub.pleaseSel')"
></el-option>
<el-option
v-for=
"item in provinceList"
:key=
"item.ID"
:label=
"item.Name"
:value=
"item.ID"
></el-option>
</el-select>
</el-form-item>
</el-col>
<el-col
:span=
"5"
>
<el-col
:span=
"5"
>
<el-form-item
:label=
"$t('ground.busType')"
prop=
"BusType"
>
<el-form-item
:label=
"$t('ground.busType')"
prop=
"BusType"
>
<el-select
filterable
:placeholder=
"$t('pub.pleaseSel')"
v-model=
"addMsg.BusType"
>
<el-select
filterable
:placeholder=
"$t('pub.pleaseSel')"
v-model=
"addMsg.BusType"
>
<el-option
v-for=
"item in BusTypeList"
:key=
"item.Id"
:label=
"item.Name+`(`+item.SeatNum+`座)`"
:value=
"item.Id"
></el-option>
<el-option
v-for=
"item in BusTypeList"
:key=
"item.Id"
:label=
"item.Name+`(`+item.SeatNum+`座)`"
:value=
"item.Id"
></el-option>
</el-select>
</el-select>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
...
@@ -519,10 +532,11 @@
...
@@ -519,10 +532,11 @@
BusTypeList
:
""
,
BusTypeList
:
""
,
selectDefauleValue
:
0
,
selectDefauleValue
:
0
,
AreaList
:
[],
AreaList
:
[],
provinceList
:
[],
//省份列表
currencyTypeList
:
[],
currencyTypeList
:
[],
msg
:
{
msg
:
{
pageIndex
:
1
,
pageIndex
:
1
,
pageSize
:
1
8
pageSize
:
1
0
},
},
//表单json
//表单json
addMsg
:
{
addMsg
:
{
...
@@ -545,8 +559,10 @@
...
@@ -545,8 +559,10 @@
BusImage
:
''
,
//车辆图片
BusImage
:
''
,
//车辆图片
ShowBusImage
:
""
,
ShowBusImage
:
""
,
KMPrice
:
0
,
//公里价格
KMPrice
:
0
,
//公里价格
BusNumber
:
""
,
//车牌号
BusNumber
:
""
,
//车牌号
ProvinceIdList
:
[],
//省份
},
},
userinfo
:
{},
//表单验证
//表单验证
rules
:
{
rules
:
{
AreaType
:
[{
AreaType
:
[{
...
@@ -790,7 +806,8 @@
...
@@ -790,7 +806,8 @@
AllDayChaDaiFee
:
0
,
AllDayChaDaiFee
:
0
,
PickUpChaDaiFee
:
0
,
PickUpChaDaiFee
:
0
,
BusImage
:
''
,
BusImage
:
''
,
KMPrice
:
0
KMPrice
:
0
,
ProvinceIdList
:
[],
};
};
},
},
submitForm
(
addMsg
)
{
submitForm
(
addMsg
)
{
...
@@ -825,13 +842,39 @@
...
@@ -825,13 +842,39 @@
null
null
);
);
});
});
},
getProvinceList
(
countryId
)
{
//根据省份获取城市
this
.
provinceList
=
[];
let
msg
=
{
CodeLevel
:
2
,
ParentID
:
0
};
if
(
countryId
&&
countryId
>
0
)
{
msg
.
ParentID
=
countryId
;
}
}
this
.
apipost
(
"dict_get_Destination_GetCityExtList"
,
msg
,
res
=>
{
this
.
provinceList
=
res
.
data
.
data
;
},
);
},
},
created
()
{
this
.
userinfo
=
this
.
getLocalStorage
();
},
},
mounted
()
{
mounted
()
{
this
.
initData
();
this
.
initData
();
this
.
getAreaList
();
this
.
getAreaList
();
this
.
getCurrencyType
();
this
.
getCurrencyType
();
this
.
getBusTypeList
();
this
.
getBusTypeList
();
if
(
this
.
userinfo
&&
this
.
userinfo
.
RB_Group_id
==
2
)
{
this
.
getProvinceList
(
651
,
1
);
}
else
{
this
.
getProvinceList
(
0
,
1
);
}
}
}
};
};
...
...
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