更新档案归档
This commit is contained in:
parent
9ee0889e0f
commit
f8f1b829f7
@ -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);
|
||||
|
||||
@ -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"%>
|
||||
<script type="text/javascript">
|
||||
$(function(){
|
||||
setItemValue(0,getRow(),"ARCHIVING_PERSON","<%=CurUser.getUserName()%>");
|
||||
setItemValue(0,getRow(),"INPUTUSERID","<%=inputusername%>");
|
||||
setItemValue(0,getRow(),"UPDATEUSERID","<%=inputusername%>");
|
||||
setItemValue(0,getRow(),"INPUTORGID","<%=inputorgname%>");
|
||||
setItemValue(0,getRow(),"UPDATEORGID","<%=inputorgname%>");
|
||||
var date = new Date();
|
||||
var updatetime = date.toJSON().substring(0,10).replace(/-/g,"/");//+" "+date.getHours()+":"+date.getMinutes()+":"+date.getSeconds();
|
||||
var inputtime = date.toJSON().substring(0,10).replace(/-/g,"/");//+" "+date.getHours()+":"+date.getMinutes()+":"+date.getSeconds();
|
||||
var inputtimes = getItemValue(0,getRow(),"INPUTTIME");
|
||||
if(inputtimes==null||inputtimes==""){
|
||||
setItemValue(0,getRow(),"INPUTTIME",inputtime);
|
||||
}
|
||||
setItemValue(0,getRow(),"UPDATETIME",updatetime);
|
||||
});
|
||||
function returnList(){
|
||||
AsControl.OpenView("/Tenwa/Lease/Flow/FileManager/MortgageFile/LbFileArchivingListTemp.jsp", "","_self","");
|
||||
}
|
||||
|
||||
@ -6,9 +6,11 @@
|
||||
<attributes>
|
||||
<attribute name="ID" label="标识" type="STRING" length="32"/>
|
||||
<attribute name="CAR_ID" label="车辆编号" type="STRING" length="40"/>
|
||||
<attribute name="orgid" label="机构编号" type="STRING" length="40"/>
|
||||
<attribute name="CONTRACT_ID" label="合同编号" type="STRING" length="32"/>
|
||||
<attribute name="PLATE_STATUS" label="上牌状态" type="STRING" length="32"/>
|
||||
<attribute name="FRAME_NUMBER" label="车架号" type="STRING" length="32"/>
|
||||
<attribute name="engine_number" label="发动机号" type="STRING" length="32"/>
|
||||
<attribute name="PLATE_NUMBER" label="车牌号" type="STRING" length="50"/>
|
||||
<attribute name="PLATETIME" label="上牌时间" type="STRING" length="50"/>
|
||||
<attribute name="CAR_UNIT" label="上牌单位" type="STRING" length="50"/>
|
||||
@ -1587,6 +1589,11 @@
|
||||
<attribute name="UPDATEUSERID" label="更新人" type="STRING" length="32"/>
|
||||
<attribute name="UPDATEORGID" label="更新部门" type="STRING" length="32"/>
|
||||
<attribute name="UPDATETIME" label="更新时间" type="STRING" length="32"/>
|
||||
<attribute name="FILE_NUMBER" label="档案编号" type="STRING" length="32"/>
|
||||
<attribute name="FILE_EFFECT_TIME" label="档案生效时间" type="STRING" length="32"/>
|
||||
<attribute name="REMARKS" label="备注" type="STRING" length="32"/>
|
||||
<attribute name="FILE_BORROWING_TIME" label="档案借阅时间" type="STRING" length="32"/>
|
||||
<attribute name="MORTGAGE_COMPLETION_TIME" label="抵押完成时间" type="STRING" length="32"/>
|
||||
</attributes>
|
||||
<manager>
|
||||
<managerProperties>
|
||||
|
||||
@ -19,10 +19,11 @@ public class CopyFileArchivingInfoTempToFormat extends BaseBussiness{
|
||||
public Object run(Transaction Sqlca) throws Exception {
|
||||
this.initBussinessParam(Sqlca);
|
||||
String contract_id = this.getAttribute("ContractId").toString();
|
||||
//String flowunid = this.getAttribute("ObjectNo").toString();
|
||||
String flowunid = this.getAttribute("ObjectNo").toString();
|
||||
|
||||
Map<String,String> fromCondtion = new HashMap<String, String>();
|
||||
fromCondtion.put("contract_id", contract_id);
|
||||
fromCondtion.put("flowunid", flowunid);
|
||||
|
||||
DataOperatorUtil.copySingleJBO("jbo.app.LB_FILE_ARCHIVING_INFO_TEMP", fromCondtion, "jbo.com.tenwa.lease.comm.LB_FILE_ARCHIVING_INFO", null, null, Sqlca);
|
||||
return "true";
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user