入库单优化提交校验
This commit is contained in:
parent
4ea564dc5d
commit
2fa35aca26
|
|
@ -13,7 +13,7 @@ import java.math.BigDecimal;
|
||||||
/**
|
/**
|
||||||
* 入库单提交操作校验插件
|
* 入库单提交操作校验插件
|
||||||
* 说明:1:校验存在发票时,看无运费发票按钮是否开启,不开启校验含运费金额,开启只校验金额
|
* 说明:1:校验存在发票时,看无运费发票按钮是否开启,不开启校验含运费金额,开启只校验金额
|
||||||
* 2:上传的发票中含有普票时,提交时校验入库单明细中必须有“增值税0%”的税率
|
* 2:上传的发票中含有普票时,提交时校验入库单明细中必须有“增值税0%”的税率(废弃
|
||||||
*/
|
*/
|
||||||
public class MaterialInBillSubmitValidatorOp extends AbstractOperationServicePlugIn {
|
public class MaterialInBillSubmitValidatorOp extends AbstractOperationServicePlugIn {
|
||||||
public void onPreparePropertys(PreparePropertysEventArgs e) {
|
public void onPreparePropertys(PreparePropertysEventArgs e) {
|
||||||
|
|
@ -76,9 +76,9 @@ public class MaterialInBillSubmitValidatorOp extends AbstractOperationServicePlu
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (hasNonSpecialInvoice && zeroTaxRateEntryCount == 0) {
|
/* if (hasNonSpecialInvoice && zeroTaxRateEntryCount == 0) {
|
||||||
this.addFatalErrorMessage(extendedDataEntity, "系统检测到上传的发票中存在普通发票,入库单明细中凡是涉及普票的物资,”税率名称“请选择”增值税0%”!!");
|
this.addFatalErrorMessage(extendedDataEntity, "系统检测到上传的发票中存在普通发票,入库单明细中凡是涉及普票的物资,”税率名称“请选择”增值税0%”!!");
|
||||||
}
|
}*/
|
||||||
|
|
||||||
|
|
||||||
if (!zcgj_no_invoice && entryEntity2Collection != null && entryEntity2Collection.size() > 0) {
|
if (!zcgj_no_invoice && entryEntity2Collection != null && entryEntity2Collection.size() > 0) {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue