经销商留言修改添加删除功能
This commit is contained in:
parent
158c5d925c
commit
75c7072635
@ -24,7 +24,7 @@
|
||||
String sButtons[][] = {
|
||||
{"true","All","Button","新增","新增","newRecord()","","","","btn_icon_add",""},
|
||||
{"true","","Button","修改","修改","viewAndEdit()","","","","btn_icon_edit",""},
|
||||
//{"true","All","Button","删除","删除","deleteRecord()","","","","btn_icon_delete",""},
|
||||
{"true","All","Button","ɾ³ý","ɾ³ý","deleteRecord()","","","","btn_icon_delete",""},
|
||||
};
|
||||
%><%@include file="/Frame/resources/include/ui/include_list.jspf"%>
|
||||
<script type="text/javascript">
|
||||
@ -67,8 +67,7 @@
|
||||
var param = "flowunid=<%=flowunid%>,phaseNo=<%=phaseNo%>,taskno=<%=taskno%>,userid=<%=userid%>,orgid=<%=orgid%>,id="+id+",type=delete";
|
||||
var Return = AsControl.RunJavaMethodTrans("com.tenwa.voucher.CreateVoucherProcess.Communicationsave","soleVerify",param);
|
||||
if(Return=="true"){
|
||||
alert("删除成功! ");
|
||||
goBack();
|
||||
reloadSelf();
|
||||
}else{
|
||||
alert("删除失败,请联系管理员! ");
|
||||
return;
|
||||
|
||||
@ -14,7 +14,7 @@ public class Communicationsave {
|
||||
return type;
|
||||
}
|
||||
|
||||
public void setType(String id) {
|
||||
public void setType(String type) {
|
||||
this.type = type;
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user