Commit 3e9b709c authored by liudong1993's avatar liudong1993

1

parent e7223959
...@@ -3824,6 +3824,9 @@ namespace REBORN.Module.SellModule ...@@ -3824,6 +3824,9 @@ namespace REBORN.Module.SellModule
//更新 //更新
foreach (var item in updateList) foreach (var item in updateList)
{ {
item.CurrencyId = 1;
item.CurrentRate = 1;
item.Unit_Price = Math.Round(item.Money / (item?.Num ?? 1), 2);
var nmodel = dlist.Where(x => x.Id == item.Id).FirstOrDefault(); var nmodel = dlist.Where(x => x.Id == item.Id).FirstOrDefault();
if (nmodel != null && nmodel.Id > 0) if (nmodel != null && nmodel.Id > 0)
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment