|
|
@ -4239,7 +4239,7 @@ namespace DSWeb.Areas.Dispatch.Controllers
|
|
|
|
{
|
|
|
|
{
|
|
|
|
ysamount += ys.Amount * ys.ExChangerate;
|
|
|
|
ysamount += ys.Amount * ys.ExChangerate;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
foreach (var yf in evList.Where(x => x.FeeType == 1))
|
|
|
|
foreach (var yf in evList.Where(x => x.FeeType == 2))
|
|
|
|
{
|
|
|
|
{
|
|
|
|
yfamount += yf.Amount * yf.ExChangerate;
|
|
|
|
yfamount += yf.Amount * yf.ExChangerate;
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -4309,15 +4309,19 @@ namespace DSWeb.Areas.Dispatch.Controllers
|
|
|
|
|
|
|
|
|
|
|
|
var aaa = "";
|
|
|
|
var aaa = "";
|
|
|
|
|
|
|
|
|
|
|
|
var saveinfo = JsonConvert.DeserializeObject<SaveOrderFeeListParam>(postContent);
|
|
|
|
var saveinfo = DSWeb.MvcShipping.Helper.JsonConvert.Deserialize<SaveOrderFeeListParam>(postContent);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
foreach (var item in saveinfo.Body) {
|
|
|
|
|
|
|
|
item.TableName = "ch_fee_order";
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
var bodyList = saveinfo.Body;
|
|
|
|
var bodyList = saveinfo.Body;
|
|
|
|
|
|
|
|
|
|
|
|
var chfeeBodyList = bodyList;
|
|
|
|
var chfeeBodyList = bodyList;
|
|
|
|
var chfeeDelBodyList = JsonConvert.DeserializeObject<List<MsOrderFee>>("");
|
|
|
|
var chfeeDelBodyList = DSWeb.MvcShipping.Helper.JsonConvert.Deserialize<List<MsOrderFee>>("");
|
|
|
|
|
|
|
|
|
|
|
|
var modb = new DSWeb.TruckMng.Helper.Repository.ModelObjectRepository();
|
|
|
|
var modb = new DSWeb.TruckMng.Helper.Repository.ModelObjectRepository();
|
|
|
|
DBResult result = modb.SaveComm("BsNo", QueryInfo.bsno,
|
|
|
|
DBResult result = modb.SaveComm("BsNo", saveinfo.bsno,
|
|
|
|
DSWeb.MvcShipping.Helper.ModelObjectConvert<MsOrderFee>.ToModelObjectList(chfeeBodyList),
|
|
|
|
DSWeb.MvcShipping.Helper.ModelObjectConvert<MsOrderFee>.ToModelObjectList(chfeeBodyList),
|
|
|
|
DSWeb.MvcShipping.Helper.ModelObjectConvert<MsOrderFee>.ToModelObjectList(chfeeDelBodyList)
|
|
|
|
DSWeb.MvcShipping.Helper.ModelObjectConvert<MsOrderFee>.ToModelObjectList(chfeeDelBodyList)
|
|
|
|
);
|
|
|
|
);
|
|
|
|