漏组批次统计

This commit is contained in:
wuteng 2025-09-28 17:03:21 +08:00
parent 0d1a88458c
commit 2e97ab5bf1

View File

@ -3,7 +3,7 @@
<SearchForm slot="pageHeader" :model="queryParams" ref="queryForm" size="small" :maxShow="30" label-width="68px"
v-show="showSearch" @search="handleQuery" @reset="resetQuery">
<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>
</el-form-item>
<el-form-item label="起始网点" prop="startSiteCode">
@ -72,12 +72,15 @@ export default {
total: 0,
// TMS漏组批次信息表表格数据
emisTmsSiteBatchMissStatisticsList: [],
// 时间搜索
dateRange:[],
// 查询参数
queryParams: {
pageNum: 1,
pageSize: 20,
billMonth: null,
startSiteCode: null,
startTime: null,
endTime: null,
}
};
@ -90,6 +93,11 @@ export default {
/** 查询TMS漏组批次信息表列表 */
getList() {
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 => {
this.emisTmsSiteBatchMissStatisticsList = response.rows;
this.total = response.total;