入库单点击添加发票报错bug优化

This commit is contained in:
xuhaihui 2025-06-13 14:13:49 +08:00
parent b8bcdb5249
commit fbada4b273
1 changed files with 1 additions and 1 deletions

View File

@ -140,7 +140,7 @@ public class MaterialInbFinaceConfirmeInvoicePlugin extends AbstractBillPlugIn i
DynamicObject project = (DynamicObject) this.getModel().getValue("project");//项目
if (project != null) {
DynamicObject ec_in_invoice = BusinessDataServiceHelper.loadSingle("ec_in_invoice",
new QFilter("project.billno", "=", project.getString("billno")).toArray());//进项发票登记
new QFilter("project.number", "=", project.getString("number")).toArray());//进项发票登记
if (ec_in_invoice != null) {
filter1.and(new QFilter("invoiceno", "=", ec_in_invoice.getString("invoiceno")));//发票号码
}