|
@@ -3,7 +3,7 @@
|
|
<a-spin :spinning="spinning" tip="Loading...">
|
|
<a-spin :spinning="spinning" tip="Loading...">
|
|
<a-tabs default-active-key="1" @change="handleChange" :tabBarStyle="{'background':'#fff'}">
|
|
<a-tabs default-active-key="1" @change="handleChange" :tabBarStyle="{'background':'#fff'}">
|
|
<a-tab-pane key="1" tab="促销销售单报表">
|
|
<a-tab-pane key="1" tab="促销销售单报表">
|
|
- <a-card size="small" :bordered="false" class="promotionSalesRealTimeReport-wrap searchBottomSpace">
|
|
|
|
|
|
+ <a-card size="small" :bordered="false" class="promotionSalesRealTimeReport-wrap searchBoxNormal">
|
|
<div ref="tableSearch" class="table-page-search-wrapper newTableSearchName">
|
|
<div ref="tableSearch" class="table-page-search-wrapper newTableSearchName">
|
|
<a-form-model
|
|
<a-form-model
|
|
layout="inline"
|
|
layout="inline"
|
|
@@ -107,13 +107,14 @@
|
|
<!-- 列表 -->
|
|
<!-- 列表 -->
|
|
<a-card size="small" :bordered="false">
|
|
<a-card size="small" :bordered="false">
|
|
<s-table
|
|
<s-table
|
|
- class="sTable"
|
|
|
|
|
|
+ class="sTable fixPagination"
|
|
ref="table"
|
|
ref="table"
|
|
size="small"
|
|
size="small"
|
|
:rowKey="(record) => record.no"
|
|
:rowKey="(record) => record.no"
|
|
rowKeyName="no"
|
|
rowKeyName="no"
|
|
:columns="columns"
|
|
:columns="columns"
|
|
:data="loadData"
|
|
:data="loadData"
|
|
|
|
+ :pageSize="30"
|
|
:style="{ height: tableHeight+84.5+'px' }"
|
|
:style="{ height: tableHeight+84.5+'px' }"
|
|
:scroll="{ x:1890,y: tableHeight-34}"
|
|
:scroll="{ x:1890,y: tableHeight-34}"
|
|
:defaultLoadData="false"
|
|
:defaultLoadData="false"
|
|
@@ -400,7 +401,7 @@ export default {
|
|
},
|
|
},
|
|
setTableH () {
|
|
setTableH () {
|
|
const tableSearchH = this.$refs.tableSearch.offsetHeight
|
|
const tableSearchH = this.$refs.tableSearch.offsetHeight
|
|
- this.tableHeight = window.innerHeight - tableSearchH - 280
|
|
|
|
|
|
+ this.tableHeight = window.innerHeight - tableSearchH - 260
|
|
}
|
|
}
|
|
},
|
|
},
|
|
watch: {
|
|
watch: {
|
|
@@ -438,6 +439,11 @@ export default {
|
|
text-align:center;
|
|
text-align:center;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
+ .promotionSalesRealTimeReport-wrap{
|
|
|
|
+ /deep/ .ant-card-body:first-child{
|
|
|
|
+ padding-bottom: 0;
|
|
|
|
+ }
|
|
|
|
+ }
|
|
.ant-tabs-tabpane.ant-tabs-tabpane-active{
|
|
.ant-tabs-tabpane.ant-tabs-tabpane-active{
|
|
margin-top:-11px !important;
|
|
margin-top:-11px !important;
|
|
}
|
|
}
|