经销商账户信息排版错误和带值问题

This commit is contained in:
zhangjun 2018-07-31 11:01:49 +08:00
parent e619eb1be1
commit fc7390dbac
5 changed files with 12 additions and 9 deletions

View File

@ -62,7 +62,7 @@
/*~[Describe=新增记录;InputParam=无;OutPutParam=无;]~*/
function newRecord(){
var sUrl = "/Tenwa/Core/SystemConfig/OwnConfig/BOwnAccount/BOwnAccount.jsp";
AsDialog.PopView(sUrl,'',"resizable=yes;dialogWidth=800px;dialogHeight=400px;center:yes;status:no;statusbar:no",function(){
AsDialog.PopView(sUrl,'',"resizable=yes;dialogWidth=900px;dialogHeight=400px;center:yes;status:no;statusbar:no",function(){
reloadSelf();
},"新增本方信息");
}
@ -76,7 +76,7 @@ function view(){
alert("请选择一条信息!");
return ;
}
AsDialog.PopView(sUrl,'id='+id+'&rightType=ReadOnly',"resizable=yes;dialogWidth=800px;dialogHeight=400px;center:yes;status:no;statusbar:no",function(){
AsDialog.PopView(sUrl,'id='+id+'&rightType=ReadOnly',"resizable=yes;dialogWidth=900px;dialogHeight=400px;center:yes;status:no;statusbar:no",function(){
reloadSelf();
},"本方信息详情");
}
@ -89,7 +89,7 @@ function edit(){
alert("请选择一条信息!");
return ;
}
AsDialog.PopView(sUrl,'id='+id,"resizable=yes;dialogWidth=800px;dialogHeight=400px;center:yes;status:no;statusbar:no",function(){
AsDialog.PopView(sUrl,'id='+id,"resizable=yes;dialogWidth=900px;dialogHeight=400px;center:yes;status:no;statusbar:no",function(){
reloadSelf();
},"修改本方信息");
}

View File

@ -61,7 +61,7 @@
var sUrl = "/Tenwa/Lease/DistributorManage/DistributorApproval/LDistributorAccountInfo.jsp";
var sPara ="flowunid=<%=sFlowUnid%>";
/* AsControl.OpenView(sUrl,'','_self',''); */
AsDialog.PopView(sUrl,sPara,"dialogWidth=800px;dialogHeight=200px;resizable=no;scrollbars=no;status:yes;maximize:no;help:no;",function(){
AsDialog.PopView(sUrl,sPara,"dialogWidth=900px;dialogHeight=200px;resizable=no;scrollbars=no;status:yes;maximize:no;help:no;",function(){
reloadSelf();
},"新增");
@ -75,7 +75,7 @@
alert("参数不能为空!");
return ;
}
AsDialog.PopView(sUrl,"id="+sPara+"&flowunid="+"<%=sFlowUnid%>","dialogWidth=800px;dialogHeight=200px;resizable=no;scrollbars=no;status:yes;maximize:no;help:no;",function(){
AsDialog.PopView(sUrl,"id="+sPara+"&flowunid="+"<%=sFlowUnid%>","dialogWidth=900px;dialogHeight=200px;resizable=no;scrollbars=no;status:yes;maximize:no;help:no;",function(){
reloadSelf();
},"修改");

View File

@ -31,7 +31,7 @@
var sUrl = "/Tenwa/Lease/DistributorManage/DistributorApproval/LDistributorAccountInfo.jsp";
var sPara ="flowunid=<%=sFlowUnid%>";
/* AsControl.OpenView(sUrl,'','_self',''); */
AsDialog.PopView(sUrl,sPara,"dialogWidth=800px;dialogHeight=200px;resizable=no;scrollbars=no;status:yes;maximize:no;help:no;",function(){
AsDialog.PopView(sUrl,sPara,"dialogWidth=900px;dialogHeight=200px;resizable=no;scrollbars=no;status:yes;maximize:no;help:no;",function(){
reloadSelf();
},"新增");
}
@ -43,7 +43,7 @@
alert("参数不能为空!");
return ;
}
AsDialog.PopView(sUrl,"id="+sPara+"&flowunid="+"<%=sFlowUnid%>"+"&RightType=ReadOnly","dialogWidth=800px;dialogHeight=200px;resizable=no;scrollbars=no;status:yes;maximize:no;help:no;",function(){
AsDialog.PopView(sUrl,"id="+sPara+"&flowunid="+"<%=sFlowUnid%>"+"&RightType=ReadOnly","dialogWidth=900px;dialogHeight=200px;resizable=no;scrollbars=no;status:yes;maximize:no;help:no;",function(){
reloadSelf();
},"详情");
}
@ -56,7 +56,7 @@
alert("参数不能为空!");
return ;
}
AsDialog.PopView(sUrl,"id="+sPara+"&flowunid="+"<%=sFlowUnid%>","dialogWidth=800px;dialogHeight=200px;resizable=no;scrollbars=no;status:yes;maximize:no;help:no;",function(){
AsDialog.PopView(sUrl,"id="+sPara+"&flowunid="+"<%=sFlowUnid%>","dialogWidth=900px;dialogHeight=200px;resizable=no;scrollbars=no;status:yes;maximize:no;help:no;",function(){
reloadSelf();
},"详情");
}

View File

@ -37,7 +37,7 @@
alert("参数不能为空!");
return ;
}
AsDialog.PopView(sUrl,"id="+sPara,"dialogWidth=800px;dialogHeight=200px;resizable=no;scrollbars=no;status:yes;maximize:no;help:no;",function(){
AsDialog.PopView(sUrl,"id="+sPara,"dialogWidth=900px;dialogHeight=200px;resizable=no;scrollbars=no;status:yes;maximize:no;help:no;",function(){
//reloadSelf();
},"详情");
}

View File

@ -6,6 +6,7 @@
History Log:
*/
String sFlowUnid = CurPage.getParameter("FlowUnid");//流程编号
String RightType=CurPage.getParameter("RightType");
if(sFlowUnid == null) sFlowUnid="";
ASObjectModel temp = new ASObjectModel("LDistributorChangeInfoHis"); //获取法人原始信息
@ -31,9 +32,11 @@
ASObjectWindow dwTemp = new ASObjectWindow(CurPage, doTemp,request);
dwTemp.Style = "2";//freeform
//dwTemp.ReadOnly = "1";//只读模式
if("ReadOnly".equals(RightType)){
doTemp.setColInnerBtEvent("PROVINCES", "");
doTemp.setColInnerBtEvent("DISTRIBUTOR_ADDRESSNAME", "");
doTemp.setColInnerBtEvent("SUBSIDIARY_COMPANY", "");
}
ASDataObject ado = dwTemp.getDataObject();
ado.setHtmlEvent("LIMIT_APPROVAL_DATE", "onchange", "getenddate");
ado.setHtmlEvent("LIMIT_EFFECTIVE_DATE", "onchange", "getenddate");