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
59930fdb
Commit
59930fdb
authored
Jul 11, 2019
by
华国豪
🙄
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://gitlab.oytour.com/luochao/superman
parents
01a35de3
ed30c24b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
23 additions
and
15 deletions
+23
-15
HotelSupplier.vue
src/components/Hotel/HotelSupplier.vue
+21
-2
roomReservationsDetails.vue
src/components/Hotel/roomReservationsDetails.vue
+2
-13
No files found.
src/components/Hotel/HotelSupplier.vue
View file @
59930fdb
...
@@ -91,6 +91,15 @@
...
@@ -91,6 +91,15 @@
<el-form-item
:label=
"$t('hotel.table_HotelAddress')"
prop=
"Address"
>
<el-form-item
:label=
"$t('hotel.table_HotelAddress')"
prop=
"Address"
>
<el-input
type=
"text"
class=
"w300"
maxlength=
"50"
v-model=
"addMsg.Address"
:placeholder=
"$t('hotel.table_areaDetail')"
></el-input>
<el-input
type=
"text"
class=
"w300"
maxlength=
"50"
v-model=
"addMsg.Address"
:placeholder=
"$t('hotel.table_areaDetail')"
></el-input>
</el-form-item>
</el-form-item>
<el-form-item
label=
"付款方式"
prop=
"Address"
>
<el-select
v-model=
"addMsg.PayType"
filterable
placeholder=
"请选择"
class=
"w300"
>
<el-option
v-for=
'item in PayTypeList'
:key=
"item.Id"
:label=
"item.name"
:value=
"item.Id"
>
</el-option>
</el-select>
</el-form-item>
<el-form-item
:label=
"$t('hotel.table_tel')"
prop=
"Tel"
>
<el-form-item
:label=
"$t('hotel.table_tel')"
prop=
"Tel"
>
<el-input
type=
"text"
class=
"w300"
maxlength=
"20"
v-model=
"addMsg.Tel"
></el-input>
<el-input
type=
"text"
class=
"w300"
maxlength=
"20"
v-model=
"addMsg.Tel"
></el-input>
</el-form-item>
</el-form-item>
...
@@ -186,8 +195,17 @@ export default {
...
@@ -186,8 +195,17 @@ export default {
Contact
:
""
,
Contact
:
""
,
Fax
:
""
,
Fax
:
""
,
Remark
:
""
,
Remark
:
""
,
Type
:
"1"
Type
:
"1"
,
PayType
:
""
},
},
//付款方式
PayTypeList
:[{
name
:
'现付'
,
Id
:
1
},{
name
:
'签单'
,
Id
:
2
}],
rules
:
{
rules
:
{
Name
:
[
Name
:
[
{
required
:
true
,
message
:
"请输入供应商名称"
,
trigger
:
"blur"
}
{
required
:
true
,
message
:
"请输入供应商名称"
,
trigger
:
"blur"
}
...
@@ -287,7 +305,8 @@ export default {
...
@@ -287,7 +305,8 @@ export default {
Contact
:
""
,
Contact
:
""
,
Fax
:
""
,
Fax
:
""
,
Remark
:
""
,
Remark
:
""
,
Type
:
1
Type
:
1
,
PayType
:
""
}),
}),
(
this
.
provinceList
=
""
);
(
this
.
provinceList
=
""
);
this
.
cityList
=
""
;
this
.
cityList
=
""
;
...
...
src/components/Hotel/roomReservationsDetails.vue
View file @
59930fdb
...
@@ -127,7 +127,6 @@
...
@@ -127,7 +127,6 @@
<tr>
<tr>
<td
width=
"70"
style=
"text-align:center;"
colspan=
"2"
>
<td
width=
"70"
style=
"text-align:center;"
colspan=
"2"
>
<span
style=
"color:green"
>
{{
subItem
.
NewHotelName
}}
</span>
<span
style=
"color:green"
>
{{
subItem
.
NewHotelName
}}
</span>
<!-- v-if="subItem.OPState!=1" -->
<el-popover
placement=
"right"
width=
"540"
trigger=
"click"
v-model=
"subItem.isShowPop"
>
<el-popover
placement=
"right"
width=
"540"
trigger=
"click"
v-model=
"subItem.isShowPop"
>
<comCheckHotel
:ref=
"'comCheckHotel'+index+subIndex+''"
v-on:childHotel=
"childHotelList"
<comCheckHotel
:ref=
"'comCheckHotel'+index+subIndex+''"
v-on:childHotel=
"childHotelList"
:UseDate=
"item.UseTimeStr"
>
:UseDate=
"item.UseTimeStr"
>
...
@@ -138,9 +137,6 @@
...
@@ -138,9 +137,6 @@
酒店选择
酒店选择
</el-button>
</el-button>
</el-popover>
</el-popover>
<!--
<template
v-else
>
<br
/>
<span
class=
"Hotel_red"
>
OP-指定,不能更换酒店.
</span>
</
template
>
-->
</td>
</td>
</tr>
</tr>
<tr>
<tr>
...
@@ -373,13 +369,6 @@
...
@@ -373,13 +369,6 @@
<div
slot=
"reference"
class=
"w80"
style=
"cursor:pointer;text-decoration:underline;"
<div
slot=
"reference"
class=
"w80"
style=
"cursor:pointer;text-decoration:underline;"
@
click=
"GetHotelLog(subItem,index,subIndex)"
>
日志
</div>
@
click=
"GetHotelLog(subItem,index,subIndex)"
>
日志
</div>
</el-popover>
</el-popover>
<br
/>
<!-- <el-popover width="700" trigger="click" popper-class="DMC_HotelPop">
<commonPHInfo :name='"dmccomPriceHotelInfo"+index+subIndex'
:ref='"dmccomPriceHotelInfo"+index+subIndex'></commonPHInfo>
<span slot="reference" class="price" style="cursor:pointer;text-decoration:underline;"
@click="GetHotelUsePriceList(subItem.HotelId,item.UseTimeStr,index,subIndex)">库存情况</span>
</el-popover> -->
</td>
</td>
</tr>
</tr>
</template>
</template>
...
@@ -471,7 +460,7 @@
...
@@ -471,7 +460,7 @@
if
(
objData
.
list
&&
objData
.
list
.
length
>
0
)
{
if
(
objData
.
list
&&
objData
.
list
.
length
>
0
)
{
var
str
=
""
;
var
str
=
""
;
objData
.
list
.
forEach
((
cItem
,
cIndex
)
=>
{
objData
.
list
.
forEach
((
cItem
,
cIndex
)
=>
{
str
+=
(
cIndex
==
0
?
""
:
","
)
+
cItem
.
TCNUM
+
"使用了"
+
cItem
.
LastUseNum
+
"间"
;
str
+=
(
cIndex
==
0
?
""
:
","
)
+
cItem
.
TCNUM
+
"使用了"
+
cItem
.
LastUseNum
+
"间"
;
});
});
if
(
str
!=
""
)
{
if
(
str
!=
""
)
{
this
.
Info
(
str
);
this
.
Info
(
str
);
...
@@ -479,7 +468,7 @@
...
@@ -479,7 +468,7 @@
}
}
}
}
//库存充足或没有酒店库存的情况
//库存充足或没有酒店库存的情况
else
if
(
objData
.
isOverStock
==
1
||
objData
.
isOverStock
==
-
1
)
{
else
if
(
objData
.
isOverStock
==
1
||
objData
.
isOverStock
==
-
1
)
{
this
.
list
[
this
.
findex
].
HotelOrderList
[
this
.
childIndex
].
Address
=
ckedObj
.
Address
;
this
.
list
[
this
.
findex
].
HotelOrderList
[
this
.
childIndex
].
Address
=
ckedObj
.
Address
;
this
.
list
[
this
.
findex
].
HotelOrderList
[
this
.
childIndex
].
NewHotelName
=
ckedObj
.
Name
;
this
.
list
[
this
.
findex
].
HotelOrderList
[
this
.
childIndex
].
NewHotelName
=
ckedObj
.
Name
;
this
.
list
[
this
.
findex
].
HotelOrderList
[
this
.
childIndex
].
Tel
=
ckedObj
.
Tel
;
this
.
list
[
this
.
findex
].
HotelOrderList
[
this
.
childIndex
].
Tel
=
ckedObj
.
Tel
;
...
...
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