From 5dbeb0481a0961abf5253eddff57cdca499bcf7b Mon Sep 17 00:00:00 2001 From: zhangsiqi <2825463979@qq.com> Date: Mon, 3 Jun 2024 16:03:57 +0800 Subject: [PATCH] =?UTF-8?q?[feat]=E5=B7=A5=E7=A8=8B=E7=AE=A1=E7=90=86:?= =?UTF-8?q?=E4=BF=AE=E6=94=B9=E7=89=A9=E6=96=99=E4=BF=A1=E6=81=AF=E6=98=BE?= =?UTF-8?q?=E7=A4=BA=E6=8E=92=E5=BA=8F=EF=BC=8C=E4=BF=AE=E6=94=B9=E7=89=A9?= =?UTF-8?q?=E6=96=99=E4=BF=A1=E6=81=AF=E6=98=BE=E7=A4=BA=EF=BC=8C=E7=89=A9?= =?UTF-8?q?=E6=96=99=E5=90=8D=E7=A7=B0=E6=94=B9=E4=B8=BA=E5=BF=85=E5=A1=AB?= =?UTF-8?q?=E9=A1=B9=EF=BC=8C=E6=B7=BB=E5=8A=A0=E7=89=A9=E6=96=99=E5=8E=BB?= =?UTF-8?q?=E6=8E=89=E5=93=81=E7=89=8C=E5=BF=85=E5=A1=AB=E9=A1=B9=EF=BC=8C?= =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E3=80=81=E7=BC=96=E8=BE=91=E3=80=81=E5=88=97?= =?UTF-8?q?=E8=A1=A8=E3=80=81=E6=9D=A1=E4=BB=B6=E6=90=9C=E7=B4=A2=E6=A1=86?= =?UTF-8?q?=E5=8E=BB=E9=99=A4=E2=80=9C=E4=BE=9B=E5=BA=94=E5=95=86=E2=80=9D?= =?UTF-8?q?=E7=9B=B8=E5=85=B3=E7=9A=84=E9=A1=B5=E9=9D=A2=E4=BF=A1=E6=81=AF?= =?UTF-8?q?=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/ruoyi/erp/domain/ErpBomImportVo.java | 6 +-- .../system/mapper/SysSupplierMapper.java | 2 +- .../resources/templates/erp/material/add.html | 10 +---- .../templates/erp/material/detail.html | 23 +---------- .../templates/erp/material/edit.html | 37 +++++------------- .../templates/erp/material/material.html | 27 +++++-------- .../erp/material/taskGcjlVerify.html | 26 ++----------- .../erp/material/taskGczgVerify.html | 28 +++----------- .../erp/material/taskModifyApply.html | 38 ++----------------- .../erp/material/taskYfzjVerify.html | 25 ++---------- 10 files changed, 41 insertions(+), 181 deletions(-) diff --git a/ruoyi-admin/src/main/java/com/ruoyi/erp/domain/ErpBomImportVo.java b/ruoyi-admin/src/main/java/com/ruoyi/erp/domain/ErpBomImportVo.java index 4480040b..6739c5a0 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/erp/domain/ErpBomImportVo.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/erp/domain/ErpBomImportVo.java @@ -22,7 +22,7 @@ public class ErpBomImportVo implements Serializable { /** 损耗率 */ @Excel(name = "损耗率",sort = 3) - private BigDecimal lossRate; + private Double lossRate; /** 备注 */ @Excel(name = "备注",sort = 4) @@ -44,11 +44,11 @@ public class ErpBomImportVo implements Serializable { this.useNum = useNum; } - public BigDecimal getLossRate() { + public Double getLossRate() { return lossRate; } - public void setLossRate(BigDecimal lossRate) { + public void setLossRate(Double lossRate) { this.lossRate = lossRate; } diff --git a/ruoyi-admin/src/main/java/com/ruoyi/system/mapper/SysSupplierMapper.java b/ruoyi-admin/src/main/java/com/ruoyi/system/mapper/SysSupplierMapper.java index f5c8cf67..83b34635 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/system/mapper/SysSupplierMapper.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/system/mapper/SysSupplierMapper.java @@ -60,7 +60,7 @@ public interface SysSupplierMapper */ public int deleteSysSupplierByIds(String[] supplierIds); - public List selectSysSupplierBycode(); + public List selectSysSupplierBycode(); /** * 新增物料信息的时候查关联应商信息 diff --git a/ruoyi-admin/src/main/resources/templates/erp/material/add.html b/ruoyi-admin/src/main/resources/templates/erp/material/add.html index 4f556b69..41fa9965 100644 --- a/ruoyi-admin/src/main/resources/templates/erp/material/add.html +++ b/ruoyi-admin/src/main/resources/templates/erp/material/add.html @@ -46,13 +46,6 @@ -
- -
- -
-
@@ -170,7 +163,8 @@ var loginName = [[${@permission.getPrincipalProperty('loginName')}]]; //获取工程员 $(function(){ - $("#businessMembers_add").val(userName); + $("#businessMembers_add").val(loginName); + $("#businessMembers_add").text(userName); supplierName(); engineer(); $("#add-weiwai").hide(); diff --git a/ruoyi-admin/src/main/resources/templates/erp/material/detail.html b/ruoyi-admin/src/main/resources/templates/erp/material/detail.html index cd4b21b0..5bb3aab1 100644 --- a/ruoyi-admin/src/main/resources/templates/erp/material/detail.html +++ b/ruoyi-admin/src/main/resources/templates/erp/material/detail.html @@ -74,8 +74,7 @@
- +
@@ -128,26 +127,6 @@