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
defdde12
Commit
defdde12
authored
Oct 31, 2024
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
新增车供应商司机管理
parent
444e5091
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
73 additions
and
62 deletions
+73
-62
fill.js
src/assets/common/lang/EN/fill.js
+5
-1
fill.js
src/assets/common/lang/zhCN/fill.js
+4
-0
fill.js
src/assets/common/lang/zhTW/fill.js
+4
-0
busDriver.vue
src/components/busManagement/busDriver.vue
+40
-52
busSuplier.vue
src/components/busManagement/busSuplier.vue
+8
-3
config.js
src/router/config.js
+12
-6
No files found.
src/assets/common/lang/EN/fill.js
View file @
defdde12
...
...
@@ -3610,7 +3610,11 @@ export const obj = {
wushuju
:
'No data '
,
shezhicg
:
'Setup successful! '
,
tianjaigys
:
'Add a Supplier '
,
xiugaigonys
:
'Modifying Supplier Information '
,
xiugaigonys
:
'Modifying Supplier Information'
,
driverManager
:
'Driver Manager'
,
driverName
:
'Driver Name'
,
driverMobile
:
'Driver Mobile'
,
driverWeChatName
:
'Driver WeChatName'
,
xiaoshibaoj
:
'hourly quotation'
,
gonglibaoj
:
'Kilometer quote '
,
qingxzdiqu
:
'Please select region '
,
...
...
src/assets/common/lang/zhCN/fill.js
View file @
defdde12
...
...
@@ -3612,6 +3612,10 @@ export const obj = {
shezhicg
:
'设置成功!'
,
tianjaigys
:
'添加供应商'
,
xiugaigonys
:
'修改供应商信息'
,
driverManager
:
'司机管理'
,
driverName
:
'司机姓名'
,
driverMobile
:
'司机电话'
,
driverWeChatName
:
'司机微信'
,
xiaoshibaoj
:
'小时报价'
,
gonglibaoj
:
'公里报价'
,
qingxzdiqu
:
'请选择地区'
,
...
...
src/assets/common/lang/zhTW/fill.js
View file @
defdde12
...
...
@@ -3612,6 +3612,10 @@ export const obj = {
shezhicg
:
'設置成功!'
,
tianjaigys
:
'添加供應商'
,
xiugaigonys
:
'修改供應商信息'
,
driverManager
:
'司機管理'
,
driverName
:
'司機姓名'
,
driverMobile
:
'司機電話'
,
driverWeChatName
:
'司機微信'
,
xiaoshibaoj
:
'小時報價'
,
gonglibaoj
:
'公里報價'
,
qingxzdiqu
:
'請選擇地區'
,
...
...
src/components/busManagement/busDriver.vue
View file @
defdde12
...
...
@@ -6,41 +6,25 @@
<div
class=
"flexOne suppierManage"
>
<div
class=
"query-box"
>
<ul>
<li>
<span>
<em>
{{
$t
(
'system.quety_area'
)
}}
</em>
<el-select
v-model=
"msg.CountryStr"
clearable
class=
"w150"
filterable
@
change=
"getProvinceList(msg.CountryStr,1)"
:placeholder=
"$t('hotel.hotel_country')"
>
<el-option
v-for=
'item in countryList'
:key=
"item.ID"
:label=
"item.Name"
:value=
"item.ID"
>
</el-option>
</el-select>
<el-select
v-model=
"msg.ProvinceStr"
class=
"w150"
filterable
@
change=
"getProvinceList(msg.ProvinceStr,2)"
:placeholder=
"$t('hotel.hotel_province')"
>
<el-option
v-for=
'item in provinceList'
:key=
"item.ID"
:label=
"item.Name"
:value=
"item.ID"
>
</el-option>
</el-select>
<el-select
v-model=
"msg.CityStr"
class=
"w150"
filterable
@
change=
"getProvinceList(msg.CityStr,3)"
:placeholder=
"$t('hotel.hotel_city')"
>
<el-option
v-for=
'item in cityList'
:key=
"item.ID"
:label=
"item.Name"
:value=
"item.ID"
>
</el-option>
</el-select>
<el-select
v-model=
"msg.DistrictStr"
class=
"w150"
filterable
:placeholder=
"$t('hotel.hotel_area')"
>
<el-option
v-for=
'item in district'
:key=
"item.ID"
:label=
"item.Name"
:value=
"item.ID"
>
</el-option>
</el-select>
<em>
{{
$t
(
'objFill.v101.busManagement.driverName'
)
}}
</em>
<el-input
maxlength=
"50"
v-model=
"msg.Name"
class=
"permiss-input w150"
@
keyup
.
native
.
enter=
"initData"
:placeholder=
"$t('pub.pleaseImport')"
></el-input>
</span>
</li>
<li>
<span>
<em>
{{
$t
(
'
hotel.suplier_nam
e'
)
}}
</em>
<el-input
maxlength=
"50"
v-model=
"msg.
Nam
e"
class=
"permiss-input w150"
@
keyup
.
native
.
enter=
"initData"
<em>
{{
$t
(
'
objFill.v101.busManagement.driverMobil
e'
)
}}
</em>
<el-input
maxlength=
"50"
v-model=
"msg.
Mobil
e"
class=
"permiss-input w150"
@
keyup
.
native
.
enter=
"initData"
:placeholder=
"$t('pub.pleaseImport')"
></el-input>
</span>
</li>
<li>
<span>
<em>
{{
$t
(
'
hotel.suplier_contact
'
)
}}
</em>
<el-input
maxlength=
"50"
v-model=
"msg.
Contact
"
class=
"permiss-input w150"
@
keyup
.
native
.
enter=
"initData"
<em>
{{
$t
(
'
objFill.v101.busManagement.driverWeChatName
'
)
}}
</em>
<el-input
maxlength=
"50"
v-model=
"msg.
WeChatName
"
class=
"permiss-input w150"
@
keyup
.
native
.
enter=
"initData"
:placeholder=
"$t('pub.pleaseImport')"
></el-input>
</span>
</li>
...
...
@@ -48,18 +32,18 @@
<button
class=
"hollowFixedBtn"
type=
"button"
@
click=
"resetPageIndex(),initData()"
>
{{
$t
(
'pub.searchBtn'
)
}}
</button>
<button
class=
"normalBtn"
type=
"button"
@
click=
"clearinputInfo(),outerVisible = true,dialogTitle=$t('objFill.v101.busManagement.
tianjaigys
')"
>
{{
$t
(
'pub.addBtn'
)
}}
</button>
@
click=
"clearinputInfo(),outerVisible = true,dialogTitle=$t('objFill.v101.busManagement.
driverManager
')"
>
{{
$t
(
'pub.addBtn'
)
}}
</button>
</li>
</ul>
<el-dialog
custom-class=
'addCompany'
:title=
"dialogTitle"
:visible
.
sync=
"outerVisible"
center
>
<el-form
:model=
"addMsg"
:rules=
"rules"
ref=
"addMsg"
label-width=
"100px"
>
<el-form-item
:label=
"$t('
hotel.suplier_name')"
prop=
"Name
"
>
<el-form-item
:label=
"$t('
objFill.v101.busManagement.driverName')
"
>
<el-input
type=
"text"
class=
"w300"
maxlength=
"50"
v-model=
"addMsg.Name"
></el-input>
</el-form-item>
<el-form-item
:label=
"$t('
hotel.table_tel')"
p
>
<el-form-item
:label=
"$t('
objFill.v101.busManagement.driverMobile')"
>
<el-input
type=
"text"
class=
"w300"
maxlength=
"50"
v-model=
"addMsg.Mobile"
></el-input>
</el-form-item>
<el-form-item
:label=
"$t('
hotel.suplier_contact
')"
>
<el-form-item
:label=
"$t('
objFill.v101.busManagement.driverWeChatName
')"
>
<el-input
type=
"text"
class=
"w300"
maxlength=
"50"
v-model=
"addMsg.WeChatName"
></el-input>
</el-form-item>
</el-form>
...
...
@@ -71,27 +55,29 @@
</el-dialog>
</div>
<div
class=
"supplierList clearfix"
v-loading=
"loading"
>
<div
class=
"supList"
v-for=
"item in tableList"
:key=
"item.subCode"
>
<div
class=
"suTop"
>
<img
src=
"../../assets/img/suplier.jpg"
>
<div
class=
"topCircle"
>
{{
item
.
Number
}}
</div>
</div>
<div
class=
"supTitle"
>
{{
item
.
Name
}}
</div>
<div
class=
"telNumber"
>
{{
item
.
Mobile
}}
</div>
<div
class=
"Address"
>
<div
v-show=
"item.WeChatName"
>
<i
class=
"iconfont icon-img_dz"
></i>
<el-tooltip
class=
"item"
effect=
"dark"
:content=
"item.WeChatName"
placement=
"top-start"
>
<div
class=
"AddressInner"
>
{{
item
.
WeChatName
}}
</div>
<el-table
ref=
"busSupplierDriver"
:data=
"dataList"
tooltip-effect=
"dark"
style=
"width: 100%"
>
<el-table-column
prop=
"Name"
:label=
"$t('objFill.v101.busManagement.driverName')"
></el-table-column>
<el-table-column
prop=
"Mobile"
:label=
"$t('objFill.v101.busManagement.driverMobile')"
></el-table-column>
<el-table-column
prop=
"WeChatName"
:label=
"$t('objFill.v101.busManagement.driverWeChatName')"
></el-table-column>
<el-table-column
prop=
"SupplierName"
:label=
"$t('hotel.suplier_name')"
></el-table-column>
<el-table-column
prop=
"CreateByName"
:label=
"$t('active.cl_addPp')"
></el-table-column>
<el-table-column
prop=
"CreateTime"
:label=
"$t('fnc.cjshijian')"
></el-table-column>
<el-table-column
prop=
"UpdateByName"
:label=
"$t('objFill.v101.administrative.xiugairen')"
></el-table-column>
<el-table-column
prop=
"UpdateTime"
:label=
"$t('sm.xiugaishijian')"
></el-table-column>
<el-table-column
:label=
"$t('system.table_operation')"
>
<template
slot-scope=
"scope"
>
<el-tooltip
class=
"item"
effect=
"dark"
:content=
"$t('pub.updateMsg')"
placement=
"top"
>
<el-button
type=
"primary"
icon=
"el-icon-edit"
circle
@
click=
"outerVisible = true,dialogTitle=$t('objFill.v101.busManagement.driverManager'),updateInfo(scope.row.DetailsId)"
>
</el-button>
</el-tooltip>
</div>
</div>
<div
class=
"updataBtn"
>
<button
class=
"normalBtn UPBtn"
@
click=
"outerVisible = true,dialogTitle=$t('objFill.v101.busManagement.xiugaigonys'),updateInfo(item.ID)"
>
{{
$t
(
'pub.updateMsg'
)
}}
</button>
<button
class=
"hollowFixedBtn UPBtn"
@
click=
"isdelete(item)"
>
{{
$t
(
'system.table_delete'
)
}}
</button>
</div>
</div>
<el-tooltip
class=
"item"
effect=
"dark"
:content=
"$t('pub.delete')"
placement=
"top"
>
<el-button
type=
"danger"
icon=
"el-icon-delete"
@
click=
'isdelete(scope.row)'
circle
>
</el-button>
</el-tooltip>
</
template
>
</el-table-column>
</el-table>
</div>
<el-pagination
background
@
current-change=
"handleCurrentChange"
:current-page
.
sync=
"currentPage"
layout=
"total,prev, pager, next, jumper"
:page-size=
"this.msg.pageSize"
:total=
"total"
>
...
...
@@ -105,7 +91,7 @@
return
{
total
:
0
,
currentPage
:
1
,
tableList
:
""
,
dataList
:
[]
,
outerVisible
:
false
,
loading
:
true
,
dialogTitle
:
""
,
...
...
@@ -150,7 +136,7 @@
res
=>
{
this
.
loading
=
false
;
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
table
List
=
res
.
data
.
data
.
pageData
;
this
.
data
List
=
res
.
data
.
data
.
pageData
;
this
.
total
=
res
.
data
.
data
.
count
;
}
},
...
...
@@ -198,6 +184,7 @@
);
},
clearinputInfo
()
{
this
.
addMsg
.
DetailsId
=
0
;
this
.
addMsg
.
Name
=
""
;
this
.
addMsg
.
Mobile
=
""
;
this
.
addMsg
.
WeChatName
=
""
;
...
...
@@ -244,4 +231,5 @@
this
.
initData
();
}
};
</
script
>
src/components/busManagement/busSuplier.vue
View file @
defdde12
...
...
@@ -123,8 +123,7 @@
<button
class=
"hollowFixedBtn UPBtn"
@
click=
"isdelete(item.ID)"
>
{{
$t
(
'system.table_delete'
)
}}
</button>
<button
class=
"hollowFixedBtn HS_financial"
@
click=
"AccountManage(item)"
>
{{
$t
(
'visaT.Accountmanagement'
)
}}
</button>
<!--
<button>
司机管理
</button>
-->
<button
class=
"hollowFixedBtn HS_financial"
@
click=
"goToDriver(item)"
>
{{
$t
(
'objFill.v101.busManagement.driverManager'
)
}}
</button>
</div>
</div>
</div>
...
...
@@ -189,6 +188,12 @@
};
},
methods
:
{
goToDriver
(
item
)
{
let
params
=
{
SupplierId
:
item
.
ID
,
}
this
.
OpenNewPage
(
'/busDriver'
,
params
)
},
handleCurrentChange
(
val
)
{
this
.
msg
.
pageIndex
=
val
;
this
.
initData
();
...
...
src/router/config.js
View file @
defdde12
...
...
@@ -1535,8 +1535,7 @@ export default {
meta
:
{
title
:
'餐厅套餐查询'
},
},
,
},
,
{
path
:
'/RestaurantPackage'
,
//餐厅套餐查询
name
:
'RestaurantPackage'
,
...
...
@@ -2222,6 +2221,14 @@ export default {
meta
:
{
title
:
'车控供应商'
},
},
{
//司机管理
path
:
'/busDriver'
,
name
:
'busDriver'
,
component
:
resolve
=>
require
([
'@/components/busManagement/busDriver'
],
resolve
),
meta
:
{
title
:
'车控供应商'
},
},
{
path
:
'/busArrangement'
,
//派车安排
name
:
'busArrangement'
,
...
...
@@ -4217,8 +4224,7 @@ export default {
meta
:
{
title
:
'费用摊销查询管理'
},
}
,
{
//财务 财务单据 收款查询管理
},
{
//财务 财务单据 收款查询管理
path
:
'/RecPayQueryKM'
,
name
:
'RecPayQueryKM'
,
component
:
resolve
=>
require
([
'@/components/FinancialModule/RecPayQueryKM'
],
resolve
),
...
...
@@ -6250,7 +6256,7 @@ export default {
meta
:
{
title
:
'价格保密协议'
}
},{
},
{
path
:
'/disclaimerProtocol'
,
//老年人/孕妇参团免责
name
:
'disclaimerProtocol'
,
component
:
resolve
=>
require
([
'@/components/disclaimerProtocol'
],
resolve
),
...
...
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