经销商账户信息修改值的带出和基本信息组织机构代码为空不能保存的提示

This commit is contained in:
liuz 2018-07-24 10:53:31 +08:00
parent 72132b6c16
commit 3436cc54bd
3 changed files with 9 additions and 9 deletions

View File

@ -66,16 +66,16 @@
},"新增");
}
//ÐÞ¸Ä
function viewAndEdit(){
var sUrl = "/Tenwa/Lease/DistributorManage/DistributorApproval/LDistributorAccountInfo.jsp";
var sPara = getItemValue(0,getRow(0),'id');
var sPara ="flowunid=<%=sFlowUnid%>";
<%-- var flowunid ="flowunid=<%=sFlowUnid%>"; --%>
if(typeof(sPara)=="undefined" || sPara.length==0 ){
alert("参数不能为空!");
return ;
}
AsDialog.PopView(sUrl,sPara,"dialogWidth=800px;dialogHeight=200px;resizable=no;scrollbars=no;status:yes;maximize:no;help:no;",function(){
AsDialog.PopView(sUrl,"id="+sPara+"&flowunid="+"<%=sFlowUnid%>","dialogWidth=800px;dialogHeight=200px;resizable=no;scrollbars=no;status:yes;maximize:no;help:no;",function(){
reloadSelf();
},"修改");

View File

@ -51,10 +51,10 @@
//组织机构验证码的的校验
function Checkfield(){
var businessLicenseNo = getItemValue(0,getRow(0),"BUSINESS_LICENSE_NO");
// if(businessLicenseNo==""){
// alert("组织机构代码不能为空!");
// return;
// }
if(businessLicenseNo==""){
alert("组织机构代码不能为空!");
return;
}
if(checkORGRight1(businessLicenseNo)){
return true;
}else{

View File

@ -37,12 +37,12 @@
function viewAndEdit(){
var sUrl = "/Tenwa/Lease/DistributorManage/DistributorApproval/LDistributorAccountInfo.jsp";
var sPara = getItemValue(0,getRow(0),'id');
var sPara ="flowunid=<%=sFlowUnid%>";
<%-- var sPara ="flowunid=<%=sFlowUnid%>"; --%>
if(typeof(sPara)=="undefined" || sPara.length==0 ){
alert("参数不能为空!");
return ;
}
AsDialog.PopView(sUrl,sPara,"dialogWidth=800px;dialogHeight=200px;resizable=no;scrollbars=no;status:yes;maximize:no;help:no;",function(){
AsDialog.PopView(sUrl,"id="+sPara+"&flowunid="+"<%=sFlowUnid%>","dialogWidth=800px;dialogHeight=200px;resizable=no;scrollbars=no;status:yes;maximize:no;help:no;",function(){
reloadSelf();
},"详情");
}