dengyu 3 weeks ago
parent 5ccc127867
commit 2ee5d06404

@ -4239,7 +4239,7 @@ namespace DSWeb.Areas.Dispatch.Controllers
{
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;
}
@ -4309,15 +4309,19 @@ namespace DSWeb.Areas.Dispatch.Controllers
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 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();
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(chfeeDelBodyList)
);

@ -567,7 +567,7 @@ namespace DSWeb.MvcShipping.Models.MsChFee
[JsonObject]
public class MsOrderFee : MsChFee
{
public MsOrderFee ( )
public MsOrderFee ()
{
TableName = "ch_fee_order";
}

Loading…
Cancel
Save