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
5cacfe7b
Commit
5cacfe7b
authored
Feb 22, 2023
by
youjie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
no message
parent
92e0b5f8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
91 additions
and
74 deletions
+91
-74
tripBusOrderList.vue
...ts/busManagement/BookAcar/components/tripBusOrderList.vue
+91
-74
No files found.
src/components/busManagement/BookAcar/components/tripBusOrderList.vue
View file @
5cacfe7b
...
...
@@ -454,9 +454,11 @@
</el-table-column>
<el-table-column
min-width=
"120"
label=
"车辆信息"
style=
"background:#EAEAEA"
>
<
template
slot-scope=
"scope"
>
<div><span>
用车类型:
</span>
{{
item
.
BusTypeName
}}
</div>
<div><span>
司机:
</span>
{{
item
.
DriverInfo
}}
</div>
<div><span>
车牌号:
</span>
{{
item
.
BusNo
}}
</div>
<div><span
class=
"c9e"
>
用车类型:
</span>
{{
item
.
BusTypeName
}}
</div>
<template
v-if=
"item.DriverInfo"
>
<div><span
class=
"c9e"
>
司机:
</span>
{{
item
.
DriverInfo
}}
</div>
<div><span
class=
"c9e"
>
车牌号:
</span>
{{
item
.
BusNo
}}
</div>
</
template
>
</template>
</el-table-column>
<el-table-column
label=
"导游信息"
style=
"background:#EAEAEA"
>
...
...
@@ -880,18 +882,24 @@
</div>
</el-dialog>
<!-- 添加司机车辆弹窗 -->
<el-dialog
title=
"车辆信息"
:visible
.
sync=
"dialogVisible"
width=
"20%"
:before-close=
"handleClose"
>
<div
style=
"display: flex;margin-bottom: 20px;"
>
<span
style=
"width: 70px;"
>
司机:
</span>
<el-input
style=
"width: 150px;"
v-model=
"drivermsg.DriverInfo"
placeholder=
""
></el-input>
</div>
<div
style=
"display: flex;"
>
<span
style=
"width: 70px;"
>
车牌号:
</span>
<el-input
style=
"width: 150px;"
v-model=
"drivermsg.BusNo"
placeholder=
""
></el-input>
</div>
<el-dialog
title=
"车辆信息"
:visible
.
sync=
"dialogVisible"
width=
"400px"
:before-close=
"handleClose"
>
<el-form
label-width=
"80px"
:model=
"drivermsg"
:rules=
"rules"
ref=
"drivermsg"
style=
"width: 100%;"
>
<el-row>
<el-col>
<el-form-item
label=
"司机"
prop=
"DriverInfo"
>
<el-input
v-model=
"drivermsg.DriverInfo"
placeholder=
""
></el-input>
</el-form-item>
</el-col>
<el-col>
<el-form-item
label=
"车牌号"
prop=
"BusNo"
>
<el-input
v-model=
"drivermsg.BusNo"
placeholder=
""
></el-input>
</el-form-item>
</el-col>
</el-row>
</el-form>
<span
slot=
"footer"
class=
"dialog-footer"
>
<el-button
@
click=
"dialogVisible = false"
>
取 消
</el-button>
<el-button
type=
"primary"
@
click=
"driverdetermine()"
>
确 定
</el-button>
<el-button
type=
"primary"
@
click=
"driverdetermine(
'drivermsg'
)"
>
确 定
</el-button>
</span>
</el-dialog>
</div>
...
...
@@ -914,39 +922,39 @@
isShowPrice
:
false
,
//提交报价信息
postMsg
:
{
//
Id: 0,
//
UseCompName: "",
//
UseName: "",
//
PickUpInfo: "",
//
GoFlightInfo: "",
//
BackFlightInfo: "",
//
PeopleNum: 0,
//
UseDayNum: 0,
//
StartDate: "",
//
BusType: 0,
//
BusTypeName: "",
//
GuideInfo: "",
//
DriverInfo: "",
//
BusNo: "",
//
Remark: "",
//
AttentionInfo: "",
//
PayType: 0,
//
IsSure: 0,
//
SureTime: "",
//
SureId: 0,
//
TeamName: "",
//
CurrencyId: 0,
//
DiscountPrice: 0,
//
TotalPrice: 0,
//
CustomerId: 0,
//
OfferDate: "",
//
OfferBy: 0,
//
OfferState: 0,
//
OfferStateName: "",
//
ShouPeiFee: 0,
//
CancelRemark: "",
//
details: [],
//
CustomerName: "",
Id
:
0
,
UseCompName
:
""
,
UseName
:
""
,
PickUpInfo
:
""
,
GoFlightInfo
:
""
,
BackFlightInfo
:
""
,
PeopleNum
:
0
,
UseDayNum
:
0
,
StartDate
:
""
,
BusType
:
0
,
BusTypeName
:
""
,
GuideInfo
:
""
,
DriverInfo
:
""
,
BusNo
:
""
,
Remark
:
""
,
AttentionInfo
:
""
,
PayType
:
0
,
IsSure
:
0
,
SureTime
:
""
,
SureId
:
0
,
TeamName
:
""
,
CurrencyId
:
0
,
DiscountPrice
:
0
,
TotalPrice
:
0
,
CustomerId
:
0
,
OfferDate
:
""
,
OfferBy
:
0
,
OfferState
:
0
,
OfferStateName
:
""
,
ShouPeiFee
:
0
,
CancelRemark
:
""
,
details
:
[],
CustomerName
:
""
,
},
copyId
:
0
,
loading0
:
false
,
...
...
@@ -1017,17 +1025,17 @@
trigger
:
"change"
}
],
SelffetchAddress
:
[
DriverInfo
:
[
{
required
:
true
,
message
:
"请输入
自提地址
"
,
message
:
"请输入
司机司机名称
"
,
trigger
:
"blur"
}
],
LossMoney
:
[
BusNo
:
[
{
required
:
true
,
message
:
"请输入
收损金额
"
,
message
:
"请输入
车牌号
"
,
trigger
:
"blur"
}
]
...
...
@@ -1071,30 +1079,39 @@
},
methods
:
{
handleClose
(
done
)
{
this
.
$confirm
(
'确认关闭?'
)
.
then
(
_
=>
{
done
();
})
.
catch
(
_
=>
{});
done
();
this
.
$refs
.
drivermsg
.
clearValidate
()
this
.
$refs
.
drivermsg
.
resetFields
()
// this.$confirm('确认关闭?')
// .then(_ => {
// })
// .catch(_ => {});
},
// 司机确定
driverdetermine
()
{
this
.
loading2
=
false
if
(
!
this
.
drivermsg
.
DriverInfo
||!
this
.
drivermsg
.
BusNo
){
this
.
$message
.
error
(
'司机名称和车牌号不能为空'
);
return
}
this
.
apipost
(
'tripbus_SetBusPriceInfo'
,
this
.
drivermsg
,
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
loading2
=
true
this
.
dialogVisible
=
false
this
.
$emit
(
'success'
)
this
.
$forceUpdate
();
}
else
{
this
.
loading2
=
true
this
.
Error
(
res
.
data
.
message
);
}
},
err
=>
{})
driverdetermine
(
drivermsg
)
{
this
.
$refs
[
drivermsg
].
validate
((
valid
)
=>
{
if
(
valid
)
{
if
(
!
this
.
drivermsg
.
DriverInfo
||!
this
.
drivermsg
.
BusNo
){
this
.
$message
.
error
(
'司机名称和车牌号不能为空'
);
return
}
this
.
loading2
=
false
this
.
apipost
(
'tripbus_SetBusPriceInfo'
,
this
.
drivermsg
,
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
loading2
=
true
this
.
dialogVisible
=
false
this
.
$emit
(
'success'
)
this
.
$forceUpdate
();
}
else
{
this
.
loading2
=
true
this
.
Error
(
res
.
data
.
message
);
}
},
err
=>
{})
}
else
{
return
false
;
}
});
},
// 添加司机车号
driver
(
id
)
{
...
...
@@ -1309,8 +1326,8 @@
this
.
postMsg
.
GuideInfo
=
tempData
.
GuideInfo
;
this
.
postMsg
.
DriverInfo
=
tempData
.
DriverInfo
;
this
.
postMsg
.
BusNo
=
tempData
.
BusNo
;
this
.
postMsg
.
Remark
=
tempData
.
Remark
;
this
.
postMsg
.
AttentionInfo
=
tempData
.
AttentionInfo
;
this
.
postMsg
.
Remark
=
tempData
.
Remark
?
tempData
.
Remark
:
''
;
this
.
postMsg
.
AttentionInfo
=
tempData
.
AttentionInfo
?
tempData
.
AttentionInfo
:
''
;
this
.
postMsg
.
PayType
=
tempData
.
PayType
;
this
.
postMsg
.
IsSure
=
tempData
.
IsSure
;
this
.
postMsg
.
TeamName
=
tempData
.
TeamName
;
...
...
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