对经销商账户信息新增,详情,修改带值弹框报错做修改

This commit is contained in:
liuz 2018-07-23 10:05:43 +08:00
parent f2893fe8c9
commit cacb5ce964
2 changed files with 4 additions and 2 deletions

View File

@ -70,11 +70,12 @@
function viewAndEdit(){
var sUrl = "/Tenwa/Lease/DistributorManage/DistributorApproval/LDistributorAccountInfo.jsp";
var sPara = getItemValue(0,getRow(0),'id');
var sPara ="flowunid=<%=sFlowUnid%>";
if(typeof(sPara)=="undefined" || sPara.length==0 ){
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,sPara,"dialogWidth=800px;dialogHeight=200px;resizable=no;scrollbars=no;status:yes;maximize:no;help:no;",function(){
reloadSelf();
},"修改");

View File

@ -37,11 +37,12 @@
function viewAndEdit(){
var sUrl = "/Tenwa/Lease/DistributorManage/DistributorApproval/LDistributorAccountInfo.jsp";
var sPara = getItemValue(0,getRow(0),'id');
var sPara ="flowunid=<%=sFlowUnid%>";
if(typeof(sPara)=="undefined" || sPara.length==0 ){
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,sPara,"dialogWidth=800px;dialogHeight=200px;resizable=no;scrollbars=no;status:yes;maximize:no;help:no;",function(){
reloadSelf();
},"详情");
}