提交代码
This commit is contained in:
parent
c0aa74ef4f
commit
6f8522d2b7
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue