{js:my97date} {set:$search = IReq::get('search') ? IFilter::act(IReq::get('search'),'strict') : array();}
统计>商户数据统计>商户订单结算
{set:$where = ''} {foreach:items=$search} {if:$item !== ""}{set:$where .= " and ".$key."'".$item."'"}{/if} {/foreach} {set: $page = (isset($_GET['page'])&&(intval($_GET['page'])>0))?intval($_GET['page']):1; $orderGoodsQuery = CountSum::getSellerGoodsFeeQuery(); $orderGoodsQuery->page = $page; $orderGoodsQuery->where = $orderGoodsQuery->getWhere().$where; } {foreach:items = $orderGoodsQuery->find()} {set:$countData = CountSum::countSellerOrderFee(array($item))} {/foreach}
订单号 商户 下单时间 订单金额 平台促销活动 退款金额 分销佣金金额 结算状态 操作
{$item['order_no']} {query:name=seller where=id eq $item[seller_id] item=$sellerRow}{$sellerRow['true_name']}{/query} {$item['create_time']} ¥{$countData['orderAmountPrice']} ¥{$countData['platformFee']} ¥{$countData['refundFee']} ¥{$countData['commissionFee']} {if:$item['is_checkout'] == 1} {else:} {/if} 查看
{$orderGoodsQuery->getPageBar()}