This commit is contained in:
余宇波 2025-07-31 13:51:51 +08:00
parent 6f56e2f30f
commit 37859063e7

View File

@ -614,6 +614,12 @@ namespace MyCode.Project.Services.Implementation
{ {
throw new BaseException("不能跨采购组织创建发货通知单"); throw new BaseException("不能跨采购组织创建发货通知单");
} }
FPurchaseOrgIdList = listAll.Select(t => t.ReceiveorgCode).Distinct().ToList();
if (FPurchaseOrgIdList.Count > 1)
{
throw new BaseException("不能跨收料组织创建发货通知单");
}
if (loginInfo.IfForeign == 1 && string.IsNullOrWhiteSpace(act.F_VHUB_Text)) if (loginInfo.IfForeign == 1 && string.IsNullOrWhiteSpace(act.F_VHUB_Text))
{ {