1.保单放款方法经销商不可修改。

2.付款申请合同基本信息担保人重改。
3.修改判断男女方法。
This commit is contained in:
zhangbb 2018-11-19 17:33:46 +08:00
parent a1e1f7301f
commit 4bf64b4b7e
4 changed files with 51 additions and 2 deletions

View File

@ -206,12 +206,13 @@
}
//根据身份证号判断性别
function ValidityCheck(){
debugger;
var certID = getItemValue(0,getRow(),"CERTID");
sex = certID.substring(16,17);
sex = parseInt(sex);
if(sex%2==0){//奇男偶女
setItemValue(0,getRow(),"SEX","2");
}else{
}else(sex%2==1){
setItemValue(0,getRow(),"SEX","1");
}
checkCertidRepeat();

View File

@ -0,0 +1,38 @@
<%@ page contentType="text/html; charset=GBK"%>
<%@ include file="/Frame/resources/include/include_begin_list.jspf"%><%
/*
Author: undefined 2018-11-19
Content:
History Log:
*/
String contractid = CurPage.getParameter("ContractId");
ASObjectModel doTemp = new ASObjectModel("GuarantorQueryListForContract");
ASObjectWindow dwTemp = new ASObjectWindow(CurPage,doTemp,request);
dwTemp.Style="1"; //--设置为Grid风格--
dwTemp.ReadOnly = "1"; //只读模式
dwTemp.setPageSize(10);
dwTemp.genHTMLObjectWindow(contractid);
//0、是否展示 1、 权限控制 2、 展示类型 3、按钮显示名称 4、按钮解释文字 5、按钮触发事件代码 6、 7、 8、 9、图标CSS层叠样式 10、风格
String sButtons[][] = {
// {"true","All","Button","新增","新增","newRecord()","","","","btn_icon_add",""},
// {"true","","Button","详情","详情","viewAndEdit()","","","","btn_icon_detail",""},
// {"true","","Button","删除","删除","if(confirm('确实要删除吗?'))as_delete(0,'alert(getRowCount(0))')","","","","btn_icon_delete",""},
};
%><%@include file="/Frame/resources/include/ui/include_list.jspf"%>
<script type="text/javascript">
function newRecord(){
var sUrl = "";
AsControl.OpenView(sUrl,'','_self','');
}
function viewAndEdit(){
var sUrl = "";
var sPara = getItemValue(0,getRow(0),'SerialNo');
if(typeof(sPara)=="undefined" || sPara.length==0 ){
alert("参数不能为空!");
return ;
}
AsControl.OpenView(sUrl,'SerialNo=' +sPara ,'_self','');
}
</script>
<%@ include file="/Frame/resources/include/include_end.jspf"%>

View File

@ -7,6 +7,7 @@
*/
String ishistory = CurPage.getParameter("IsHistory");
String flowunid = CurPage.getParameter("FlowUnid");
String phaseNo = CurPage.getParameter("PhaseNo");
ASObjectModel doTemp = new ASObjectModel("LCFundPaymentTempInfo");
/* if(null!=ishistory&&ishistory.equals("true")){
doTemp.setDataQueryClass("com.tenwa.flow.flowHistory.FlowDataInfoHistory");
@ -27,6 +28,12 @@ $(function(){
if(relines<0){
$("#RELINES").css("color","red");
}
var phaseNo="<%=phaseNo%>";
if(phaseNo=='0010'){
setItemReadOnly(0, 0, "LENDING_TYPE", true);
}else{
setItemReadOnly(0, 0, "LENDING_TYPE", false);
}
lendingType();
});
function lendingType(){

View File

@ -8,6 +8,7 @@
String ishistory = CurPage.getParameter("IsHistory");
String flowunid = CurPage.getParameter("FlowUnid");
String contractId = CurPage.getParameter("ContractId");
String compClientID = CurPage.getParameter("CompClientID");
String productid = Sqlca.getString("select PRODUCT_ID from LB_CONTRACT_INFO_TEMP where flowunid = '"+flowunid+"'");
String sTempletNo = "LB_CONTRACT_INFO_PAY";//--Ä£°åºÅ--
ASObjectModel doTemp = new ASObjectModel(sTempletNo);
@ -18,7 +19,8 @@
dwTemp.Style = "2";
dwTemp.ReadOnly = "1";
dwTemp.genHTMLObjectWindow(contractId);
String url="/Tenwa/Lease/Flow/Comm/LBGuaranteeUnit/LBGuaranteePerUnitListForContract.jsp?CompClientID=";
dwTemp.replaceColumn("GUARANTEE_LIST", "<iframe type='iframe' id='frame_list' name=\"frame_list\" width=\"100%\" height=\"500px\" frameborder=\"0\" src=\""+sWebRootPath+url+compClientID+"&ContractId="+contractId+"&RightType=ReadOnly\"></iframe>", CurPage.getObjectWindowOutput());
String sButtons[][] = {
};
sButtonPosition = "south";
@ -26,6 +28,7 @@
<script type="text/javascript">
window.onload = function(){
setItemValue(0,0,"CERTTYPE_CF","Ind01");
debugger;
var type = getItemValue(0,0,"customertype");
if(type=="03"||type==""||type==null){
hideItem(0,"CERTTYPE_CC");