diff --git a/main/java/shkd/repc/recon/formplugin/ReconPayreqFormPlugin.java b/main/java/shkd/repc/recon/formplugin/ReconPayreqFormPlugin.java index 9fbabfa..29c7611 100644 --- a/main/java/shkd/repc/recon/formplugin/ReconPayreqFormPlugin.java +++ b/main/java/shkd/repc/recon/formplugin/ReconPayreqFormPlugin.java @@ -357,8 +357,10 @@ public class ReconPayreqFormPlugin extends AbstractFormPlugin implements BeforeF qeug_bizdate = details.getDate("date");//填开日期 } else{ - parseFlag = false; - this.getView().showTipNotification(name +":发票识别失败:请上传有效发票"); + qeug_invoicecode = details.getString("bill_number"); + qeug_invoiceno = details.getString("bill_code"); + qeug_amount = details.getBigDecimal("total");//总金额 + qeug_bizdate = details.getDate("date");//填开日期 } boolean saveResultFlag = false; JSONObject save_data = saveCheckJson.getJSONObject("data"); diff --git a/main/java/shkd/repc/recon/formplugin/dynamic/ReconPayreqNewFormPlugin.java b/main/java/shkd/repc/recon/formplugin/dynamic/ReconPayreqNewFormPlugin.java index c485ee3..f0affba 100644 --- a/main/java/shkd/repc/recon/formplugin/dynamic/ReconPayreqNewFormPlugin.java +++ b/main/java/shkd/repc/recon/formplugin/dynamic/ReconPayreqNewFormPlugin.java @@ -321,8 +321,11 @@ public class ReconPayreqNewFormPlugin extends AbstractFormPlugin implements Befo qeug_amount = details.getBigDecimal("total");//总金额 qeug_bizdate = details.getDate("date");//填开日期 } else{ - parseFlag = false; - this.getView().showTipNotification(name +":发票识别失败:请上传有效发票"); + //102015【其他发票】 + qeug_invoicecode = details.getString("bill_number"); + qeug_invoiceno = details.getString("bill_code"); + qeug_amount = details.getBigDecimal("total");//总金额 + qeug_bizdate = details.getDate("date");//填开日期 } boolean saveResultFlag = false; JSONObject save_data = saveCheckJson.getJSONObject("data");