选择工单加分页

This commit is contained in:
2025-11-29 14:43:51 +08:00
parent 99656465e2
commit 4390305035
9 changed files with 586 additions and 240 deletions

View File

@@ -202,6 +202,8 @@ export default {
open: false,
// 查询参数
queryParams: {
pageNum: 1,
pageSize: 10,
workorderCode: null,
workorderName: null,
workorderType: null,
@@ -237,17 +239,43 @@ export default {
//2024 12 19 需求五
// console.log("response.rows 新增 炉号和班组两个字段 ⬇️");
// console.log(response.rows);
this.total = response.total;
this.workorderList = response.rows;
this.loading = false;
});
},
/** 搜索按钮操作 */
handleQuery() {
this.queryParams.pageNum = 1;
this.getList();
},
/** 重置按钮操作 */
resetQuery() {
this.queryParams = {
pageNum: 1,
pageSize: 10,
workorderCode: null,
workorderName: null,
workorderType: null,
orderSource: null,
sourceCode: null,
productId: null,
productCode: null,
productName: null,
productSpc: null,
unitOfMeasure: null,
quantity: null,
quantityProduced: null,
quantityChanged: null,
quantityScheduled: null,
clientId: null,
clientCode: null,
clientName: null,
requestDate: null,
parentId: null,
ancestors: null,
status: "CONFIRMED",
};
this.resetForm("queryForm");
this.handleQuery();
},