This commit is contained in:
2025-07-31 11:59:31 +08:00
parent 404ab72e55
commit 32c935b3c2
19 changed files with 466 additions and 228 deletions
@@ -314,15 +314,23 @@ namespace FineUIPro.Web.HJGL.PreDesign
var model = HJGL_PackagingmanageService.GetHJGL_PackagingManageById(Id);
if (model != null)
{
var PipelineComponent = model.PipelineComponentId.Split(',');
foreach (var item in PipelineComponent)
if (!string.IsNullOrEmpty(model.PipelineComponentId))
{
HJGL_PipelineComponentService.UpdateOutState(item, model.PackagingCode);
var PipelineComponent = model.PipelineComponentId.Split(',');
foreach (var item in PipelineComponent)
{
HJGL_PipelineComponentService.UpdateOutState(item, model.PackagingCode);
}
}
HJGL_PackagingmanageService.PutOutOrder(Id);
Pring(Id);
}
}
else
{
ShowNotify("请选择要生成的出库单", MessageBoxIcon.Warning);
return;
}
}
private void Pring(string Id)
{