1234567891011121314151617181920212223242526272829303132333435363738 |
- <%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
- <script type="text/javascript">
- var detail_load = function(id){
- $("#id_add").val(id);
- }
- var uploadBtFile_submit = function(){
- parent.$.messager.progress({
- title : '提示',
- text : '数据处理中,请稍候....'
- });
- $('#uploadFileForm').form('submit',{
- url : whzl.basePath+'/subsidiesPayableAction_uploadBtFile',
- success : function(result){
- parent.$.messager.progress('close');
- var parseResult = $.parseJSON(result);
- if(parseResult.success){
- $("#addRentsDialog").dialog("close");
- $("#houseDataGrid").datagrid("reload");
- }else{
- $.messager.alert("提示",parseResult.message);
- }
- $("#houseDataGrid").datagrid("reload");
- }
- });
- }
- </script>
- <form id="uploadFileForm" method="post" enctype="multipart/form-data">
- <table class="mytable" style="width: 100%;table-layout: fixed">
- <tr>
- <th width="25%">附件</th>
- <td>
- <input type="file" multiple="multiple" name="upload" id="file_add">
- <input type="hidden" id="id_add" name="subsidiesPayable.securityPersonId">
- </td>
- </tr>
- </table>
- </form>
|