入库单优化

This commit is contained in:
xuhaihui 2025-10-30 18:39:48 +08:00
parent beade8ba3d
commit 678435ea8d
1 changed files with 2 additions and 2 deletions

View File

@ -814,8 +814,8 @@ public class MaterialInbPurchaseApplyPlugin extends AbstractBillPlugIn implement
DynamicObject invoiceType = invoice.getDynamicObject("invoicetypeid"); // 发票类型字段
if (invoiceType != null) {
String invoiceTypeName = invoiceType.getString("name"); // 发票类型名称
// 当发票类型为"数电发票(普通发票)""电子发票专票"认为是专票
if ("数电发票(普通发票)".equals(invoiceTypeName) || "电子发票专票".equals(invoiceTypeName)) {
// 当发票类型为"数电发票(增值税专用发票)""电子发票专票"认为是专票
if ("数电发票(增值税专用发票)".equals(invoiceTypeName) || "电子发票专票".equals(invoiceTypeName)) {
return true;
}
}