From c10d744c99933162c3fdb9104017cca48dba344c Mon Sep 17 00:00:00 2001 From: zhanglei Date: Thu, 8 Apr 2021 18:31:09 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=BE=E6=AC=BE=E5=88=9D=E5=AE=A1-=E6=9F=A5?= =?UTF-8?q?=E8=AF=A2gps=E5=AE=89=E8=A3=85=E4=BF=A1=E6=81=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../CautionMoneyDeduction/ContractInfoPay.jsp | 36 ++++++++++++++++--- 1 file changed, 31 insertions(+), 5 deletions(-) diff --git a/WebContent/Tenwa/Lease/Flow/Rent/CautionMoneyDeduction/ContractInfoPay.jsp b/WebContent/Tenwa/Lease/Flow/Rent/CautionMoneyDeduction/ContractInfoPay.jsp index d844585c7..54f27a4e5 100644 --- a/WebContent/Tenwa/Lease/Flow/Rent/CautionMoneyDeduction/ContractInfoPay.jsp +++ b/WebContent/Tenwa/Lease/Flow/Rent/CautionMoneyDeduction/ContractInfoPay.jsp @@ -1,3 +1,4 @@ +<%@ page import="org.apache.commons.lang3.StringUtils" %> <%@ page contentType="text/html; charset=GBK"%> <%@ include file="/Frame/resources/include/include_begin_info.jspf"%><% /* @@ -15,7 +16,16 @@ String productid = Sqlca.getString("select PRODUCT_ID from LB_CONTRACT_INFO_TEMP where flowunid = '"+flowunid+"'"); String projectId = CurPage.getParameter("ProjectId"); String gpsVendor = Sqlca.getString("select cl.itemname from lb_project_info lpi left join LM_GPS_ORDER lgr on lgr.apply_no=lpi.project_no left join code_library cl on cl.itemno=lgr.source and cl.codeno='gpsVendor' where lpi.id='"+projectId+"'"); - + String userId = CurUser.getUserID(); + String orderNo = Sqlca.getString("SELECT ORDER_NO from LM_GPS_ORDER where PROJECT_ID='"+projectId+"'"); + String vin = Sqlca.getString("SELECT CAR_VIN from LM_GPS_ORDER where PROJECT_ID='"+projectId+"'"); + String applyNo = Sqlca.getString("SELECT APPLY_NO from LM_GPS_ORDER where PROJECT_ID='"+projectId+"'"); + System.out.println("projectId=" + projectId); + System.out.println("userId=" + userId); + System.out.println("orderNo=" + orderNo); + System.out.println("vin=" + vin); + System.out.println("applyNo=" + applyNo); + String sTempletNo = "LB_CONTRACT_INFO_PAY";//--模板号-- ASObjectModel doTemp = new ASObjectModel(sTempletNo); @@ -34,13 +44,29 @@ dwTemp.replaceColumn("INVOICEINFO", "", CurPage.getObjectWindowOutput()); //租赁物列表信息页面 dwTemp.replaceColumn("EQUIPMENT_LIST", "", CurPage.getObjectWindowOutput()); - - String sButtons[][] = { - {"true","","Button","保存","保存所有修改","save()","","","","btn_icon_save"}, - }; + String sButtons[][] ={ + {"true","","Button","保存","保存所有修改","save()","","","","btn_icon_save"}, + {"true","All","Button","查看GPS定位信息","查看GPS定位信息","queryOrder()","","","","",""}, + }; //sButtonPosition = "south"; %><%@ include file="/Frame/resources/include/ui/include_info.jspf"%>