提交代码

This commit is contained in:
高飞 2025-04-02 09:01:49 +08:00
parent c0aa74ef4f
commit 6f8522d2b7
5 changed files with 9 additions and 9 deletions

Binary file not shown.

View File

@ -188,16 +188,16 @@ namespace FineUIPro.Web.WeldMat.Stock
{
stockIn.AttachUrl = att.First().AttachUrl;
}
var mat = from x in Funs.DB.Weld_UsingMat where x.StockInId == this.StockInId select x;
if (mat.Count() > 0)
{
// 焊材已有领用,不更新数量
BLL.StockInService.UpdateStockIn1(stockIn);
}
else
{
//var mat = from x in Funs.DB.Weld_UsingMat where x.StockInId == this.StockInId select x;
//if (mat.Count() > 0)
//{
// // 焊材已有领用,不更新数量
// BLL.StockInService.UpdateStockIn1(stockIn);
//}
//else
//{
BLL.StockInService.UpdateStockIn(stockIn);
}
//}
BLL.Sys_LogService.AddLog(Const.System_7, this.CurrUser.LoginProjectId, this.CurrUser.UserId, "修改焊材入库录入");
}
else