1.订单列表页,在‘确认’,‘无效’,’取消‘....增加一个选项’导出exl表格‘
a.增加html代码,order_list.htm
<input name="print" type="submit" id="btnSubmit4" value="{$lang.print_order}" class="button" disabled="true" onclick="this.form.target = '_blank'" />
<input name="eorder" type="submit" id="btnSubmit5" value="e码头订单" class="button" disabled="true" onclick="this.form.target = '_blank'" />
b.admin/order.php,在elseif ($_REQUEST['act'] == 'operate') 2804行,增加
elseif (isset($_POST['eorder']))
{
$require_note = false;
$action = $_LANG['op_confirm'];
$operation = 'eorder';
}
c.admin/order.php,elseif ($_REQUEST['act'] == 'batch_operate_post') 第3406行,增加代码
elseif ('eorder' == $operation){
echo '11';
}
else
{
die('invalid params');
}