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
68d3968c
Commit
68d3968c
authored
5 years ago
by
zhengke
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
增加组件
parent
3ed0f2f4
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
123 additions
and
121 deletions
+123
-121
productQuery.vue
src/components/SalesModule/productQuery.vue
+11
-4
TravelControlList.vue
...components/TravelManager/TravelList/TravelControlList.vue
+10
-56
busStatistics.vue
src/components/busManagement/busStatistics.vue
+17
-3
commonHotelInfo.vue
src/components/commonPage/commonHotelInfo.vue
+76
-0
dmcTotalTable.vue
src/components/dmc/manager/dmcTotalTable.vue
+9
-58
No files found.
src/components/SalesModule/productQuery.vue
View file @
68d3968c
...
@@ -706,7 +706,8 @@
...
@@ -706,7 +706,8 @@
<p><span>
出团公司
</span>
{{item.OutBranchName}}
</p>
<p><span>
出团公司
</span>
{{item.OutBranchName}}
</p>
<p
v-if=
"item.LineID==14 && item.HotelOrderListReports && item.HotelOrderListReports.length>0 "
>
<p
v-if=
"item.LineID==14 && item.HotelOrderListReports && item.HotelOrderListReports.length>0 "
>
<el-popover
width=
"600"
trigger=
"click"
popper-class=
"TC_HotelPop"
>
<el-popover
width=
"600"
trigger=
"click"
popper-class=
"TC_HotelPop"
>
<table
width=
"100%"
border=
"0"
cellspacing=
"0"
cellpadding=
"0"
class=
"singeRowTable"
>
<commonHotelInfo
:HotelObj=
"item.HotelOrderListReports"
:showHotelObj=
"showHotelObj"
></commonHotelInfo>
<!-- <table width="100%" border="0" cellspacing="0" cellpadding="0" class="singeRowTable">
<tr>
<tr>
<th width="100">日期</th>
<th width="100">日期</th>
<th style="border-right:1px solid #E5E5E5;width:150px;">酒店</th>
<th style="border-right:1px solid #E5E5E5;width:150px;">酒店</th>
...
@@ -744,7 +745,7 @@
...
@@ -744,7 +745,7 @@
</td>
</td>
</tr>
</tr>
</template>
</template>
</table>
</table>
-->
<span
slot=
"reference"
class=
"price"
style=
"cursor:pointer;text-decoration:underline;"
>
酒店预订状况
</span>
<span
slot=
"reference"
class=
"price"
style=
"cursor:pointer;text-decoration:underline;"
>
酒店预订状况
</span>
</el-popover>
</el-popover>
</p>
</p>
...
@@ -937,6 +938,7 @@
...
@@ -937,6 +938,7 @@
import
commonTeamInfo
from
"../commonPage/commonTeamInfo.vue"
;
import
commonTeamInfo
from
"../commonPage/commonTeamInfo.vue"
;
import
tripDownLoadCommon
from
"../commonPage/TripDownLoadCommon.vue"
;
import
tripDownLoadCommon
from
"../commonPage/TripDownLoadCommon.vue"
;
import
carousel
from
"../commonPage/carousel.vue"
;
import
carousel
from
"../commonPage/carousel.vue"
;
import
commonHotelInfo
from
"../commonPage/commonHotelInfo.vue"
;
export
default
{
export
default
{
data
()
{
data
()
{
...
@@ -1149,13 +1151,18 @@
...
@@ -1149,13 +1151,18 @@
},
},
SingleDMCPricex
:
0
,
// 单地接;
SingleDMCPricex
:
0
,
// 单地接;
SingleDMCPrice
:
0
,
// 单地接;
SingleDMCPrice
:
0
,
// 单地接;
showHotelObj
:{
showPrice
:
false
,
showPay
:
false
,
showZhan
:
false
}
}
}
},
},
components
:
{
components
:
{
commonTeamInfo
:
commonTeamInfo
,
commonTeamInfo
:
commonTeamInfo
,
tripDownLoadCommon
:
tripDownLoadCommon
,
tripDownLoadCommon
:
tripDownLoadCommon
,
carousel
:
carousel
carousel
:
carousel
,
commonHotelInfo
:
commonHotelInfo
},
},
filters
:
{
filters
:
{
priceFormat
(
value
)
{
priceFormat
(
value
)
{
...
...
This diff is collapsed.
Click to expand it.
src/components/TravelManager/TravelList/TravelControlList.vue
View file @
68d3968c
...
@@ -491,61 +491,7 @@
...
@@ -491,61 +491,7 @@
</p>
</p>
<p
v-if=
"item.LineID==14 && item.HotelOrderListReports && item.HotelOrderListReports.length>0 "
>
<p
v-if=
"item.LineID==14 && item.HotelOrderListReports && item.HotelOrderListReports.length>0 "
>
<el-popover
width=
"700"
trigger=
"click"
popper-class=
"TC_HotelPop"
>
<el-popover
width=
"700"
trigger=
"click"
popper-class=
"TC_HotelPop"
>
<table
width=
"100%"
border=
"0"
cellspacing=
"0"
cellpadding=
"0"
class=
"singeRowTable"
>
<commonHotelInfo
:HotelObj=
"item.HotelOrderListReports"
:showHotelObj=
"showHotelObj"
></commonHotelInfo>
<tr>
<th
width=
"100"
>
日期
</th>
<th
style=
"width:150px;"
>
酒店
</th>
<th
style=
"width:150px;"
>
更换酒店
</th>
<th
style=
"width:100px;"
>
状态
</th>
<th
style=
"width:150px;"
>
使用数量/价格
</th>
<th
style=
"width:100px;"
>
付款方式
</th>
<th
style=
"width:120px"
>
占房时间
</th>
</tr>
<template
v-for=
"subItem in item.HotelOrderListReports"
>
<tr
v-for=
"(childItem,childIndex) in subItem.SubList"
>
<td
width=
"100"
v-if=
"childIndex==0"
:rowspan=
"subItem.SubList.length"
>
{{
subItem
.
UseDay
}}
</td>
<td
style=
"text-align:left;padding-left:3px;"
>
{{
childItem
.
HotelName
}}
</td>
<td
style=
"text-align:left;padding-left:3px;color:red"
>
{{
childItem
.
HotelName
!=
childItem
.
NewHotelName
?
""
+
childItem
.
NewHotelName
:
""
}}
</td>
<td
style=
"text-align:left;padding-left:3px;"
>
<span
v-if=
"childItem.HotelName!='温馨的家'"
>
<template
v-if=
"childItem.OPState==1"
>
<a
style=
"color:green"
>
OP-OK
</a>
</
template
>
<
template
v-else-if=
"childItem.OPState==2&&childItem.DMCState==0"
>
<a
style=
"color:red"
>
OP-暂定
</a>
</
template
>
<
template
v-else
>
<template
v-if=
"childItem.DMCState==1"
>
<a
style=
"color:green"
>
地接-OK
</a>
</
template
>
<
template
v-else
>
<a
style=
"color:red"
>
{{
childItem
.
DMCState
==
2
?
"地接-暂定"
:
"地接-未操作"
}}
</a>
</
template
>
</template>
</span>
</td>
<td>
<a
v-if=
"(childItem.OPState==1|| childItem.OPState==2 || childItem.DMCState==1 )"
>
{{childItem.UseCount>0? childItem.UseCount+" 间" :""}}
{{childItem.CostPriceNew>0?" 价格:"+childItem.CostPriceNew:(childItem.CostPrice!=0?" 价格:"+childItem.CostPrice:"")}}
</a>
</td>
<td>
{{childItem.PayTypeStr}}
</td>
<td>
<
template
v-if=
"childItem.OPState==1||(childItem.OPState==2 && childItem.DMCState==0)"
>
{{
childItem
.
CreateDateStr
}}
</
template
>
</td>
</tr>
</template>
</table>
<span
slot=
"reference"
class=
"price"
<span
slot=
"reference"
class=
"price"
style=
"cursor:pointer;text-decoration:underline;"
>
酒店预订状况
</span>
style=
"cursor:pointer;text-decoration:underline;"
>
酒店预订状况
</span>
</el-popover>
</el-popover>
...
@@ -951,6 +897,7 @@
...
@@ -951,6 +897,7 @@
</div>
</div>
</
template
>
</
template
>
<
script
>
<
script
>
import
commonHotelInfo
from
"../../commonPage/commonHotelInfo.vue"
;
export
default
{
export
default
{
data
()
{
data
()
{
return
{
return
{
...
@@ -1110,6 +1057,11 @@
...
@@ -1110,6 +1057,11 @@
],
],
//当前登录用户信息
//当前登录用户信息
CurrentUserInfo
:
{},
CurrentUserInfo
:
{},
showHotelObj
:{
showPrice
:
true
,
showPay
:
true
,
showZhan
:
true
},
pickerBeginDateBefore
:
{
pickerBeginDateBefore
:
{
disabledDate
:
time
=>
{
disabledDate
:
time
=>
{
if
(
this
.
queryMsg
.
EndGroupDate
==
null
)
{
if
(
this
.
queryMsg
.
EndGroupDate
==
null
)
{
...
@@ -1128,6 +1080,9 @@
...
@@ -1128,6 +1080,9 @@
}
}
}
}
},
},
components
:
{
commonHotelInfo
},
methods
:
{
methods
:
{
SetGroupRecommendType
(
item
,
num
)
{
SetGroupRecommendType
(
item
,
num
)
{
let
msg
=
{};
let
msg
=
{};
...
@@ -1289,7 +1244,6 @@
...
@@ -1289,7 +1244,6 @@
})
})
}
}
});
});
console
.
log
(
"this.queryCommonData.dataList"
,
this
.
queryCommonData
.
dataList
);
}
}
},
},
err
=>
{}
err
=>
{}
...
...
This diff is collapsed.
Click to expand it.
src/components/busManagement/busStatistics.vue
View file @
68d3968c
...
@@ -49,6 +49,7 @@
...
@@ -49,6 +49,7 @@
<tr>
<tr>
<th
class=
"w100"
>
序号
</th>
<th
class=
"w100"
>
序号
</th>
<th
width=
"110"
>
出发地
</th>
<th
width=
"110"
>
出发地
</th>
<th
width=
"110"
>
酒店
</th>
<th
width=
"150"
>
航班时间
</th>
<th
width=
"150"
>
航班时间
</th>
<th
width=
"150"
>
公司团号
</th>
<th
width=
"150"
>
公司团号
</th>
<th
width=
"100"
>
线路负责人
</th>
<th
width=
"100"
>
线路负责人
</th>
...
@@ -74,6 +75,12 @@
...
@@ -74,6 +75,12 @@
{{
item
.
StartCityNames
}}
{{
item
.
StartCityNames
}}
</div>
</div>
</td>
</td>
<td>
<el-popover
width=
"700"
trigger=
"click"
popper-class=
"TC_HotelPop"
>
<commonHotelInfo
:HotelObj=
"item.CommonReport.PriceHotelResult"
:showHotelObj=
"showHotelObj"
></commonHotelInfo>
<div
slot=
"reference"
class=
"w80"
style=
"cursor:pointer;text-decoration:underline;"
>
酒店信息
</div>
</el-popover>
</td>
<td>
<td>
<div
class=
"w120"
>
<div
class=
"w120"
>
{{
item
.
FlightDate
}}
{{
item
.
FlightDate
}}
...
@@ -200,6 +207,7 @@
...
@@ -200,6 +207,7 @@
</template>
</template>
<
script
>
<
script
>
import
commonHotelInfo
from
"../commonPage/commonHotelInfo.vue"
;
export
default
{
export
default
{
data
()
{
data
()
{
return
{
return
{
...
@@ -224,11 +232,17 @@
...
@@ -224,11 +232,17 @@
colspanTotal
:
0
,
colspanTotal
:
0
,
isCha
:
0
,
isCha
:
0
,
boxHeight
:
0
,
boxHeight
:
0
,
showHotelObj
:{
showPrice
:
true
,
showPay
:
true
,
showZhan
:
true
}
}
}
},
components
:
{
commonHotelInfo
},
},
methods
:
{
methods
:
{
getLineList
()
{
getLineList
()
{
this
.
apipost
(
"line_post_GetAllList"
,
{},
res
=>
{
this
.
apipost
(
"line_post_GetAllList"
,
{},
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
if
(
res
.
data
.
resultCode
==
1
)
{
...
@@ -385,7 +399,7 @@
...
@@ -385,7 +399,7 @@
this
.
DataList
=
res
.
data
.
data
.
pageData
.
data
;
this
.
DataList
=
res
.
data
.
data
.
pageData
.
data
;
console
.
log
(
"this.datalist"
,
this
.
DataList
);
console
.
log
(
"this.datalist"
,
this
.
DataList
);
this
.
thLengthTitle
=
[];
this
.
thLengthTitle
=
[];
this
.
colspanTotal
=
res
.
data
.
data
.
pageData
.
columnsCount
+
1
2
;
this
.
colspanTotal
=
res
.
data
.
data
.
pageData
.
columnsCount
+
1
3
;
for
(
let
i
=
1
;
i
<=
res
.
data
.
data
.
pageData
.
columnsCount
;
i
++
)
{
for
(
let
i
=
1
;
i
<=
res
.
data
.
data
.
pageData
.
columnsCount
;
i
++
)
{
this
.
thLengthTitle
.
push
(
'第'
+
i
+
'天'
);
this
.
thLengthTitle
.
push
(
'第'
+
i
+
'天'
);
}
}
...
...
This diff is collapsed.
Click to expand it.
src/components/commonPage/commonHotelInfo.vue
0 → 100644
View file @
68d3968c
<
template
>
<table
width=
"100%"
border=
"0"
cellspacing=
"0"
cellpadding=
"0"
class=
"singeRowTable"
>
<tr>
<th
width=
"100"
>
日期
</th>
<th
style=
"width:150px;"
>
酒店
</th>
<th
style=
"width:150px;"
>
更换酒店
</th>
<th
style=
"width:100px;"
>
状态
</th>
<th
style=
"width:150px;"
v-if=
"showHotelObj.showPrice"
>
使用数量/价格
</th>
<th
style=
"width:100px;"
v-if=
"showHotelObj.showPay"
>
付款方式
</th>
<th
style=
"width:120px"
v-if=
"showHotelObj.showZhan"
>
占房时间
</th>
</tr>
<template
v-for=
"hotelItem in HotelObj"
>
<tr
v-for=
"(hotelSubItem,hotelSubIndex) in hotelItem.SubList"
>
<td
width=
"100"
v-if=
"hotelSubIndex==0"
:rowspan=
"hotelItem.SubList.length"
>
{{
hotelItem
.
UseDay
}}
</td>
<td
style=
"text-align:left;padding-left:3px;"
>
{{
hotelSubItem
.
HotelName
}}
</td>
<td
style=
"text-align:left;padding-left:3px;color:red"
>
{{
hotelSubItem
.
HotelName
!=
hotelSubItem
.
NewHotelName
?
""
+
hotelSubItem
.
NewHotelName
:
""
}}
</td>
<td
style=
"text-align:left;padding-left:3px;"
>
<span
v-if=
"hotelSubItem.HotelName!='温馨的家'"
>
<template
v-if=
"hotelSubItem.OPState==1"
>
<a
style=
"color:green"
>
OP-OK
</a>
</
template
>
<
template
v-else-if=
"hotelSubItem.OPState==2&&hotelSubItem.DMCState==0"
>
<a
style=
"color:red"
>
OP-暂定
</a>
</
template
>
<
template
v-else
>
<template
v-if=
"hotelSubItem.DMCState==1"
>
<a
style=
"color:green"
>
地接-OK
</a>
</
template
>
<
template
v-else
>
<a
style=
"color:red"
>
{{
hotelSubItem
.
DMCState
==
2
?
"地接-暂定"
:
"地接-未操作"
}}
</a>
</
template
>
</template>
</span>
</td>
<td
v-if=
"showHotelObj.showPrice"
>
<a
v-if=
"(hotelSubItem.OPState==1|| hotelSubItem.OPState==2 || hotelSubItem.DMCState==1 )"
>
{{hotelSubItem.UseCount>0? hotelSubItem.UseCount+" 间" :""}}
{{hotelSubItem.CostPriceNew>0?" 价格:"+hotelSubItem.CostPriceNew:(hotelSubItem.CostPrice!=0?" 价格:"+hotelSubItem.CostPrice:"")}}
</a>
</td>
<td
v-if=
"showHotelObj.showPay"
>
{{hotelSubItem.PayTypeStr}}
</td>
<td
v-if=
"showHotelObj.showZhan"
>
<
template
v-if=
"hotelSubItem.OPState==1||(hotelSubItem.OPState==2 && hotelSubItem.DMCState==0)"
>
{{
hotelSubItem
.
CreateDateStr
}}
</
template
>
</td>
</tr>
</template>
</table>
</template>
<
script
>
export
default
{
props
:
[
"HotelObj"
,
"showHotelObj"
],
data
()
{
return
{
};
},
methods
:
{
},
mounted
()
{
}
};
</
script
>
This diff is collapsed.
Click to expand it.
src/components/dmc/manager/dmcTotalTable.vue
View file @
68d3968c
...
@@ -266,63 +266,7 @@
...
@@ -266,63 +266,7 @@
<p
<p
v-if=
"item.LineId==14 && item.CommonReport.PriceHotelResult && item.CommonReport.PriceHotelResult.length>0"
>
v-if=
"item.LineId==14 && item.CommonReport.PriceHotelResult && item.CommonReport.PriceHotelResult.length>0"
>
<el-popover
width=
"700"
trigger=
"click"
popper-class=
"TC_HotelPop"
>
<el-popover
width=
"700"
trigger=
"click"
popper-class=
"TC_HotelPop"
>
<commonHotelInfo
:HotelObj=
"item.CommonReport.PriceHotelResult"
:showHotelObj=
"showHotelObj"
></commonHotelInfo>
<table
width=
"100%"
border=
"0"
cellspacing=
"0"
cellpadding=
"0"
class=
"singeRowTable"
>
<tr>
<th
width=
"100"
>
日期
</th>
<th
style=
"width:150px;"
>
酒店
</th>
<th
style=
"width:150px;"
>
更换酒店
</th>
<th
style=
"width:100px;"
>
状态
</th>
<th
style=
"width:150px;"
>
使用数量/价格
</th>
<th
style=
"width:100px;"
>
付款方式
</th>
<th
style=
"width:120px"
>
占房时间
</th>
</tr>
<template
v-for=
"hotelItem in item.CommonReport.PriceHotelResult"
>
<tr
v-for=
"(hotelSubItem,hotelSubIndex) in hotelItem.SubList"
>
<td
width=
"100"
v-if=
"hotelSubIndex==0"
:rowspan=
"hotelItem.SubList.length"
>
{{
hotelItem
.
UseDay
}}
</td>
<td
style=
"text-align:left;padding-left:3px;"
>
{{
hotelSubItem
.
HotelName
}}
</td>
<td
style=
"text-align:left;padding-left:3px;color:red"
>
{{
hotelSubItem
.
HotelName
!=
hotelSubItem
.
NewHotelName
?
""
+
hotelSubItem
.
NewHotelName
:
""
}}
</td>
<td
style=
"text-align:left;padding-left:3px;"
>
<span
v-if=
"hotelSubItem.HotelName!='温馨的家'"
>
<template
v-if=
"hotelSubItem.OPState==1"
>
<a
style=
"color:green"
>
OP-OK
</a>
</
template
>
<
template
v-else-if=
"hotelSubItem.OPState==2&&hotelSubItem.DMCState==0"
>
<a
style=
"color:red"
>
OP-暂定
</a>
</
template
>
<
template
v-else
>
<template
v-if=
"hotelSubItem.DMCState==1"
>
<a
style=
"color:green"
>
地接-OK
</a>
</
template
>
<
template
v-else
>
<a
style=
"color:red"
>
{{
hotelSubItem
.
DMCState
==
2
?
"地接-暂定"
:
"地接-未操作"
}}
</a>
</
template
>
</template>
</span>
</td>
<td>
<a
v-if=
"(hotelSubItem.OPState==1|| hotelSubItem.OPState==2 || hotelSubItem.DMCState==1 )"
>
{{hotelSubItem.UseCount>0? hotelSubItem.UseCount+" 间" :""}}
{{hotelSubItem.CostPriceNew>0?" 价格:"+hotelSubItem.CostPriceNew:(hotelSubItem.CostPrice!=0?" 价格:"+hotelSubItem.CostPrice:"")}}
</a>
</td>
<td>
{{hotelSubItem.PayTypeStr}}
</td>
<td>
<
template
v-if=
"hotelSubItem.OPState==1||(hotelSubItem.OPState==2 && hotelSubItem.DMCState==0)"
>
{{
hotelSubItem
.
CreateDateStr
}}
</
template
>
</td>
</tr>
</template>
</table>
<span
slot=
"reference"
class=
"price"
style=
"cursor:pointer;text-decoration:underline;"
>
酒店信息
</span>
<span
slot=
"reference"
class=
"price"
style=
"cursor:pointer;text-decoration:underline;"
>
酒店信息
</span>
</el-popover>
</el-popover>
</p>
</p>
...
@@ -502,6 +446,7 @@
...
@@ -502,6 +446,7 @@
</template>
</template>
<
script
>
<
script
>
import
tripDownLoadCommon
from
"../../commonPage/TripDownLoadCommon.vue"
;
import
tripDownLoadCommon
from
"../../commonPage/TripDownLoadCommon.vue"
;
import
commonHotelInfo
from
"../../commonPage/commonHotelInfo.vue"
;
export
default
{
export
default
{
data
()
{
data
()
{
return
{
return
{
...
@@ -566,6 +511,11 @@
...
@@ -566,6 +511,11 @@
cityId
:
0
,
cityId
:
0
,
orderId
:
0
orderId
:
0
},
},
showHotelObj
:{
showPrice
:
true
,
showPay
:
true
,
showZhan
:
true
},
pickerBeginDateBefore
:
{
pickerBeginDateBefore
:
{
disabledDate
:
time
=>
{
disabledDate
:
time
=>
{
if
(
this
.
msg
.
EndDate
==
null
)
{
if
(
this
.
msg
.
EndDate
==
null
)
{
...
@@ -601,7 +551,8 @@
...
@@ -601,7 +551,8 @@
}
}
},
},
components
:
{
components
:
{
tripDownLoadCommon
tripDownLoadCommon
,
commonHotelInfo
},
},
methods
:
{
methods
:
{
openChart
(
obj
)
{
openChart
(
obj
)
{
...
...
This diff is collapsed.
Click to expand it.
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