<div id="divDetail" title="进库单详细信息" style="display: none">
    <div id="divDetailContent" style="overflow-y: auto;">
        <div class="FL" style="margin-bottom: 5px;">
            <span class="OrderStatus">审核状态：</span><span class="OrderStatus" id="dStatus"></span>
        </div>
        <div class="FR" style="margin-bottom: 5px;">
            <span class="OrderStatus">支付状态：</span> <span id="dPaymentStatus" class="OrderStatus" ></span>
        </div>
        <table class="tableDetail">
            <tr>
                <td class="label">
                    进库单号
                </td>
                <td style="width:240px;" id="dSN"></td>
                <td class="label">
                    类型
                </td>
                <td id="dType"></td>
            </tr>
            <tr>
                <td class="label">
                    供应商
                </td>
                <td id="dSupplierName"></td>
                <td class="label">
                    经办人
                </td>
                <td id="dOperator"></td>
            </tr>

            <tr>
                <td class="label">
                    标价金额
                </td>
                <td id="dMarketAmount"></td>
                <td class="label">
                    折扣金额
                </td>
                <td id="dDiscount"></td>
            </tr>
            <tr>
                <td class="label">
                    实际金额
                </td>
                <td id="dAmount"></td>
                <td class="label">
                    已付金额
                </td>
                <td id="dPaid"></td>
            </tr>

            <tr>               
                <td class="label">
                    进货日期
                </td>
                <td id="dStockInTime"></td>
                <td class="label">
                    开单时间
                </td>
                <td id="dCreatedTime"></td> 
            </tr>
              
            <tr>
                <td class="label">
                    开单人
                </td>
                <td id="dCreator"></td>
                <td class="label">
                    备注
                </td>
                <td id="dMemo"></td>
               
            </tr>
            
            <tr>
                <td class="label">
                    明细
                </td>
                <td colspan="3" id="dDetail">

                    <table class="tableDetail small-control" style="width:100%;max-width:1000px;">
                        <thead>
                            <tr class="title">
                                <th>材料</th>
                                <th style="width:70px">计价单位</th>
                                <th style="width:60px">数量</th>
                                <th style="width:60px">单价</th>
                                <th style="width:80px">金额</th>                               
                                <th>备注</th>
                            </tr>
                        </thead>
                        <tbody id="tableDetail"></tbody>
                    </table>
                </td>
            </tr>              

            <tr>
                <td class="label">
                    支付记录
                </td>
                <td colspan="3" id="dPayment"></td>
            </tr>
            <tr>
                <td class="label">
                    修改历史
                </td>
                <td colspan="3" id="dHistory"></td>
            </tr>
            
        </table>
    </div>
    <div style="text-align: right;">
        <button class="btn btn-default" type="button" onclick="$('#divDetail').dialog('close');">关闭</button>
    </div>
</div>
