<div class="modal" id="linkorderModal" tabindex="-1" role="dialog" aria-labelledby="linkorderModalLabel">
  <div class="modal-dialog" role="document" style="margin-top:150px;">
    <div class="modal-content">
      <div class="modal-header">
        <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
        <h4 class="modal-title" id="myModalLabel">关联订单</h4>
      </div>
      <div class="modal-body" style="padding:50px 0">
        <form id="form_link_order" class="form-horizontal" method="post" action="<?php echo site_url('mail/mail_do_link_order/'.$mail_sn); ?>">
          <div class="form-group">
            <label for="orderno" class="col-sm-4 control-label">订单号</label>
            <div class="col-sm-18">
              <input type="text" class="form-control" name="mail_o_orderno" value="<?php echo $mail_o_orderno; ?>" placeholder="请输入要关联的订单号">
            </div>
          </div>
        </form>
      </div>
      <div class="modal-footer">
        <button type="button" class="btn btn-default" data-dismiss="modal">取消</button>
        <button type="button" class="btn btn-primary" onclick="ajaxSubmit('form_link_order');">关联</button>
      </div>
    </div>
  </div>
</div>