|
|
@ -319,6 +319,10 @@ namespace VOL.WMS.Services
|
|
|
|
//保存到数据库前
|
|
|
|
//保存到数据库前
|
|
|
|
AddOnExecuting = (OP_WMS_OUT_PLAN head, object obj) =>
|
|
|
|
AddOnExecuting = (OP_WMS_OUT_PLAN head, object obj) =>
|
|
|
|
{
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (head.ISBATCHSTOCK == null)
|
|
|
|
|
|
|
|
head.ISBATCHSTOCK = false;
|
|
|
|
|
|
|
|
|
|
|
|
List<OP_WMS_OUT_PLAN_DETAIL> PLANDetailList = tableExtra.Table1List;//.Select(s).ToList();
|
|
|
|
List<OP_WMS_OUT_PLAN_DETAIL> PLANDetailList = tableExtra.Table1List;//.Select(s).ToList();
|
|
|
|
|
|
|
|
|
|
|
|
dealgoodsname(ref head, tableExtra.Table1List);
|
|
|
|
dealgoodsname(ref head, tableExtra.Table1List);
|
|
|
@ -615,6 +619,9 @@ namespace VOL.WMS.Services
|
|
|
|
//保存到数据库前
|
|
|
|
//保存到数据库前
|
|
|
|
UpdateOnExecuting = (OP_WMS_OUT_PLAN head, object obj, object obj2, List<object> list) =>
|
|
|
|
UpdateOnExecuting = (OP_WMS_OUT_PLAN head, object obj, object obj2, List<object> list) =>
|
|
|
|
{
|
|
|
|
{
|
|
|
|
|
|
|
|
if (head.ISBATCHSTOCK == null)
|
|
|
|
|
|
|
|
head.ISBATCHSTOCK = false;
|
|
|
|
|
|
|
|
|
|
|
|
if (head.ISEND == true)
|
|
|
|
if (head.ISEND == true)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
return WebResponseContent.Instance.Error("已经执行完毕,禁止修改");
|
|
|
|
return WebResponseContent.Instance.Error("已经执行完毕,禁止修改");
|
|
|
|