Commit ae7a4691 by guanzhenshan

增加默认选择上个月的月份

parent 9ae0e188
......@@ -37,7 +37,7 @@
</div>
<div class="form-group" style="margin-left:10px">
<label>账单月份</label>
<input id="month" name="month" class="form-control" style="width:110px" placeholder="账单归属月份" />
<input id="month" name="month" class="form-control" style="width:110px" placeholder="账单归属月份" value="@(DateTime.Now.AddMonths(-1).ToString("yyyy-MM"))" />
</div>
<div class="form-group" style="margin-left:10px">
<label>时间</label>
......
......@@ -15,7 +15,7 @@
<div style="float:right;width:100%;">
<div id="rightcontain">
<div class="alert alert-warning">
说明:1、退款数据统计的是时间段内的退款发生额,并且排除已取消订单的退款;2、时间段内没有数据的平台不会显示出来;3、广告费、上架费和退款无法分摊到订单里面,但总利润有减去这三项费用;
说明:1、退款数据统计的是时间段内的退款发生额,并且排除已取消订单的退款;2、时间段内没有数据的平台不会显示出来;3、广告费、上架费和退款无法分摊到订单里面,但总利润有减去这三项费用;4、利润率=利润*100/(销售额-预收金额)
</div>
<div class="ibox-content m-b-sm border-bottom">
......@@ -302,7 +302,7 @@
s += '<td class="skuprofit" onclick="ShowSkuProfit(\'' + result[i].platform_type + '\',\'预收订单数\',\'noshippingcount\',1)" title="查看sku分类利润">' + result[i].noshippingcount + '</td>';
s += '<td class="skuprofit" onclick="ShowSkuProfit(\'' + result[i].platform_type + '\',\'利润\',\'profit_total\',1)" title="查看sku分类利润">' + result[i].profit_total + (result[i].rebate_4px == 0 ? '' : '<img style="width:16px;margin-left:3px" src="@Url.Content("~/img/icon-quetion.png")" title="4px物流返利:' + result[i].rebate_4px+'" />') + '</td>';
s += '<td><img style="width:16px;margin-left:3px" src="@Url.Content("~/img/chart-icon.png")" onclick="ShowChart(\'' + result[i].platform_type + '\',\'利润\',\'profit_total\');" title="点击查看利润曲线图"></td>';
s += '<td>' + result[i].profit_rate + '</td>';
s += '<td><span title="' + (result[i].profit_total + '*100/(' + result[i].amount_sales + '-' + result[i].amount_prepaid+')')+'">' + result[i].profit_rate + '</span></td>';
//s += '<td class="alink" onclick="ShowDetail(\'' + result[i].platform_type + '\',\'退款金额\',\'amount_refund\',1)" title="查看订单明细">' + result[i].amount_refund + '</td>';
s += '<td>' + result[i].amount_refund + '</td>';
s += '<td>' + result[i].amount_refund_rate + '</td>';
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment