From 0d470f77d819354e297431be87b686c24e802db9 Mon Sep 17 00:00:00 2001 From: zds <2388969634@qq.com> Date: Fri, 23 Aug 2024 13:44:00 +0800 Subject: [PATCH] =?UTF-8?q?opt:=E6=8A=A5=E8=A1=A8=E6=9F=A5=E8=AF=A2?= =?UTF-8?q?=E4=BC=98=E5=8C=96=EF=BC=8C=E5=85=A5=E5=BA=93=E6=8E=A5=E5=8F=A3?= =?UTF-8?q?=E5=8A=A0=E5=88=9B=E5=BB=BA=E6=97=B6=E9=97=B4=E5=AD=97=E6=AE=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../nl/wms/mes/controller/MesController.java | 1 + .../sch/material/service/dao/Material.java | 2 + .../service/dao/mapper/ReportMapper.xml | 29 +- .../views/wms/sch/material/MaterialDialog.vue | 166 ----------- .../wms/sch/material/WorkOrderDialog.vue | 153 ----------- .../src/views/wms/sch/material/index.vue | 258 +----------------- .../src/views/wms/sch/material/material.js | 35 --- .../src/views/wms/sch/report/index.vue | 5 +- 8 files changed, 28 insertions(+), 621 deletions(-) delete mode 100644 lms/nladmin-ui/src/views/wms/sch/material/MaterialDialog.vue delete mode 100644 lms/nladmin-ui/src/views/wms/sch/material/WorkOrderDialog.vue delete mode 100644 lms/nladmin-ui/src/views/wms/sch/material/material.js diff --git a/lms/nladmin-system/nlsso-server/src/main/java/org/nl/wms/mes/controller/MesController.java b/lms/nladmin-system/nlsso-server/src/main/java/org/nl/wms/mes/controller/MesController.java index 9ccf3c3..3980b57 100644 --- a/lms/nladmin-system/nlsso-server/src/main/java/org/nl/wms/mes/controller/MesController.java +++ b/lms/nladmin-system/nlsso-server/src/main/java/org/nl/wms/mes/controller/MesController.java @@ -77,6 +77,7 @@ public class MesController { for(QPMES060RequestBody QPMES060RequestBody:notice.toJavaObject(QPMES060Request.class).getBODY()) { material.copyFrom(QPMES060RequestBody); material.setGroup_bind_material_status(GroupBindMaterialStatusEnum.BOUND.getValue()); + material.setCreate_time(DateUtil.now()); materialMapper.insert(material); } qpmes060ResponseBody.setMESSAGE("原材料入库成功"); diff --git a/lms/nladmin-system/nlsso-server/src/main/java/org/nl/wms/sch/material/service/dao/Material.java b/lms/nladmin-system/nlsso-server/src/main/java/org/nl/wms/sch/material/service/dao/Material.java index 9a29d0e..6a0d439 100644 --- a/lms/nladmin-system/nlsso-server/src/main/java/org/nl/wms/sch/material/service/dao/Material.java +++ b/lms/nladmin-system/nlsso-server/src/main/java/org/nl/wms/sch/material/service/dao/Material.java @@ -68,6 +68,8 @@ public class Material implements Serializable { private String weightCoefficientValue; @ApiModelProperty(value = "线径") private String lineDiameter; + @ApiModelProperty(value = "操作时间") + private String create_time; public void copyFrom(QPMES060RequestBody source){ diff --git a/lms/nladmin-system/nlsso-server/src/main/java/org/nl/wms/sch/report/service/dao/mapper/ReportMapper.xml b/lms/nladmin-system/nlsso-server/src/main/java/org/nl/wms/sch/report/service/dao/mapper/ReportMapper.xml index bc2871a..ca39f15 100644 --- a/lms/nladmin-system/nlsso-server/src/main/java/org/nl/wms/sch/report/service/dao/mapper/ReportMapper.xml +++ b/lms/nladmin-system/nlsso-server/src/main/java/org/nl/wms/sch/report/service/dao/mapper/ReportMapper.xml @@ -3,22 +3,23 @@