仓库-出库单新增与批量出库添加限制,拆箱拼箱暂时回退功能为不入库
This commit is contained in:
@@ -170,9 +170,9 @@ namespace ZR.Service.Business
|
||||
nowProduction.GoodsNumAction = quantityCount;
|
||||
nowProduction.Remark = "拼箱整箱";
|
||||
//TODO 20240422开会讨论结果:拼箱完需要重新扫码入库,原数据删除
|
||||
Context.Deleteable<WmGoodsNowProduction>().Where(it => it.Id == nowProduction.Id).ExecuteCommand();
|
||||
Context.Deleteable<WmGoodsNowProduction>().Where(it => it.Id == secondId).ExecuteCommand();
|
||||
return log;
|
||||
//Context.Deleteable<WmGoodsNowProduction>().Where(it => it.Id == nowProduction.Id).ExecuteCommand();
|
||||
//Context.Deleteable<WmGoodsNowProduction>().Where(it => it.Id == secondId).ExecuteCommand();
|
||||
//return log;
|
||||
// 修改主箱
|
||||
Context.Updateable(nowProduction).IgnoreColumns(ignoreAllNullColumns: true).ExecuteCommand();
|
||||
// 次箱操作
|
||||
@@ -302,8 +302,8 @@ namespace ZR.Service.Business
|
||||
};
|
||||
Context.Insertable(log).ExecuteReturnEntity();
|
||||
//TODO 20240422开会讨论结果:拆箱完需要重新扫码入库,原主箱数据删除
|
||||
Context.Deleteable<WmGoodsNowProduction>().Where(it => it.Id == mainNowProduction.Id).ExecuteCommand();
|
||||
return log;
|
||||
//Context.Deleteable<WmGoodsNowProduction>().Where(it => it.Id == mainNowProduction.Id).ExecuteCommand();
|
||||
//return log;
|
||||
// 执行修改
|
||||
// 1.主箱修改为1号分箱参数
|
||||
WmGoodsNowProduction newPackage1 = mainNowProduction;
|
||||
|
||||
Reference in New Issue
Block a user