入库单优化
This commit is contained in:
parent
beade8ba3d
commit
678435ea8d
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue