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
20ff1d5e
Commit
20ff1d5e
authored
May 16, 2024
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
新增组件
parent
065c2aac
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
154 additions
and
3 deletions
+154
-3
JapanBusOrderMonthStatistics.vue
...components/busManagement/JapanBusOrderMonthStatistics.vue
+0
-1
commonBusInfo.vue
src/components/commonPage/commonBusInfo.vue
+154
-0
TravelPrice.vue
...nents/newTravelmanager/TravelGroupControl/TravelPrice.vue
+0
-2
No files found.
src/components/busManagement/JapanBusOrderMonthStatistics.vue
View file @
20ff1d5e
...
@@ -96,7 +96,6 @@
...
@@ -96,7 +96,6 @@
this
.
loading
=
true
this
.
loading
=
true
this
.
apipost
(
'JapanCar_get_GetJapanOrderStatisticsPageList'
,
this
.
msg
,
res
=>
{
this
.
apipost
(
'JapanCar_get_GetJapanOrderStatisticsPageList'
,
this
.
msg
,
res
=>
{
this
.
loading
=
false
;
this
.
loading
=
false
;
console
.
log
(
"JapanCar_get_GetJapanOrderStatisticsPageList"
,
res
)
if
(
res
.
data
.
resultCode
==
1
)
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
ColsCount
=
res
.
data
.
data
.
MaxUseDay
;
this
.
ColsCount
=
res
.
data
.
data
.
MaxUseDay
;
this
.
total
=
res
.
data
.
data
.
pmodel
.
count
;
this
.
total
=
res
.
data
.
data
.
pmodel
.
count
;
...
...
src/components/commonPage/commonBusInfo.vue
0 → 100644
View file @
20ff1d5e
<
style
>
.commonBusInfo
{
margin-top
:
10px
;
}
.commonBusInfo
tr
td
{
text-align
:
left
;
width
:
50%
;
padding
:
5px
0
;
}
.commonBusInfo
.tdRight
{
text-align
:
right
;
width
:
20%
;
}
.commonBusInfo
.tdLeft
{
text-align
:
left
;
padding-left
:
5px
;
width
:
30%
;
}
</
style
>
<
template
>
<div>
<div>
<table
width=
"100%"
border=
"0"
cellspacing=
"0"
cellpadding=
"0"
class=
"singeRowTable"
>
<tr>
<td>
{{
$t
(
'salesModule.CompanyNum'
)
}}
</td>
<td
style=
"text-align:left;"
colspan=
"2"
>
<span
style=
"padding-left:5px;"
>
{{
TCNUM
}}
(
{{
TCID
}}
)
</span>
</td>
<td>
{{
$t
(
'salesModule.DJNum'
)
}}
</td>
<td
style=
"text-align:left;"
colspan=
"2"
>
<span
style=
"padding-left:5px;"
>
{{
DMCNum
}}
</span>
</td>
</tr>
<tr>
<td>
车型
</td>
<td
style=
"text-align:left;"
colspan=
"2"
>
<span
style=
"padding-left:5px;"
>
<template
v-if=
"busData&&busData.length>0&&busData[0].CarName"
>
{{
busData
[
0
].
CarName
}}
</
template
>
</span>
</td>
<td>
司机
</td>
<td
style=
"text-align:left;"
colspan=
"2"
>
<span
style=
"padding-left:5px;"
>
<
template
v-if=
"busData&&busData.length>0&&busData[0].DriverName"
>
{{
busData
[
0
].
DriverName
}}
</
template
>
</span>
</td>
</tr>
<tr>
<th
width=
"100"
>
{{$t('pub.date')}}
</th>
<th
width=
"80"
>
用车类型
</th>
<th
width=
"180"
colspan=
"2"
>
行程
</th>
<th
width=
"95"
>
操作人
</th>
<th
width=
"125"
>
状态
</th>
</tr>
<
template
v-for=
"(busItem,bIndex) in busData"
>
<tr
v-for=
"(dItem,dIndex) in busItem.OrderDetailList"
:key=
"bIndex+dIndex"
>
<td>
{{
dItem
.
DayStr
}}
(
{{
getDayByDate
(
dItem
.
DayStr
)
}}
)
</td>
<td
style=
"padding-left:3px;"
>
{{
dItem
.
UseTypeName
}}
</td>
<td
style=
"text-align:left;padding-left:3px;"
colspan=
"2"
>
{{
dItem
.
BusContent
}}
</td>
<td
style=
"padding-left:3px;"
>
{{
dItem
.
UpdateName
}}
</td>
<td>
<template
v-if=
"dItem.UseState==0"
>
<a
style=
"color:red"
>
{{
$t
(
'salesModule.DJZK'
)
}}
</a>
</
template
>
<
template
v-else
>
<a
style=
"color:green"
>
{{
$t
(
'salesModule.DJOK'
)
}}
<br
/>
{{
dItem
.
SureDate
}}
</a>
</
template
>
</td>
</tr>
</template>
</table>
</div>
</div>
</template>
<
script
>
export
default
{
props
:
[
"busData"
,
"TCID"
,
"DMCNum"
,
"TCNUM"
],
data
()
{
return
{
loading
:
false
,
};
},
methods
:
{
DownLoadShouPeiShu
()
{
this
.
loading
=
true
;
let
qMsg
=
{
TCID
:
this
.
TCID
};
let
fileName
=
"手配书【"
+
this
.
DMCNum
+
"】"
+
this
.
$commonUtils
.
getCurrentDate
()
+
".xls"
;
this
.
GetLocalFile
(
"hotel_SPS_DownLoad"
,
qMsg
,
fileName
,
res
=>
{
this
.
loading
=
false
;
});
},
//子组件调用父组件方法
subSetShouPeiShu
(
ShouPeiStatus
)
{
var
that
=
this
;
var
str
=
"是否将手配书设置成"
+
(
ShouPeiStatus
==
0
?
"【确定】"
:
"【暂定】"
)
+
"?"
;
this
.
Confirm
(
str
,
function
()
{
that
.
$emit
(
'SetShouPeiShu'
);
});
},
goUrl
(
name
,
path
,
id
,
tcmun
)
{
this
.
$router
.
push
({
name
:
path
,
query
:
{
id
:
id
,
tcmun
:
tcmun
,
blank
:
"y"
,
tab
:
name
,
},
});
},
//根据日期返回星期几
getDayByDate
(
dateString
)
{
if
(
dateString
)
{
var
date
;
var
dateArray
=
dateString
.
split
(
"-"
);
date
=
new
Date
(
dateArray
[
0
],
parseInt
(
dateArray
[
1
]
-
1
),
dateArray
[
2
]);
return
"日一二三四五六"
.
charAt
(
date
.
getDay
());
}
}
},
mounted
()
{
}
};
</
script
>
src/components/newTravelmanager/TravelGroupControl/TravelPrice.vue
View file @
20ff1d5e
...
@@ -1907,12 +1907,10 @@
...
@@ -1907,12 +1907,10 @@
},
},
//关闭弹窗方法
//关闭弹窗方法
closeHotelDialog
()
{
closeHotelDialog
()
{
console
.
log
(
"xxxx"
)
this
.
outerVisible
=
false
;
this
.
outerVisible
=
false
;
},
},
//保存完成初始化
//保存完成初始化
initStatus
()
{
initStatus
()
{
console
.
log
(
"yyyy"
)
this
.
isSaved
=
true
;
this
.
isSaved
=
true
;
this
.
btnText
=
'保存'
;
this
.
btnText
=
'保存'
;
this
.
btnTongBu
=
"同步酒店"
;
this
.
btnTongBu
=
"同步酒店"
;
...
...
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