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
fd19bc41
Commit
fd19bc41
authored
Jun 05, 2019
by
zhengke
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改
parent
b62c23d9
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
18 additions
and
6 deletions
+18
-6
HotelProductManage.vue
src/components/Supplier/HotelProductManage.vue
+2
-4
SupplierIndex.vue
src/components/SupplierIndex.vue
+16
-2
No files found.
src/components/Supplier/HotelProductManage.vue
View file @
fd19bc41
<
template
>
<div
class=
"hotelProductManage2"
>
<div
class=
"hotelProductManage2_btnList"
>
<div
class=
"btn_check"
@
click=
"getMonths()"
>
查询
</div>
<div
class=
"btn_check"
@
click=
"goEdit('1')"
>
批量编辑
</div>
</div>
<div
class=
"hotelProductManage2_condition"
>
<div>
<em>
起始月
</em>
<el-date-picker
v-model=
"condition.month"
type=
"month"
value-format=
"yyyy-MM"
:clearable=
"false"
placeholder=
"选择月"
></el-date-picker>
</div>
<input
type=
"button"
class=
"normalBtn"
value=
"查询"
@
click=
"getMonths()"
/>
<input
type=
"button"
class=
"normalBtn"
value=
"批量编辑"
@
click=
"goEdit('1')"
/>
</div>
<div
class=
"hotelProductManage2_tableBox"
>
<table
class=
"hotelProductManage2_table"
border=
"0"
cellspacing=
"0"
cellpadding=
"0"
>
...
...
src/components/SupplierIndex.vue
View file @
fd19bc41
...
...
@@ -141,7 +141,7 @@
<span
style=
"color:#000000;background-color: #02F78E;padding:2px 4px;border-radius:5px"
>
特别价
</span>
</div>
<template
v-if=
"isShow"
>
<el-table
v-if=
"dataList.length>0"
:data=
"dataList"
style=
"width:100%"
border
v-loading=
'loading'
height=
"500
"
>
<el-table
v-if=
"dataList.length>0"
:data=
"dataList"
style=
"width:100%"
border
v-loading=
'loading'
:height=
"tableHeight
"
>
<el-table-column
fixed
label=
"酒店名称"
min-width=
"180"
>
<template
slot-scope=
"scope"
>
<div
style=
"text-decoration: underline;cursor:pointer"
>
...
...
@@ -316,7 +316,7 @@
allWindowWidth
:
''
,
showPage
:
true
,
tableHeight
:
0
,
msg
:
{
//酒店选择数组
HotelChooseArray
:
[],
...
...
@@ -682,6 +682,16 @@
this
.
loading
=
false
;
});
},
com_onresize
(){
//clientHeight的值由DIV内容的实际高度和CSS中的padding值决定,
var
contentsHeight
=
document
.
body
.
clientHeight
;
var
h
=
contentsHeight
-
50
-
80
;
if
(
h
<
110
){
return
;
}
//设置table的行高
this
.
tableHeight
=
h
;
}
},
mounted
()
{
document
.
title
=
this
.
userInfo
.
GroupName
;
...
...
@@ -697,6 +707,10 @@
this
.
showPage
=
true
;
}
else
{
this
.
showPage
=
false
;
};
this
.
com_onresize
();
window
.
onresize
=
()
=>
{
this
.
com_onresize
();
}
},
watch
:{
...
...
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