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
c62573b3
Commit
c62573b3
authored
Jun 11, 2025
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
05ca195a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
26 additions
and
19 deletions
+26
-19
HPTripPlan.vue
src/components/busManagement/HPTripPlan.vue
+26
-19
No files found.
src/components/busManagement/HPTripPlan.vue
View file @
c62573b3
<
style
scoped
>
.tripPlanTab
{
border-collapse
:
collapse
;
border-radius
:
5px
;
}
.tripPlanTab
tr
th
,
.tripPlanTab
tr
td
{
border
:
1px
solid
gray
;
text-align
:
center
;
padding-left
:
1px
;
padding-right
:
1px
;
...
...
@@ -46,10 +48,12 @@
<li>
<input
type=
"button"
class=
"normalBtn"
:value=
"$t('pub.searchBtn')"
@
click=
"getList()"
/>
<!--
<button
class=
"hollowFixedBtn"
@
click=
"editPlan(null)"
>
{{
$t
(
'pub.addBtn'
)
}}
</button>
-->
<button
class=
"normalBtn"
type=
"button"
@
click=
"downLoadPlan()"
style=
"display:none;"
>
{{
$t
(
'adm.adm_download'
)
}}
</button>
<button
class=
"normalBtn"
type=
"button"
@
click=
"downLoadPlan()"
>
{{
$t
(
'adm.adm_download'
)
}}
</button>
</li>
</ul>
</div>
<el-tag
effect=
"dark"
color=
"#29b6f6"
>
已制单
</el-tag>
<div
style=
"width:100%;overflow-x:auto;padding-bottom:10px;margin-top:10px;min-height:100px;"
class=
"ownScrollbarStyle"
v-loading=
"loading"
>
<table
class=
"tripPlanTab"
v-if=
"dataList&&dataList.length>0"
>
...
...
@@ -77,21 +81,23 @@
<template
v-for=
"(childItem,childIndex) in subItem"
>
<td
:key=
"`d1_`+index+`s1_`+subIndex+`d1`+childIndex"
>
<template
v-if=
"childItem.OrderId>0"
>
<template
v-if=
"childItem.UseType==1"
>
<font>
接
</font>
</
template
>
<
template
v-else-if=
"childItem.UseType==2"
>
<font>
送
</font>
</
template
>
<
template
v-else-if=
"childItem.UseType==3"
>
<font>
半天
</font>
</
template
>
<
template
v-else-if=
"childItem.UseType==4"
>
<font>
√
</font>
</
template
>
<
template
v-else
>
<font>
X
</font>
</
template
>
<font
:style=
"
{color: childItem.Income>0?'#29b6f6':'#000000'}">
<template
v-if=
"childItem.UseType==1"
>
接
</
template
>
<
template
v-else-if=
"childItem.UseType==2"
>
送
</
template
>
<
template
v-else-if=
"childItem.UseType==3"
>
半天
</
template
>
<
template
v-else-if=
"childItem.UseType==4"
>
√
</
template
>
<
template
v-else
>
X
</
template
>
</font>
</template>
</td>
</template>
...
...
@@ -101,8 +107,9 @@
<template
v-if=
"childItem.OrderId>0"
>
<td
v-if=
"childItem.DayNum==1"
:colspan=
"childItem.ColumnNum>1? childItem.ColumnNum:0"
:key=
"`d2_`+index+`s2_`+subIndex+`d2`+childIndex"
>
<el-tooltip
:content=
"(childItem.OrderType==1?`常规订单:`:`包车订单:`)+childItem.OrderId"
>
<font>
<el-tooltip
:content=
"(childItem.OrderType==1?`常规订单:`:`包车订单:`)+childItem.OrderId+`,用车时间:`+childItem.StartDateStr+`至`+childItem.EndDateStr"
>
<font
:style=
"
{color: childItem.Income>0?'#29b6f6':'#000000'}">
<template
v-if=
"childItem.TCNUM"
>
{{
childItem
.
TCNUM
}}
</
template
>
...
...
@@ -253,7 +260,7 @@
let
yearStr
=
myDate
.
getFullYear
();
let
monthStr
=
parseInt
(
myDate
.
getMonth
()
+
1
);
this
.
msg
.
MonthStr
=
yearStr
+
"-"
+
(
monthStr
<
10
?
'0'
+
monthStr
:
monthStr
);
//
this.msg.MonthStr = "2025-05";
this
.
msg
.
MonthStr
=
"2025-05"
;
// this.msg.CarId = 1030;
//this.msg.CarId = 1021;
//this.msg.QOrderId="483"
...
...
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