123456789101112131415161718192021222324252627282930313233 |
- //增加
- function addTransferDaily(){
- //取父页面的变量
- var sub_fd_id = parent.fd_id;
- $("#FILLER1_215").val(sub_fd_id);
- $form = $('#fillForm');
- var url = $.pathname() + '/ws/crud/CRUDService/create';
- $.ajax({
- url : url,
- type : 'post',
- data : $form.serialize(),
- dataType : 'text',
- timeout : 60000,
- success : function(data){
- //goBack();
- $.messager.alert("保存成功",null,null,null,-1);
- },
- error : function(){
- $.messager.alert('操作失败');
- }
- });
- }
-
- //
- function goBack() {
- var url = "/nwyj/page/business/am/contingencyPlan/"+"PlanGrade.jsp";
- window.parent.document.getElementById("frmright").setAttribute("src", ""+encodeURI(url));
- }
-
- $.messager=top.Dialog;
|