搜索条件修改

This commit is contained in:
zzyuan 2025-07-10 16:14:10 +08:00
parent ddbd6f360b
commit a7f7503897
2 changed files with 5 additions and 8 deletions

View File

@ -39,14 +39,14 @@
style="width: 240px" style="width: 240px"
/> />
</el-form-item> </el-form-item>
<el-form-item label="条码" prop="barCode"> <!-- <el-form-item label="条码" prop="barCode">
<el-input <el-input
v-model="queryParams.barCode" v-model="queryParams.barCode"
placeholder="请输入条码" placeholder="请输入条码"
clearable maxlength="30" clearable maxlength="30"
style="width: 240px" style="width: 240px"
/> />
</el-form-item> </el-form-item> -->
<el-form-item> <el-form-item>
<el-button type="primary" icon="el-icon-search" size="mini" @click="handleQuery">搜索</el-button> <el-button type="primary" icon="el-icon-search" size="mini" @click="handleQuery">搜索</el-button>
@ -227,8 +227,7 @@ export default {
"areaId": this.queryParams.areaId, "areaId": this.queryParams.areaId,
"warehouseId": this.queryParams.warehouseId, "warehouseId": this.queryParams.warehouseId,
"materialTypeIds": this.queryParams.materialTypeIds, "materialTypeIds": this.queryParams.materialTypeIds,
"materialName": this.queryParams.materialName, "materialName": this.queryParams.materialName
"barCode": this.queryParams.barCode,
} }
getStockMaterialListApi(param).then(response => { getStockMaterialListApi(param).then(response => {
this.tableListData = response.rows; this.tableListData = response.rows;

View File

@ -285,11 +285,9 @@ export default {
"pageSize": this.queryParams.pageSize, "pageSize": this.queryParams.pageSize,
"intoCode": this.queryParams.intoCode, "intoCode": this.queryParams.intoCode,
"areaId": this.queryParams.areaId, "areaId": this.queryParams.areaId,
"canteenId": this.queryParams.canteenId, "warehouseId": this.queryParams.warehouseId,
"stallId": this.queryParams.stallId,
"status": this.queryParams.status, "status": this.queryParams.status,
"supplierConfirmStatus": this.queryParams.supplierConfirmStatus, "intoType": this.queryParams.intoType
// "intoType": this.queryParams.intoType
} }
if(this.dateRange&&this.dateRange.length>0){ if(this.dateRange&&this.dateRange.length>0){
param.startDateTime=this.formatDateTime(this.dateRange[0]) param.startDateTime=this.formatDateTime(this.dateRange[0])