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
e12d8cf4
Commit
e12d8cf4
authored
Jun 19, 2019
by
zhengke
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改订房查询
parent
10c69920
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
70 additions
and
5 deletions
+70
-5
roomQuery2.vue
src/components/Supplier/roomQuery2.vue
+70
-5
No files found.
src/components/Supplier/roomQuery2.vue
View file @
e12d8cf4
...
@@ -36,8 +36,18 @@
...
@@ -36,8 +36,18 @@
</tr>
</tr>
<tbody
v-for=
"(item,index) in dataList"
>
<tbody
v-for=
"(item,index) in dataList"
>
<tr>
<tr>
<td>
<td
style=
"position:relative;"
>
{{
item
.
NewCombinationNum
}}
{{
item
.
NewCombinationNum
}}
<div
class=
"Add_triangle"
v-if=
"item.IsBookTeam==1&&todayDate==getDateYear(item.HotelBookTimeStr)"
></div>
{{
item
.
IsBookTeam
}}
{{
item
.
HotelBookTimeStr
}}
<div
class=
"rQ_HtList"
>
<span></span>
<span></span>
<span></span>
<span></span>
<span></span>
</div>
</td>
</td>
<td>
<td>
{{
item
.
TCNUMS
}}
(
{{
item
.
TCID
}}
)
{{
item
.
TCNUMS
}}
(
{{
item
.
TCID
}}
)
...
@@ -135,16 +145,16 @@
...
@@ -135,16 +145,16 @@
<el-popover
placement=
"bottom"
width=
"400"
trigger=
"click"
popper-class=
"rq_HotelDetails"
>
<el-popover
placement=
"bottom"
width=
"400"
trigger=
"click"
popper-class=
"rq_HotelDetails"
>
<table>
<table>
<tr>
<tr>
<td>
<td
class=
"SP_RemarkTitle"
>
备注:
备注:
</td>
</td>
<td>
<td>
<el-input
class=
'
mt10
'
v-model=
'RemarkObj.SupplierToDmcRemarks'
type=
'textarea'
></el-input>
<el-input
class=
'
w320 SupplierRemarks
'
v-model=
'RemarkObj.SupplierToDmcRemarks'
type=
'textarea'
></el-input>
</td>
</td>
</tr>
</tr>
<tr>
<tr>
<td
colspan=
"2"
>
<td
colspan=
"2"
>
<input
type=
"button"
value=
"保存"
@
click=
"saveSupplierToDmcRemarks"
class=
"normalBtn"
/>
<input
type=
"button"
value=
"保存"
@
click=
"saveSupplierToDmcRemarks"
class=
"normalBtn
SaveR_Btn
"
/>
</td>
</td>
</tr>
</tr>
</table>
</table>
...
@@ -217,6 +227,9 @@
...
@@ -217,6 +227,9 @@
HotelId
:
0
,
HotelId
:
0
,
TCID
:
0
TCID
:
0
},
},
//是否为今天
isToday
:
false
,
todayDate
:
''
,
}
}
},
},
methods
:
{
methods
:
{
...
@@ -291,9 +304,24 @@
...
@@ -291,9 +304,24 @@
this
.
loading
=
false
;
this
.
loading
=
false
;
});
});
},
},
timeAdd0
(
str
)
{
if
(
str
.
length
<=
1
){
str
=
'0'
+
str
;
}
return
str
},
//提取年月日
getDateYear
(
date
){
return
date
.
split
(
' '
)[
0
];
}
},
},
mounted
()
{
mounted
()
{
this
.
UserInfo
=
this
.
getLocalStorageSupplier
();
this
.
UserInfo
=
this
.
getLocalStorageSupplier
();
//获取当前日期
var
nowMonth
=
(
new
Date
().
getMonth
()
+
1
).
toString
()
var
nowDay
=
new
Date
().
getDate
().
toString
();
this
.
todayDate
=
new
Date
().
getFullYear
()
+
'-'
+
this
.
timeAdd0
(
nowMonth
)
+
'-'
+
this
.
timeAdd0
(
nowDay
);
this
.
getList
();
this
.
getList
();
},
},
}
}
...
@@ -423,5 +451,42 @@
...
@@ -423,5 +451,42 @@
position
:
relative
;
position
:
relative
;
top
:
3px
;
top
:
3px
;
}
}
.SupplierRemarks
.el-textarea__inner
{
height
:
75px
;
}
.SP_RemarkTitle
{
vertical-align
:
top
;
padding-top
:
5px
;
}
.SaveR_Btn
{
margin
:
10px
0
0
155px
;
}
.Add_triangle
{
width
:
0
;
height
:
0
;
position
:
absolute
;
left
:
0
;
top
:
0
;
border-style
:
solid
;
border-width
:
40px
40px
0
0
;
border-color
:
red
transparent
transparent
}
.Add_triangle
::after
{
content
:
'新增'
;
position
:
absolute
;
top
:
-35px
;
right
:
-27px
;
white-space
:
nowrap
;
color
:
#FFFFFF
;
font-size
:
12px
;
}
.rQ_HtList
{
margin-top
:
10px
;
}
.rQ_HtList
span
{
display
:
inline-block
;
width
:
15px
;
height
:
15px
;
border
:
1px
solid
#d1d1d1
;
}
</
style
>
</
style
>
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