抓取生产工单,抓取发料异常

This commit is contained in:
hjq
2026-06-12 11:09:40 +08:00
parent c5232bccc1
commit 2e16425cb5

View File

@@ -66,6 +66,9 @@
<el-form-item label="物料名称"> <el-form-item label="物料名称">
<el-input v-model="searchForm.material_name" placeholder="支持模糊搜索" clearable></el-input> <el-input v-model="searchForm.material_name" placeholder="支持模糊搜索" clearable></el-input>
</el-form-item> </el-form-item>
<el-form-item label="物料代码">
<el-input v-model="searchForm.material_code" placeholder="支持精确/模糊搜索" clearable></el-input>
</el-form-item>
<el-form-item label="采购订单号"> <el-form-item label="采购订单号">
<el-input v-model="searchForm.po_code" placeholder="支持模糊搜索" clearable></el-input> <el-input v-model="searchForm.po_code" placeholder="支持模糊搜索" clearable></el-input>
</el-form-item> </el-form-item>
@@ -129,7 +132,8 @@
searchForm: { searchForm: {
supplier_name: '', supplier_name: '',
material_name: '', material_name: '',
po_code: '' po_code: '',
material_code: ''
} }
} }
}, },
@@ -152,7 +156,8 @@
limit: this.pageSize, limit: this.pageSize,
supplier_name: this.searchForm.supplier_name, supplier_name: this.searchForm.supplier_name,
material_name: this.searchForm.material_name, material_name: this.searchForm.material_name,
po_code: this.searchForm.po_code po_code: this.searchForm.po_code,
material_code: this.searchForm.material_code
}); });
axios.get(`/api/receipts?${params.toString()}`) axios.get(`/api/receipts?${params.toString()}`)
@@ -175,7 +180,8 @@
this.searchForm = { this.searchForm = {
supplier_name: '', supplier_name: '',
material_name: '', material_name: '',
po_code: '' po_code: '',
material_code: ''
}; };
this.currentPage = 1; this.currentPage = 1;
this.fetchData(); this.fetchData();