入库单点击添加发票报错bug优化
This commit is contained in:
parent
b8bcdb5249
commit
fbada4b273
|
@ -140,7 +140,7 @@ public class MaterialInbFinaceConfirmeInvoicePlugin extends AbstractBillPlugIn i
|
||||||
DynamicObject project = (DynamicObject) this.getModel().getValue("project");//项目
|
DynamicObject project = (DynamicObject) this.getModel().getValue("project");//项目
|
||||||
if (project != null) {
|
if (project != null) {
|
||||||
DynamicObject ec_in_invoice = BusinessDataServiceHelper.loadSingle("ec_in_invoice",
|
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) {
|
if (ec_in_invoice != null) {
|
||||||
filter1.and(new QFilter("invoiceno", "=", ec_in_invoice.getString("invoiceno")));//发票号码
|
filter1.and(new QFilter("invoiceno", "=", ec_in_invoice.getString("invoiceno")));//发票号码
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue