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
283cf27f
Commit
283cf27f
authored
Jan 22, 2026
by
liudong1993
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
fb7574bb
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
32 additions
and
0 deletions
+32
-0
HPTripPlan.vue
src/components/busManagement/HPTripPlan.vue
+32
-0
No files found.
src/components/busManagement/HPTripPlan.vue
View file @
283cf27f
...
@@ -88,6 +88,14 @@
...
@@ -88,6 +88,14 @@
</ul>
</ul>
</div>
</div>
<el-tag
effect=
"dark"
color=
"#29b6f6"
>
已制单
</el-tag>
<el-tag
effect=
"dark"
color=
"#29b6f6"
>
已制单
</el-tag>
<div
style=
"float: right;"
>
<el-select
v-model=
"CarId"
filterable
:placeholder=
"$t('pub.pleaseSel')"
>
<el-option
v-for=
"item in carList"
:label=
"item.CarName+`(`+item.CarNo+`)`"
:value=
"item.Id"
:key=
"item.Id"
>
</el-option>
</el-select>
<el-button
type=
"success"
size=
"mini"
round
@
click=
"SureCar()"
>
确认派车
</el-button>
</div>
<div
style=
"width: 98%; overflow-x: hidden;padding-bottom: 50px; "
:style=
"
{height: boxHeight + 'px'}"
<div
style=
"width: 98%; overflow-x: hidden;padding-bottom: 50px; "
:style=
"
{height: boxHeight + 'px'}"
class="ownScrollbarStyle" v-loading="loading">
class="ownScrollbarStyle" v-loading="loading">
<table
class=
"tripPlanTab"
v-if=
"dataList&&dataList.length>0"
>
<table
class=
"tripPlanTab"
v-if=
"dataList&&dataList.length>0"
>
...
@@ -154,6 +162,7 @@
...
@@ -154,6 +162,7 @@
<template
v-if=
"childItem.OrderId>0"
>
<template
v-if=
"childItem.OrderId>0"
>
<td
v-if=
"childItem.DayNum==1"
:colspan=
"childItem.ColumnNum>1? childItem.ColumnNum:0"
<td
v-if=
"childItem.DayNum==1"
:colspan=
"childItem.ColumnNum>1? childItem.ColumnNum:0"
:key=
"`d2_`+index+`s2_`+subIndex+`d2`+childIndex"
class=
"tdBottomBorder"
>
:key=
"`d2_`+index+`s2_`+subIndex+`d2`+childIndex"
class=
"tdBottomBorder"
>
<el-checkbox
v-model=
"childItem.checked"
v-if=
"item.CarId==0"
></el-checkbox>
{{
childItem
.
CustomerName
}}
{{
childItem
.
CustomerName
}}
<el-tooltip
<el-tooltip
:content=
"(childItem.OrderType==1?`常规订单:`:`包车订单:`)+childItem.OrderId+`,用车时间:`+childItem.StartDateStr+`至`+childItem.EndDateStr"
>
:content=
"(childItem.OrderType==1?`常规订单:`:`包车订单:`)+childItem.OrderId+`,用车时间:`+childItem.StartDateStr+`至`+childItem.EndDateStr"
>
...
@@ -221,6 +230,8 @@
...
@@ -221,6 +230,8 @@
carList
:
[],
carList
:
[],
isHaveAuth
:
false
,
isHaveAuth
:
false
,
boxHeight
:
0
,
boxHeight
:
0
,
CarOrderIds
:
""
,
CarId
:
""
}
}
},
},
components
:
{
components
:
{
...
@@ -333,6 +344,27 @@
...
@@ -333,6 +344,27 @@
}
}
})
})
},
},
SureCar
(){
let
OrderIds
=
[];
let
NoCar
=
this
.
dataList
.
find
(
x
=>
x
.
CarId
===
0
);
NoCar
.
DayList
.
forEach
(
x
=>
{
x
.
forEach
(
y
=>
{
if
(
y
.
checked
){
OrderIds
.
push
(
y
.
OrderId
);
}
})
});
if
(
OrderIds
.
length
==
0
){
this
.
Error
(
'请勾选订单'
);
return
;}
if
(
this
.
CarId
<=
0
){
this
.
Error
(
'请选择车辆'
);
return
;}
this
.
apipost
(
'travel_post_SetTripUseCar'
,
{
OrderIds
:
OrderIds
.
join
(
','
),
CarId
:
this
.
CarId
},
res
=>
{
this
.
loading
=
false
;
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
getList
();
}
else
{
this
.
Error
(
res
.
data
.
message
);
}
})
}
},
},
mounted
()
{
mounted
()
{
var
userInfo
=
this
.
getLocalStorage
();
var
userInfo
=
this
.
getLocalStorage
();
...
...
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