 <?php } ?>
              </div>
            </div>
          <?php } ?>
      </div>
      <div class="modal-footer">
        <button class="btn btn-primary btn-order" type="submit"><?php if ($edit_flag == 1) { ?>保存信息<?php } else { ?>确认发货<?php } ?></button>
        <button class="btn btn-secondary" data-dismiss="modal" type="button">取消</button>
      </div>
    </form>
  </div>
</div>
<script language="javascript">
    $("input[name=sendtype]").off("click").on("click", function () {
   