diff --git a/DSWeb/Areas/MvcShipping/Helper/DingTalkHelper.cs b/DSWeb/Areas/MvcShipping/Helper/DingTalkHelper.cs index 53b177d6..db59992b 100644 --- a/DSWeb/Areas/MvcShipping/Helper/DingTalkHelper.cs +++ b/DSWeb/Areas/MvcShipping/Helper/DingTalkHelper.cs @@ -1770,7 +1770,7 @@ namespace DSWeb.Areas.MvcShipping.Helper //20230209 根据明细数据重新计算头表数据 var 件数 = updwmsinlist.Sum(s => s.GOODSPACK); - //var 重量 = updwmsinlist.Sum(s => s.GOODSKGS); + var 重量 = updwmsinlist.Sum(s => s.GOODSKGS); var 入库量 = updwmsinlist.Sum(s => s.GOODSRKSL); var 尺码 = updwmsinlist.Sum(s => s.CHIMA1); @@ -1781,6 +1781,7 @@ namespace DSWeb.Areas.MvcShipping.Helper wms.GOODSRKSL = 入库量; wms.GOODSRKSLACTUAL = 入库量; wms.GOODSSTOCK = 入库量; + wms.GOODSKGS = 重量; cdc.wms.AddOrUpdate(wms);