修改舱位导出

dev
jianghaiqing 1 month ago
parent 0107432430
commit c54db74205

@ -3902,7 +3902,7 @@ namespace DS.WMS.Core.Op.Method
row = sheet.CreateRow(rowIndex);
}
for (int i = 0; i <= 35; i++)
for (int i = 0; i <= 36; i++)
{
var cell = row.GetCell(i);
if (cell == null)
@ -3963,7 +3963,7 @@ namespace DS.WMS.Core.Op.Method
{
row2 = sheet.CreateRow(rowIndex);
}
for (int i = 36; i <= 42; i++)
for (int i = 37; i <= 43; i++)
{
var cell2 = row2.GetCell(i);
if (cell2 == null)
@ -3972,13 +3972,13 @@ namespace DS.WMS.Core.Op.Method
}
var value2 = i switch
{
36 => saleItem.CustomerName,
37 => saleItem.CustService,
38 => saleItem.Sale,
39 => saleItem.Shipper,
40 => saleItem.GoodsName,
41 => saleItem.SellingPrice?.ToString(),
42 => saleItem.SaleTime?.ToString(dateTimeStr),
37 => saleItem.CustomerName,
38 => saleItem.CustService,
39 => saleItem.Sale,
40 => saleItem.Shipper,
41 => saleItem.GoodsName,
42 => saleItem.SellingPrice?.ToString(),
43 => saleItem.SaleTime?.ToString(dateTimeStr),
_ => ""
};
cell2.SetCellValue(value2);

Loading…
Cancel
Save