搜索条件修改

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

View File

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