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
8c5bf8d2
Commit
8c5bf8d2
authored
Aug 10, 2019
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
页面修改
parent
c7be6b26
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
28 additions
and
32 deletions
+28
-32
HotelWorkList.vue
src/components/Hotel/HotelWorkList.vue
+28
-32
No files found.
src/components/Hotel/HotelWorkList.vue
View file @
8c5bf8d2
...
...
@@ -50,7 +50,7 @@
</
template
>
</template>
<
template
v-else
>
<el-popover
width=
"650"
trigger=
"click"
popper-class=
"Bus_HotelPop"
style=
"display:none;"
>
<el-popover
width=
"650"
trigger=
"click"
popper-class=
"Bus_HotelPop"
>
<table
v-loading=
"changeLoading"
>
<tr>
<th
width=
"60"
>
...
...
@@ -198,37 +198,33 @@
},
//保存酒店订单
SaveHotelOrder
(
HotelID
)
{
var
newList
=
[];
if
(
this
.
ChangeHotelList
&&
this
.
ChangeHotelList
.
length
>
0
)
{
this
.
ChangeHotelList
.
forEach
(
item
=>
{
if
(
item
.
IsChecked
)
{
var
Nitem
=
JSON
.
parse
(
JSON
.
stringify
(
item
));
Nitem
.
NewHotelID
=
HotelID
;
var
that
=
this
;
this
.
Confirm
(
"是否要替换选中的酒店?"
,
function
()
{
var
newList
=
[];
if
(
that
.
ChangeHotelList
&&
that
.
ChangeHotelList
.
length
>
0
)
{
that
.
ChangeHotelList
.
forEach
(
item
=>
{
if
(
item
.
IsChecked
)
{
var
Nitem
=
JSON
.
parse
(
JSON
.
stringify
(
item
));
Nitem
.
NewHotelID
=
HotelID
;
newList
.
push
(
Nitem
);
}
});
}
if
(
newList
&&
newList
.
length
>
0
)
{
this
.
apipost
(
"journeyorder_post_SaveWorkHotelOrderService"
,
newList
,
if
(
newList
&&
newList
.
length
>
0
)
{
that
.
apipost
(
"journeyorder_post_SaveWorkHotelOrderService"
,
newList
,
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
con
that
.
getList
();
}
else
{
this
.
Error
(
res
.
data
.
message
);
that
.
Error
(
res
.
data
.
message
);
}
},
err
=>
{}
);
}
else
{
this
.
Info
(
"请选择团期!"
);
}
else
{
that
.
Info
(
"请选择团期!"
);
}
});
}
},
mounted
()
{
...
...
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