入库管理导入bug修改

This commit is contained in:
秦鸿展
2026-01-24 15:45:58 +08:00
parent fea66b5e28
commit 31dae7ecf6
7 changed files with 314 additions and 43 deletions
@@ -122,6 +122,10 @@ public class StockInOrderImportRowDTO {
@Excel(name = "仓库数量")
private BigDecimal warehouseQuantity;
// 支持"入库数量"列名(与"仓库数量"映射到同一个字段)
@Excel(name = "入库数量")
private BigDecimal inboundQuantity;
@Excel(name = "规格型号/ITEM")
private String specificationModel;
@@ -153,21 +157,33 @@ public class StockInOrderImportRowDTO {
// @Excel(name = "出库数量")
private BigDecimal outboundQuantity;
// 模板中没有此字段,注释掉
// @Excel(name = "单位")
@Excel(name = "单位")
private String unit;
// 支持多种列名格式(处理换行符、空格、括号等)
@Excel(name = "总净重(KG)")
private BigDecimal totalNetWeight;
@Excel(name = "总净重\n(KG)")
private BigDecimal totalNetWeight2;
@Excel(name = "总毛重(KG)")
private BigDecimal totalGrossWeight;
@Excel(name = "总毛重 (KG)")
private BigDecimal totalGrossWeight2;
@Excel(name = "总体积(CBM)")
private BigDecimal totalVolume;
@Excel(name = "总体积\n(CBM)")
private BigDecimal totalVolume2;
@Excel(name = "总面积(SQM)")
private BigDecimal totalArea;
@Excel(name = "总面积(SQM)")
private BigDecimal totalArea2;
@Excel(name = "Batch Ref NO's")
private String batchRefNo;