From 71a6703ed1380f9343068904e482aebb501ac332 Mon Sep 17 00:00:00 2001 From: zhangbb Date: Thu, 5 Nov 2020 10:38:04 +0800 Subject: [PATCH] =?UTF-8?q?1.=E7=A8=8E=E6=8E=A7=E8=A1=A5=E5=85=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../InvoiceTJ/InvoiceGpsTJList.jsp | 5 +- .../InvoiceTJ/InvoiceGpsTJListHasInvoiced.jsp | 30 +++++- src_cmb/com/tenwa/invoice/IAutokpDo.java | 100 ++++++++++++++---- src_cmb/com/tenwa/invoice/IAutokpUtils.java | 4 + src_cmb/com/tenwa/invoice/IAutokpXML.java | 53 ++++++++-- 5 files changed, 154 insertions(+), 38 deletions(-) diff --git a/WebContent/Tenwa/Core/InvoiceManager/InvoiceTJ/InvoiceGpsTJList.jsp b/WebContent/Tenwa/Core/InvoiceManager/InvoiceTJ/InvoiceGpsTJList.jsp index ee94f10d4..03711639b 100644 --- a/WebContent/Tenwa/Core/InvoiceManager/InvoiceTJ/InvoiceGpsTJList.jsp +++ b/WebContent/Tenwa/Core/InvoiceManager/InvoiceTJ/InvoiceGpsTJList.jsp @@ -37,7 +37,6 @@ } function createInvoice(){ - debugger; var ros = getCheckedRows(0); var jsonArr=[]; var json={}; @@ -47,6 +46,7 @@ json["customer_name"] =getItemValue(0, ros[i], "customer_name"); json["invoice_money"] =getItemValue(0, ros[i], "invoice_money"); json["tax_type"] =getItemValue(0, ros[i], "tax_type"); + json["tax_no"] =getItemValue(0, ros[i], "tax_no"); json["acc_number"] =getItemValue(0, ros[i], "acc_number"); json["telephone"] =getItemValue(0, ros[i], "telephone"); json["cert_id"] =getItemValue(0, ros[i], "cert_id"); @@ -59,8 +59,9 @@ var param = JSON.stringify(jsonArr); param = "InvoiceParam="+param.replace(/,/g,'@')+",fpzl=00,fpzf=00"; // alert(param); - return; var res = AsControl.RunJavaMethod("com.tenwa.invoice.IAutokpDo", "invoice", param); + alert(res); + reloadSelf(); } diff --git a/WebContent/Tenwa/Core/InvoiceManager/InvoiceTJ/InvoiceGpsTJListHasInvoiced.jsp b/WebContent/Tenwa/Core/InvoiceManager/InvoiceTJ/InvoiceGpsTJListHasInvoiced.jsp index 0d815c4d5..ed8c36efc 100644 --- a/WebContent/Tenwa/Core/InvoiceManager/InvoiceTJ/InvoiceGpsTJListHasInvoiced.jsp +++ b/WebContent/Tenwa/Core/InvoiceManager/InvoiceTJ/InvoiceGpsTJListHasInvoiced.jsp @@ -1,7 +1,7 @@ <%@ page contentType="text/html; charset=GBK"%> <%@ include file="/Frame/resources/include/include_begin_list.jspf"%><% - ASObjectModel doTemp = new ASObjectModel("Invoice_TJ_Gps"); + ASObjectModel doTemp = new ASObjectModel("Invoice_TJ_Gps_had"); doTemp.appendJboWhere("O.liti_id is not null"); ASObjectWindow dwTemp = new ASObjectWindow(CurPage,doTemp,request); dwTemp.Style="1"; //--设置为Grid风格-- @@ -21,16 +21,36 @@ }; %><%@include file="/Frame/resources/include/ui/include_list.jspf"%>