选择工单加分页
This commit is contained in:
@@ -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();
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user