|
@@ -1,50 +1,37 @@
|
|
|
<template>
|
|
|
<div class="page-header-index-wide">
|
|
|
- <a-card title="仓库出库入库数据月统计报表" :loading="loading" v-show="visible" :bordered="false" :body-style="{padding: '0'}">
|
|
|
+ <a-card title="仓库出入库月统计报表" :loading="loading" v-show="visible" :bordered="false" :body-style="{padding: '0'}">
|
|
|
<div class="salesCard">
|
|
|
<a-tabs default-active-key="1" size="large" :tab-bar-style="{marginBottom: '24px', paddingLeft: '16px'}">
|
|
|
<div class="extra-wrapper" slot="tabBarExtraContent">
|
|
|
- <a-row>
|
|
|
- <a-col :md="3" :sm="24">
|
|
|
- <a-month-picker
|
|
|
- style="margin-left: 8px"
|
|
|
- :default-value="moment(defaultStartMonth, monthFormat)"
|
|
|
- :format="monthFormat"
|
|
|
- v-model="queryParam.startMonth"
|
|
|
- placeholder="开始月份"
|
|
|
- @change="onStartChange" /></a-col>
|
|
|
- <a-col :md="3" :sm="24">
|
|
|
- <a-month-picker
|
|
|
- style="margin-left: 8px"
|
|
|
- :default-value="moment(defaultEndMonth, monthFormat)"
|
|
|
- :format="monthFormat"
|
|
|
- v-model="queryParam.endMonth"
|
|
|
- placeholder="结束月份"
|
|
|
- @change="onEndChange" /></a-col>
|
|
|
-
|
|
|
- <a-col :md="6" :sm="24">
|
|
|
- <a-tree-select
|
|
|
- style="width: 100%"
|
|
|
- :dropdownStyle="{ maxHeight: '400px', overflow: 'auto' }"
|
|
|
- :treeData="storeTreeData"
|
|
|
- :treeNodeFilterProp="'name'"
|
|
|
- :showSearch="true"
|
|
|
- v-decorator="['storeId']"
|
|
|
- v-model="queryParam.storeId"
|
|
|
- placeholder="仓库类型"
|
|
|
- >
|
|
|
- </a-tree-select>
|
|
|
- </a-col>
|
|
|
- <a-col :md="2" :sm="24">
|
|
|
- <a-button style="margin-left: 8px" type="default" @click="getData()">查询</a-button>
|
|
|
- </a-col>
|
|
|
- <a-col :md="2" :sm="24">
|
|
|
- <a-button style="margin-left: 8px" type="primary" @click="handlePrint()">打印</a-button>
|
|
|
- </a-col>
|
|
|
- <a-col :md="2" :sm="24">
|
|
|
- <a-button style="margin-left: 8px" type="primary" @click="doExport()">导出</a-button>
|
|
|
- </a-col>
|
|
|
- </a-row>
|
|
|
+ <a-month-picker
|
|
|
+ style="margin-left: 8px"
|
|
|
+ :default-value="moment(defaultStartMonth, monthFormat)"
|
|
|
+ :format="monthFormat"
|
|
|
+ v-model="queryParam.startMonth"
|
|
|
+ placeholder="开始月份"
|
|
|
+ @change="onStartChange" />
|
|
|
+ <a-month-picker
|
|
|
+ style="margin-left: 8px"
|
|
|
+ :default-value="moment(defaultEndMonth, monthFormat)"
|
|
|
+ :format="monthFormat"
|
|
|
+ v-model="queryParam.endMonth"
|
|
|
+ placeholder="结束月份"
|
|
|
+ @change="onEndChange" />
|
|
|
+<!-- <a-tree-select
|
|
|
+ style="margin-left: 8px;width: 100%"
|
|
|
+ :dropdownStyle="{ maxHeight: '400px', overflow: 'auto' }"
|
|
|
+ :treeData="storeTreeData"
|
|
|
+ :treeNodeFilterProp="'name'"
|
|
|
+ :showSearch="true"
|
|
|
+ v-decorator="['storeId']"
|
|
|
+ v-model="queryParam.storeId"
|
|
|
+ placeholder="仓库类型"
|
|
|
+ >
|
|
|
+ </a-tree-select>-->
|
|
|
+ <a-button style="margin-left: 8px" type="default" @click="getData()">查询</a-button>
|
|
|
+ <a-button style="margin-left: 8px" type="primary" @click="handlePrint()">打印</a-button>
|
|
|
+ <a-button style="margin-left: 8px" type="primary" @click="doExport()">导出</a-button>
|
|
|
</div>
|
|
|
<a-tab-pane loading="true" tab="图形统计" key="1">
|
|
|
<a-row>
|