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
4060cd5b
Commit
4060cd5b
authored
Mar 14, 2025
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
11
parent
1b067ae0
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
597 additions
and
586 deletions
+597
-586
roomReservationsDetails.vue
src/components/Hotel/roomReservationsDetails.vue
+112
-142
bookDinnerStatisticsDetails.vue
src/components/Restaurant/bookDinnerStatisticsDetails.vue
+294
-274
admissionStatisticsDetails.vue
src/components/scenicSpot/admissionStatisticsDetails.vue
+191
-170
No files found.
src/components/Hotel/roomReservationsDetails.vue
View file @
4060cd5b
...
...
@@ -75,7 +75,7 @@
<th>
{{
$t
(
'sm.Date'
)
}}
</th>
<th>
{{
$t
(
'hotel.table_hotelname'
)
}}
</th>
</tr>
<template
v-for=
"(lItem,lIndex) in
l
ist"
>
<template
v-for=
"(lItem,lIndex) in
dataL
ist"
>
<tr
v-for=
"(subItem,subIndex) in lItem.HotelOrderList"
:key=
"subIndex+lIndex"
>
<td
style=
"width:120px;"
>
{{
lItem
.
UseTimeStr
}}
...
...
@@ -159,14 +159,14 @@
<th
width=
"80"
>
{{$t('ground.jinexiaoji')}}
</th>
<th
width=
"80"
>
{{$t('ground.fanyongleixing')}}
</th>
<th
width=
"80"
>
{{$t('hotel.hotel_commission')}}
</th>
<th
width=
"80"
>
{{$t('ground.fanyongyjin')}}
</th>
<th
width=
"80"
>
{{$t('ground.fanyongyjin')}}
</th>
<th
width=
"100"
>
{{$t('ground.jinezongji')}}
</th>
<th
width=
"250"
>
{{$t('ground.fukuanbzdth')}}
</th>
<th
width=
"80"
>
{{$t('system.table_operation')}}
</th>
</tr>
</thead>
<tbody>
<
template
v-for=
"(item,index) in
l
ist"
>
<
template
v-for=
"(item,index) in
dataL
ist"
>
<template
v-for=
"(subItem,subIndex) in item.HotelOrderList"
>
<tr
v-for=
"(childItem,childIndex) in subItem.OrderDetailsList"
:key=
"`h_`+index+subIndex+childIndex"
>
<td
v-if=
"childIndex==0&&subIndex==0"
:rowspan=
"6*item.HotelOrderList.length"
>
...
...
@@ -321,8 +321,7 @@
</td>
<td>
<el-input
class=
'w40 tcenter'
maxlength=
"2"
@
keyup
.
native=
"checkInteger(childItem,'BookNum')"
@
input=
"calculationPrice(subItem)"
v-model=
'childItem.BookNum'
:disabled=
"IsEditHotelPeople==0?true:false"
>
@
input=
"calcPrice()"
v-model=
'childItem.BookNum'
:disabled=
"IsEditHotelPeople==0?true:false"
>
</el-input>
</td>
<!-- 单价/每人 -->
...
...
@@ -331,7 +330,7 @@
<template
v-if=
"(subItem.LineId==14||subItem.LineId==118)"
>
<template
v-if=
"subItem.IsHaveHotelStock==1||childItem.UnitPrice>0"
>
<el-input
@
keyup
.
native=
"checkInteger(childItem,'UnitPrice')"
class=
'w60 tcenter'
@
input=
"calc
ulationPrice(subItem
)"
v-model=
'childItem.UnitPrice'
></el-input>
@
input=
"calc
Price(
)"
v-model=
'childItem.UnitPrice'
></el-input>
</
template
>
<
template
v-else
>
<el-popover
placement=
"right"
width=
"540"
trigger=
"click"
...
...
@@ -348,20 +347,19 @@
</template>
<
template
v-else
>
<el-input
@
keyup
.
native=
"checkInteger(childItem,'UnitPrice')"
class=
'w60 tcenter'
@
input=
"calc
ulationPrice(subItem
)"
v-model=
'childItem.UnitPrice'
></el-input>
@
input=
"calc
Price(
)"
v-model=
'childItem.UnitPrice'
></el-input>
</
template
>
</template>
<
template
v-else
>
<el-input
@
keyup
.
native=
"checkInteger(childItem,'UnitPrice')"
class=
'w60 tcenter'
@
input=
"calculationPrice(subItem)"
v-model=
'childItem.UnitPrice'
:disabled=
"IsEditHotel==0?true:false"
>
@
input=
"calcPrice()"
v-model=
'childItem.UnitPrice'
:disabled=
"IsEditHotel==0?true:false"
>
</el-input>
</
template
>
</td>
<!-- 免减人数 -->
<td>
<el-input
class=
'w40'
maxlength=
"2"
@
keyup
.
native=
"checkInteger(childItem,'HotelDiscount')"
v-model=
'childItem.HotelDiscount'
@
input=
"calc
ulationPrice(subItem
)"
>
v-model=
'childItem.HotelDiscount'
@
input=
"calc
Price(
)"
>
</el-input>
</td>
<!-- 金额小计 -->
...
...
@@ -381,17 +379,16 @@
<td>
<
template
v-if=
"childIndex<4"
>
<el-input
class=
'w40'
maxlength=
"2"
@
keyup
.
native=
"checkInteger(childItem,'RebateRatio')"
v-model=
'childItem.RebateRatio'
@
input=
"SetRebateRatio(subItem,childItem.RebateRatio),calculationPrice(subItem)"
v-model=
'childItem.RebateRatio'
@
input=
"SetRebateRatio(subItem,childItem.RebateRatio),calcPrice()"
:disabled=
"IsEditHotel==0?true:false"
></el-input>
%
</
template
>
<
template
v-if=
"childIndex==5"
>
<el-input
class=
'w40'
maxlength=
"2"
@
keyup
.
native=
"checkInteger(childItem,'RebateRatio')"
v-model=
'childItem.RebateRatio'
@
input=
"calc
ulationPrice(subItem
)"
:disabled=
"true"
></el-input>
%
v-model=
'childItem.RebateRatio'
@
input=
"calc
Price(
)"
:disabled=
"true"
></el-input>
%
</
template
>
<
template
v-if=
"childIndex==4 && subItem.DriverGuideIsRebate==0"
>
<el-input
class=
'w40'
maxlength=
"2"
@
keyup
.
native=
"checkInteger(childItem,'RebateRatio')"
v-model=
'childItem.RebateRatio'
@
input=
"calc
ulationPrice(subItem
)"
:disabled=
"true"
></el-input>
%
v-model=
'childItem.RebateRatio'
@
input=
"calc
Price(
)"
:disabled=
"true"
></el-input>
%
</
template
>
</td>
<!--返佣金额-->
...
...
@@ -416,13 +413,10 @@
{{
(
childItem
.
UnitPrice
*
(
childItem
.
BookNum
-
childItem
.
HotelDiscount
)
*
(
1
)
*
(
childItem
.
RebateRatio
/
100
)).
toFixed
(
2
)
}}
</
template
>
</template>
</td>
</td>
<!-- 金额总计 -->
<td
v-if=
"childIndex==0"
:rowspan=
"6"
style=
"white-space:nowrap;"
>
{{subItem.TotalPrice}}
<
template
v-if=
"subItem.NewTotalPrice"
>
<br
/><span
style=
"color:red;"
>
{{
subItem
.
NewTotalPrice
}}
</span>
</
template
>
</td>
<!-- 付款方式 -->
<td
v-if=
"childIndex==0"
:rowspan=
"6"
>
...
...
@@ -431,7 +425,7 @@
<td
width=
"70"
style=
"text-align:right;"
>
{{$t('hotel.hotel_Currency')}}:
</td>
<td>
<el-select
v-model=
"subItem.CurrencyId"
:placeholder=
"$t('pub.pleaseSel')"
class=
'w135 sel'
@
change=
"calc
ulationPrice(subItem
)"
>
@
change=
"calc
Price(
)"
>
<el-option
:label=
"$t('pub.unlimitedSel')"
:value=
'0'
></el-option>
<el-option
v-for=
"(item,index) in allCurrencyList"
:key=
"index"
:label=
"item.Name"
:value=
"item.ID"
>
...
...
@@ -446,7 +440,7 @@
<td
width=
"70"
style=
"text-align:right;"
>
{{$t('ground.dfzhuangtai')}}:
</td>
<td>
<el-select
class=
'w135 sel'
v-model=
'subItem.DMCState'
:placeholder=
"$t('pub.pleaseSel')"
:disabled=
"IsEditHotel==0?true:false"
>
:disabled=
"IsEditHotel==0?true:false"
@
change=
"changeState(subItem)"
>
<el-option
:label=
"$t('pub.pleaseSel')"
:value=
'0'
></el-option>
<el-option
:label=
"$t('pub.sureBtn')"
:value=
'1'
></el-option>
<el-option
:label=
"$t('visa.v_zanding')"
:value=
'2'
></el-option>
...
...
@@ -470,7 +464,7 @@
<td
width=
"70"
style=
"text-align:right;"
>
{{$t('ground.shurushubie')}}:
</td>
<td>
<el-select
class=
'w135 sel'
v-model=
'subItem.TaxType'
:placeholder=
"$t('pub.pleaseSel')"
@
change=
"calc
ulationPrice(subItem
)"
:disabled=
"IsEditHotel==0?true:false"
>
@
change=
"calc
Price(
)"
:disabled=
"IsEditHotel==0?true:false"
>
<el-option
:label=
"$t('pub.pleaseSel')"
:value=
'0'
></el-option>
<el-option
:label=
"$t('pub.SR')"
:value=
'1'
></el-option>
<el-option
:label=
"$t('pub.SB')"
:value=
'2'
></el-option>
...
...
@@ -506,7 +500,7 @@
<td
width=
"70"
style=
"text-align:right;"
>
{{$t('ground.sidaoffkfs')}}:
</td>
<td>
<el-select
class=
'w135 sel'
v-model=
'subItem.DMCPayType'
:placeholder=
"$t('pub.pleaseSel')"
:disabled=
"IsEditHotel==0?true:false"
@
change=
"calc
ulationPrice(subItem
)"
>
:disabled=
"IsEditHotel==0?true:false"
@
change=
"calc
Price(
)"
>
<el-option
:label=
"$t('pub.pleaseSel')"
:value=
'0'
></el-option>
<el-option
:label=
"$t('ground.yuejie')"
:value=
'9'
></el-option>
<el-option
:label=
"$t('ground.xianfu')"
:value=
'1'
></el-option>
...
...
@@ -585,7 +579,7 @@
</span>
</td>
</tr>
<tr
v-if=
"EditBtn"
>
<tr
v-if=
"EditBtn"
style=
"display:none;"
>
<td
width=
"70"
style=
"text-align:right;"
>
{{$t('ground.shifoutbgxfj')}}:
</td>
<td>
<el-select
class=
'w135 sel'
v-model=
'subItem.IsSyncHotelCount'
>
...
...
@@ -597,14 +591,11 @@
</table>
</td>
<!-- 操作 -->
<td
v-if=
"childIndex==0"
:rowspan=
"
5
"
>
<td
v-if=
"childIndex==0"
:rowspan=
"
6
"
>
<
template
v-if=
"subItem.OPState==1"
>
<span
class=
"Hotel_red"
>
{{
$t
(
'salesModule.OPZD'
)
}}
</span>
</
template
>
<
template
v-if=
"IsOperation!=1"
>
<el-tooltip
class=
"item"
effect=
"dark"
:content=
"$t('pub.saveBtn')"
placement=
"top-start"
>
<el-button
icon=
"iconfont icon-baocun1"
@
click=
"SaveSingle(subItem)"
type=
"primary"
></el-button>
</el-tooltip>
<el-tooltip
class=
"item"
effect=
"dark"
:content=
"$t('pub.addBtn')"
v-if=
"subItem.OPState!=1"
placement=
"top-start"
>
<el-button
@
click=
'AddHotel(item,subIndex)'
icon=
"iconfont icon-tianjia"
type=
"primary"
>
...
...
@@ -626,8 +617,52 @@
</template>
</template>
</tbody>
<tfoot>
<tr>
<td>
</td>
<td>
</td>
<td>
</td>
<td>
</td>
<td>
</td>
<td>
</td>
<td>
</td>
<td>
</td>
<td>
</td>
<td>
</td>
<td>
</td>
<td>
</td>
<td>
</td>
<td
colspan=
"2"
>
合计:
</td>
<td>
<font
style=
"color:red;font-weight:bold;"
>
{{allTotalPrice}}
</font>
</td>
<td>
</td>
<td>
</td>
<td>
</td>
</tr>
</tfoot>
</table>
<div
class=
"noDataNotice"
v-if=
"
l
ist.length<1"
>
<div
class=
"noDataNotice"
v-if=
"
dataL
ist.length<1"
>
<i
class=
"iconfont icon-kong"
></i>
<p>
{{$t('active.ld_noData')}}
</p>
</div>
...
...
@@ -646,7 +681,7 @@
LineId
:
0
,
EditBtn
:
false
,
//房餐景点修改权限
defaultSelectValue
:
0
,
l
ist
:
[],
dataL
ist
:
[],
roomList
:
[],
TCNUM
:
''
,
flightTotal
:
0
,
...
...
@@ -727,6 +762,7 @@
ChooseCountry
:
"651"
,
currentUserInfo
:
{},
saveLoading
:
false
,
//保存,防止重复提交
allTotalPrice
:
0
,
}
},
components
:
{
...
...
@@ -735,6 +771,14 @@
setHotelStock
,
},
methods
:
{
//订房状态切换
changeState
(
subItem
)
{
if
(
subItem
.
DMCState
==
1
)
{
subItem
.
SureTime
=
this
.
$commonUtils
.
getCurrentDate
();
}
else
{
subItem
.
SureTime
=
""
;
}
},
//批量修改房间数和房间人
BatchHotelOrder
()
{
var
checkArray
=
[];
...
...
@@ -789,7 +833,7 @@
//获取子组件返回的数据
childHotelList
(
ckedObj
)
{
//使用时间
var
oldData
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
l
ist
[
this
.
findex
].
HotelOrderList
[
this
.
childIndex
]));
var
oldData
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
dataL
ist
[
this
.
findex
].
HotelOrderList
[
this
.
childIndex
]));
var
useTime
=
oldData
.
CheckInDateStr
;
var
hotelId
=
ckedObj
.
ID
;
var
TCID
=
oldData
.
TCID
;
...
...
@@ -816,7 +860,7 @@
}
//库存充足或没有酒店库存的情况
else
if
(
objData
.
isOverStock
==
1
||
objData
.
isOverStock
==
-
1
)
{
var
tempOrderObj
=
this
.
l
ist
[
this
.
findex
].
HotelOrderList
[
this
.
childIndex
];
var
tempOrderObj
=
this
.
dataL
ist
[
this
.
findex
].
HotelOrderList
[
this
.
childIndex
];
if
(
tempOrderObj
)
{
tempOrderObj
.
Address
=
ckedObj
.
Address
;
tempOrderObj
.
NewHotelName
=
ckedObj
.
Name
;
...
...
@@ -840,7 +884,7 @@
}
});
}
this
.
calc
ulationPrice
(
this
.
list
[
this
.
findex
].
HotelOrderList
[
this
.
childIndex
]
);
this
.
calc
Price
(
);
let
str
=
`elPopoverHotel
${
this
.
findex
}${
this
.
childIndex
}
`
//关闭组件
this
.
$refs
[
str
][
0
].
doClose
();
...
...
@@ -856,8 +900,8 @@
let
str
=
`elPopoverEditHotelPrice
${
this
.
findex
}${
this
.
childIndex
}
`
//关闭组件
this
.
$refs
[
str
][
0
].
doClose
();
var
tempObj
=
this
.
l
ist
[
this
.
findex
].
HotelOrderList
[
this
.
childIndex
];
if
(
this
.
l
ist
[
this
.
findex
].
HotelOrderList
[
this
.
childIndex
])
{
var
tempObj
=
this
.
dataL
ist
[
this
.
findex
].
HotelOrderList
[
this
.
childIndex
];
if
(
this
.
dataL
ist
[
this
.
findex
].
HotelOrderList
[
this
.
childIndex
])
{
if
(
tempObj
&&
tempObj
.
IsHaveHotelStock
)
{
tempObj
.
IsHaveHotelStock
=
1
;
}
...
...
@@ -949,7 +993,7 @@
var
fileUrl
=
this
.
domainManager
().
ViittoFileUrl
+
x
.
data
.
FilePath
;
//批量上传
if
(
this
.
IsMoreUpdate
==
1
)
{
this
.
l
ist
.
forEach
((
sItem
,
sIndex
)
=>
{
this
.
dataL
ist
.
forEach
((
sItem
,
sIndex
)
=>
{
sItem
.
HotelOrderList
.
forEach
((
subItem
,
subIndex
)
=>
{
if
(
subItem
.
IsChecked
)
{
subItem
.
ContractUrl
=
fileUrl
;
...
...
@@ -960,7 +1004,7 @@
});
this
.
isShowPiliangPop
=
false
;
}
else
{
this
.
l
ist
[
this
.
checkedIndex
].
HotelOrderList
[
this
.
checkedsubIndex
].
ContractUrl
=
fileUrl
;
this
.
dataL
ist
[
this
.
checkedIndex
].
HotelOrderList
[
this
.
checkedsubIndex
].
ContractUrl
=
fileUrl
;
}
this
.
IsMoreUpdate
=
0
;
this
.
$forceUpdate
()
...
...
@@ -1035,7 +1079,6 @@
if
(
list
!=
null
&&
list
.
length
>
0
)
{
list
.
forEach
((
item
,
sIndex
)
=>
{
item
.
HotelOrderList
.
forEach
(
subItem
=>
{
subItem
.
hotelList
.
push
({
Name
:
subItem
.
NewHotelName
,
ID
:
subItem
.
NewHotelId
...
...
@@ -1044,7 +1087,6 @@
if
(
subItem
.
CurrencyId
==
0
)
{
subItem
.
CurrencyId
=
3
;
}
this
.
calculationPrice
(
subItem
);
subItem
.
OrderDetailsList
.
forEach
((
x
,
index1
)
=>
{
x
.
HouseTypeCount
=
x
.
HouseTypeCount
.
toString
();
x
.
UnitPrice
=
x
.
UnitPrice
.
toString
();
...
...
@@ -1066,7 +1108,8 @@
})
})
});
this
.
list
=
list
;
this
.
dataList
=
list
;
this
.
calcPrice
();
this
.
$forceUpdate
();
}
}
else
{
...
...
@@ -1075,70 +1118,47 @@
this
.
loading
=
false
},
err
=>
{})
},
calculationPrice
(
obj
)
{
//计算价格
calcPrice
()
{
let
totalPrice
=
0
;
//获取当前选中的对象
let
currentObj
=
{};
if
(
obj
.
CurrencyId
!=
0
)
{
currentObj
=
this
.
allCurrencyList
.
find
(
item
=>
{
return
item
.
ID
===
obj
.
CurrencyId
;
//筛选出匹配数据
});
}
//日元
let
jpaObj
=
this
.
allCurrencyList
.
find
(
item
=>
{
return
item
.
ID
===
3
;
//筛选出匹配数据
});
obj
.
OrderDetailsList
.
forEach
((
item
,
index
)
=>
{
var
tempPrice
=
0
;
var
coefficient
=
1
;
//税别
if
(
obj
.
TaxType
==
2
)
{
coefficient
=
1
+
this
.
XiaoFeiTaxFee
;
}
if
(
index
==
4
&&
obj
.
DMCPayType
==
9
)
{
tempPrice
=
0
;
}
else
{
tempPrice
=
item
.
UnitPrice
*
(
item
.
BookNum
-
item
.
HotelDiscount
)
*
(
coefficient
-
item
.
RebateRatio
/
100
);
}
totalPrice
+=
tempPrice
;
})
totalPrice
+=
obj
.
ParkFee
+
obj
.
CityTax
+
obj
.
InTangTax
;
obj
.
TotalPrice
=
totalPrice
.
toFixed
(
2
);
if
(
this
.
LineId
==
14
)
{
if
(
currentObj
&&
currentObj
.
ID
>
0
)
{
//人民币
if
(
currentObj
.
ID
==
1
)
{
obj
.
NewTotalPrice
=
currentObj
.
Name
+
":"
+
(
totalPrice
*
jpaObj
.
PayRate
).
toFixed
(
2
);
}
//日元
else
if
(
currentObj
.
ID
==
3
)
{
obj
.
NewTotalPrice
=
""
;
}
else
{
if
(
currentObj
.
CurrentRate
>
1
)
{
obj
.
NewTotalPrice
=
currentObj
.
Name
+
":"
+
((
totalPrice
*
jpaObj
.
PayRate
)
/
currentObj
.
CurrentRate
)
.
toFixed
(
2
);
}
else
{
obj
.
NewTotalPrice
=
currentObj
.
Name
+
":"
+
((
totalPrice
*
jpaObj
.
PayRate
)
*
currentObj
.
CurrentRate
)
.
toFixed
(
2
);
}
if
(
this
.
dataList
&&
this
.
dataList
.
length
>
0
)
{
this
.
dataList
.
forEach
(
rItem
=>
{
if
(
rItem
.
HotelOrderList
&&
rItem
.
HotelOrderList
.
length
>
0
)
{
rItem
.
HotelOrderList
.
forEach
(
oItem
=>
{
var
tempPrice
=
0
;
oItem
.
OrderDetailsList
.
forEach
((
dItem
,
index
)
=>
{
var
coefficient
=
1
;
//税别
if
(
oItem
.
TaxType
==
2
)
{
coefficient
=
1
+
this
.
XiaoFeiTaxFee
;
}
if
(
index
==
4
&&
oItem
.
DMCPayType
==
9
)
{
tempPrice
+=
0
;
}
else
{
tempPrice
+=
dItem
.
UnitPrice
*
(
dItem
.
BookNum
-
dItem
.
HotelDiscount
)
*
(
coefficient
-
dItem
.
RebateRatio
/
100
);
}
})
oItem
.
TotalPrice
=
tempPrice
.
toFixed
(
2
);
totalPrice
+=
tempPrice
;
});
}
}
else
{
obj
.
NewTotalPrice
=
""
;
}
});
}
this
.
allTotalPrice
=
totalPrice
.
toFixed
(
2
);
this
.
$forceUpdate
();
},
saveList
(
type
)
{
if
(
type
==
0
)
{
this
.
l
ist
.
forEach
(
item
=>
{
this
.
dataL
ist
.
forEach
(
item
=>
{
item
.
HotelOrderList
.
forEach
(
subItem
=>
{
subItem
.
HotelOrderState
=
0
;
});
})
}
if
(
type
==
1
)
{
this
.
l
ist
.
forEach
(
item
=>
{
this
.
dataL
ist
.
forEach
(
item
=>
{
item
.
HotelOrderList
.
forEach
(
subItem
=>
{
subItem
.
HotelOrderState
=
1
;
});
...
...
@@ -1147,7 +1167,7 @@
var
flag
=
true
;
var
isUpload
=
true
;
var
str
=
""
;
this
.
l
ist
.
forEach
(
item
=>
{
this
.
dataL
ist
.
forEach
(
item
=>
{
item
.
HotelOrderList
.
forEach
(
subItem
=>
{
if
(
isUpload
&&
subItem
.
PayStyle
==
1
&&
subItem
.
ContractUrl
==
''
&&
!
this
.
EditBtn
)
{
str
+=
`
${
this
.
$t
(
'objFill.qingshangchuan'
)}${
item
.
UseTimeStr
}${
this
.
$t
(
'objFill.deshoups'
)}
`
...
...
@@ -1183,7 +1203,7 @@
})
this
.
saveLoading
=
true
;
this
.
loading
=
true
;
this
.
apipost
(
'dmcstatistics_get_SetHotelOrder'
,
this
.
l
ist
,
res
=>
{
this
.
apipost
(
'dmcstatistics_get_SetHotelOrder'
,
this
.
dataL
ist
,
res
=>
{
this
.
loading
=
false
;
this
.
saveLoading
=
false
;
if
(
res
.
data
.
resultCode
==
1
)
{
...
...
@@ -1194,56 +1214,6 @@
}
},
err
=>
{})
},
//单条保存
SaveSingle
(
item
)
{
item
.
HotelOrderState
=
1
;
var
flag
=
true
;
var
isUpload
=
true
;
var
str
=
""
;
this
.
list
.
forEach
(
item
=>
{
item
.
HotelOrderList
.
forEach
(
subItem
=>
{
if
(
isUpload
&&
subItem
.
PayStyle
==
1
&&
subItem
.
ContractUrl
==
''
&&
!
this
.
EditBtn
)
{
str
+=
`
${
this
.
$t
(
'objFill.qingshangchuan'
)}${
item
.
UseTimeStr
}${
this
.
$t
(
'objFill.deshoups'
)}
`
isUpload
=
false
;
}
subItem
.
OrderDetailsList
.
forEach
(
y
=>
{
if
(
y
.
HouseTypeCount
)
{
y
.
HouseTypeCount
=
parseFloat
(
y
.
HouseTypeCount
);
}
else
{
y
.
HouseTypeCount
=
0
;
}
if
(
y
.
UnitPrice
)
{
y
.
UnitPrice
=
parseInt
(
y
.
UnitPrice
);
}
else
{
y
.
UnitPrice
=
0
;
}
if
(
y
.
HotelDiscount
)
{
y
.
HotelDiscount
=
parseInt
(
y
.
HotelDiscount
);
}
else
{
y
.
HotelDiscount
=
0
;
}
if
(
y
.
BookNum
==
""
)
{
y
.
BookNum
=
0
;
}
if
(
!
this
.
$commonUtils
.
isNumber
(
y
.
RebateRatio
))
{
y
.
RebateRatio
=
0
;
}
})
if
(
!
this
.
$commonUtils
.
isNumber
(
subItem
.
TotalPrice
))
{
subItem
.
TotalPrice
=
0
;
}
});
})
this
.
apipost
(
'dmcstatistics_get_SetHotelOrder'
,
this
.
list
,
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
Success
(
res
.
data
.
message
);
this
.
getList
();
}
else
{
this
.
Error
(
res
.
data
.
message
);
}
},
err
=>
{})
},
// 获取供应商
initSupplier
()
{
this
.
apipost
(
"travel_get_GetAllHotelList"
,
{
...
...
src/components/Restaurant/bookDinnerStatisticsDetails.vue
View file @
4060cd5b
<
style
scoped
>
.bookDinnerStatisticsTalbe
{
table-layout
:
fixed
;
}
.bookDinnerStatisticsTalbe
thead
tr
th
{
position
:
sticky
;
top
:
0
;
z-index
:
10
;
}
</
style
>
<
template
>
<div>
<div
class=
"query-box"
style=
"border-bottom: none;"
>
...
...
@@ -15,295 +26,300 @@
</li>
</ul>
</div>
<div
style=
"width: 100%; overflow-x: auto;padding-bottom: 10px; "
class=
"ownScrollbarStyle"
>
<div
style=
"width: 100%; overflow-x: auto;padding-bottom: 10px; "
class=
"ownScrollbarStyle"
:style=
"{height: boxHeight + 'px'}"
>
<table
border=
"0"
cellspacing=
"1"
cellpadding=
"0"
class=
"bookDinnerStatisticsTalbe"
v-loading=
"loading"
>
<tr>
<th>
{{$t('salesModule.CompanyNum')}}
</th>
<th
colspan=
"17"
style=
"text-align:left;"
>
<p
class=
"link"
@
click=
"goUrlT('productQuery',TCNUM,'产品查询')"
style=
"text-decoration:underline;cursor:pointer;"
>
{{TCNUM}}
</p>
</th>
</tr>
<tr>
<th
width=
"100"
>
{{$t('restaurant.res_etTime')}}
</th>
<th
width=
"200"
>
{{$t('restaurant.res_resName')}}
</th>
<th
width=
"200"
>
{{$t('ground.xiugaict')}}
</th>
<th
width=
"80"
>
{{$t('ground.leibie')}}
</th>
<th
width=
"70"
>
{{$t('ground.zongrenshu')}}
</th>
<th
width=
"70"
>
{{$t('ground.yongcanren')}}
<br
/>
{{$t('advmanager.v_type')}}
</th>
<th
width=
"70"
>
{{$t('commonPickUp.Pick_Ding')}}
<br
/>
{{$t('admin.admin_personNumber')}}
</th>
<th
width=
"120"
>
{{$t('Operation.Op_price')}}
</th>
<th
width=
"90"
>
{{$t('ground.mianrenshu')}}
</th>
<th
width=
"90"
>
{{$t('hotel.hotel_commission')}}
</th>
<th
width=
"80"
>
{{$t('ground.jinexiaoji')}}
</th>
<th
width=
"100"
>
{{$t('fnc.a_zongjine')}}
</th>
<th
width=
"210"
>
{{$t('ground.fkfsdcfsdth')}}
</th>
<th
width=
"170"
>
{{$t('pub.pubRemark')}}
</th>
</tr>
<
template
v-for=
"(item,index) in dinnerList"
>
<template
v-for=
"(subItem,subIndex) in item.DiningSummaryList"
>
<tr
v-for=
"(childItem,childIndex) in subItem.DiningPriceList"
:key=
"`d_`+index+subIndex+childIndex"
>
<td
v-if=
"childIndex==0"
:rowspan=
"3"
>
{{
item
.
UseTimeStr
}}
</td>
<td
v-if=
"childIndex==0"
:rowspan=
"3"
>
<table
class=
"dinnerTable"
>
<tr>
<td
colspan=
"2"
>
<span
style=
"padding-left:5px;"
class=
"link"
@
click=
"goUrlT('restaurantList',subItem.DiningID,'餐厅列表')"
>
{{
subItem
.
DiningName
}}
<br
/>
{{
$t
(
'ground.zhenshimingcheng'
)
}}
:
{{
subItem
.
DiningRealName
}}
</span>
</td>
</tr>
<tr>
<td
width=
"40"
>
{{
$t
(
'hotel.table_tel'
)
}}
:
</td>
<td
style=
"text-align:left;"
>
{{
subItem
.
Tel
}}
</td>
</tr>
<tr>
<td
width=
"40"
>
{{
$t
(
'hotel.table_address'
)
}}
:
</td>
<td
style=
"text-align:left;"
>
{{
subItem
.
Address
}}
</td>
</tr>
</table>
</td>
<td
v-if=
"childIndex==0"
:rowspan=
"3"
>
<el-select
style=
"display:none;"
class=
'w160 sel'
v-model=
'subItem.NewDiningID'
filterable
:placeholder=
"$t('pub.pleaseSel')"
@
visible-change=
'getDingList(item)'
@
change=
'sendValue(subItem,item)'
>
<el-option
v-for=
'itemHotel in item.DinnerList'
:label=
'itemHotel.RealName'
:value=
'itemHotel.ID'
:key=
'itemHotel.ID'
></el-option>
</el-select>
<template
v-if=
"subItem.NewDiningRealName"
>
<span
style=
"color:green"
>
{{
subItem
.
NewDiningRealName
}}
</span><br
/>
</
template
>
<
template
v-else-if=
"subItem.NewDiningName"
>
<span
style=
"color:green"
>
{{
subItem
.
NewDiningName
}}
</span><br
/>
</
template
>
<el-popover
placement=
"right"
width=
"540"
trigger=
"click"
>
<comCheckDinner
v-show=
"subItem.IsShowPop"
:ref=
"'comCheckDinner'+index+subIndex+''"
:UseDate=
"item.UseTimeStr"
v-on:childDinner=
"childDinnerList"
:Country=
"651"
>
</comCheckDinner>
<el-button
size=
"small"
type=
"danger"
:data-index=
"'comCheckDinner'+index+subIndex+''"
slot=
"reference"
style=
"cursor:pointer;"
@
click=
"getChildDinner(index,subIndex,subItem)"
>
{{$t('ground.cantingxuanz')}}
</el-button>
</el-popover>
<
template
v-if=
"subItem.DinnerOfferPrice&&subItem.DinnerOfferPrice>0"
>
<br
/>
<span
style=
"font-weight:bold;font-size:14px;"
>
{{
$t
(
'objFill.baojiacanting'
)
}}
:
<font
style=
"color:red;"
>
{{
subItem
.
DinnerOfferName
}}
(
{{
subItem
.
DinnerOfferPrice
}}
<template
v-if=
"subItem.IsDinnerChange"
>
<el-tooltip
:content=
"subItem.DinnerChangeRemark"
>
<font
style=
"color:blue;"
>
<template
v-if=
"subItem.DinnerChangeValue>0"
>
+
{{
subItem
.
DinnerChangeValue
}}
</
template
>
<
template
v-else
>
{{
subItem
.
DinnerChangeValue
}}
</
template
>
</font>
</el-tooltip>
</template>
/{{$t('hotel.hotel_people')}})
</font></span>
</template>
</td>
<td
v-if=
"childIndex==0"
:rowspan=
"3"
>
{{subItem.UseDinnerTypeStr}}
</td>
<td
v-if=
"childIndex==0"
:rowspan=
"3"
style=
"display:none;"
>
{{subItem.MealName}}
</td>
<td
v-if=
"childIndex==0"
:rowspan=
"3"
>
{{subItem.UseAccount}}
</td>
<td>
{{personStrToWord(childItem.PeopleType)}}
</td>
<td>
<
template
v-if=
"EditBtn||LineId==90"
>
<el-input
class=
'w50'
v-model=
'childItem.UsePeopleNum'
@
input=
'calculationPrice()'
@
keyup
.
native=
"checkInteger(childItem,'UsePeopleNum')"
type=
"text"
></el-input>
</
template
>
<
template
v-else
>
{{
childItem
.
UsePeopleNum
}}
</
template
>
</td>
<td>
<
template
v-if=
"EditBtn||LineId==90"
>
<el-input
class=
'w100'
v-model=
'childItem.PeoplePrice'
@
input=
'calculationPrice()'
@
keyup
.
native=
"checkPrice(childItem,'PeoplePrice')"
type=
"text"
></el-input>
</
template
>
<
template
v-else
>
<span
class=
"spanlink"
v-if=
'childItem.PeoplePrice==0'
@
click=
"goUrl('RestaurantPackage',subItem,'套餐查询')"
>
{{
$t
(
'leader.leader_Set'
)
}}
</span>
<thead>
<tr>
<th>
{{$t('salesModule.CompanyNum')}}
</th>
<th
colspan=
"17"
style=
"text-align:left;"
>
<p
class=
"link"
@
click=
"goUrlT('productQuery',TCNUM,'产品查询')"
style=
"text-decoration:underline;cursor:pointer;"
>
{{TCNUM}}
</p>
</th>
</tr>
<tr>
<th
width=
"100"
>
{{$t('restaurant.res_etTime')}}
</th>
<th
width=
"200"
>
{{$t('restaurant.res_resName')}}
</th>
<th
width=
"200"
>
{{$t('ground.xiugaict')}}
</th>
<th
width=
"80"
>
{{$t('ground.leibie')}}
</th>
<th
width=
"70"
>
{{$t('ground.zongrenshu')}}
</th>
<th
width=
"70"
>
{{$t('ground.yongcanren')}}
<br
/>
{{$t('advmanager.v_type')}}
</th>
<th
width=
"70"
>
{{$t('commonPickUp.Pick_Ding')}}
<br
/>
{{$t('admin.admin_personNumber')}}
</th>
<th
width=
"120"
>
{{$t('Operation.Op_price')}}
</th>
<th
width=
"90"
>
{{$t('ground.mianrenshu')}}
</th>
<th
width=
"90"
>
{{$t('hotel.hotel_commission')}}
</th>
<th
width=
"80"
>
{{$t('ground.jinexiaoji')}}
</th>
<th
width=
"100"
>
{{$t('fnc.a_zongjine')}}
</th>
<th
width=
"210"
>
{{$t('ground.fkfsdcfsdth')}}
</th>
<th
width=
"170"
>
{{$t('pub.pubRemark')}}
</th>
</tr>
</thead>
<tbody>
<
template
v-for=
"(item,index) in dinnerList"
>
<template
v-for=
"(subItem,subIndex) in item.DiningSummaryList"
>
<tr
v-for=
"(childItem,childIndex) in subItem.DiningPriceList"
:key=
"`d_`+index+subIndex+childIndex"
>
<td
v-if=
"childIndex==0"
:rowspan=
"3"
>
{{
item
.
UseTimeStr
}}
</td>
<td
v-if=
"childIndex==0"
:rowspan=
"3"
>
<table
class=
"dinnerTable"
>
<tr>
<td
colspan=
"2"
>
<span
style=
"padding-left:5px;"
class=
"link"
@
click=
"goUrlT('restaurantList',subItem.DiningID,'餐厅列表')"
>
{{
subItem
.
DiningName
}}
<br
/>
{{
$t
(
'ground.zhenshimingcheng'
)
}}
:
{{
subItem
.
DiningRealName
}}
</span>
</td>
</tr>
<tr
v-if=
"subItem.Tel&&subItem.Tel!=''"
>
<td
width=
"40"
>
{{
$t
(
'hotel.table_tel'
)
}}
:
</td>
<td
style=
"text-align:left;"
>
{{
subItem
.
Tel
}}
</td>
</tr>
<tr>
<td
width=
"40"
>
{{
$t
(
'hotel.table_address'
)
}}
:
</td>
<td
style=
"text-align:left;"
>
{{
subItem
.
Address
}}
</td>
</tr>
</table>
</td>
<td
v-if=
"childIndex==0"
:rowspan=
"3"
>
<el-select
style=
"display:none;"
class=
'w160 sel'
v-model=
'subItem.NewDiningID'
filterable
:placeholder=
"$t('pub.pleaseSel')"
@
visible-change=
'getDingList(item)'
@
change=
'sendValue(subItem,item)'
>
<el-option
v-for=
'itemHotel in item.DinnerList'
:label=
'itemHotel.RealName'
:value=
'itemHotel.ID'
:key=
'itemHotel.ID'
></el-option>
</el-select>
<template
v-if=
"subItem.NewDiningRealName"
>
<span
style=
"color:green"
>
{{
subItem
.
NewDiningRealName
}}
</span><br
/>
</
template
>
<
template
v-else-if=
"subItem.NewDiningName"
>
<span
style=
"color:green"
>
{{
subItem
.
NewDiningName
}}
</span><br
/>
</
template
>
<el-popover
placement=
"right"
width=
"540"
trigger=
"click"
>
<comCheckDinner
v-show=
"subItem.IsShowPop"
:ref=
"'comCheckDinner'+index+subIndex+''"
:UseDate=
"item.UseTimeStr"
v-on:childDinner=
"childDinnerList"
:Country=
"651"
>
</comCheckDinner>
<el-button
size=
"small"
type=
"danger"
:data-index=
"'comCheckDinner'+index+subIndex+''"
slot=
"reference"
style=
"cursor:pointer;"
@
click=
"getChildDinner(index,subIndex,subItem)"
>
{{$t('ground.cantingxuanz')}}
</el-button>
</el-popover>
<
template
v-if=
"subItem.DinnerOfferPrice&&subItem.DinnerOfferPrice>0"
>
<br
/>
<span
style=
"font-weight:bold;font-size:14px;"
>
{{
$t
(
'objFill.baojiacanting'
)
}}
:
<font
style=
"color:red;"
>
{{
subItem
.
DinnerOfferName
}}
(
{{
subItem
.
DinnerOfferPrice
}}
<template
v-if=
"subItem.IsDinnerChange"
>
<el-tooltip
:content=
"subItem.DinnerChangeRemark"
>
<font
style=
"color:blue;"
>
<template
v-if=
"subItem.DinnerChangeValue>0"
>
+
{{
subItem
.
DinnerChangeValue
}}
</
template
>
<
template
v-else
>
{{
subItem
.
DinnerChangeValue
}}
</
template
>
</font>
</el-tooltip>
</template>
/{{$t('hotel.hotel_people')}})
</font></span>
</template>
</td>
<td
v-if=
"childIndex==0"
:rowspan=
"3"
>
{{subItem.UseDinnerTypeStr}}
</td>
<td
v-if=
"childIndex==0"
:rowspan=
"3"
style=
"display:none;"
>
{{subItem.MealName}}
</td>
<td
v-if=
"childIndex==0"
:rowspan=
"3"
>
{{subItem.UseAccount}}
</td>
<td>
{{personStrToWord(childItem.PeopleType)}}
</td>
<td>
<
template
v-if=
"EditBtn||LineId==90"
>
<el-input
class=
'w50'
v-model=
'childItem.UsePeopleNum'
@
input=
'calculationPrice()'
@
keyup
.
native=
"checkInteger(childItem,'UsePeopleNum')"
type=
"text"
></el-input>
</
template
>
<
template
v-else
>
<el-input
class=
'w100 tcenter'
@
input=
'calculationPrice()'
v-model=
'childItem.PeoplePrice'
@
keyup
.
native=
"checkPrice(childItem,'PeoplePrice')"
></el-input>
{{
childItem
.
UsePeopleNum
}}
</
template
>
</template>
</td>
<td>
<el-input
class=
'w50 tcenter'
@
input=
'calculationPrice()'
maxlength=
'2'
v-model=
'childItem.Discount'
@
keyup
.
native=
"checkPrice(childItem,'Discount')"
></el-input>
</td>
<td>
<!--返佣-->
<el-input
class=
'w50 tcenter'
@
input=
'calculationPrice()'
v-model=
'childItem.DiscountPrice'
@
keyup
.
native=
"checkInteger(childItem,'DiscountPrice')"
></el-input>
%
</td>
<td>
{{(childItem.UsePeopleNum-childItem.Discount)*childItem.PeoplePrice}}
</td>
<td
v-if=
"childIndex==0"
:rowspan=
"3"
>
{{subItem.TotalPrice}}
<
template
v-if=
"subItem.NewTotalPrice"
>
<br
/><span
style=
"color:red;"
>
{{
subItem
.
NewTotalPrice
}}
</span>
</
template
>
</td>
<td
v-if=
"childIndex==0"
:rowspan=
"3"
>
<table
class=
"dinnerTable"
>
<tr>
<td
width=
"70"
style=
"text-align:right;"
>
{{$t('hotel.hotel_Currency')}}:
</td>
<td>
<el-select
v-model=
"subItem.CurrencyId"
:placeholder=
"$t('pub.pleaseSel')"
class=
'w135 sel'
@
change=
"calculationPrice()"
>
<el-option
:label=
"$t('pub.unlimitedSel')"
:value=
'0'
></el-option>
<el-option
v-for=
"(item,index) in allCurrencyList"
:key=
"index"
:label=
"item.Name"
:value=
"item.ID"
>
</el-option>
</el-select>
</td>
</tr>
<tr>
<td
width=
"60"
style=
"text-align:right;"
>
{{$t('fnc.fkfangshi')}}:
</td>
<td
style=
"text-align:left;"
>
<el-select
class=
'w135 sel'
v-model=
'subItem.PayStyle'
:placeholder=
"$t('pub.pleaseSel')"
>
<el-option
:label=
"$t('pub.pleaseSel')"
:value=
'0'
></el-option>
<el-option
:label=
'$t("ground.xianfu")'
:value=
'1'
></el-option>
<el-option
:label=
'$t("ground.qiandan")'
:value=
'2'
></el-option>
<el-option
:label=
'$t("ground.shiwudk")'
:value=
'3'
></el-option>
<el-option
:label=
'$t("ground.yufu")'
:value=
'4'
></el-option>
<el-option
:label=
'$t("ground.yufukuandk")'
:value=
'5'
></el-option>
<el-option
:label=
'$t("ground.lingduidydf")'
:value=
'10'
></el-option>
<el-option
:label=
'$t("ground.gongsihetzf")'
:value=
'6'
></el-option>
<el-option
:label=
'$t("ground.shuaka")'
:value=
'11'
></el-option>
<el-option
:label=
"$t('ground.enterpriseAlipay')"
:value=
'15'
></el-option>
</el-select>
</td>
</tr>
<tr>
<td
width=
"60"
style=
"text-align:right;"
>
{{$t('ground.dingcanfangs')}}:
</td>
<td
style=
"text-align:left;"
>
<el-select
v-model=
'subItem.DiningReserveType'
class=
'w135 sel'
:placeholder=
"$t('pub.pleaseSel')"
>
<el-option
:label=
"$t('pub.pleaseSel')"
value=
'0'
></el-option>
<el-option
:label=
'$t("ground.gongsiyuding")'
value=
'1'
></el-option>
<el-option
:label=
'$t("ground.daoyouyuding")'
value=
'2'
></el-option>
</el-select>
</td>
</tr>
<tr>
<td
width=
"60"
style=
"text-align:right;"
>
{{$t('objFill.v101.Rest.dincanztai')}}:
</td>
<td
style=
"text-align:left;"
>
<el-select
v-model=
'subItem.OrderState'
class=
'w135 sel'
:placeholder=
"$t('pub.pleaseSel')"
@
change=
"changeState(subItem)"
>
<el-option
:label=
"$t('pub.pleaseSel')"
:value=
'-1'
></el-option>
<el-option
:label=
'$t("pub.sureBtn")'
:value=
'1'
></el-option>
<el-option
:label=
'$t("visa.v_zanding")'
:value=
'2'
></el-option>
</el-select>
</td>
</tr>
<
template
v-if=
"subItem.OrderState==1"
>
</td>
<td>
<
template
v-if=
"EditBtn||LineId==90"
>
<el-input
class=
'w100'
v-model=
'childItem.PeoplePrice'
@
input=
'calculationPrice()'
@
keyup
.
native=
"checkPrice(childItem,'PeoplePrice')"
type=
"text"
></el-input>
</
template
>
<
template
v-else
>
<span
class=
"spanlink"
v-if=
'childItem.PeoplePrice==0'
@
click=
"goUrl('RestaurantPackage',subItem,'套餐查询')"
>
{{
$t
(
'leader.leader_Set'
)
}}
</span>
<template
v-else
>
<el-input
class=
'w100 tcenter'
@
input=
'calculationPrice()'
v-model=
'childItem.PeoplePrice'
@
keyup
.
native=
"checkPrice(childItem,'PeoplePrice')"
></el-input>
</
template
>
</template>
</td>
<td>
<el-input
class=
'w50 tcenter'
@
input=
'calculationPrice()'
maxlength=
'2'
v-model=
'childItem.Discount'
@
keyup
.
native=
"checkPrice(childItem,'Discount')"
></el-input>
</td>
<td>
<!--返佣-->
<el-input
class=
'w50 tcenter'
@
input=
'calculationPrice()'
v-model=
'childItem.DiscountPrice'
@
keyup
.
native=
"checkInteger(childItem,'DiscountPrice')"
></el-input>
%
</td>
<td>
{{(childItem.UsePeopleNum-childItem.Discount)*childItem.PeoplePrice}}
</td>
<td
v-if=
"childIndex==0"
:rowspan=
"3"
>
{{subItem.TotalPrice}}
<
template
v-if=
"subItem.NewTotalPrice"
>
<br
/><span
style=
"color:red;"
>
{{
subItem
.
NewTotalPrice
}}
</span>
</
template
>
</td>
<td
v-if=
"childIndex==0"
:rowspan=
"3"
>
<table
class=
"dinnerTable"
>
<tr>
<td
width=
"70"
style=
"text-align:right;"
>
{{$t('hotel.hotel_Currency')}}:
</td>
<td>
<el-select
v-model=
"subItem.CurrencyId"
:placeholder=
"$t('pub.pleaseSel')"
class=
'w135 sel'
@
change=
"calculationPrice()"
>
<el-option
:label=
"$t('pub.unlimitedSel')"
:value=
'0'
></el-option>
<el-option
v-for=
"(item,index) in allCurrencyList"
:key=
"index"
:label=
"item.Name"
:value=
"item.ID"
>
</el-option>
</el-select>
</td>
</tr>
<tr>
<td
width=
"60"
style=
"text-align:right;"
>
{{
$t
(
'
salesModule.SureTime
'
)
}}
:
{{$t('
fnc.fkfangshi
')}}:
</td>
<td
style=
"text-align:left;"
>
<el-date-picker
class=
'w135'
v-model=
"subItem.SureTime"
type=
"date"
:placeholder=
"$t('salesModule.SureTime')"
value-format=
"yyyy-MM-dd"
>
</el-date-picker>
<el-select
class=
'w135 sel'
v-model=
'subItem.PayStyle'
:placeholder=
"$t('pub.pleaseSel')"
>
<el-option
:label=
"$t('pub.pleaseSel')"
:value=
'0'
></el-option>
<el-option
:label=
'$t("ground.xianfu")'
:value=
'1'
></el-option>
<el-option
:label=
'$t("ground.qiandan")'
:value=
'2'
></el-option>
<el-option
:label=
'$t("ground.shiwudk")'
:value=
'3'
></el-option>
<el-option
:label=
'$t("ground.yufu")'
:value=
'4'
></el-option>
<el-option
:label=
'$t("ground.yufukuandk")'
:value=
'5'
></el-option>
<el-option
:label=
'$t("ground.lingduidydf")'
:value=
'10'
></el-option>
<el-option
:label=
'$t("ground.gongsihetzf")'
:value=
'6'
></el-option>
<el-option
:label=
'$t("ground.shuaka")'
:value=
'11'
></el-option>
<el-option
:label=
"$t('ground.enterpriseAlipay')"
:value=
'15'
></el-option>
</el-select>
</td>
</tr>
<tr>
<td
width=
"60"
style=
"text-align:right;"
>
{{
$t
(
'
objFill.yuyuetime
'
)
}}
:
{{$t('
ground.dingcanfangs
')}}:
</td>
<td
style=
"text-align:left;"
>
<!--午餐-->
<template
v-if=
"subItem.UseDinnerType==2"
>
<el-time-select
class=
'w135'
:placeholder=
"$t('objFill.yuyuetime')"
v-model=
"subItem.BookTime"
:picker-options=
"
{ start: '11:00',step: '00:15',end: '14:00'}"
@keyup.native="checkTime(subItem,'BookTime')">
</el-time-select>
</
template
>
<!--晚餐-->
<
template
v-if=
"subItem.UseDinnerType==3"
>
<el-time-select
class=
'w135'
:placeholder=
"$t('objFill.yuyuetime')"
v-model=
"subItem.BookTime"
:picker-options=
"
{ start: '17:00',step: '00:15', end: '20:00'}"
@keyup.native="checkTime(subItem,'BookTime')">
</el-time-select>
</
template
>
<el-select
v-model=
'subItem.DiningReserveType'
class=
'w135 sel'
:placeholder=
"$t('pub.pleaseSel')"
>
<el-option
:label=
"$t('pub.pleaseSel')"
value=
'0'
></el-option>
<el-option
:label=
'$t("ground.gongsiyuding")'
value=
'1'
></el-option>
<el-option
:label=
'$t("ground.daoyouyuding")'
value=
'2'
></el-option>
</el-select>
</td>
</tr>
</template>
<tr
v-show=
"subItem.PayStyle==6"
>
<td
width=
"60"
style=
"text-align:right;"
>
{{$t('ground.fukuanth')}}:
</td>
<td
style=
"text-align:left;"
>
<el-input
class=
'w135'
v-model=
'subItem.PayTypeTCNUM'
type=
"text"
></el-input>
</td>
</tr>
<tr>
<td
width=
"60"
style=
"text-align:right;"
>
{{$t('ground.dingtuanhao')}}:
</td>
<td
style=
"text-align:left;"
>
<el-input
class=
'w135 tcenter'
v-model=
'subItem.ReserveNo'
></el-input>
</td>
</tr>
</table>
</td>
<td
v-if=
"childIndex==0"
:rowspan=
"3"
>
<table
class=
"dinnerTable"
>
<tr>
<td
width=
"80"
style=
"text-align:right;"
>
{{$t('pub.pubRemark')}}:
</td>
<td>
<el-input
type=
'textarea'
rows=
"6"
class=
'w120'
v-model=
'subItem.Remarks'
></el-input>
</td>
</tr>
<tr
style=
"display:none;"
>
<td
width=
"80"
style=
"text-align:right;"
>
{{$t('ground.canpeibz')}}:
</td>
<td
style=
"text-align:left;"
>
<el-input
type=
'textarea'
rows=
"2"
class=
'w120'
v-model=
'subItem.DinnerRemark'
></el-input>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td
width=
"60"
style=
"text-align:right;"
>
{{$t('objFill.v101.Rest.dincanztai')}}:
</td>
<td
style=
"text-align:left;"
>
<el-select
v-model=
'subItem.OrderState'
class=
'w135 sel'
:placeholder=
"$t('pub.pleaseSel')"
@
change=
"changeState(subItem)"
>
<el-option
:label=
"$t('pub.pleaseSel')"
:value=
'-1'
></el-option>
<el-option
:label=
'$t("pub.sureBtn")'
:value=
'1'
></el-option>
<el-option
:label=
'$t("visa.v_zanding")'
:value=
'2'
></el-option>
</el-select>
</td>
</tr>
<
template
v-if=
"subItem.OrderState==1"
>
<tr>
<td
width=
"60"
style=
"text-align:right;"
>
{{
$t
(
'salesModule.SureTime'
)
}}
:
</td>
<td
style=
"text-align:left;"
>
<el-date-picker
class=
'w135'
v-model=
"subItem.SureTime"
type=
"date"
:placeholder=
"$t('salesModule.SureTime')"
value-format=
"yyyy-MM-dd"
>
</el-date-picker>
</td>
</tr>
<tr>
<td
width=
"60"
style=
"text-align:right;"
>
{{
$t
(
'objFill.yuyuetime'
)
}}
:
</td>
<td
style=
"text-align:left;"
>
<!--午餐-->
<template
v-if=
"subItem.UseDinnerType==2"
>
<el-time-select
class=
'w135'
:placeholder=
"$t('objFill.yuyuetime')"
v-model=
"subItem.BookTime"
:picker-options=
"
{ start: '11:00',step: '00:15',end: '14:00'}"
@keyup.native="checkTime(subItem,'BookTime')">
</el-time-select>
</
template
>
<!--晚餐-->
<
template
v-if=
"subItem.UseDinnerType==3"
>
<el-time-select
class=
'w135'
:placeholder=
"$t('objFill.yuyuetime')"
v-model=
"subItem.BookTime"
:picker-options=
"
{ start: '17:00',step: '00:15', end: '20:00'}"
@keyup.native="checkTime(subItem,'BookTime')">
</el-time-select>
</
template
>
</td>
</tr>
</template>
<tr
v-show=
"subItem.PayStyle==6"
>
<td
width=
"60"
style=
"text-align:right;"
>
{{$t('ground.fukuanth')}}:
</td>
<td
style=
"text-align:left;"
>
<el-input
class=
'w135'
v-model=
'subItem.PayTypeTCNUM'
type=
"text"
></el-input>
</td>
</tr>
<tr>
<td
width=
"60"
style=
"text-align:right;"
>
{{$t('ground.dingtuanhao')}}:
</td>
<td
style=
"text-align:left;"
>
<el-input
class=
'w135 tcenter'
v-model=
'subItem.ReserveNo'
></el-input>
</td>
</tr>
</table>
</td>
<td
v-if=
"childIndex==0"
:rowspan=
"3"
>
<table
class=
"dinnerTable"
>
<tr>
<td
width=
"80"
style=
"text-align:right;"
>
{{$t('pub.pubRemark')}}:
</td>
<td>
<el-input
type=
'textarea'
rows=
"6"
class=
'w120'
v-model=
'subItem.Remarks'
></el-input>
</td>
</tr>
<tr
style=
"display:none;"
>
<td
width=
"80"
style=
"text-align:right;"
>
{{$t('ground.canpeibz')}}:
</td>
<td
style=
"text-align:left;"
>
<el-input
type=
'textarea'
rows=
"2"
class=
'w120'
v-model=
'subItem.DinnerRemark'
></el-input>
</td>
</tr>
</table>
</td>
</tr>
</template>
</template>
</t
emplate
>
</t
body
>
<tfoot>
<tr>
<td>
...
...
@@ -364,6 +380,7 @@
LineId
:
0
,
currentUserInfo
:
{},
sTotalPrice
:
0
,
//合计
boxHeight
:
0
,
};
},
components
:
{
...
...
@@ -581,6 +598,8 @@
this
.
allCurrencyList
=
res
.
data
.
data
;
}
},
err
=>
{});
let
height
=
window
.
innerHeight
-
65
-
55
;
this
.
boxHeight
=
height
;
}
};
...
...
@@ -635,4 +654,5 @@
.bookDinnerStatisticsTalbe
.dinnerTable
tr
td
{
border
:
none
;
}
</
style
>
\ No newline at end of file
</
style
>
src/components/scenicSpot/admissionStatisticsDetails.vue
View file @
4060cd5b
<
style
scoped
>
.admissionStatisticsDetailsTalbe
{
table-layout
:
fixed
;
}
.admissionStatisticsDetailsTalbe
thead
tr
th
{
position
:
sticky
;
top
:
0
;
z-index
:
10
;
}
</
style
>
<
template
>
<div>
<div
class=
"query-box"
style=
"border-bottom: none;"
>
...
...
@@ -15,178 +27,183 @@
</li>
</ul>
</div>
<div
style=
"width: 100%; overflow-y: auto;padding-bottom: 10px; height: 100%; "
class=
"ownScrollbarStyle"
>
<div
style=
"width: 100%; overflow-x: auto;padding-bottom: 10px; "
class=
"ownScrollbarStyle"
:style=
"{height: boxHeight + 'px'}"
>
<table
border=
"0"
cellspacing=
"1"
cellpadding=
"0"
class=
"admissionStatisticsDetailsTalbe"
v-loading=
"loading"
>
<tr>
<th>
{{$t('salesModule.CompanyNum')}}
</th>
<th
colspan=
"15"
style=
"text-align:left; padding-left:8px;"
>
<p
class=
"link"
@
click=
"goUrlT('productQuery',TCNUM,'产品查询')"
style=
"text-decoration:underline;cursor:pointer;"
>
{{TCNUM}}
</p>
</th>
</tr>
<tr>
<th
width=
"115"
>
{{$t('ground.youlanshijian')}}
</th>
<th
width=
"250"
>
{{$t('visaT.jdname')}}
</th>
<th
width=
"70"
>
{{$t('objFill.zongrenshu')}}
</th>
<th
width=
"70"
>
{{$t('objFill.youke')}}
<br
/>
{{$t('advmanager.v_type')}}
</th>
<th
width=
"70"
>
{{$t('objFill.youke')}}
<br
/>
{{$t('admin.admin_personNumber')}}
</th>
<th
width=
"70"
>
{{$t('objFill.shiyong')}}
<br
/>
{{$t('admin.admin_personNumber')}}
</th>
<th
width=
"70"
>
{{$t('ground.mianrenshu')}}
</th>
<th
width=
"120"
>
{{$t('fnc.danjia')}}
</th>
<th
width=
"90"
>
{{$t('objFill.jingexj')}}
</th>
<th
width=
"120"
>
{{$t('hotel.hotel_commission')}}
</th>
<th
width=
"100"
>
{{$t('fnc.a_zongjine')}}
</th>
<th
width=
"210"
>
{{$t('ground.fkfsdth')}}
</th>
<th
width=
"200"
>
{{$t('pub.pubRemark')}}
</th>
</tr>
<
template
v-for=
"(item,index) in DataList"
>
<template
v-for=
"(subItem,subIndex) in item.ScenicStatisticsList"
>
<tr
v-for=
"(childItem,childIndex) in subItem.TicketPriceList"
:key=
"`s_`+index+subIndex+childIndex"
>
<td
v-if=
"childIndex==0"
:rowspan=
"3"
>
{{
item
.
UseTimeStr
}}
</td>
<td
v-if=
"childIndex==0"
:rowspan=
"3"
>
<table
class=
"scenicTable"
>
<tr>
<td
colspan=
"2"
style=
"text-align:left;padding-left:8px;"
>
<span
class=
"spanlink"
@
click=
"goUrl('ticketManagement',subItem,'门票管理')"
>
{{
subItem
.
ScenicName
}}
</span>
</td>
</tr>
<tr>
<td
width=
"40"
>
{{
$t
(
'hotel.table_tel'
)
}}
:
</td>
<td
style=
"text-align:left;"
>
{{
subItem
.
Tel
}}
</td>
</tr>
<tr>
<td
width=
"40"
>
{{
$t
(
'admin.admin_address'
)
}}
:
</td>
<td
style=
"text-align:left;"
>
{{
subItem
.
Address
}}
</td>
</tr>
</table>
<template
v-if=
"subItem.ScenicOfferPrice&& subItem.ScenicOfferPrice>0"
>
<br
/>
<span
style=
"font-weight:bold;font-size:14px;"
>
{{
$t
(
'objFill.baojiajingdian'
)
}}
:
<font
style=
"color:red;"
>
{{
subItem
.
ScenicOfferName
}}
(
{{
subItem
.
ScenicOfferPrice
}}
<template
v-if=
"subItem.IsScenicChange"
>
<el-tooltip
:content=
"subItem.ScenicChangeRemark"
>
<font
style=
"color:blue;"
>
<template
v-if=
"subItem.ScenicChangeValue>0"
>
+
{{
subItem
.
ScenicChangeValue
}}
</
template
>
<
template
v-else
>
{{
subItem
.
ScenicChangeValue
}}
</
template
>
</font>
</el-tooltip>
</template>
/{{$t('hotel.hotel_people')}})
</font>
</span>
</template>
</td>
<td
v-if=
"childIndex==0"
:rowspan=
"3"
>
{{subItem.UseAccount}}
</td>
<td>
{{personStrToWord(childItem.PeopleType)}}
</td>
<td>
{{childItem.PeopleNum}}
</td>
<td>
<el-input
class=
'w50 tcenter'
v-model=
'childItem.UsePeopleNum'
type=
"number"
@
input=
'calculationPrice()'
@
keyup
.
native=
"checkInteger(childItem,'UsePeopleNum')"
></el-input>
</td>
<td>
<el-input
class=
'w50 tcenter'
maxlength=
'2'
v-model=
'childItem.Discount'
type=
"number"
@
input=
'calculationPrice()'
@
keyup
.
native=
"checkInteger(childItem,'Discount')"
></el-input>
</td>
<td>
<
template
v-if=
"EditBtn||LineId==90"
>
<el-input
class=
'w100'
v-model=
'childItem.PeoplePrice'
@
keyup
.
native=
"checkPrice(childItem,'PeoplePrice')"
@
input=
'calculationPrice()'
type=
"text"
>
</el-input>
</
template
>
<
template
v-else
>
<span
class=
"spanlink"
v-if=
'childItem.PeoplePrice==0'
@
click=
"goUrl('ticketManagement',subItem,'门票管理')"
>
{{
$t
(
'leader.leader_Set'
)
}}
</span>
<span
v-else
>
{{
childItem
.
PeoplePrice
}}
</span>
</
template
>
</td>
<td>
{{(childItem.UsePeopleNum-childItem.Discount)*childItem.PeoplePrice}}
</td>
<td>
<
template
v-if=
"EditBtn||LineId==90"
>
<el-input
class=
'w50 tcenter'
v-model=
'childItem.DiscountPrice'
@
keyup
.
native=
"checkPrice(childItem,'DiscountPrice')"
@
input=
'calculationPrice()'
type=
"text"
>
</el-input>
</
template
>
<
template
v-else
>
<span
class=
"spanlink"
v-if=
'childItem.DiscountPrice==0'
@
click=
"goUrl('scenicSpotInfoManage',subItem,'景区列表')"
>
{{
$t
(
'leader.leader_Set'
)
}}
</span>
<span
v-if=
'childItem.DiscountPrice!=0'
>
{{
childItem
.
DiscountPrice
}}
%
</span>
</
template
>
</td>
<td
v-if=
"childIndex==0"
:rowspan=
"3"
>
{{subItem.TotalPrice}}
</td>
<td
v-if=
"childIndex==0"
:rowspan=
"3"
>
<table
class=
"scenicTable"
>
<tr>
<td
width=
"60"
style=
"text-align:right;"
>
{{$t('objFill.v101.bizhongxz')}}:
</td>
<td
style=
"text-align:left;"
>
<el-select
class=
'w135 sel'
filterable
v-model=
'subItem.CurrencyId'
>
<el-option
v-for=
'item in currencyList'
:label=
'item.Name'
:value=
'item.ID'
:key=
'item.ID'
>
</el-option>
</el-select>
</td>
</tr>
<tr>
<td
width=
"60"
style=
"text-align:right;"
>
{{$t('hotel.hotel_payType')}}:
</td>
<td
style=
"text-align:left;"
>
<el-select
class=
'w135 sel'
v-model=
'subItem.PayStyle'
:placeholder=
"$t('pub.pleaseSel')"
>
<el-option
:label=
"$t('objFill.qingxuanzhe')"
:value=
'0'
></el-option>
<el-option
:label=
"$t('objFill.xianfu')"
:value=
'1'
></el-option>
<el-option
:label=
"$t('objFill.qiandan')"
:value=
'2'
></el-option>
<el-option
:label=
"$t('objFill.shiweidikou')"
:value=
'5'
></el-option>
<el-option
:label=
"$t('objFill.yufu')"
:value=
'4'
></el-option>
<el-option
:label=
"$t('objFill.wangding')"
:value=
'12'
></el-option>
<el-option
:label=
"$t('ground.enterpriseAlipay')"
:value=
'15'
></el-option>
</el-select>
</td>
</tr>
<tr>
<td
width=
"60"
style=
"text-align:right;"
>
{{$t('objFill.v101.hote.dingtuanh')}}:
</td>
<td
style=
"text-align:left;"
>
<el-input
class=
'w135'
v-model=
'subItem.CombinationNum'
type=
"text"
></el-input>
</td>
</tr>
</table>
</td>
<td
v-if=
"childIndex==0"
:rowspan=
"3"
>
<el-input
type=
'textarea'
rows=
"4"
class=
'w170'
v-model=
'subItem.Remarks'
></el-input>
</td>
</tr>
<thead>
<tr>
<th>
{{$t('salesModule.CompanyNum')}}
</th>
<th
colspan=
"15"
style=
"text-align:left; padding-left:8px;"
>
<p
class=
"link"
@
click=
"goUrlT('productQuery',TCNUM,'产品查询')"
style=
"text-decoration:underline;cursor:pointer;"
>
{{TCNUM}}
</p>
</th>
</tr>
<tr>
<th
width=
"115"
>
{{$t('ground.youlanshijian')}}
</th>
<th
width=
"250"
>
{{$t('visaT.jdname')}}
</th>
<th
width=
"70"
>
{{$t('objFill.zongrenshu')}}
</th>
<th
width=
"70"
>
{{$t('objFill.youke')}}
<br
/>
{{$t('advmanager.v_type')}}
</th>
<th
width=
"70"
>
{{$t('objFill.youke')}}
<br
/>
{{$t('admin.admin_personNumber')}}
</th>
<th
width=
"70"
>
{{$t('objFill.shiyong')}}
<br
/>
{{$t('admin.admin_personNumber')}}
</th>
<th
width=
"70"
>
{{$t('ground.mianrenshu')}}
</th>
<th
width=
"120"
>
{{$t('fnc.danjia')}}
</th>
<th
width=
"90"
>
{{$t('objFill.jingexj')}}
</th>
<th
width=
"120"
>
{{$t('hotel.hotel_commission')}}
</th>
<th
width=
"100"
>
{{$t('fnc.a_zongjine')}}
</th>
<th
width=
"210"
>
{{$t('ground.fkfsdth')}}
</th>
<th
width=
"200"
>
{{$t('pub.pubRemark')}}
</th>
</tr>
</thead>
<tbody>
<
template
v-for=
"(item,index) in DataList"
>
<template
v-for=
"(subItem,subIndex) in item.ScenicStatisticsList"
>
<tr
v-for=
"(childItem,childIndex) in subItem.TicketPriceList"
:key=
"`s_`+index+subIndex+childIndex"
>
<td
v-if=
"childIndex==0"
:rowspan=
"3"
>
{{
item
.
UseTimeStr
}}
</td>
<td
v-if=
"childIndex==0"
:rowspan=
"3"
>
<table
class=
"scenicTable"
>
<tr>
<td
colspan=
"2"
style=
"text-align:left;padding-left:8px;"
>
<span
class=
"spanlink"
@
click=
"goUrl('ticketManagement',subItem,'门票管理')"
>
{{
subItem
.
ScenicName
}}
</span>
</td>
</tr>
<tr>
<td
width=
"40"
>
{{
$t
(
'hotel.table_tel'
)
}}
:
</td>
<td
style=
"text-align:left;"
>
{{
subItem
.
Tel
}}
</td>
</tr>
<tr>
<td
width=
"40"
>
{{
$t
(
'admin.admin_address'
)
}}
:
</td>
<td
style=
"text-align:left;"
>
{{
subItem
.
Address
}}
</td>
</tr>
</table>
<template
v-if=
"subItem.ScenicOfferPrice&& subItem.ScenicOfferPrice>0"
>
<br
/>
<span
style=
"font-weight:bold;font-size:14px;"
>
{{
$t
(
'objFill.baojiajingdian'
)
}}
:
<font
style=
"color:red;"
>
{{
subItem
.
ScenicOfferName
}}
(
{{
subItem
.
ScenicOfferPrice
}}
<template
v-if=
"subItem.IsScenicChange"
>
<el-tooltip
:content=
"subItem.ScenicChangeRemark"
>
<font
style=
"color:blue;"
>
<template
v-if=
"subItem.ScenicChangeValue>0"
>
+
{{
subItem
.
ScenicChangeValue
}}
</
template
>
<
template
v-else
>
{{
subItem
.
ScenicChangeValue
}}
</
template
>
</font>
</el-tooltip>
</template>
/{{$t('hotel.hotel_people')}})
</font>
</span>
</template>
</td>
<td
v-if=
"childIndex==0"
:rowspan=
"3"
>
{{subItem.UseAccount}}
</td>
<td>
{{personStrToWord(childItem.PeopleType)}}
</td>
<td>
{{childItem.PeopleNum}}
</td>
<td>
<el-input
class=
'w50 tcenter'
v-model=
'childItem.UsePeopleNum'
type=
"number"
@
input=
'calculationPrice()'
@
keyup
.
native=
"checkInteger(childItem,'UsePeopleNum')"
></el-input>
</td>
<td>
<el-input
class=
'w50 tcenter'
maxlength=
'2'
v-model=
'childItem.Discount'
type=
"number"
@
input=
'calculationPrice()'
@
keyup
.
native=
"checkInteger(childItem,'Discount')"
></el-input>
</td>
<td>
<
template
v-if=
"EditBtn||LineId==90"
>
<el-input
class=
'w100'
v-model=
'childItem.PeoplePrice'
@
keyup
.
native=
"checkPrice(childItem,'PeoplePrice')"
@
input=
'calculationPrice()'
type=
"text"
>
</el-input>
</
template
>
<
template
v-else
>
<span
class=
"spanlink"
v-if=
'childItem.PeoplePrice==0'
@
click=
"goUrl('ticketManagement',subItem,'门票管理')"
>
{{
$t
(
'leader.leader_Set'
)
}}
</span>
<span
v-else
>
{{
childItem
.
PeoplePrice
}}
</span>
</
template
>
</td>
<td>
{{(childItem.UsePeopleNum-childItem.Discount)*childItem.PeoplePrice}}
</td>
<td>
<
template
v-if=
"EditBtn||LineId==90"
>
<el-input
class=
'w50 tcenter'
v-model=
'childItem.DiscountPrice'
@
keyup
.
native=
"checkPrice(childItem,'DiscountPrice')"
@
input=
'calculationPrice()'
type=
"text"
>
</el-input>
</
template
>
<
template
v-else
>
<span
class=
"spanlink"
v-if=
'childItem.DiscountPrice==0'
@
click=
"goUrl('scenicSpotInfoManage',subItem,'景区列表')"
>
{{
$t
(
'leader.leader_Set'
)
}}
</span>
<span
v-if=
'childItem.DiscountPrice!=0'
>
{{
childItem
.
DiscountPrice
}}
%
</span>
</
template
>
</td>
<td
v-if=
"childIndex==0"
:rowspan=
"3"
>
{{subItem.TotalPrice}}
</td>
<td
v-if=
"childIndex==0"
:rowspan=
"3"
>
<table
class=
"scenicTable"
>
<tr>
<td
width=
"60"
style=
"text-align:right;"
>
{{$t('objFill.v101.bizhongxz')}}:
</td>
<td
style=
"text-align:left;"
>
<el-select
class=
'w135 sel'
filterable
v-model=
'subItem.CurrencyId'
>
<el-option
v-for=
'item in currencyList'
:label=
'item.Name'
:value=
'item.ID'
:key=
'item.ID'
>
</el-option>
</el-select>
</td>
</tr>
<tr>
<td
width=
"60"
style=
"text-align:right;"
>
{{$t('hotel.hotel_payType')}}:
</td>
<td
style=
"text-align:left;"
>
<el-select
class=
'w135 sel'
v-model=
'subItem.PayStyle'
:placeholder=
"$t('pub.pleaseSel')"
>
<el-option
:label=
"$t('objFill.qingxuanzhe')"
:value=
'0'
></el-option>
<el-option
:label=
"$t('objFill.xianfu')"
:value=
'1'
></el-option>
<el-option
:label=
"$t('objFill.qiandan')"
:value=
'2'
></el-option>
<el-option
:label=
"$t('objFill.shiweidikou')"
:value=
'5'
></el-option>
<el-option
:label=
"$t('objFill.yufu')"
:value=
'4'
></el-option>
<el-option
:label=
"$t('objFill.wangding')"
:value=
'12'
></el-option>
<el-option
:label=
"$t('ground.enterpriseAlipay')"
:value=
'15'
></el-option>
</el-select>
</td>
</tr>
<tr>
<td
width=
"60"
style=
"text-align:right;"
>
{{$t('objFill.v101.hote.dingtuanh')}}:
</td>
<td
style=
"text-align:left;"
>
<el-input
class=
'w135'
v-model=
'subItem.CombinationNum'
type=
"text"
></el-input>
</td>
</tr>
</table>
</td>
<td
v-if=
"childIndex==0"
:rowspan=
"3"
>
<el-input
type=
'textarea'
rows=
"4"
class=
'w170'
v-model=
'subItem.Remarks'
></el-input>
</td>
</tr>
</template>
</template>
</t
emplate
>
</t
body
>
<tfoot>
<tr>
<td>
...
...
@@ -241,6 +258,7 @@
LineId
:
0
,
//线路编号
currentUserInfo
:
{},
sTotalPrice
:
0
,
//合计
boxHeight
:
0
,
}
},
methods
:
{
...
...
@@ -381,6 +399,9 @@
this
.
GuestNum
=
this
.
$route
.
query
.
GuestNum
;
this
.
getList
();
this
.
getCurrencyList
();
let
height
=
window
.
innerHeight
-
65
-
55
;
this
.
boxHeight
=
height
;
},
}
...
...
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