From 202c2b1448654ed23d24e7869264b2bc4113a219 Mon Sep 17 00:00:00 2001
From: jhd <1684074631@qq.com>
Date: Tue, 12 May 2026 18:15:30 +0800
Subject: [PATCH 1/5] =?UTF-8?q?=E6=A3=80=E6=9F=A5=E9=A1=B5=E9=9D=A2?=
=?UTF-8?q?=E4=BC=98=E5=8C=96?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
klp-ui/src/views/mes/qc/template/index.vue | 160 +++++++++++++++++++--
1 file changed, 150 insertions(+), 10 deletions(-)
diff --git a/klp-ui/src/views/mes/qc/template/index.vue b/klp-ui/src/views/mes/qc/template/index.vue
index 666cefc7..8ad4e5de 100644
--- a/klp-ui/src/views/mes/qc/template/index.vue
+++ b/klp-ui/src/views/mes/qc/template/index.vue
@@ -8,6 +8,10 @@
+
+
+
@@ -17,16 +21,28 @@
-
-
-
-
- 修改
- 删除
-
-
-
+
+
+
+
+ 所属单位:{{ item.templateUnit || '-' }}
+
+
{{ item.templateDesc }}
+
+
+
@@ -37,6 +53,9 @@
+
+
+
@@ -180,6 +199,7 @@ export default {
pageNum: 1,
pageSize: 10,
templateName: undefined,
+ templateUnit: undefined,
templateDesc: undefined,
inspectionItem: undefined,
},
@@ -190,6 +210,7 @@ export default {
},
checkItemList: [],
rightLoading: false,
+ isRowClicking: false,
currentTemplate: null,
addItemOpen: false,
addItemForm: {
@@ -220,11 +241,20 @@ export default {
});
},
handleRowClick(row) {
+ if (this.isRowClicking) {
+ this.$message.info('正在查看数据,请稍后');
+ return;
+ }
+ this.isRowClicking = true;
this.currentTemplate = row;
this.rightLoading = true;
getInfoByInspectionItem(row.inspectionItem).then(response => {
this.checkItemList = response.data || [];
this.rightLoading = false;
+ this.isRowClicking = false;
+ }).catch(() => {
+ this.rightLoading = false;
+ this.isRowClicking = false;
});
},
loadAvailableCheckItems() {
@@ -425,3 +455,113 @@ export default {
}
};
+
+
From 27a1232446710c1b069a2abc753386b29ac8816d Mon Sep 17 00:00:00 2001
From: Joshi <3040996759@qq.com>
Date: Wed, 13 May 2026 09:41:56 +0800
Subject: [PATCH 2/5] =?UTF-8?q?fix(api):=20=E4=BF=AE=E5=A4=8D=E7=89=A9?=
=?UTF-8?q?=E6=96=99=E5=8D=B7=E7=BB=9F=E8=AE=A1=E6=8E=A5=E5=8F=A3=E8=AF=B7?=
=?UTF-8?q?=E6=B1=82=E5=8F=82=E6=95=B0=E9=97=AE=E9=A2=98?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
- 为getStatistics方法添加@RequestBody注解以正确接收POST请求参数
- 确保统计接口能够正常处理前端传递的查询条件对象
---
.../main/java/com/klp/controller/WmsMaterialCoilController.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/klp-wms/src/main/java/com/klp/controller/WmsMaterialCoilController.java b/klp-wms/src/main/java/com/klp/controller/WmsMaterialCoilController.java
index 7e760c58..b29bf53f 100644
--- a/klp-wms/src/main/java/com/klp/controller/WmsMaterialCoilController.java
+++ b/klp-wms/src/main/java/com/klp/controller/WmsMaterialCoilController.java
@@ -94,7 +94,7 @@ public class WmsMaterialCoilController extends BaseController {
* 独立的统计接口,使用与分页列表相同的查询条件
*/
@PostMapping("/statisticsList")
- public R