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