漏组批次统计
This commit is contained in:
parent
0d1a88458c
commit
2e97ab5bf1
@ -3,7 +3,7 @@
|
|||||||
<SearchForm slot="pageHeader" :model="queryParams" ref="queryForm" size="small" :maxShow="30" label-width="68px"
|
<SearchForm slot="pageHeader" :model="queryParams" ref="queryForm" size="small" :maxShow="30" label-width="68px"
|
||||||
v-show="showSearch" @search="handleQuery" @reset="resetQuery">
|
v-show="showSearch" @search="handleQuery" @reset="resetQuery">
|
||||||
<el-form-item label="月份" prop="billMonth">
|
<el-form-item label="月份" prop="billMonth">
|
||||||
<el-date-picker type="month" value-format="yyyy-MM" v-model="queryParams.billMonth"
|
<el-date-picker type="monthrange" value-format="yyyy-MM" v-model="dateRange"
|
||||||
placeholder="请选择月份"></el-date-picker>
|
placeholder="请选择月份"></el-date-picker>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="起始网点" prop="startSiteCode">
|
<el-form-item label="起始网点" prop="startSiteCode">
|
||||||
@ -72,12 +72,15 @@ export default {
|
|||||||
total: 0,
|
total: 0,
|
||||||
// TMS漏组批次信息表表格数据
|
// TMS漏组批次信息表表格数据
|
||||||
emisTmsSiteBatchMissStatisticsList: [],
|
emisTmsSiteBatchMissStatisticsList: [],
|
||||||
|
// 时间搜索
|
||||||
|
dateRange:[],
|
||||||
// 查询参数
|
// 查询参数
|
||||||
queryParams: {
|
queryParams: {
|
||||||
pageNum: 1,
|
pageNum: 1,
|
||||||
pageSize: 20,
|
pageSize: 20,
|
||||||
billMonth: null,
|
|
||||||
startSiteCode: null,
|
startSiteCode: null,
|
||||||
|
startTime: null,
|
||||||
|
endTime: null,
|
||||||
|
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
@ -90,6 +93,11 @@ export default {
|
|||||||
/** 查询TMS漏组批次信息表列表 */
|
/** 查询TMS漏组批次信息表列表 */
|
||||||
getList() {
|
getList() {
|
||||||
this.loading = true;
|
this.loading = true;
|
||||||
|
this.queryParams = this.addDateRange(this.queryParams, this.dateRange);
|
||||||
|
if (this.dateRange.length > 0) {
|
||||||
|
this.queryParams.startTime = this.queryParams.params.beginTime;
|
||||||
|
this.queryParams.endTime = this.queryParams.params.endTime;
|
||||||
|
}
|
||||||
emisTmsSiteBatchMissStatistics(this.queryParams).then(response => {
|
emisTmsSiteBatchMissStatistics(this.queryParams).then(response => {
|
||||||
this.emisTmsSiteBatchMissStatisticsList = response.rows;
|
this.emisTmsSiteBatchMissStatisticsList = response.rows;
|
||||||
this.total = response.total;
|
this.total = response.total;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user