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 @@