|
|
|
@ -2041,9 +2041,9 @@ namespace DSWeb.MvcShipping.DAL.MsOpSeaeDAL
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
headData.BSSOURCE = headData.BSSOURCE.Trim();
|
|
|
|
|
headData.BSSOURCE = headData.BSSOURCE==null?"": headData.BSSOURCE.Trim();
|
|
|
|
|
|
|
|
|
|
headData.MBLNO = headData.MBLNO.Trim();
|
|
|
|
|
headData.MBLNO = headData.MBLNO == null ? "": headData.MBLNO.Trim();
|
|
|
|
|
headData.SHIPPER = FullWidthToHalfWidth(ToDBC(headData.SHIPPER));
|
|
|
|
|
headData.SHIPPER = DelEndSpace2(headData.SHIPPER);
|
|
|
|
|
headData.CONSIGNEE = FullWidthToHalfWidth(ToDBC(headData.CONSIGNEE));
|
|
|
|
@ -2068,9 +2068,14 @@ namespace DSWeb.MvcShipping.DAL.MsOpSeaeDAL
|
|
|
|
|
if (headData.KGS == "") headData.KGS = "0";
|
|
|
|
|
if (headData.PKGS == "") headData.PKGS = "0";
|
|
|
|
|
if (headData.CBM == "") headData.CBM = "0";
|
|
|
|
|
headData.SALE = headData.SALE.Trim();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
headData.SALE = headData.SALE == null ? "" : headData.SALE.Trim();
|
|
|
|
|
|
|
|
|
|
headData.CUSTSERVICE = headData.CUSTSERVICE==null?"": headData.CUSTSERVICE.Trim();
|
|
|
|
|
headData.DOC = headData.DOC.Trim();
|
|
|
|
|
|
|
|
|
|
headData.DOC = headData.DOC == null ? "" : headData.DOC.Trim();
|
|
|
|
|
|
|
|
|
|
headData.FRCUSTSERVICE = headData.FRCUSTSERVICE == null ? "" : headData.FRCUSTSERVICE.Trim();
|
|
|
|
|
if (headData.CARGOID == "S" || string.IsNullOrEmpty(headData.CARGOID)) {
|
|
|
|
|
headData.DUNNO = "";
|
|
|
|
|