From 0e027a8377803a86796c73b022b9cd6c6c175549 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E8=B4=B5=E5=BC=BA?= Date: Wed, 23 Jul 2025 17:58:31 +0800 Subject: [PATCH] =?UTF-8?q?=E5=85=B6=E4=BB=96=E5=8F=91=E7=A5=A8=E7=B1=BB?= =?UTF-8?q?=E5=9E=8B=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../shkd/repc/recon/formplugin/ReconPayreqFormPlugin.java | 6 ++++-- .../recon/formplugin/dynamic/ReconPayreqNewFormPlugin.java | 7 +++++-- 2 files changed, 9 insertions(+), 4 deletions(-) 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");