<div id="divAttachment" title="附件" style="display:none">
    <div>
        <table class="tableDetail">
            <tr>
                <td class="label" style="width:60px">附件</td>
                <td class="list" style="height:180px; vertical-align:top;">
                    <table id='tAttachment' style="width:100%">
                        <thead>
                            <tr class="title">
                                <th style="width:50px">类型</th>
                                <th>名称</th>
                                <th style="width:80px">大小</th>
                                <th>上传者</th>
                                <th style="width:80px">操作</th>
                            </tr>
                        </thead>
                        <tbody id="dAttachment"></tbody>
                    </table>
                </td>
            </tr>
            <tr>
                <td class="label" style="width:80px">上传</td>
                <td style="vertical-align:middle">

                    <input style="float:left; width:240px;" type="file" id="fileToUpload" name="fileToUpload" />
                    <img style="float:right; margin-right:10px; display:none" id="loading" src="/Images/loading.gif" alt="" />
                    <div class="gray clear">
                        &nbsp;注意：文件大小不能超过 @ViewBag.FileSizeLimitation<span></span>
                    </div>
                </td>
            </tr>
        </table>
    </div>
    <div style="text-align:right;">
        <div class="error-msg"></div>
        <button type="button" class="btn btn-default" onclick="$('#divAttachment').dialog('close');">关闭</button>
        <button id="btnUpload" type="button" class="btn btn-primary">上传并保存</button>
    </div>
</div>