经销商激活状态集团外的问题
This commit is contained in:
parent
628bf43022
commit
118943ad93
@ -42,13 +42,13 @@
|
||||
function view(){
|
||||
var sUrl = "/DealerDeposit/DMarginChargeInfo_Temp.jsp";
|
||||
var ID = getItemValue(0,getRow(0),'ID');
|
||||
var id = getItemValue(0,getRow(0),'id');
|
||||
//var id = getItemValue(0,getRow(0),'id');
|
||||
var param = '<%=ProjectName%>';
|
||||
if(typeof(ID)=="undefined" || ID.length==0 ){
|
||||
alert("请选择一条信息!");
|
||||
return ;
|
||||
}
|
||||
AsControl.OpenView(sUrl,"ID="+ID+"&id="+id+'&rightType=ReadOnly&ProjectName='+param,"_self","");
|
||||
AsControl.OpenView(sUrl,'ID='+ID+'&rightType=ReadOnly&ProjectName='+param,"_self","");
|
||||
}
|
||||
|
||||
function viewAndEdit(){
|
||||
|
||||
@ -58,11 +58,6 @@ function teaming(){
|
||||
return;
|
||||
}
|
||||
|
||||
if(confirm("确定激活?")){
|
||||
var result = AsControl.RunJavaMethodTrans("com.tenwa.customer.distributor.DeleteDistributor","setDistributorStatus","id="+id+",distributor_status="+distributor_status);
|
||||
alert("更改状态成功");
|
||||
reloadSelf();
|
||||
}
|
||||
var id = getItemValue(0,getRow(0),'ID');
|
||||
//debugger;
|
||||
|
||||
@ -73,6 +68,11 @@ function teaming(){
|
||||
alert("集团外的经销商需收取保证金后再进行激活!");
|
||||
return;
|
||||
}
|
||||
if(confirm("确定激活?")){
|
||||
var result = AsControl.RunJavaMethodTrans("com.tenwa.customer.distributor.DeleteDistributor","setDistributorStatus","id="+id+",distributor_status="+distributor_status);
|
||||
alert("更改状态成功");
|
||||
reloadSelf();
|
||||
}
|
||||
}
|
||||
|
||||
function teamingSuspend(){
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user