| | |
| | | } |
| | | }) |
| | | const basicProp = ref({ |
| | | pageSize : 100,//页面显示数量 |
| | | pageSize : 10000,//页面显示数量 |
| | | pageNum:1,//当前页 |
| | | selectDate:['',''],//查询的日期 |
| | | pageTotal : 0,//总页数 |
| | |
| | | gridOptions.columns = props.childrenData.columns |
| | | getReportData() |
| | | addListener(xGrid.value,gridOptions) |
| | | |
| | | |
| | | }) |
| | | function filterChanged(column){ |
| | | //gridOptions.loading=true |
| | |
| | | </script> |
| | | |
| | | <template> |
| | | <div class="main-div"> |
| | | <div style="width: 100%;height: 100%"> |
| | | <div class="head"> |
| | | <el-date-picker |
| | | v-model="orderInfo.reportFormDate" |
| | | type="daterange" |
| | |
| | | type="primary" |
| | | style="margin-top: -5px" |
| | | :icon="Search">{{$t('basicData.search')}}</el-button> |
| | | <div class="order-detail"> |
| | | </div> |
| | | <div class="main-table"> |
| | | <vxe-grid |
| | | @filter-change="filterChanged" |
| | | height="110%" |
| | | height="100%" |
| | | class="mytable-scrollbar" |
| | | ref="xGrid" |
| | | v-bind="gridOptions" |
| | |
| | | border: none !important; |
| | | background-color: transparent; |
| | | } |
| | | .order-primary{ |
| | | .head{ |
| | | width: 100%; |
| | | height: 35px; |
| | | } |
| | | .order-detail{ |
| | | width: 100%; |
| | | height: calc(100% - 30px); |
| | | |
| | | .main-table{ |
| | | width: 100%; |
| | | height: calc(100% - 35px); |
| | | } |
| | | |
| | | .vxe-grid { |