|
|
@ -13892,7 +13892,7 @@ namespace DSWeb.MvcShipping.Controllers
|
|
|
|
//20220922
|
|
|
|
//20220922
|
|
|
|
var cdc = new CommonDataContext();
|
|
|
|
var cdc = new CommonDataContext();
|
|
|
|
|
|
|
|
|
|
|
|
var ctnlist = cdc.OP_CTN.Where(x => x.BSNO == item.BSNO).ToList();
|
|
|
|
var ctnlist = MsOpSeaeEdiPortDAL.GetCtnTTLSum("BSNO='"+ item.BSNO + "'");
|
|
|
|
|
|
|
|
|
|
|
|
var 单量 = 0;
|
|
|
|
var 单量 = 0;
|
|
|
|
if (ctnlist == null || ctnlist.Count == 0) {
|
|
|
|
if (ctnlist == null || ctnlist.Count == 0) {
|
|
|
@ -13900,7 +13900,7 @@ namespace DSWeb.MvcShipping.Controllers
|
|
|
|
}
|
|
|
|
}
|
|
|
|
else {
|
|
|
|
else {
|
|
|
|
|
|
|
|
|
|
|
|
单量 = ctnlist.Count;
|
|
|
|
单量 = ctnlist[0].CTNNUM;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
MsChFeeDAL.MakeNewFee(USERID, item.BSNO, VGMPriceInfo.DJYName, "其它", 2, "VGM费", amount * 单量, "单票", 单量);
|
|
|
|
MsChFeeDAL.MakeNewFee(USERID, item.BSNO, VGMPriceInfo.DJYName, "其它", 2, "VGM费", amount * 单量, "单票", 单量);
|
|
|
|