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
2902fd79
Commit
2902fd79
authored
Dec 19, 2019
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
页面修改
parent
ed1e966a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
43 additions
and
29 deletions
+43
-29
roomReservationsDetails.vue
src/components/Hotel/roomReservationsDetails.vue
+43
-29
No files found.
src/components/Hotel/roomReservationsDetails.vue
View file @
2902fd79
...
@@ -23,8 +23,9 @@
...
@@ -23,8 +23,9 @@
text-align
:
center
;
text-align
:
center
;
margin-bottom
:
10px
;
margin-bottom
:
10px
;
}
}
.roomResetTable
tr
td
{
padding
:
5px
;
.roomResetTable
tr
td
{
padding
:
5px
;
}
}
</
style
>
</
style
>
...
@@ -105,21 +106,22 @@
...
@@ -105,21 +106,22 @@
{{subItem.Name}}
{{subItem.Name}}
</td>
</td>
<td
style=
"width:150px;"
>
<td
style=
"width:150px;"
>
<el-input
class=
'w135 tcenter'
maxlength=
"2"
@
keyup
.
native=
"checkInteger(subItem,'House
Count
')"
<el-input
class=
'w135 tcenter'
maxlength=
"2"
@
keyup
.
native=
"checkInteger(subItem,'House
Num
')"
v-model=
'subItem.House
Count
'
></el-input>
v-model=
'subItem.House
Num
'
></el-input>
</td>
</td>
<td
style=
"width:150px;"
>
<td
style=
"width:150px;"
>
<el-input
class=
'w135 tcenter'
maxlength=
"2"
@
keyup
.
native=
"checkInteger(subItem,'HousePeopleNum')"
<el-input
class=
'w135 tcenter'
maxlength=
"2"
@
keyup
.
native=
"checkInteger(subItem,'BookNum')"
v-model=
'subItem.HousePeopleNum'
></el-input>
v-model=
'subItem.BookNum'
>
</el-input>
</td>
</td>
</tr>
</tr>
<tr>
<tr>
<td
colspan=
"2"
style=
"text-align:right"
>
<td
colspan=
"2"
style=
"text-align:right"
>
<input
type=
"button"
class=
"normalBtn"
value=
"保存"
>
<input
type=
"button"
class=
"normalBtn"
value=
"保存"
@
click=
"BatchHotelOrder()"
>
</td>
</td>
</tr>
</tr>
</table>
</table>
<el-button
slot=
"reference"
style=
"background:#E95252; border-color:#E95252;
display:none;"
type=
"primary
"
>
<el-button
slot=
"reference"
style=
"background:#E95252; border-color:#E95252;
"
type=
"primary"
v-if=
"CurrentUserInfo.EmployeeId == 615"
@
click=
"IsShowMoreUpdate=true
"
>
批量修改酒店
批量修改酒店
</el-button>
</el-button>
</el-popover>
</el-popover>
...
@@ -643,36 +645,36 @@
...
@@ -643,36 +645,36 @@
XiaoFeiTaxFee
:
0.1
,
XiaoFeiTaxFee
:
0.1
,
IsMoreUpdate
:
0
,
//批量上传手配书0-单个上传,1-批量上传
IsMoreUpdate
:
0
,
//批量上传手配书0-单个上传,1-批量上传
isShowPiliangPop
:
false
,
//是否显示批量上传popover
isShowPiliangPop
:
false
,
//是否显示批量上传popover
IsShowMoreUpdate
:
false
,
IsShowMoreUpdate
:
false
,
HotelHouseTypeList
:
[{
HotelHouseTypeList
:
[{
Id
:
1
,
HouseType
:
1
,
Name
:
"单间"
,
Name
:
"单间"
,
House
Count
:
0
,
House
Num
:
0
,
HousePeople
Num
:
0
Book
Num
:
0
},
},
{
{
Id
:
2
,
HouseType
:
2
,
Name
:
"标准间"
,
Name
:
"标准间"
,
House
Count
:
0
,
House
Num
:
0
,
HousePeople
Num
:
0
Book
Num
:
0
},
},
{
{
Id
:
3
,
HouseType
:
3
,
Name
:
"大床间"
,
Name
:
"大床间"
,
House
Count
:
0
,
House
Num
:
0
,
HousePeople
Num
:
0
Book
Num
:
0
},
},
{
{
Id
:
4
,
HouseType
:
4
,
Name
:
"三人间"
,
Name
:
"三人间"
,
House
Count
:
0
,
House
Num
:
0
,
HousePeople
Num
:
0
Book
Num
:
0
},
},
{
{
Id
:
5
,
HouseType
:
5
,
Name
:
"司导间"
,
Name
:
"司导间"
,
House
Count
:
0
,
House
Num
:
0
,
HousePeople
Num
:
0
Book
Num
:
0
},
},
]
]
}
}
...
@@ -683,6 +685,23 @@
...
@@ -683,6 +685,23 @@
commonPHInfo
:
commonPHlInfo
commonPHInfo
:
commonPHlInfo
},
},
methods
:
{
methods
:
{
//批量修改房间数和房间人
BatchHotelOrder
()
{
var
msg
=
{
TCID
:
this
.
$route
.
query
.
id
,
OrderDetails
:
this
.
HotelHouseTypeList
};
this
.
apipost
(
'dmcstatistics_get_SetBatchHotelOrderService'
,
msg
,
res
=>
{
this
.
loading
=
false
;
this
.
IsShowMoreUpdate
=
false
;
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
getList
();
this
.
Success
(
res
.
data
.
message
);
}
else
{
this
.
Error
(
res
.
data
.
message
);
}
},
err
=>
{})
},
MoreUpdate
(
subItem
)
{
MoreUpdate
(
subItem
)
{
this
.
IsMoreUpdate
=
1
;
this
.
IsMoreUpdate
=
1
;
},
},
...
@@ -849,11 +868,6 @@
...
@@ -849,11 +868,6 @@
}
else
{
}
else
{
this
.
list
[
this
.
checkedIndex
].
HotelOrderList
[
this
.
checkedsubIndex
].
ContractUrl
=
fileUrl
;
this
.
list
[
this
.
checkedIndex
].
HotelOrderList
[
this
.
checkedsubIndex
].
ContractUrl
=
fileUrl
;
}
}
// this.list.forEach((sItem,sIndex)=>{
// sItem.HotelOrderList.forEach((subItem,subIndex)=>{
// subItem.IsChecked=false;
// });
// });
this
.
IsMoreUpdate
=
0
;
this
.
IsMoreUpdate
=
0
;
this
.
$forceUpdate
()
this
.
$forceUpdate
()
})
})
...
...
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