|
|
@ -2703,52 +2703,52 @@ namespace Myshipping.Application
|
|
|
|
row.CreateCell(_cellNum - 1).SetCellValue(value);
|
|
|
|
row.CreateCell(_cellNum - 1).SetCellValue(value);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
if (name.Split('.')[0].ToLower() == "order" && name.Split('.')[1].ToLower() == "_PKGS"&& _name== "_PKGS")
|
|
|
|
|
|
|
|
|
|
|
|
if (name.Split('.')[0].ToLower() == "order" && name.Split('.')[1].ToLower() == "_PKGS")
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
ICell cell = row.GetCell(_cellNum - 1);
|
|
|
|
|
|
|
|
if (cell != null)
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
row.Cells[_cellNum - 1].SetCellValue(order.PKGS + "("+order.KINDPKGS + ")");
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
else
|
|
|
|
|
|
|
|
{
|
|
|
|
{
|
|
|
|
row.CreateCell(_cellNum - 1).SetCellValue(order.PKGS + "(" + order.KINDPKGS + ")");
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
ICell cell = row.GetCell(_cellNum - 1);
|
|
|
|
if (name.Split('.')[0].ToLower() == "order" && name.Split('.')[1].ToLower() == "_KGS")
|
|
|
|
if (cell != null)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
ICell cell = row.GetCell(_cellNum - 1);
|
|
|
|
row.Cells[_cellNum - 1].SetCellValue(order.PKGS + "(" + order.KINDPKGS + ")");
|
|
|
|
if (cell != null)
|
|
|
|
}
|
|
|
|
{
|
|
|
|
else
|
|
|
|
row.Cells[_cellNum - 1].SetCellValue(order.KGS + "(KGS)");
|
|
|
|
{
|
|
|
|
|
|
|
|
row.CreateCell(_cellNum - 1).SetCellValue(order.PKGS + "(" + order.KINDPKGS + ")");
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
else
|
|
|
|
if (name.Split('.')[0].ToLower() == "order" && name.Split('.')[1].ToLower() == "_KGS"&& _name == "_KGS")
|
|
|
|
{
|
|
|
|
{
|
|
|
|
row.CreateCell(_cellNum - 1).SetCellValue(order.KGS + "(KGS)");
|
|
|
|
ICell cell = row.GetCell(_cellNum - 1);
|
|
|
|
}
|
|
|
|
if (cell != null)
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
row.Cells[_cellNum - 1].SetCellValue(order.KGS + "(KGS)");
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
else
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
row.CreateCell(_cellNum - 1).SetCellValue(order.KGS + "(KGS)");
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
if (name.Split('.')[0].ToLower() == "order" && name.Split('.')[1].ToLower() == "_CBM")
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
ICell cell = row.GetCell(_cellNum - 1);
|
|
|
|
|
|
|
|
if (cell != null)
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
row.Cells[_cellNum - 1].SetCellValue(order.CBM + "(CBM)");
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
else
|
|
|
|
if (name.Split('.')[0].ToLower() == "order" && name.Split('.')[1].ToLower() == "_CBM" && _name == "_CBM")
|
|
|
|
{
|
|
|
|
{
|
|
|
|
row.CreateCell(_cellNum - 1).SetCellValue(order.CBM + "(CBM)");
|
|
|
|
ICell cell = row.GetCell(_cellNum - 1);
|
|
|
|
|
|
|
|
if (cell != null)
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
row.Cells[_cellNum - 1].SetCellValue(order.CBM + "(CBM)");
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
else
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
row.CreateCell(_cellNum - 1).SetCellValue(order.CBM + "(CBM)");
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
if (name.Split('.')[0].ToLower() == "edi")
|
|
|
|
if (name.Split('.')[0].ToLower() == "edi")
|
|
|
|