领料单查询

This commit is contained in:
zzyuan 2025-07-11 10:27:40 +08:00
parent ce8df92609
commit 8d1e157bd2
1 changed files with 10 additions and 9 deletions

View File

@ -15,8 +15,8 @@
:picker-options="pickerOptions" > :picker-options="pickerOptions" >
</el-date-picker> </el-date-picker>
</el-form-item> </el-form-item>
<el-form-item label="关键字" prop="searchValue"> <el-form-item label="关键字" prop="fetchMaterialId">
<el-input v-model="queryParams.searchValue" placeholder="请输入领料单号,标题" maxlength="20" clearable style="width: 240px"/> <el-input v-model="queryParams.fetchMaterialId" placeholder="请输入领料单号,标题" maxlength="20" clearable style="width: 240px"/>
</el-form-item> </el-form-item>
<el-form-item label="提交状态" prop="commitStatus"> <el-form-item label="提交状态" prop="commitStatus">
<el-select v-model="queryParams.commitStatus" placeholder="请选择提交状态" style="width: 240px;"> <el-select v-model="queryParams.commitStatus" placeholder="请选择提交状态" style="width: 240px;">
@ -301,6 +301,7 @@ export default {
let param = { let param = {
"pageNum": this.queryParams.pageNum, "pageNum": this.queryParams.pageNum,
"pageSize": this.queryParams.pageSize, "pageSize": this.queryParams.pageSize,
"fetchMaterialId": this.queryParams.fetchMaterialId,
"fetchMaterialCode": this.queryParams.fetchMaterialCode, "fetchMaterialCode": this.queryParams.fetchMaterialCode,
"areaId": this.queryParams.areaId, "areaId": this.queryParams.areaId,
"canteenId": this.queryParams.canteenId, "canteenId": this.queryParams.canteenId,
@ -308,13 +309,13 @@ export default {
"commitStatus": this.queryParams.commitStatus, "commitStatus": this.queryParams.commitStatus,
// "approveStatus": this.queryParams.approveStatus // "approveStatus": this.queryParams.approveStatus
} }
// if(this.dateRange&&this.dateRange.length>0){ if(this.dateRange&&this.dateRange.length>0){
// param.startTime=this.formatDate(this.dateRange[0]) param.startTime=this.formatDate(this.dateRange[0])
// param.endTime=this.formatDate(this.dateRange[1]) param.endTime=this.formatDate(this.dateRange[1])
// }else{ }else{
// param.startTime=undefined; param.startTime=undefined;
// param.endTime=undefined; param.endTime=undefined;
// } }
fetchMaterialPageApi(param).then(response => { fetchMaterialPageApi(param).then(response => {
this.tableListData = response.rows; this.tableListData = response.rows;
this.total = Number(response.total); this.total = Number(response.total);