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
215beb5e
Commit
215beb5e
authored
Mar 08, 2024
by
youjie
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://gitlab.oytour.com/luochao/superman
parents
0e069548
3c9b1a9c
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
570 additions
and
535 deletions
+570
-535
OrderList.vue
src/components/CarDealerOrder/components/OrderList.vue
+1
-1
OrderList.vue
src/components/Hotel/reservation/OrderList.vue
+2
-2
HotelQueryList.vue
src/components/Hotel/singleProduct/HotelQueryList.vue
+2
-2
ModifyHotelOrder.vue
src/components/Hotel/singleProduct/ModifyHotelOrder.vue
+6
-5
ChosenHotel.vue
...components/Hotel/singleProduct/components/ChosenHotel.vue
+557
-523
OrderList.vue
src/components/scenicSpot/reservation/OrderList.vue
+2
-2
No files found.
src/components/CarDealerOrder/components/OrderList.vue
View file @
215beb5e
...
@@ -748,7 +748,7 @@
...
@@ -748,7 +748,7 @@
&&pagesTitle=='OP'"
class=
"row-c cursor-pointer radius5 change py5"
@
click=
"clickCorrelation(scope.row,2)"
>
&&pagesTitle=='OP'"
class=
"row-c cursor-pointer radius5 change py5"
@
click=
"clickCorrelation(scope.row,2)"
>
<span
class=
"c059FF6"
>
编辑总金额
</span>
<span
class=
"c059FF6"
>
编辑总金额
</span>
</div>
</div>
<ApplyFoInvoice
v-if=
"userInfo.EmployeeId==scope.row.EnterID"
:obj=
"scope.row"
:type=
"7"
></ApplyFoInvoice>
<ApplyFoInvoice
v-if=
"userInfo
&&userInfo.RB_Group_id==2&&userInfo
.EmployeeId==scope.row.EnterID"
:obj=
"scope.row"
:type=
"7"
></ApplyFoInvoice>
</div>
</div>
</div>
</div>
<div
class=
"mt mb20 bgf5 pa15 row-c"
v-if=
"scope.row.CancelRemark"
>
<div
class=
"mt mb20 bgf5 pa15 row-c"
v-if=
"scope.row.CancelRemark"
>
...
...
src/components/Hotel/reservation/OrderList.vue
View file @
215beb5e
...
@@ -689,7 +689,7 @@
...
@@ -689,7 +689,7 @@
</el-tooltip>
</el-tooltip>
</div>
</div>
</div>
</div>
<div
class=
"column px15 bgf5 radius5 ml flex-g pa relative"
style=
"min-width: 150px;max-width:400px"
>
<div
class=
"column px15 bgf5 radius5 ml flex-g pa relative"
style=
"min-width: 150px;max-width:400px"
v-if=
"userInfo&&userInfo.RB_Group_id==2"
>
<div
class=
"fz12"
>
{{$t('objFill.invoicedocument')}}
</div>
<div
class=
"fz12"
>
{{$t('objFill.invoicedocument')}}
</div>
<div
class=
"row wrap orderNo fz12 py"
>
<div
class=
"row wrap orderNo fz12 py"
>
<span
<span
...
@@ -832,7 +832,7 @@
...
@@ -832,7 +832,7 @@
<span
class=
"c059FF6"
>
{{$t('pub.edit')}}{{$t('fnc.a_zongjine')}}
</span>
<span
class=
"c059FF6"
>
{{$t('pub.edit')}}{{$t('fnc.a_zongjine')}}
</span>
</div>
</div>
<!-- 申请发票 -->
<!-- 申请发票 -->
<ApplyFoInvoice
v-if=
"userInfo.EmployeeId==scope.row.EnterID"
:obj=
"scope.row"
:type=
"6"
></ApplyFoInvoice>
<ApplyFoInvoice
v-if=
"userInfo
&&userInfo.RB_Group_id==2&&userInfo
.EmployeeId==scope.row.EnterID"
:obj=
"scope.row"
:type=
"6"
></ApplyFoInvoice>
</div>
</div>
<!-- <div v-if="item.OrderStatus==2" class="column-jac px15 bgE8F5E9 radius5 ml fz12 pa20 flex-s c20C997">
<!-- <div v-if="item.OrderStatus==2" class="column-jac px15 bgE8F5E9 radius5 ml fz12 pa20 flex-s c20C997">
<div class="mb5">已支付</div>
<div class="mb5">已支付</div>
...
...
src/components/Hotel/singleProduct/HotelQueryList.vue
View file @
215beb5e
...
@@ -154,8 +154,8 @@
...
@@ -154,8 +154,8 @@
pageSize
:
10
,
pageSize
:
10
,
//酒店选择数组
//酒店选择数组
HotelChooseArray
:
[],
HotelChooseArray
:
[],
StartDate
:
this
.
getBeforeDate
(
0
,
new
Date
().
Format
(
"yyyy-MM-dd"
))
,
StartDate
:
''
,
EndDate
:
this
.
getBeforeDate
(
-
30
,
this
.
getBeforeDate
(
0
,
new
Date
().
Format
(
"yyyy-MM-dd"
)))
,
EndDate
:
''
,
//只查询日本
//只查询日本
Country
:
"0"
,
Country
:
"0"
,
Province
:
0
,
Province
:
0
,
...
...
src/components/Hotel/singleProduct/ModifyHotelOrder.vue
View file @
215beb5e
...
@@ -255,7 +255,7 @@
...
@@ -255,7 +255,7 @@
<div>
本次行程
<span
<div>
本次行程
<span
v-if=
"order.DetailList"
>
{{
order
.
DetailList
.
length
}}
</span>
天,入住
<span>
{{
order
.
HotelCount
}}
</span>
个酒店
</div>
v-if=
"order.DetailList"
>
{{
order
.
DetailList
.
length
}}
</span>
天,入住
<span>
{{
order
.
HotelCount
}}
</span>
个酒店
</div>
<div>
{{
$t
(
'objFill.dindianfukuan'
)
}}
:
<span>
<div>
{{
$t
(
'objFill.dindianfukuan'
)
}}
:
<span>
<!-- ¥ -->
円
</span><b
v-if=
"order.Money"
>
{{
moneyFormat
(
order
.
Money
)
}}
</b></div>
{{
order
.
CurrencyCode
}}
</span><b
v-if=
"order.Money"
>
{{
moneyFormat
(
order
.
Money
)
}}
</b></div>
<div>
<div>
<button
class=
"hollowFixedBtn"
@
click=
"cancelOrder"
>
取消订单
</button>
<button
class=
"hollowFixedBtn"
@
click=
"cancelOrder"
>
取消订单
</button>
<button
class=
"normalBtn"
@
click=
"saveOrderHandler"
>
保存订单
</button>
<button
class=
"normalBtn"
@
click=
"saveOrderHandler"
>
保存订单
</button>
...
@@ -347,8 +347,8 @@
...
@@ -347,8 +347,8 @@
<span>
入汤税: {{ moneyFormat(y.PriceInTangTax) }}/人
</span>
<span>
入汤税: {{ moneyFormat(y.PriceInTangTax) }}/人
</span>
</div>
</div>
<div
class=
"content-Car-heji"
>
<div
class=
"content-Car-heji"
>
<span>
合计:
<span>
<span>
合计:
<span>
{{y.CurrencyCode}}
<!-- ¥ -->
円
{{ moneyFormat(y.HotelMoeny) }}
</span></span>
{{ moneyFormat(y.HotelMoeny) }}
</span></span>
</div>
</div>
</div>
</div>
</div>
</div>
...
@@ -360,8 +360,9 @@
...
@@ -360,8 +360,9 @@
<div
class=
"content-header"
style=
"padding: 9px 10px;"
>
<div
class=
"content-header"
style=
"padding: 9px 10px;"
>
<span>
新日期预定
</span>
<span>
新日期预定
</span>
<div>
<div>
<!--:picker-options="beforeCheck"-->
<el-date-picker
class=
"w150"
v-model=
"newDate"
type=
"date"
value-format=
"yyyy-MM-dd"
placeholder=
"请选择日期"
<el-date-picker
class=
"w150"
v-model=
"newDate"
type=
"date"
value-format=
"yyyy-MM-dd"
placeholder=
"请选择日期"
:picker-options=
"beforeCheck"
></el-date-picker>
></el-date-picker>
</div>
</div>
</div>
</div>
<div
class=
"content-Car content-picker-text"
>
<div
class=
"content-Car content-picker-text"
>
...
@@ -400,7 +401,7 @@
...
@@ -400,7 +401,7 @@
},
},
data
()
{
data
()
{
return
{
return
{
newDate
:
this
.
getBeforeDate
(
-
2
0
,
new
Date
().
Format
(
"yyyy-MM-dd"
)),
newDate
:
this
.
getBeforeDate
(
0
,
new
Date
().
Format
(
"yyyy-MM-dd"
)),
orderId
:
0
,
orderId
:
0
,
order
:
{},
//下单信息
order
:
{},
//下单信息
loading
:
false
,
loading
:
false
,
...
...
src/components/Hotel/singleProduct/components/ChosenHotel.vue
View file @
215beb5e
...
@@ -5,19 +5,21 @@
...
@@ -5,19 +5,21 @@
<li>
<li>
<span>
<span>
<em>
{{
$t
(
'system.quety_area'
)
}}
</em>
<em>
{{
$t
(
'system.quety_area'
)
}}
</em>
<el-select
class=
"option"
v-model=
"msg.Province"
filterable
@
change=
"getProvinceList(msg.Province,2
)"
<el-select
class=
"option"
v-model=
"msg.Province"
filterable
@
change=
"getCityList(msg.Province
)"
:placeholder=
"$t('hotel.hotel_province')
"
>
:placeholder=
"$t('hotel.hotel_province')"
clearable
@
clear=
"msg.Province=0,msg.City=0
"
>
<el-option
:key=
"0"
:value=
"0"
:label=
"$t('pub.pleaseSel')"
></el-option>
<el-option
:key=
"0"
:value=
"0"
:label=
"$t('pub.pleaseSel')"
></el-option>
<el-option
v-for=
"item in provinceList"
:key=
"item.ID"
:label=
"item.Name"
:value=
"item.ID"
></el-option>
<el-option
v-for=
"item in provinceList"
:key=
"item.ID"
:label=
"item.Name"
:value=
"item.ID"
></el-option>
</el-select>
</el-select>
<el-select
class=
"option"
v-model=
"msg.City"
filterable
:placeholder=
"$t('hotel.hotel_city')"
>
<el-select
class=
"option"
v-model=
"msg.City"
filterable
:placeholder=
"$t('hotel.hotel_city')"
clearable
@
clear=
"msg.City=0"
>
<el-option
:key=
"0"
:value=
"0"
:label=
"$t('pub.pleaseSel')"
></el-option>
<el-option
:key=
"0"
:value=
"0"
:label=
"$t('pub.pleaseSel')"
></el-option>
<el-option
v-for=
"item in cityList"
:key=
"item.ID"
:label=
"item.Name"
:value=
"item.ID"
></el-option>
<el-option
v-for=
"item in cityList"
:key=
"item.ID"
:label=
"item.Name"
:value=
"item.ID"
></el-option>
</el-select>
</el-select>
</span>
</span>
</li>
</li>
<li><span><em>
{{
$t
(
'pub.date'
)
}}
</em>
<li><span><em>
{{
$t
(
'pub.date'
)
}}
</em>
<el-date-picker
disabled
style=
"width: 135px;"
v-model=
'msg.StartDate'
value-format=
"yyyy-MM-dd"
type=
"date"
>
<el-date-picker
disabled
style=
"width: 135px;"
v-model=
'msg.StartDate'
value-format=
"yyyy-MM-dd"
type=
"date"
>
</el-date-picker>
</el-date-picker>
<el-date-picker
disabled
style=
"width: 135px;"
v-model=
'msg.EndDate'
value-format=
"yyyy-MM-dd"
type=
"date"
>
<el-date-picker
disabled
style=
"width: 135px;"
v-model=
'msg.EndDate'
value-format=
"yyyy-MM-dd"
type=
"date"
>
</el-date-picker>
</el-date-picker>
...
@@ -26,8 +28,8 @@
...
@@ -26,8 +28,8 @@
<li>
<li>
<span>
<span>
<em>
{{
$t
(
'hotel.hotel'
)
}}
</em>
<em>
{{
$t
(
'hotel.hotel'
)
}}
</em>
<el-select
v-model=
"msg.HotelChooseArray"
:placeholder=
"$t('pub.pleaseSel')"
class=
"multiple_input HotelChooseArray"
<el-select
v-model=
"msg.HotelChooseArray"
:placeholder=
"$t('pub.pleaseSel')"
filterable
multiple
collapse-tags
:multiple-limit=
"3"
>
class=
"multiple_input HotelChooseArray"
filterable
multiple
collapse-tags
:multiple-limit=
"3"
>
<el-option
v-for=
"item in HotelList"
:key=
"item.ID"
:label=
"item.Name"
:value=
"item.ID"
></el-option>
<el-option
v-for=
"item in HotelList"
:key=
"item.ID"
:label=
"item.Name"
:value=
"item.ID"
></el-option>
</el-select>
</el-select>
</span>
</span>
...
@@ -61,12 +63,18 @@
...
@@ -61,12 +63,18 @@
<div
style=
"width: 100%;min-height:200px; overflow-x: auto;padding-bottom: 10px; "
class=
"HotelQueryList"
<div
style=
"width: 100%;min-height:200px; overflow-x: auto;padding-bottom: 10px; "
class=
"HotelQueryList"
v-loading=
"loading"
>
v-loading=
"loading"
>
<div
class=
"hotelProductManage2_tableBox"
style=
"margin-bottom:20px;"
>
<div
class=
"hotelProductManage2_tableBox"
style=
"margin-bottom:20px;"
>
<span
style=
"color:#000000;background-color: #ff3737;padding:2px 4px;border-radius:5px"
>
{{
$t
(
'objFill.hongri'
)
}}
</span>
<span
<span
style=
"color:#000000;background-color: #ff99cc;padding:2px 4px;border-radius:5px"
>
{{
$t
(
'objFill.wanji'
)
}}
</span>
style=
"color:#000000;background-color: #ff3737;padding:2px 4px;border-radius:5px"
>
{{
$t
(
'objFill.hongri'
)
}}
</span>
<span
style=
"color:#000000;background-color: #bcd6ee;padding:2px 4px;border-radius:5px"
>
{{
$t
(
'objFill.pingji'
)
}}
</span>
<span
<span
style=
"color:#000000;background-color: #DDDDDD;padding:2px 4px;border-radius:5px"
>
{{
$t
(
'objFill.danji'
)
}}
</span>
style=
"color:#000000;background-color: #ff99cc;padding:2px 4px;border-radius:5px"
>
{{
$t
(
'objFill.wanji'
)
}}
</span>
<span
style=
"color:#000000;background-color: #02F78E;padding:2px 4px;border-radius:5px"
>
{{
$t
(
'objFill.tiebiejia'
)
}}
</span>
<span
<span
style=
"color:#000000;background-color: #808000;padding:2px 4px;border-radius:5px"
>
{{
$t
(
'objFill.xingqianri'
)
}}
</span>
style=
"color:#000000;background-color: #bcd6ee;padding:2px 4px;border-radius:5px"
>
{{
$t
(
'objFill.pingji'
)
}}
</span>
<span
style=
"color:#000000;background-color: #DDDDDD;padding:2px 4px;border-radius:5px"
>
{{
$t
(
'objFill.danji'
)
}}
</span>
<span
style=
"color:#000000;background-color: #02F78E;padding:2px 4px;border-radius:5px"
>
{{
$t
(
'objFill.tiebiejia'
)
}}
</span>
<span
style=
"color:#000000;background-color: #808000;padding:2px 4px;border-radius:5px"
>
{{
$t
(
'objFill.xingqianri'
)
}}
</span>
</div>
</div>
<template
v-if=
"isShow"
>
<template
v-if=
"isShow"
>
<el-table
v-if=
"dataList.length>0"
:data=
"dataList"
style=
"width:100%"
border
v-loading=
'loading'
<el-table
v-if=
"dataList.length>0"
:data=
"dataList"
style=
"width:100%"
border
v-loading=
'loading'
...
@@ -94,16 +102,13 @@
...
@@ -94,16 +102,13 @@
<template
v-for=
"childItem in scope.row.subList[index].PriceList"
>
<template
v-for=
"childItem in scope.row.subList[index].PriceList"
>
<div
:class=
"getClass(1,childItem.InventoryType)"
<div
:class=
"getClass(1,childItem.InventoryType)"
:style=
"
{width:(100/scope.row.subList[index].PriceList.length)+'%'}" class="CostPriceHover">
:style=
"
{width:(100/scope.row.subList[index].PriceList.length)+'%'}" class="CostPriceHover">
<el-popover
<el-popover
placement=
"bottom"
width=
"300"
trigger=
"hover"
>
placement=
"bottom"
<SamplePriceList
v-if=
"
width=
"300"
trigger=
"hover"
>
<SamplePriceList
v-if=
"
scope.row.subList[index].PriceList[0].BidroomPrice>0||
scope.row.subList[index].PriceList[0].BidroomPrice>0||
scope.row.subList[index].PriceList[0].SingleroomPrice>0||
scope.row.subList[index].PriceList[0].SingleroomPrice>0||
scope.row.subList[index].PriceList[0].AddBedPrice>0||
scope.row.subList[index].PriceList[0].AddBedPrice>0||
scope.row.subList[index].PriceList[0].GuideRoomPrice>0"
:price=
"scope.row.subList[index]"
></SamplePriceList>
scope.row.subList[index].PriceList[0].GuideRoomPrice>0"
:price=
"scope.row.subList[index]"
>
</SamplePriceList>
<div
v-else
style=
"text-align: center;width: 100%;"
>
{{
$t
(
'objFill.wuqitafangxingbj'
)
}}
</div>
<div
v-else
style=
"text-align: center;width: 100%;"
>
{{
$t
(
'objFill.wuqitafangxingbj'
)
}}
</div>
<span
slot=
"reference"
class=
"CostPriceHover"
>
{{
childItem
.
CostPrice
}}
</span>
<span
slot=
"reference"
class=
"CostPriceHover"
>
{{
childItem
.
CostPrice
}}
</span>
</el-popover>
</el-popover>
...
@@ -121,8 +126,7 @@
...
@@ -121,8 +126,7 @@
{{item.ConfirmNum}}/{{item.ReserveNum}}
{{item.ConfirmNum}}/{{item.ReserveNum}}
</div>
</div>
<div
class=
"Hotel_kong Com_hoteldiv"
>
<div
class=
"Hotel_kong Com_hoteldiv"
>
<span
v-if=
"item.UseInventory-item.Inventory>0"
<span
v-if=
"item.UseInventory-item.Inventory>0"
style=
"color:red;"
>
style=
"color:red;"
>
{{item.UseInventory-item.Inventory}}
{{item.UseInventory-item.Inventory}}
</span>
</span>
</div>
</div>
...
@@ -142,23 +146,25 @@
...
@@ -142,23 +146,25 @@
<p>
{{$t("active.ld_noData")}}
</p>
<p>
{{$t("active.ld_noData")}}
</p>
</div>
</div>
<el-pagination
v-if=
"dataList.length>0"
background
@
current-change=
"handleCurrentChange"
<el-pagination
v-if=
"dataList.length>0"
background
@
current-change=
"handleCurrentChange"
:current-page
.
sync=
"msg.pageIndex"
:current-page
.
sync=
"msg.pageIndex"
layout=
"total,prev, pager, next, jumper"
:page-size=
'msg.pageSize'
layout=
"total,prev, pager, next, jumper"
:page-size=
'msg.pageSize'
:total=
'total'
></el-pagination>
:total=
'total'
></el-pagination>
</template>
</template>
</div>
</div>
</div>
</div>
</template>
</template>
<
script
>
<
script
>
import
SamplePriceList
from
'./SamplePriceList'
import
SamplePriceList
from
'./SamplePriceList'
import
TableOperation
from
'./TableOperation'
import
TableOperation
from
'./TableOperation'
import
ListCar
from
'./ListCar'
import
ListCar
from
'./ListCar'
import
hotelDetails
from
'./hotelDetails'
import
hotelDetails
from
'./hotelDetails'
export
default
{
export
default
{
components
:
{
SamplePriceList
,
},
components
:
{
props
:[
'newDate'
],
SamplePriceList
,
},
props
:
[
'newDate'
],
data
()
{
data
()
{
return
{
return
{
total
:
0
,
total
:
0
,
msg
:
{
msg
:
{
pageIndex
:
1
,
pageIndex
:
1
,
pageSize
:
10
,
pageSize
:
10
,
...
@@ -167,7 +173,7 @@
...
@@ -167,7 +173,7 @@
StartDate
:
''
,
StartDate
:
''
,
EndDate
:
''
,
EndDate
:
''
,
//只查询日本
//只查询日本
Country
:
"651
"
,
Country
:
"0
"
,
Province
:
0
,
Province
:
0
,
City
:
0
,
City
:
0
,
OutBranchId
:
-
1
,
OutBranchId
:
-
1
,
...
@@ -178,7 +184,10 @@
...
@@ -178,7 +184,10 @@
//供应商
//供应商
Supplier
:
0
,
Supplier
:
0
,
MaxPrice
:
0
,
MaxPrice
:
0
,
MinPrice
:
0
MinPrice
:
0
,
HotelName
:
''
,
SourceType
:
1
,
IsHotelAddPrice
:
1
},
},
tableHeight
:
0
,
tableHeight
:
0
,
//分公司列表
//分公司列表
...
@@ -209,12 +218,13 @@
...
@@ -209,12 +218,13 @@
dataList
:
[],
dataList
:
[],
isShow
:
false
,
isShow
:
false
,
loading
:
false
,
loading
:
false
,
userInfo
:
{},
};
};
},
},
watch
:
{
watch
:
{
newDate
:
{
newDate
:
{
handler
(
newValue
,
onldValue
)
{
handler
(
newValue
,
onldValue
)
{
if
(
newValue
!=
onldValue
)
{
if
(
newValue
!=
onldValue
)
{
this
.
getList
()
this
.
getList
()
}
}
},
},
...
@@ -222,8 +232,8 @@
...
@@ -222,8 +232,8 @@
},
},
},
},
methods
:
{
methods
:
{
finishHanler
(
hotel
)
{
finishHanler
(
hotel
)
{
this
.
$emit
(
'finish'
,
hotel
)
this
.
$emit
(
'finish'
,
hotel
)
},
},
com_onresize
()
{
com_onresize
()
{
//clientHeight的值由DIV内容的实际高度和CSS中的padding值决定,
//clientHeight的值由DIV内容的实际高度和CSS中的padding值决定,
...
@@ -239,7 +249,7 @@
...
@@ -239,7 +249,7 @@
this
.
loading
=
true
;
this
.
loading
=
true
;
this
.
msg
.
StartDate
=
this
.
newDate
;
this
.
msg
.
StartDate
=
this
.
newDate
;
this
.
msg
.
EndDate
=
this
.
newDate
;
this
.
msg
.
EndDate
=
this
.
newDate
;
if
(
!
this
.
msg
.
StartDate
)
return
if
(
!
this
.
msg
.
StartDate
)
return
this
.
apipost
(
"dict_post_HotelOffer_GetClientHotelStatics"
,
this
.
msg
,
this
.
apipost
(
"dict_post_HotelOffer_GetClientHotelStatics"
,
this
.
msg
,
res
=>
{
res
=>
{
this
.
loading
=
false
;
this
.
loading
=
false
;
...
@@ -256,11 +266,15 @@
...
@@ -256,11 +266,15 @@
},
},
//获取酒店列表
//获取酒店列表
GetHotelList
()
{
GetHotelList
()
{
this
.
apipost
(
var
postMsg
=
{
"hotel_post_GetHasStockHotelList"
,
{
QCountry
:
""
,
QCountry
:
"651"
,
IsMoreThanZero
:
1
IsMoreThanZero
:
1
},
}
if
(
this
.
userInfo
&&
this
.
userInfo
.
RB_Group_id
==
2
)
{
postMsg
.
QCountry
=
"651"
;
}
this
.
apipost
(
"hotel_post_GetHasStockHotelList"
,
postMsg
,
res
=>
{
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
HotelList
=
res
.
data
.
data
;
this
.
HotelList
=
res
.
data
.
data
;
...
@@ -274,7 +288,6 @@
...
@@ -274,7 +288,6 @@
var
str
=
dateStr
.
split
(
'-'
);
var
str
=
dateStr
.
split
(
'-'
);
var
weekDay
=
[
"天"
,
"一"
,
"二"
,
"三"
,
"四"
,
"五"
,
"六"
];
var
weekDay
=
[
"天"
,
"一"
,
"二"
,
"三"
,
"四"
,
"五"
,
"六"
];
var
myDate
=
new
Date
(
Date
.
parse
(
dateStr
));
var
myDate
=
new
Date
(
Date
.
parse
(
dateStr
));
return
str
[
1
]
+
'/'
+
str
[
2
]
+
"("
+
weekDay
[
myDate
.
getDay
()]
+
")"
;
return
str
[
1
]
+
'/'
+
str
[
2
]
+
"("
+
weekDay
[
myDate
.
getDay
()]
+
")"
;
},
},
//获取星期几
//获取星期几
...
@@ -348,37 +361,41 @@
...
@@ -348,37 +361,41 @@
err
=>
{}
err
=>
{}
);
);
},
},
getProvinceList
(
ID
,
type
)
{
getCityList
(
ID
)
{
//根据省份获取城市
//根据省份获取城市
let
msg
=
{
let
msg
=
{
Id
:
ID
Id
:
ID
};
};
if
(
type
==
1
)
{
this
.
msg
.
Province
=
0
;
this
.
msg
.
City
=
0
;
this
.
provinceList
=
[];
this
.
cityList
=
[];
}
else
if
(
type
==
2
)
{
this
.
msg
.
City
=
0
;
this
.
cityList
=
[];
this
.
cityList
=
[];
}
this
.
apipost
(
this
.
apipost
(
"dict_post_Destination_GetChildList"
,
"dict_post_Destination_GetChildList"
,
msg
,
msg
,
res
=>
{
res
=>
{
if
(
type
==
1
)
{
this
.
provinceList
=
res
.
data
.
data
;
}
else
if
(
type
==
2
)
{
this
.
cityList
=
res
.
data
.
data
;
this
.
cityList
=
res
.
data
.
data
;
},
);
},
getProvinceList
(
countryId
)
{
//根据省份获取城市
this
.
provinceList
=
[];
let
msg
=
{
CodeLevel
:
2
,
ParentID
:
0
};
if
(
countryId
&&
countryId
>
0
)
{
msg
.
ParentID
=
countryId
;
}
}
this
.
apipost
(
"dict_get_Destination_GetCityExtList"
,
msg
,
res
=>
{
this
.
provinceList
=
res
.
data
.
data
;
},
},
err
=>
{}
);
);
},
},
getBranchList
()
{
getBranchList
()
{
let
UserInfo
=
this
.
getLocalStorage
();
this
.
apipost
(
'admin_get_BranchGetList'
,
{
this
.
apipost
(
'admin_get_BranchGetList'
,
{
RB_Group_Id
:
U
serInfo
.
RB_Group_id
,
RB_Group_Id
:
this
.
u
serInfo
.
RB_Group_id
,
Status
:
0
,
Status
:
0
,
},
res
=>
{
},
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
if
(
res
.
data
.
resultCode
==
1
)
{
...
@@ -387,9 +404,17 @@
...
@@ -387,9 +404,17 @@
},
err
=>
{})
},
err
=>
{})
},
},
},
},
created
()
{
this
.
userInfo
=
this
.
getLocalStorage
();
},
mounted
()
{
mounted
()
{
if
(
this
.
userInfo
&&
this
.
userInfo
.
RB_Group_id
==
2
)
{
this
.
msg
.
Country
=
"651"
;
this
.
getProvinceList
(
"651"
);
}
else
{
this
.
getProvinceList
(
"0"
);
}
this
.
getBranchList
();
this
.
getBranchList
();
this
.
getProvinceList
(
"651"
,
1
);
this
.
GetHotelList
();
this
.
GetHotelList
();
this
.
getList
();
this
.
getList
();
this
.
GetHotelTipList
();
this
.
GetHotelTipList
();
...
@@ -400,9 +425,9 @@
...
@@ -400,9 +425,9 @@
}
}
};
};
</
script
>
</
script
>
<
style
scoped
>
<
style
scoped
>
.Hq_duoge
{
.Hq_duoge
{
cursor
:
pointer
;
cursor
:
pointer
;
text-decoration
:
underline
;
text-decoration
:
underline
;
...
@@ -432,9 +457,11 @@
...
@@ -432,9 +457,11 @@
.classTe
{
.classTe
{
background-color
:
rgb
(
2
,
247
,
142
);
background-color
:
rgb
(
2
,
247
,
142
);
}
}
.hotelQueryListclass6
{
.hotelQueryListclass6
{
background-color
:
#808000
;
background-color
:
#808000
;
}
}
.HouseTypeList
{
.HouseTypeList
{
background
:
#ccc
;
background
:
#ccc
;
width
:
100%
;
width
:
100%
;
...
@@ -530,41 +557,51 @@
...
@@ -530,41 +557,51 @@
.HotelQueryList
.el-table
td
{
.HotelQueryList
.el-table
td
{
padding
:
0
;
padding
:
0
;
}
}
.CostPriceHover
{
height
:
100%
;
.CostPriceHover
{
float
:
left
;
height
:
100%
;
width
:
100%
;
float
:
left
;
width
:
100%
;
cursor
:
pointer
;
cursor
:
pointer
;
}
}
.query-box
li
{
.query-box
li
{
margin
:
0
0
10px
0
;
margin
:
0
0
10px
0
;
}
}
.query-box
li
span
>
em
{
.query-box
li
span
>
em
{
min-width
:
58px
;
min-width
:
58px
;
}
}
/
deep
/
.query-box
.option
.el-input
{
/
deep
/
.query-box
.option
.el-input
{
width
:
120px
!important
;
width
:
120px
!important
;
}
}
/
deep
/
.query-box
.HotelChooseArray
.el-input
{
/
deep
/
.query-box
.HotelChooseArray
.el-input
{
width
:
200px
!important
;
width
:
200px
!important
;
}
}
/
deep
/
.query-box
.Star
.el-input
{
/
deep
/
.query-box
.Star
.el-input
{
width
:
100px
!important
;
width
:
100px
!important
;
}
}
/
deep
/
.el-table
td
{
/
deep
/
.el-table
td
{
padding
:
0
;
padding
:
0
;
}
}
/
deep
/
.el-table
.cell
{
/
deep
/
.el-table
.cell
{
padding-left
:
0
;
padding-left
:
0
;
padding-right
:
0
;
padding-right
:
0
;
}
}
.choose-hotel
{
.choose-hotel
{
display
:
flex
;
display
:
flex
;
align-items
:
center
;
align-items
:
center
;
justify-content
:
center
;
justify-content
:
center
;
padding
:
10px
0
;
padding
:
10px
0
;
}
}
.choose-hotel
span
{
.choose-hotel
span
{
padding
:
0
15px
;
padding
:
0
15px
;
border-radius
:
5px
;
border-radius
:
5px
;
border
:
1px
solid
#009EF7
;
border
:
1px
solid
#009EF7
;
...
@@ -573,7 +610,4 @@
...
@@ -573,7 +610,4 @@
cursor
:
pointer
;
cursor
:
pointer
;
}
}
</
style
>
</
style
>
\ No newline at end of file
src/components/scenicSpot/reservation/OrderList.vue
View file @
215beb5e
...
@@ -785,7 +785,7 @@
...
@@ -785,7 +785,7 @@
</el-tooltip>
</el-tooltip>
</div>
</div>
</div>
</div>
<div
class=
"column px15 bgf5 radius5 ml flex-g pa relative"
style=
"min-width: 150px;max-width:400px"
>
<div
class=
"column px15 bgf5 radius5 ml flex-g pa relative"
style=
"min-width: 150px;max-width:400px"
v-if=
"userInfo&&userInfo.RB_Group_id==2"
>
<div
class=
"fz12"
>
{{$t('objFill.invoicedocument')}}
</div>
<div
class=
"fz12"
>
{{$t('objFill.invoicedocument')}}
</div>
<div
class=
"row wrap orderNo fz12 py"
>
<div
class=
"row wrap orderNo fz12 py"
>
<span
class=
"cursor-pointer radius5 mr px5"
:class=
"{'bgD9F3FF':x.InvoiceApplyState===6,'bgFAEAED':x.InvoiceApplyState===1||x.InvoiceApplyState===3,
<span
class=
"cursor-pointer radius5 mr px5"
:class=
"{'bgD9F3FF':x.InvoiceApplyState===6,'bgFAEAED':x.InvoiceApplyState===1||x.InvoiceApplyState===3,
...
@@ -877,7 +877,7 @@
...
@@ -877,7 +877,7 @@
<span
class=
"c059FF6"
>
{{$t('pub.edit')}}{{$t('fnc.a_zongjine')}}
</span>
<span
class=
"c059FF6"
>
{{$t('pub.edit')}}{{$t('fnc.a_zongjine')}}
</span>
</div>
</div>
<!-- 申请发票 -->
<!-- 申请发票 -->
<ApplyFoInvoice
v-if=
"userInfo.EmployeeId==scope.row.EnterID"
:obj=
"scope.row"
:type=
"7"
></ApplyFoInvoice>
<ApplyFoInvoice
v-if=
"userInfo
&&userInfo.RB_Group_id==2&&userInfo
.EmployeeId==scope.row.EnterID"
:obj=
"scope.row"
:type=
"7"
></ApplyFoInvoice>
<!-- <template v-if="item.OrderStatus==2">
<!-- <template v-if="item.OrderStatus==2">
<div class="column-jac fz12 flex-s c20C997">
<div class="column-jac fz12 flex-s c20C997">
<div class="mb5">已支付</div>
<div class="mb5">已支付</div>
...
...
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