172 regels
7.0 KiB
Plaintext
172 regels
7.0 KiB
Plaintext
<#def designatedPath="/personalRefundRateStat.htm"/>
|
|
<script>
|
|
function doComplaint(designId)
|
|
{
|
|
var dialog = new Z.Dialog();
|
|
dialog.title = "退款订单申诉";
|
|
dialog.url = "/personalRefundComplaint.htm?designId=" + designId;
|
|
dialog.width = 800;
|
|
dialog.height = 500;
|
|
dialog.execute();
|
|
}
|
|
</script>
|
|
|
|
${zhiqim_manager_breadcrumb("设计退款率统计")}
|
|
${zhiqim_manager_content()}
|
|
<#-- 导航栏 -->
|
|
<div class="z-tabnav-main z-blue z-mg-b20">
|
|
<nav>
|
|
<ul>
|
|
<li class="z-active">个人退款率统计</li>
|
|
<#if ZmrPathRule.check(request, "/designOrderRefundRateStat.htm")><li onclick="Z.L.href('designOrderRefundRateStat.htm')">设计退款率统计</li></#if>
|
|
<#if ZmrPathRule.check(request, "/designOrderRefundStat.htm")><li onclick="Z.L.href('designOrderRefundStat.htm')">订单退款总统计</li></#if>
|
|
<#if ZmrPathRule.check(request, "/designRefundOrgTotalStatistics.htm")><li onclick="Z.L.href('designRefundOrgTotalStatistics.htm')">组织退款统计</li></#if>
|
|
<#if ZmrPathRule.check(request, "/designRefundPrdTypeStatistics.htm")><li onclick="Z.L.href('designRefundPrdTypeStatistics.htm')">产品退款统计</li></#if>
|
|
</ul>
|
|
</nav>
|
|
</div>
|
|
|
|
<table class="z-table z-bordered z-pd6">
|
|
<tr>
|
|
<td colspan="2">
|
|
<form name="theForm" action="personalRefundRateStat.htm">
|
|
<table class="z-table">
|
|
<tr class="z-h40" bgcolor="${zmr_thead_bgcolor}">
|
|
<td class="z-bold z-px14 zi-pd-l5"> 统计查询条件:</td>
|
|
</tr>
|
|
</table>
|
|
<table class="z-table z-bordered z-pd6">
|
|
<tr class="z-h40 z-bg-white">
|
|
<td>查询日期:
|
|
<input name="beginDate" id="beginDate" onfocus="Z.date(this);" readonly class="z-input ${zmr_color_class} z-w120" value="<#if Validates.isNotEmpty(beginDate)>${beginDate}<#else>${DateTimes.getFirstMonthDay()}</#if>"> -
|
|
<input name="endDate" id="endDate" onfocus="Z.date(this);" readonly class="z-input ${zmr_color_class} z-w120"value="<#if Validates.isNotEmpty(endDate)>${endDate}<#else>${DateTimes.getDateString()}</#if>">
|
|
<input type="hidden" name="query" id="query" value="1" >
|
|
<button class="z-mg-l10 z-button ${zmr_color_class}">查询</button>
|
|
</td>
|
|
</table>
|
|
</form>
|
|
</td>
|
|
</tr>
|
|
<tr class="z-h40">
|
|
<td width="400" valign="top">
|
|
<table class="z-table z-bordered z-pd6 z-bg-white z-text-center">
|
|
<tr class="z-h40">
|
|
<td>设计师</td>
|
|
<td>设计单数</td>
|
|
<td>退款单数</td>
|
|
<td>退款率</td>
|
|
<td>奖罚金</td>
|
|
</tr>
|
|
<#if refundList.size() == 0>
|
|
${zhiqim_manager_no_record(5, "暂时没有退款率统计信息")}
|
|
<#else>
|
|
<tr class="z-h40" bgcolor="${zmr_thead_bgcolor}">
|
|
<td>${designer}</td>
|
|
<td>${list.size()}</td>
|
|
<td>${refundResult.total}</td>
|
|
<td><#if list.size() gt 0>${Maths.division(refundResult.total()*100, list.size(), 1)}%<#else>0.0%</#if></td>
|
|
<td>${Amounts.toYuan(amount)}</td>
|
|
</tr>
|
|
</#if>
|
|
</table>
|
|
</td>
|
|
<td width="*" id="result" valign="top" id="result" >
|
|
|
|
<table class="z-table z-bordered z-bg-white z-text-center">
|
|
<tr class="z-h40">
|
|
<td class="z-text-left z-bold z-px14 z-bg-white" colspan="10"> <#if Validates.isNotEmpty(designer)><span class="z-text-red z-bold">[${designer}]</span></#if>退款订单</td>
|
|
</tr>
|
|
<tr class="z-h40 z-text-center z-bg-gray">
|
|
<td width="90">订单号</td>
|
|
<td width="100">店铺</td>
|
|
<td width="100">旺旺号</td>
|
|
<td width="100">设计师</td>
|
|
<td width="*">产品</td>
|
|
<td width="100">派单类型</td>
|
|
<td width="90">领单时间</td>
|
|
<td width="90">退款时间</td>
|
|
<td width="90">申诉状态</td>
|
|
<td width="150">申诉退回原因</td>
|
|
<td width="120">操作</td>
|
|
</tr>
|
|
<#if refundResult.size() == 0>
|
|
<tr valign="middle" class="z-h40 z-text-center z-bg-white">
|
|
<td colspan="11">暂不存在退款订单</td>
|
|
</tr>
|
|
</#if>
|
|
<#for item : refundResult.list()>
|
|
<tr align="center" class="z-h40 z-pointer" bgcolor="${zhiqim_manager_tr_bg(item_index)}">
|
|
<td>${item.getDesignId()}</td>
|
|
<td>${item.getShopNick()}</td>
|
|
<td>${item.getBuyerNick()}</td>
|
|
<td>${item.getDesigner()}</td>
|
|
<td>${item.getOrderText()}</td>
|
|
<td>
|
|
<#if item.getReceiveType() == 0>手动领单</#if>
|
|
<#if item.getReceiveType() == 1>自动派单</#if>
|
|
<#if item.getReceiveType() == 2>指定派单</#if>
|
|
</td>
|
|
<td>${Sqls.toDateTimeString(item.getDesignReceiveTime())}</td>
|
|
<td>${item.getRefundTime()}</td>
|
|
<td>
|
|
<#if item.getComplaintFlag()==0>未申诉</#if>
|
|
<#if item.getComplaintFlag()==1>申诉成功</#if>
|
|
<#if item.getComplaintFlag()==2><span class="z-text-red">申诉失败</span></#if>
|
|
<#if item.getComplaintFlag()==3><span class="z-text-blue z-bold">申诉中</span></#if>
|
|
</td>
|
|
<td><span style='width:150px; white-space:nowrap; text-overflow:ellipsis; display:block; overflow:hidden;' title="${item.getComplaintBackReason()}">${item.getComplaintBackReason()}</span></td>
|
|
<td><#if item.getComplaintFlag() == 0 || item.getComplaintFlag() == 2><button class="z-button z-blue z-w80" onclick="doComplaint(${item.getDesignId()})">申诉</button></#if></td>
|
|
</tr>
|
|
</#for>
|
|
</table>
|
|
${zhiqim_manager_paging(refundResult, "personalRefundRateStat.htm")}
|
|
|
|
<table class="z-table z-bordered z-bg-white z-text-center z-mg-t20">
|
|
<tr class="z-h40">
|
|
<td class="z-text-left z-bold z-px14 z-bg-white" colspan="10"> <#if Validates.isNotEmpty(designer)><span class="z-text-red z-bold">[${designer}]</span></#if>退款申诉通过订单</td>
|
|
</tr>
|
|
<tr class="z-h40 z-text-center z-bg-gray">
|
|
<td width="90">订单号</td>
|
|
<td width="100">店铺</td>
|
|
<td width="100">旺旺号</td>
|
|
<td width="100">设计师</td>
|
|
<td width="*">产品</td>
|
|
<td width="100">派单类型</td>
|
|
<td width="90">领单时间</td>
|
|
<td width="90">退款时间</td>
|
|
<td width="90">申诉状态</td>
|
|
</tr>
|
|
<#if passResult.size() == 0>
|
|
<tr valign="middle" class="z-h40 z-text-center z-bg-white">
|
|
<td colspan="11">暂不存在退款申诉通过订单</td>
|
|
</tr>
|
|
</#if>
|
|
<#for item : passResult.list()>
|
|
<tr align="center" class="z-h40 z-pointer" bgcolor="${zhiqim_manager_tr_bg(item_index)}">
|
|
<td>${item.getDesignId()}</td>
|
|
<td>${item.getShopNick()}</td>
|
|
<td>${item.getBuyerNick()}</td>
|
|
<td>${item.getDesigner()}</td>
|
|
<td>${item.getOrderText()}</td>
|
|
<td>
|
|
<#if item.getReceiveType() == 0>手动领单</#if>
|
|
<#if item.getReceiveType() == 1>自动派单</#if>
|
|
<#if item.getReceiveType() == 2>指定派单</#if>
|
|
</td>
|
|
<td>${Sqls.toDateTimeString(item.getDesignReceiveTime())}</td>
|
|
<td>${item.getRefundTime()}</td>
|
|
<td>
|
|
<#if item.getComplaintFlag()==0>未申诉</#if>
|
|
<#if item.getComplaintFlag()==1>申诉成功</#if>
|
|
<#if item.getComplaintFlag()==2><span class="z-text-red">申诉失败</span></#if>
|
|
<#if item.getComplaintFlag()==3><span class="z-text-blue z-bold">申诉中</span></#if>
|
|
</td>
|
|
</tr>
|
|
</#for>
|
|
</table>
|
|
${zhiqim_manager_paging(passResult)}
|
|
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
${zhiqim_manager_content_end()} |