自动五级分类传统,合同审批带出法定代表人,删除debugger
This commit is contained in:
parent
e3e429874b
commit
8aa4f1b4a2
@ -109,7 +109,6 @@
|
||||
window.parent.parent.ischeck=false;
|
||||
ischeck=false;
|
||||
var url="";
|
||||
debugger;
|
||||
if("<%=productType%>"=="car_product"){
|
||||
url="/Accounting/LoanSimulation/LoanBasicInfo.jsp";
|
||||
}else {
|
||||
|
||||
@ -130,7 +130,6 @@
|
||||
tempParam["CurUserId"]="<%=CurUser.getUserID()%>";
|
||||
tempParam["CurOrgId"]="<%=CurUser.getOrgID()%>";
|
||||
tempParam["fileSavePath"]="<%=CurConfig.getConfigure("FileSavePath")%>";
|
||||
debugger;
|
||||
param["templateParam"]=JSON.stringify(tempParam).replace(/,/g,"@");//生成模板的参数据
|
||||
for(var key in param){
|
||||
if(sparam.length>0){sparam+=",";}
|
||||
|
||||
@ -50,7 +50,6 @@
|
||||
});
|
||||
|
||||
function downImage() {
|
||||
debugger;
|
||||
var uuid = getItemValue(0, getRow(), "ID");
|
||||
var getParam = "id="+uuid;
|
||||
var requestUrl = '<%=sWebRootPath%>/webapi/resf/files/down/flow/image?' + getParam;
|
||||
|
||||
@ -61,7 +61,6 @@
|
||||
}
|
||||
|
||||
function deleteRecord() {
|
||||
debugger;
|
||||
var uid = getItemValue(0, getRow(), "ID");
|
||||
if(typeof(uid)=="undefined" || uid.length==0 ) {
|
||||
alert("请选择一条数据!");
|
||||
|
||||
@ -27,7 +27,6 @@
|
||||
}
|
||||
|
||||
function saveRecord() {
|
||||
debugger;
|
||||
var isList = getItemValue(0, getRow(0), 'ISLIST');
|
||||
var selName = 'SelectDo';
|
||||
var GROUP_CODE = "";
|
||||
|
||||
@ -41,7 +41,6 @@
|
||||
}
|
||||
|
||||
function viewAndEdit() {
|
||||
debugger;
|
||||
var sUrl = "/AppFresh/AppPage/AppNodeInfo.jsp";
|
||||
var id = getItemValue(0, getRow(0), 'id');
|
||||
|
||||
|
||||
@ -24,7 +24,6 @@
|
||||
%><%@include file="/Frame/resources/include/ui/include_list.jspf"%>
|
||||
<script type="text/javascript">
|
||||
function submitInvoice(){
|
||||
//debugger;
|
||||
var sParm = getItemValueArray(0,"id");
|
||||
if(typeof(sParm) == "undefined" || sParm.length == 0 )
|
||||
{
|
||||
|
||||
@ -24,7 +24,6 @@
|
||||
%><%@include file="/Frame/resources/include/ui/include_list.jspf"%>
|
||||
<script type="text/javascript">
|
||||
function submitInvoice(){
|
||||
//debugger;
|
||||
var sParm = getItemValueArray(0,"id");
|
||||
if(typeof(sParm) == "undefined" || sParm.length == 0 )
|
||||
{
|
||||
|
||||
@ -46,7 +46,6 @@
|
||||
7c7624a558594bff8387ca6949982b21@~
|
||||
00303ba448074b0792bd465dd2359b7c@
|
||||
*/
|
||||
debugger;
|
||||
var sReturnInfo = RunJavaMethodTrans("com.tenwa.apzl.saveunioncar.saveUnionCarUtil","saveLmDistributorToProduct",sParams);
|
||||
if(""!=sReturnInfo){
|
||||
AsDebug.showMessage("Ìáʾ",sReturnInfo,"","",true,'','','',function(){
|
||||
|
||||
@ -59,7 +59,6 @@ function teaming(){
|
||||
}
|
||||
|
||||
var id = getItemValue(0,getRow(0),'ID');
|
||||
//debugger;
|
||||
|
||||
//alert(id);
|
||||
var result = AsControl.RunJavaMethodTrans("com.tenwa.customer.distributor.DeleteDistributor","SelectGroup","id="+id);
|
||||
|
||||
@ -62,7 +62,6 @@ window.onload=function(){
|
||||
document.getElementById('DWTD').innerHTML = '<div style="width:'+(document.body.offsetWidth - 10)+'px;height:'+(document.body.offsetHeight - 40)+'px;overflow: scroll;">'+document.getElementById('DWTD').innerHTML+'</div>';
|
||||
}
|
||||
function newRecord(){
|
||||
//debugger;
|
||||
var sUrl = "/Tenwa/Comm/CustomerDoc/CustomerDoc_Info.jsp";
|
||||
AsControl.OpenView(sUrl,'','_self','');<%-- "docClassItemno="+<%=docClassItemno%>+"&custid="+<%=custid%> --%>
|
||||
}
|
||||
|
||||
@ -54,7 +54,6 @@ top.status="<%=LanguageManager.getSystemLanguage(CurUser.getLanguage(), JspfText
|
||||
<script type="text/javascript">
|
||||
var curWindowWidth=$(document).width();
|
||||
$(function() {
|
||||
debugger;
|
||||
$('#jq22').viewer({
|
||||
url: 'data-original',
|
||||
navbar:false,
|
||||
|
||||
@ -52,7 +52,6 @@
|
||||
|
||||
var sObjectInfo = "";
|
||||
function submitInvoice(){
|
||||
debugger;
|
||||
frames["ObjectList"].returnValue();
|
||||
var plist=sObjectInfo.replace(/\@~/g,'@');
|
||||
plist = plist.substr(0,plist.length-1);
|
||||
|
||||
@ -41,7 +41,6 @@
|
||||
<script type="text/javascript">
|
||||
|
||||
function importExcel(){
|
||||
debugger;
|
||||
var importCondition={};//导入配置
|
||||
importCondition["templateNo"]="2017050900000002";//导入的模板编号必填s
|
||||
//增加其他配置参数
|
||||
|
||||
@ -70,7 +70,6 @@
|
||||
<script type="text/javascript">
|
||||
/*~[Describe=±£´æ¼Ç¼;InputParam=ÎÞ;OutPutParam=ÎÞ;]~*/
|
||||
function saveRecord(){
|
||||
debugger;
|
||||
var accountType = getItemValue(0, 0, "account_type");
|
||||
var accType = getItemValue(0, 0, "acc_type");
|
||||
var state = getItemValue(0, 0, "state_");
|
||||
|
||||
@ -63,7 +63,6 @@
|
||||
}
|
||||
|
||||
function FSImport(){
|
||||
debugger;
|
||||
var sReportDate = getItemValue(0,getRow(),"ReportDate");
|
||||
if(!sReportDate){
|
||||
alert("请选择一条信息!");
|
||||
|
||||
@ -69,7 +69,6 @@
|
||||
function afterSearch(){
|
||||
for(var i=0;i<getRowCount(0);i++){
|
||||
getObj(0,i,"operation").innerHTML='<a class="box" onclick="upload(\''+getItemValue(0,i,"id")+'\')" style={color:#000;text-decoration:underline;}><font color="blue">ÉÏ´«</font></a>';
|
||||
debugger;
|
||||
var filelist=getObj(0,i,"filelist").innerHTML;
|
||||
var obj=eval('('+filelist+')');
|
||||
var html="";
|
||||
|
||||
@ -0,0 +1,149 @@
|
||||
<%@page import="com.tenwa.comm.dataRightmanager.DataRightManager"%>
|
||||
<%@ page contentType="text/html; charset=GBK"%>
|
||||
<%@ include file="/Frame/resources/include/include_begin_list.jspf"%><%
|
||||
|
||||
String contractId = CurPage.getParameter("ContractId") != null ? CurPage.getParameter("ContractId") : "";
|
||||
String isRemind = CurPage.getParameter("IsRemind") != null ? CurPage.getParameter("IsRemind") : "";
|
||||
ASObjectModel doTemp = new ASObjectModel("LBFiveGradeClassificationListTra");
|
||||
String appendSql = "";
|
||||
if(!"".equals(contractId)){
|
||||
appendSql += " and O.id = '"+contractId+"' and lccs.Is_Remind = '"+isRemind+"' AND v.DATEDIFF(v.NOW(),lccs.FIVE_GRADE_DATE) <= 3 ";
|
||||
}else if(!"".equals(isRemind)){
|
||||
appendSql += " and lccs.Is_Remind = '"+isRemind+"' AND v.DATEDIFF(v.NOW(),lccs.FIVE_GRADE_DATE) <= 3 ";
|
||||
}
|
||||
//String sCondtion=DataRightManager.getRightCondition(CurUser,"O", "contract");
|
||||
String sCondtion="";
|
||||
if(!"".equals(appendSql)) sCondtion += appendSql;
|
||||
doTemp.appendJboWhere(sCondtion);
|
||||
doTemp.setDefaultValue("IS_AUTO", "Y");
|
||||
ASObjectWindow dwTemp = new ASObjectWindow(CurPage,doTemp,request);
|
||||
dwTemp.Style="1"; //--设置为Grid风格--
|
||||
dwTemp.ReadOnly = "1"; //只读模式
|
||||
dwTemp.setPageSize(15);
|
||||
dwTemp.genHTMLObjectWindow("");
|
||||
String sButtons[][] =new String[][] {
|
||||
{"true","","Button","设置自动分类","设置自动分类","setAutoClassification()","","","","btn_icon_set"},
|
||||
{"true","","Button","取消自动分类","取消自动分类","cancelAutoClassification()","","","","btn_icon_delete"},
|
||||
{"true","","Button","执行定时任务","执行定时任务","execute()","","","",""}
|
||||
};
|
||||
%><%@include file="/Frame/resources/include/ui/include_list.jspf"%>
|
||||
<script type="text/javascript">
|
||||
function execute(){
|
||||
var Result = AsControl.RunJavaMethod("com.tenwa.lease.app.quartzmession.AutoFiveGradeClass", "execute","");
|
||||
if(Result=='success'){
|
||||
alert("执行成功!");
|
||||
reloadSelf();
|
||||
}else{
|
||||
alert("执行失败!");
|
||||
reloadSelf();
|
||||
}
|
||||
}
|
||||
function setAutoClassification(){
|
||||
var contractId = getItemValue(0,getRow(),"ID");
|
||||
var paymentNumber = getItemValue(0,getRow(),"PAYMENT_NUMBER");
|
||||
var isAuto = getItemValue(0,getRow(),"IS_AUTO");
|
||||
if(isAuto=='Y'){
|
||||
alert("您选择的投放目前是自动分类,无需设置!");
|
||||
}else{
|
||||
var Result = AsControl.RunJavaMethodTrans("com.tenwa.lease.app.fivegradeclassification.FiveGradeClassificationController", "changeFiveGradeAuto", "contractId="+contractId+",paymentNumber="+paymentNumber+",isAuto="+"Y");
|
||||
if(Result=='success'){
|
||||
alert("操作成功!");
|
||||
reloadSelf();
|
||||
}
|
||||
}
|
||||
}
|
||||
function cancelAutoClassification(){
|
||||
var contractId = getItemValue(0,getRow(),"ID");
|
||||
var paymentNumber = getItemValue(0,getRow(),"PAYMENT_NUMBER");
|
||||
var isAuto = getItemValue(0,getRow(),"IS_AUTO");
|
||||
if(isAuto=='N'){
|
||||
alert("您选择的投放目前不是自动分类,无需设置!");
|
||||
}else{
|
||||
var Result = AsControl.RunJavaMethodTrans("com.tenwa.lease.app.fivegradeclassification.FiveGradeClassificationController", "changeFiveGradeAuto", "contractId="+contractId+",paymentNumber="+paymentNumber+",isAuto="+"N");
|
||||
if(Result=='success'){
|
||||
alert("操作成功!");
|
||||
reloadSelf();
|
||||
}
|
||||
}
|
||||
}
|
||||
function afterSearch(){
|
||||
for(var i=0;i<getRowCount(0);i++){
|
||||
getObj(0,i,"operation").innerHTML='<a class="box" onclick="upload(\''+getItemValue(0,i,"id")+'\')" style={color:#000;text-decoration:underline;}><font color="blue">上传</font></a>';
|
||||
var filelist=getObj(0,i,"filelist").innerHTML;
|
||||
var obj=eval('('+filelist+')');
|
||||
var html="";
|
||||
for(var file in obj){
|
||||
//if(isReview!="true"&&sRightType!="ReadOnly"&&(sObjectType==obj[file]['objecttype'])&&username.replace(/\s+/g," ")==obj[file]['inputuser']){
|
||||
// html+='<a class="btn_icon btn_icon_close" onclick="deleteFile(\''+obj[file]['id']+'\');"> </a>';
|
||||
//}
|
||||
if(obj[file]['image']=="true"){
|
||||
html+='<a class="btn_icon btn_icon_search" onclick="showImage(\''+obj[file]['id']+'\',\''+obj[file]['filename']+'\');"> </a>';
|
||||
}
|
||||
if(obj[file]['word']=="true"){
|
||||
html+='<a class="btn_icon btn_icon_search" onclick="showWord(\''+obj[file]['id']+'\',\''+obj[file]['filename']+'\');"> </a>';
|
||||
}
|
||||
if(obj[file]['pdf']=="true"){
|
||||
html+='<a class="btn_icon btn_icon_search" onclick="showPDF(\''+obj[file]['id']+'\',\''+obj[file]['filename']+'\');"> </a>';
|
||||
}
|
||||
html+='<a onclick=downloadFile(\''+obj[file]['id']+'\')><font color="blue">'+obj[file]['filename']+'</font></a>';
|
||||
html+='【上传时间:'+obj[file]['inputtime']+'】';
|
||||
html+='【上传人:'+obj[file]['inputuser']+'】';
|
||||
html+='【大小:'+Math.floor(obj[file]['FileSize']/1024*100)/100+'kb】';
|
||||
html+='</br>';
|
||||
|
||||
}
|
||||
getObj(0,i,"filelist").innerHTML=html;
|
||||
getObj(0,i,"filelist").style["white-space"]="pre-wrap";
|
||||
var height = getObj(0,i,"filelist").offsetHeight+1;
|
||||
setItemStyle(0,i,"FULLNAME","height="+height+"px");
|
||||
};
|
||||
}
|
||||
function upload(id){
|
||||
var param="Library_id="+id;
|
||||
var sUrl="/Tenwa/Apzl/FileUpload/AutoFiveAttachmentUpload.jsp";
|
||||
AsDialog.PopView(sUrl,param,"dialogWidth=450px;dialogHeight=400px;resizable=no;scrollbars=no;status:yes;maximize:no;help:no;",function(message){
|
||||
|
||||
reloadSelf();
|
||||
heping();
|
||||
},"上传附件");
|
||||
}
|
||||
function heping(){
|
||||
$("#TR_Right_myiframe0_0").attr("class","color_zebra0");
|
||||
huanhang("Doc_Name");
|
||||
}
|
||||
function huanhang(col){
|
||||
var tab=document.getElementById("myiframe0");
|
||||
var a= getColIndex(0,col);
|
||||
for(var i=0;i<tab.rows.length-1;i++){
|
||||
$("#INPUT_myiframe0_"+col+"_"+i+"_"+a).parent().attr("style","white-space: pre-wrap;");
|
||||
}
|
||||
}
|
||||
function showPDF(id,name){
|
||||
var sUrl="/Tenwa/Comm/DocList/showPDF.jsp";
|
||||
var param="attrid="+id;
|
||||
AsControl.OpenPage(sUrl,param,"","");
|
||||
}
|
||||
function showWord(id,name){
|
||||
var sUrl="/Tenwa/Comm/DocList/showWord.jsp";
|
||||
var param="attrid="+id;
|
||||
AsControl.OpenPage(sUrl,param,"","");
|
||||
}
|
||||
function showImage(id,name){
|
||||
var sUrl="/Tenwa/Comm/DocList/showImage.jsp";
|
||||
var param="attrid="+id;
|
||||
AsDialog.PopView(sUrl,param,"dialogWidth=480px;dialogHeight=400px;",function(message){
|
||||
|
||||
},name);
|
||||
}
|
||||
function downloadFile(id){
|
||||
if(!frames["downloadTemplate"]) $("<iframe name='downloadTemplate' style='display:none;'></iframe>").appendTo("body");
|
||||
window.open(sWebRootPath+"/servlet/view/docDownloadServlet?CompClientID=<%=sCompClientID%>&sqlString=save@"+id, "downloadTemplate");
|
||||
}
|
||||
function deleteFile(id){
|
||||
var sParams="attId="+id;
|
||||
var sReturnInfo = RunJavaMethodTrans("com.tenwa.doc.action.DocListAction","deleteAttr",sParams);
|
||||
reloadSelf();
|
||||
heping();
|
||||
}
|
||||
</script>
|
||||
<%@ include file="/Frame/resources/include/include_end.jspf"%>
|
||||
@ -0,0 +1,11 @@
|
||||
<%@ page contentType="text/html; charset=GBK"%><%@
|
||||
include file="/IncludeBegin.jsp"%><%
|
||||
String PG_TITLE = "隐藏左侧区域的Main页面"; // 浏览器窗口标题 <title> PG_TITLE </title>
|
||||
String PG_CONTENT_TITLE = "<strong class='pt9white'>五级分类</strong>"; //默认的内容区标题
|
||||
String PG_CONTNET_TEXT = "请点击左侧列表";//默认的内容区文字
|
||||
String PG_LEFT_WIDTH = "1";//默认的treeview宽度
|
||||
%><%@include file="/Resources/CodeParts/Main04.jsp"%>
|
||||
<script type="text/javascript">
|
||||
AsControl.OpenView("/Tenwa/Lease/App/AutoFiveGradeClassification/AutoFiveGradeClassificationListTraditional.jsp","","right","");
|
||||
</script>
|
||||
<%@ include file="/IncludeEnd.jsp"%>
|
||||
@ -79,7 +79,6 @@
|
||||
}
|
||||
}
|
||||
function save(){
|
||||
debugger;
|
||||
var oDate = new Date(); //实例一个时间对象;
|
||||
var year = oDate.getFullYear(); //获取系统的年;
|
||||
|
||||
|
||||
@ -34,7 +34,6 @@
|
||||
</style>
|
||||
<script>
|
||||
var ProvinceCity=function(){
|
||||
debugger;
|
||||
this.proviceCity={};//省份城市
|
||||
this.brandServicePath="com.tenwa.lease.app.carbrand.CarBrandService";
|
||||
this.loadProvoiceCity();
|
||||
|
||||
@ -50,7 +50,6 @@
|
||||
|
||||
//发送短信
|
||||
function sendMsgSingleMt(){
|
||||
debugger;
|
||||
var sParm=getItemValueArray(0, "id");
|
||||
if(typeof(sParm)=="undefined" || sParm.length==0){
|
||||
alert("请选择至少一条数据");
|
||||
|
||||
@ -60,7 +60,6 @@ $(function(){
|
||||
|
||||
}
|
||||
function setUsedQuota(){
|
||||
debugger;
|
||||
var id = getItemValue(0,0,'id');
|
||||
var nouser = getItemValue(0,0,'ALL_QUOT')
|
||||
if(typeof(id)=="undefined" || id.length==0 ){
|
||||
|
||||
@ -10,7 +10,6 @@
|
||||
//alert(getHtmlMessage('1'));//请选择一条信息!
|
||||
return;
|
||||
}
|
||||
debugger;
|
||||
sReturn = sReturn.split("@");
|
||||
var channelApplyId=sReturn[0];
|
||||
var applyData=sReturn[1];
|
||||
|
||||
@ -62,7 +62,6 @@
|
||||
AsControl.OpenView("", "","_self","");
|
||||
}
|
||||
<%-- function selectFramNumb(){
|
||||
debugger;
|
||||
var userid="<%=CurUser.getUserID()%>";
|
||||
AsDialog.OpenSelector("SelectCarMessage","userid,"+userid+",FRAME_NUMBER,"+"<%=framenumber%>","dialogWidth=" + parseInt(window.screen.width * 0.43) + "px dialogHeight=" + parseInt(window.screen.height * 0.4) + "px",function(sReturn){
|
||||
if(!sReturn||sReturn=="_CANCEL_"||sReturn=="_NONE_"){
|
||||
|
||||
@ -82,7 +82,6 @@
|
||||
|
||||
//批量代收
|
||||
function batchCollect(){
|
||||
//debugger;
|
||||
if(confirm('确实要执行代收操作吗?')){
|
||||
var sParm = getItemValueArray(0,"id");
|
||||
var fileSavePath = "<%=CurConfig.getConfigure("InterfaceFileSavePath")%>";
|
||||
|
||||
@ -301,7 +301,6 @@
|
||||
function sendMessageAgain(){
|
||||
var results = RunJavaMethodTrans("com.tenwa.action.channelportal.businesshanding.contractaward.ContractAward","projectStatus","project_id=<%=projectId%>");
|
||||
var result=results.split("@");
|
||||
debugger;
|
||||
if(eval(result[0])<3){
|
||||
AsDebug.showMessage("提示","请先制作合同!","","",true);
|
||||
return;
|
||||
|
||||
@ -82,7 +82,7 @@
|
||||
|
||||
//¼ÓÔØÒ»¼¶·ÖÀàÑ¡Ïî
|
||||
function initOneClass(status){
|
||||
var oneClass=getItemValue(0,0,"ONE_CLASSIFY");debugger;
|
||||
var oneClass=getItemValue(0,0,"ONE_CLASSIFY");
|
||||
var sql="";
|
||||
if('<%=a%>'=="true"&&'<%=b%>'=="true"){
|
||||
sql="select itemno,itemname from code_library where codeno='ProductContractTemplate' AND LENGTH(itemno)=3";
|
||||
@ -104,7 +104,7 @@
|
||||
var oneClass=getItemValue(0,0,"ONE_CLASSIFY");
|
||||
if(oneClass==""){oneClass=" ";}
|
||||
var twoClass=getItemValue(0,0,"TWO_CLASSIFY");
|
||||
var sql="";debugger;
|
||||
var sql="";
|
||||
if('<%=a%>'=="false"&&'<%=b%>'=="true"){
|
||||
sql="select itemno,itemname from code_library where codeno='ProductContractTemplate' and itemno like '"+oneClass+"%' AND LENGTH(itemno)=6";
|
||||
}else{
|
||||
|
||||
@ -332,7 +332,6 @@
|
||||
|
||||
/*~[Describe=返回列表页面;InputParam=无;OutPutParam=无;]~*/
|
||||
function goBack(){
|
||||
debugger;
|
||||
//要跳转的url
|
||||
var url="/Tenwa/Lease/Flow/Comm/LBGuaranteeUnit_Car/LBGuaranteeUnitList.jsp";
|
||||
//要传的参数
|
||||
|
||||
@ -107,7 +107,7 @@
|
||||
{
|
||||
beforeInsert();
|
||||
}
|
||||
beforeUpdate();debugger;
|
||||
beforeUpdate();
|
||||
var sCustomerId = getItemValue(0,getRow(0),"Customer_ID");
|
||||
var sIsMain = getItemValue(0,getRow(0),"Is_Main");
|
||||
var id = getItemValue(0,getRow(0),"id");
|
||||
|
||||
@ -120,7 +120,6 @@
|
||||
/*~[Describe=返回;InputParam=无;OutPutParam=无;]~*/
|
||||
function goBack()//页面的返回
|
||||
{
|
||||
debugger;
|
||||
//要跳转的url
|
||||
var sUrl = "/Tenwa/Lease/Flow/Comm/LCPayCondtionPayment/LCPayCondtionList.jsp";
|
||||
//要传的参数
|
||||
|
||||
@ -47,7 +47,6 @@
|
||||
var libId = AsControl.RunJsp("/Tenwa/Lease/Flow/Contract/ContractInsurance/GetLBDocAttributeIDsForClaimsBook.jsp",
|
||||
"FLOW_UNID=<%=ID%>&OBJECTTYPE=InsuranceClaimsFlow");
|
||||
var sParams="libId="+libId;
|
||||
debugger;
|
||||
var sReturnInfo = RunJavaMethodTrans("com.tenwa.doc.action.DocListAction","recoveryAttr",sParams);
|
||||
}
|
||||
$(function(){
|
||||
|
||||
@ -56,7 +56,6 @@
|
||||
SviewTab(param["ObjectType"],param["ObjectNo"],param["FlowNo"],param["PhaseNo"],param["TaskNo"]);
|
||||
}
|
||||
function SviewTab(sObjectType,sObjectNo,sFlowNo,sPhaseNo,sTaskNo){
|
||||
debugger;
|
||||
var flowkey=getItemValue(0,getRow(0),"FLOW_KEY");
|
||||
//根据flow_object的数据,获取Flow_Task表中未完成的任务流水号
|
||||
if(sTaskNo==""){
|
||||
|
||||
@ -5,7 +5,7 @@
|
||||
|
||||
String flowunid = CurPage.getParameter("FlowUnid");
|
||||
String rightType = CurPage.getParameter("RightType");
|
||||
ASObjectModel doTemp = new ASObjectModel("VILCFundPlanList");
|
||||
ASObjectModel doTemp = new ASObjectModel("VILCFundPlanListtradition");
|
||||
ASObjectWindow dwTemp = new ASObjectWindow(CurPage,doTemp,request);
|
||||
dwTemp.Style="1"; //--设置为Grid风格--
|
||||
//dwTemp.MultiSelect = true; //多选
|
||||
|
||||
@ -170,7 +170,6 @@
|
||||
/*~[Describe=确认新增申请;InputParam=无;OutPutParam=无;]~*/
|
||||
function doCreation()
|
||||
{
|
||||
// debugger;
|
||||
// var result = checkNameAndCertId();
|
||||
// if(result=="2"){
|
||||
// alert("证件号已存在!请重新输入!");
|
||||
|
||||
@ -52,7 +52,6 @@
|
||||
function afterSearch(){
|
||||
for(var i=0;i<getRowCount(0);i++){
|
||||
getObj(0,i,"operation").innerHTML='<a class="box" onclick="upload(\''+getItemValue(0,i,"id")+'\')" style={color:#000;text-decoration:underline;}><font color="blue">ÉÏ´«</font></a>';
|
||||
debugger;
|
||||
var filelist=getObj(0,i,"filelist").innerHTML;
|
||||
var obj=eval('('+filelist+')');
|
||||
var html="";
|
||||
|
||||
@ -106,7 +106,6 @@ function importFK(){
|
||||
|
||||
//导出凭证
|
||||
function createContractByTemplate(){
|
||||
debugger;
|
||||
//var id=getItemValue(0,getRow(),'f3');
|
||||
var id = getItemValueArray(0,'f3');
|
||||
if(id.length == 0){
|
||||
|
||||
@ -141,7 +141,6 @@
|
||||
|
||||
//괏聯쏜적口몽앴괏聯쏜쏜띨*괏聯쏜적쪽/365*(藁뻘휑퍅-連마휑퍅)
|
||||
function changeDepositInterest(){
|
||||
debugger;
|
||||
var deposit_amount=getItemValue(0,getRow(0),"CAUTION_MONEY");//괏聯쏜쏜띨
|
||||
var deposit_rate=getItemValue(0,getRow(0),"CAUTION_MONEY_RATIO");//괏聯쏜적쪽
|
||||
var deposit_pay_date=getItemValue(0,getRow(0),"CAUTION_PAY_DATE");//괏聯쏜連마휑퍅
|
||||
|
||||
@ -2,10 +2,9 @@ package com.tenwa.flow.comm.handler;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
|
||||
import jbo.app.tenwa.customer.CUSTOMER_ACCOUNT;
|
||||
import jbo.app.tenwa.customer.CUSTOMER_ADDRESS;
|
||||
import jbo.app.tenwa.customer.CUSTOMER_RELATIVE;
|
||||
import jbo.app.tenwa.customer.CUSTOMER_COMPANY;
|
||||
import jbo.app.tenwa.customer.CUSTOMER_TEL;
|
||||
import jbo.com.tenwa.lease.comm.LB_UNION_LESSEE_TEMP;
|
||||
|
||||
@ -55,15 +54,15 @@ public class LBTenantryInfoHandler extends CommonHandler{
|
||||
bo.setAttributeValue("CLIENT_POSTCODE", zipcode);
|
||||
}
|
||||
//高管
|
||||
BizObjectManager bom1 = JBOFactory.getBizObjectManager(CUSTOMER_RELATIVE.CLASS_NAME);
|
||||
BizObjectManager bom1 = JBOFactory.getBizObjectManager(CUSTOMER_COMPANY.CLASS_NAME);
|
||||
//查询高管信息
|
||||
@SuppressWarnings("unchecked")
|
||||
List<BizObject> CUSTOMER_RELATIVES = bom1.createQuery("CUSTOMERID=:CUSTOMERID").setParameter("CUSTOMERID",customerid).getResultList(false);
|
||||
if(CUSTOMER_RELATIVES != null && CUSTOMER_RELATIVES.size() > 0){
|
||||
//获取法人代表
|
||||
String customerName = CUSTOMER_RELATIVES.get(0).getAttribute("customername").toString();
|
||||
String countrytaxno = CUSTOMER_RELATIVES.get(0).getAttribute("countrytaxno").toString();
|
||||
//初始化法定代表人
|
||||
bo.setAttributeValue("CLIENT_PERSON",customerName);
|
||||
bo.setAttributeValue("countrytaxno",countrytaxno);
|
||||
}
|
||||
//联系电话
|
||||
BizObjectManager bom2 = JBOFactory.getBizObjectManager(CUSTOMER_TEL.CLASS_NAME);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user