|
@ -658,6 +658,7 @@ namespace Win.Sfs.SettleAccount.Entities.BQ |
|
|
&& inv.State != SettleBillState.已提交QAD |
|
|
&& inv.State != SettleBillState.已提交QAD |
|
|
&& inv.State != SettleBillState.财务已审核 |
|
|
&& inv.State != SettleBillState.财务已审核 |
|
|
&& inv.State != SettleBillState.客户已收票 |
|
|
&& inv.State != SettleBillState.客户已收票 |
|
|
|
|
|
&& inv.State != SettleBillState.红冲发票 |
|
|
) |
|
|
) |
|
|
{ |
|
|
{ |
|
|
throw new UserFriendlyException($"发票只有在财务已审核、红冲状态下可以报废!", "400"); |
|
|
throw new UserFriendlyException($"发票只有在财务已审核、红冲状态下可以报废!", "400"); |
|
@ -898,6 +899,7 @@ namespace Win.Sfs.SettleAccount.Entities.BQ |
|
|
&& inv.State != SettleBillState.已提交QAD |
|
|
&& inv.State != SettleBillState.已提交QAD |
|
|
&& inv.State != SettleBillState.财务已审核 |
|
|
&& inv.State != SettleBillState.财务已审核 |
|
|
&& inv.State != SettleBillState.客户已收票 |
|
|
&& inv.State != SettleBillState.客户已收票 |
|
|
|
|
|
&& inv.State != SettleBillState.红冲发票 |
|
|
) |
|
|
) |
|
|
{ |
|
|
{ |
|
|
throw new UserFriendlyException($"发票只有在财务已审核、红冲状态下可以报废!", "400"); |
|
|
throw new UserFriendlyException($"发票只有在财务已审核、红冲状态下可以报废!", "400"); |
|
|