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
62a76786
Commit
62a76786
authored
Jun 13, 2025
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
11
parent
8e3bb35b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
64 additions
and
11 deletions
+64
-11
TeamRevenueReport2.vue
...ponents/FinancialModule/ReportForm/TeamRevenueReport2.vue
+1
-1
HPTripPlan.vue
src/components/busManagement/HPTripPlan.vue
+63
-10
No files found.
src/components/FinancialModule/ReportForm/TeamRevenueReport2.vue
View file @
62a76786
...
@@ -865,7 +865,7 @@ tr._item_list td:last-child {
...
@@ -865,7 +865,7 @@ tr._item_list td:last-child {
{{
scope
.
row
.
DMCNUM
}}
{{
scope
.
row
.
DMCNUM
}}
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
prop=
""
:label=
"$t('fnc.ysjine')"
"
>
<el-table-column
prop=
""
:label=
"$t('fnc.ysjine')"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<span
class=
"teamRevenRep2"
>
<span
class=
"teamRevenRep2"
>
<span
style=
"cursor: pointer"
v-if=
"scope.row.DataType===1"
<span
style=
"cursor: pointer"
v-if=
"scope.row.DataType===1"
...
...
src/components/busManagement/HPTripPlan.vue
View file @
62a76786
...
@@ -7,7 +7,7 @@
...
@@ -7,7 +7,7 @@
.tripPlanTab
tr
th
,
.tripPlanTab
tr
th
,
.tripPlanTab
tr
td
{
.tripPlanTab
tr
td
{
border
:
1px
solid
gray
;
border
:
1px
solid
gray
;
text-align
:
center
;
text-align
:
center
;
padding-left
:
1px
;
padding-left
:
1px
;
padding-right
:
1px
;
padding-right
:
1px
;
...
@@ -35,6 +35,17 @@
...
@@ -35,6 +35,17 @@
</el-date-picker>
</el-date-picker>
</span>
</span>
</li>
</li>
<li>
<span><em>
公司
</em>
<el-select
v-model=
"msg.BusCompany"
filterable
:placeholder=
"$t('pub.pleaseSel')"
clearable
@
clear=
"getCarList(),getList()"
@
change=
"getCarList(),getList()"
:disabled=
"!isHaveAuth"
>
<el-option
label=
"永樂車行(東京)"
:value=
"1248"
:key=
"1248"
>
</el-option>
<el-option
label=
"永樂車行(大阪)"
:value=
"1256"
:key=
"1256"
v
>
</el-option>
</el-select>
</span>
</li>
<li>
<li>
<span><em>
车
</em>
<span><em>
车
</em>
<el-select
v-model=
"msg.CarId"
filterable
:placeholder=
"$t('pub.pleaseSel')"
clearable
@
clear=
"getList()"
<el-select
v-model=
"msg.CarId"
filterable
:placeholder=
"$t('pub.pleaseSel')"
clearable
@
clear=
"getList()"
...
@@ -76,7 +87,12 @@
...
@@ -76,7 +87,12 @@
<
template
v-for=
"(subItem,subIndex) in item.DayList"
>
<
template
v-for=
"(subItem,subIndex) in item.DayList"
>
<tr
:key=
"`d1_`+index+`s1_`+subIndex"
>
<tr
:key=
"`d1_`+index+`s1_`+subIndex"
>
<td
:rowspan=
"item.DayList.length*2"
v-if=
"subIndex==0"
>
<td
:rowspan=
"item.DayList.length*2"
v-if=
"subIndex==0"
>
{{
item
.
CarName
}}
(
{{
item
.
CarSeatNum
}}
座)
{{
item
.
CarName
}}
(
{{
item
.
CarSeatNum
}}
座)
<br
/>
<font
style=
"color:blue"
>
{{
item
.
CarNo
}}
</font>
<template
v-if=
"item.BusStateName!='正常'"
>
<br
/>
<font
style=
"color:red"
>
{{
item
.
BusStateName
}}
</font>
</
template
>
</td>
</td>
<
template
v-for=
"(childItem,childIndex) in subItem"
>
<
template
v-for=
"(childItem,childIndex) in subItem"
>
<td
:key=
"`d1_`+index+`s1_`+subIndex+`d1`+childIndex"
>
<td
:key=
"`d1_`+index+`s1_`+subIndex+`d1`+childIndex"
>
...
@@ -109,14 +125,28 @@
...
@@ -109,14 +125,28 @@
:key=
"`d2_`+index+`s2_`+subIndex+`d2`+childIndex"
>
:key=
"`d2_`+index+`s2_`+subIndex+`d2`+childIndex"
>
<el-tooltip
<el-tooltip
:content=
"(childItem.OrderType==1?`常规订单:`:`包车订单:`)+childItem.OrderId+`,用车时间:`+childItem.StartDateStr+`至`+childItem.EndDateStr"
>
:content=
"(childItem.OrderType==1?`常规订单:`:`包车订单:`)+childItem.OrderId+`,用车时间:`+childItem.StartDateStr+`至`+childItem.EndDateStr"
>
<font
:style=
"
{color: childItem.Income>0?'#29b6f6':'#000000'}">
<template
v-if=
"isHaveAuth"
>
<template
v-if=
"childItem.TCNUM"
>
<font
:style=
"
{color: childItem.Income>0?'#29b6f6':'#000000'}" @click="goToBus(childItem)"
{{
childItem
.
TCNUM
}}
style="cursor:pointer;">
</
template
>
<template
v-if=
"childItem.TCNUM"
>
<
template
v-else
>
{{
childItem
.
TCNUM
}}
{{
childItem
.
OrderTCNUM
}}
</
template
>
</
template
>
<
template
v-else
>
</font>
{{
childItem
.
OrderTCNUM
}}
</
template
>
</font>
</template>
<
template
v-else
>
<font
:style=
"
{color: childItem.Income>0?'#29b6f6':'#000000'}">
<template
v-if=
"childItem.TCNUM"
>
{{
childItem
.
TCNUM
}}
</
template
>
<
template
v-else
>
{{
childItem
.
OrderTCNUM
}}
</
template
>
</font>
</template>
</el-tooltip>
</el-tooltip>
</td>
</td>
</template>
</template>
...
@@ -146,6 +176,7 @@
...
@@ -146,6 +176,7 @@
MonthStr
:
""
,
MonthStr
:
""
,
CarId
:
""
,
CarId
:
""
,
QOrderId
:
""
,
QOrderId
:
""
,
BusCompany
:
""
,
//车公司
},
},
headerList
:
[],
//表头
headerList
:
[],
//表头
dataList
:
[],
dataList
:
[],
...
@@ -157,14 +188,28 @@
...
@@ -157,14 +188,28 @@
isShowEditPlanDialog
:
false
,
//是否显示新增修改
isShowEditPlanDialog
:
false
,
//是否显示新增修改
dialogTitle
:
""
,
dialogTitle
:
""
,
carList
:
[],
carList
:
[],
isHaveAuth
:
false
,
}
}
},
},
components
:
{
components
:
{
editTripPlan
editTripPlan
},
},
methods
:
{
methods
:
{
//跳转到车订单
goToBus
(
item
)
{
let
carUrl
=
this
.
domainManager
().
CarUrl
;
var
nPath
=
"CarOrders/"
+
item
.
OrderId
var
that
=
this
;
this
.
apipost
(
"travel_temp_token"
,
{},
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
let
newUrl
=
carUrl
+
"/auth/autologin?tk="
+
res
.
data
.
data
+
"&gpath="
+
nPath
;
window
.
open
(
newUrl
)
}
})
},
//获取车辆列表
//获取车辆列表
getCarList
()
{
getCarList
()
{
var
carMsg
=
{}
this
.
apipost
(
"travel_post_GetJapanCarList"
,
{},
res
=>
{
this
.
apipost
(
"travel_post_GetJapanCarList"
,
{},
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
carList
=
res
.
data
.
data
;
this
.
carList
=
res
.
data
.
data
;
...
@@ -256,6 +301,14 @@
...
@@ -256,6 +301,14 @@
},
},
},
},
mounted
()
{
mounted
()
{
var
userInfo
=
this
.
getLocalStorage
();
if
(
userInfo
.
EmployeeId
==
1
||
userInfo
.
EmployeeId
==
5
||
userInfo
.
RB_Branch_id
==
49
||
userInfo
.
RB_Branch_id
==
1248
||
userInfo
.
RB_Branch_id
==
1256
)
{
this
.
isHaveAuth
=
true
;
}
if
(
!
this
.
isHaveAuth
)
{
this
.
msg
.
BusCompany
=
1248
;
}
let
myDate
=
new
Date
();
let
myDate
=
new
Date
();
let
yearStr
=
myDate
.
getFullYear
();
let
yearStr
=
myDate
.
getFullYear
();
let
monthStr
=
parseInt
(
myDate
.
getMonth
()
+
1
);
let
monthStr
=
parseInt
(
myDate
.
getMonth
()
+
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