6
This commit is contained in:
parent
6f56e2f30f
commit
37859063e7
@ -614,8 +614,14 @@ namespace MyCode.Project.Services.Implementation
|
||||
{
|
||||
throw new BaseException("不能跨采购组织创建发货通知单");
|
||||
}
|
||||
|
||||
if (loginInfo.IfForeign == 1 && string.IsNullOrWhiteSpace(act.F_VHUB_Text))
|
||||
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))
|
||||
{
|
||||
throw new BaseException("国外的供应商发票号和发票日期是必填.");
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user