This commit is contained in:
xuhaihui 2025-11-20 17:51:36 +08:00
parent 279b32b21f
commit 5b126228ed
1 changed files with 2 additions and 2 deletions

View File

@ -56,7 +56,7 @@ public class MaterialInBillSubmitValidatorOp extends AbstractOperationServicePlu
DynamicObjectCollection entryEntityCollection = ecma_MaterialInBill.getDynamicObjectCollection("zcgj_entryentity");//合同进项发票信息
DynamicObjectCollection entryEntity2Collection = ecma_MaterialInBill.getDynamicObjectCollection("entryentity");//入库单分录
int zeroTaxRateEntryCount = 0;
/* int zeroTaxRateEntryCount = 0;
boolean hasNonSpecialInvoice = false;
for (DynamicObject entryEntity : entryEntityCollection) {
DynamicObject invoice = entryEntity.getDynamicObject("zcgj_invoice"); // 发票号码
@ -77,7 +77,7 @@ public class MaterialInBillSubmitValidatorOp extends AbstractOperationServicePlu
}
if (hasNonSpecialInvoice && zeroTaxRateEntryCount == 0) {
this.addFatalErrorMessage(extendedDataEntity, "系统检测到上传的发票中存在普通发票入库单明细中凡是涉及普票的物资”税率名称“请选择”增值税0%”!!");
}
}*/
if (!zcgj_no_invoice && entryEntity2Collection != null && entryEntity2Collection.size() > 0) {