From f8f1b829f79b3f4036f6bc8b229128245eb078ba Mon Sep 17 00:00:00 2001 From: liuzhao Date: Fri, 25 Jan 2019 17:04:29 +0800 Subject: [PATCH] =?UTF-8?q?=20=E6=9B=B4=E6=96=B0=E6=A1=A3=E6=A1=88?= =?UTF-8?q?=E5=BD=92=E6=A1=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../DocList/LbCarLicensePlateInfoTemp.jsp | 10 +++++++++ .../MortgageFile/LbFileArchivingInfoTemp.jsp | 21 ++++++------------- WebContent/WEB-INF/etc/jbo/jbo_lease.xml | 7 +++++++ .../CopyFileArchivingInfoTempToFormat.java | 3 ++- 4 files changed, 25 insertions(+), 16 deletions(-) diff --git a/WebContent/Tenwa/Comm/DocList/LbCarLicensePlateInfoTemp.jsp b/WebContent/Tenwa/Comm/DocList/LbCarLicensePlateInfoTemp.jsp index 28fb67452..ad38d8add 100644 --- a/WebContent/Tenwa/Comm/DocList/LbCarLicensePlateInfoTemp.jsp +++ b/WebContent/Tenwa/Comm/DocList/LbCarLicensePlateInfoTemp.jsp @@ -75,6 +75,16 @@ window.onload=function(){ + var is_delay = getItemValue(0,0,"is_pledge"); + if(is_delay=="Y"){ + setItemRequired(0,"pledge_date",true); + setItemReadOnly(0,0,"pledge_date",false); + }else{ + setItemReadOnly(0,0,"pledge_date",true); + setItemRequired(0,"pledge_date",false); + setItemValue(0,0,"pledge_date",""); + } + var is_delay = getItemValue(0,0,"is_delay"); if(is_delay=="Y"){ setItemRequired(0,"delay_date",true); diff --git a/WebContent/Tenwa/Lease/Flow/FileManager/MortgageFile/LbFileArchivingInfoTemp.jsp b/WebContent/Tenwa/Lease/Flow/FileManager/MortgageFile/LbFileArchivingInfoTemp.jsp index 51af25012..855a6f23b 100644 --- a/WebContent/Tenwa/Lease/Flow/FileManager/MortgageFile/LbFileArchivingInfoTemp.jsp +++ b/WebContent/Tenwa/Lease/Flow/FileManager/MortgageFile/LbFileArchivingInfoTemp.jsp @@ -6,6 +6,8 @@ History Log: */ String sPrevUrl = CurPage.getParameter("PrevUrl"); + String contractId = CurPage.getParameter("ContractId"); + String contractNumber = CurPage.getParameter("FlowKey"); if(sPrevUrl == null) sPrevUrl = ""; String flowunid = CurPage.getAttribute("ObjectNo"); String inputuserid = CurUser.getUserID(); @@ -16,6 +18,10 @@ String sTempletNo = "LbFileArchivingInfoTemp";//--ģ-- ASObjectModel doTemp = new ASObjectModel(sTempletNo); doTemp.setColTips("", ""); + doTemp.setDefaultValue("CONTRACT_NUMBER", contractNumber); + doTemp.setDefaultValue("CONTRACT_ID", contractId); + doTemp.setDefaultValue("FLOWUNID", flowunid); + doTemp.setDefaultValue("ARCHIVING_PERSON", CurUser.getUserName()); ASObjectWindow dwTemp = new ASObjectWindow(CurPage, doTemp,request); dwTemp.Style = "2";//freeform dwTemp.ReadOnly = "0";//ֻģʽ @@ -28,21 +34,6 @@ sButtonPosition = "south"; %><%@ include file="/Frame/resources/include/ui/include_info.jspf"%>