提交代码
This commit is contained in:
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;
|
stockIn.AttachUrl = att.First().AttachUrl;
|
||||||
}
|
}
|
||||||
var mat = from x in Funs.DB.Weld_UsingMat where x.StockInId == this.StockInId select x;
|
//var mat = from x in Funs.DB.Weld_UsingMat where x.StockInId == this.StockInId select x;
|
||||||
if (mat.Count() > 0)
|
//if (mat.Count() > 0)
|
||||||
{
|
//{
|
||||||
// 焊材已有领用,不更新数量
|
// // 焊材已有领用,不更新数量
|
||||||
BLL.StockInService.UpdateStockIn1(stockIn);
|
// BLL.StockInService.UpdateStockIn1(stockIn);
|
||||||
}
|
//}
|
||||||
else
|
//else
|
||||||
{
|
//{
|
||||||
BLL.StockInService.UpdateStockIn(stockIn);
|
BLL.StockInService.UpdateStockIn(stockIn);
|
||||||
}
|
//}
|
||||||
BLL.Sys_LogService.AddLog(Const.System_7, this.CurrUser.LoginProjectId, this.CurrUser.UserId, "修改焊材入库录入");
|
BLL.Sys_LogService.AddLog(Const.System_7, this.CurrUser.LoginProjectId, this.CurrUser.UserId, "修改焊材入库录入");
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|||||||
Reference in New Issue
Block a user