|
@@ -47,6 +47,7 @@
|
|
|
<option value="2" <#if postage.postageManagerStatus??><#if postage.postageManagerStatus == 2 >selected="selected"</#if></#if>>通过</option>
|
|
|
<option value="3" <#if postage.postageManagerStatus??><#if postage.postageManagerStatus == 3 >selected="selected"</#if></#if>>驳回</option>
|
|
|
</select>
|
|
|
+
|
|
|
<select class="my-select" name="postageFinanceStatus" id="postageFinanceStatus" style="height: 36px;width: 100px;margin: 0px;padding: 6px 10px 6px 15px;">
|
|
|
<option value="">财务审核</option>
|
|
|
<option value="1" <#if postage.postageFinanceStatus??><#if postage.postageFinanceStatus == 1 >selected="selected"</#if></#if>>待审核</option>
|
|
@@ -55,20 +56,26 @@
|
|
|
<option value="4" <#if postage.postageFinanceStatus??><#if postage.postageFinanceStatus == 4 >selected="selected"</#if></#if>>已转账</option>
|
|
|
</select>
|
|
|
|
|
|
+ <select class="my-select" name="postageTransferStatus" id="postageTransferStatus" style="height: 36px;width: 100px;margin: 0px;padding: 6px 10px 6px 15px;">
|
|
|
+ <option value="">财务打款</option>
|
|
|
+ <option value="1" <#if postage.postageTransferStatus??><#if postage.postageTransferStatus == 1 >selected="selected"</#if></#if>>待转</option>
|
|
|
+ <option value="2" <#if postage.postageTransferStatus??><#if postage.postageTransferStatus == 2 >selected="selected"</#if></#if>>已转</option>
|
|
|
+ </select>
|
|
|
+
|
|
|
<button type="submit" class="btn" style="background: #32a3d8;color: #fff;height: 35px; id="" name=""><i class="Hui-iconfont"></i> 搜索</button>
|
|
|
</form>
|
|
|
</div>
|
|
|
|
|
|
-
|
|
|
<div class="mt-20">
|
|
|
<table class="table table-border table-bg table-bordered">
|
|
|
<thead>
|
|
|
<tr class="text-c">
|
|
|
- <th width="50">客诉编号</th>
|
|
|
+ <th width="40">客诉编号</th>
|
|
|
<th width="50">客服人员</th>
|
|
|
<th width="50">申请状态</th>
|
|
|
- <th width="50">客服经理审核状态</th>
|
|
|
- <th width="50">财务审核状态</th>
|
|
|
+ <th width="50">客服经理审核</th>
|
|
|
+ <th width="50">财务审核</th>
|
|
|
+ <th width="50">财务打款</th>
|
|
|
<th width="60">订单来源</th>
|
|
|
<th width="70">售后处理方式</th>
|
|
|
<th width="80">订单号</th>
|
|
@@ -115,11 +122,20 @@
|
|
|
<#if postage.postageFinanceStatus == 1>
|
|
|
审核中
|
|
|
<#elseif postage.postageFinanceStatus == 2>
|
|
|
- 通过(已申请待转账)
|
|
|
+ 通过
|
|
|
<#elseif postage.postageFinanceStatus == 3>
|
|
|
驳回
|
|
|
- <#elseif postage.postageFinanceStatus == 4>
|
|
|
- 已转账
|
|
|
+ </#if>
|
|
|
+ <#else>
|
|
|
+ -
|
|
|
+ </#if>
|
|
|
+ </td>
|
|
|
+ <td>
|
|
|
+ <#if postage.postageTransferStatus??>
|
|
|
+ <#if postage.postageTransferStatus == 1>
|
|
|
+ 待转
|
|
|
+ <#elseif postage.postageTransferStatus == 2>
|
|
|
+ 已转
|
|
|
</#if>
|
|
|
<#else>
|
|
|
-
|
|
@@ -171,7 +187,7 @@
|
|
|
</#if>
|
|
|
</td>
|
|
|
<td>${postage.postageLogisticsNo!''}</td>
|
|
|
- <td>${postage.postageAmount!''}</td>
|
|
|
+ <td>${postage.postageAmount/100!''}</td>
|
|
|
<td>${postage.postageAlipay!''}</td>
|
|
|
<td>${postage.postageAlipayName!''}</td>
|
|
|
<td>
|
|
@@ -207,15 +223,24 @@
|
|
|
<a style="text-decoration:none" href="javascript:;" title="审核通过" onclick="updatePostage(${postage.postageId},2,3);">
|
|
|
<i class="iconfont icon-pass-2-copy"></i>
|
|
|
</a>
|
|
|
- <a style="text-decoration:none" href="javascript:;" title="审核不通过" onclick="updatePostage(${postage.postageId},2,3);">
|
|
|
+ <a style="text-decoration:none" href="javascript:;" title="审核不通过" onclick="updatePostage(${postage.postageId},3,3);">
|
|
|
<i class="iconfont icon-bohui"></i>
|
|
|
</a>
|
|
|
</#if>
|
|
|
- <#if postage.postageFinanceStatus?? && postage.postageFinanceStatus == 2 && postage.financePay==1 >
|
|
|
- <a style="text-decoration:none" href="javascript:;" title="已转账" onclick="updatePostage(${postage.postageId},4,4);">
|
|
|
+
|
|
|
+ <#if postage.postageTransferStatus?? && postage.postageTransferStatus == 1 && postage.financePay==1 >
|
|
|
+ <a style="text-decoration:none" href="javascript:;" title="已转账" onclick="updatePostage(${postage.postageId},2,4);">
|
|
|
<i class="iconfont icon-zhuanzhang"></i>
|
|
|
</a>
|
|
|
+
|
|
|
+ </#if>
|
|
|
+
|
|
|
+ <#if postage.postageTransferStatus?? && (postage.postageTransferStatus == 1 || postage.postageTransferStatus == 2) >
|
|
|
+ <a style="text-decoration:none" href="javascript:;" title="打印" onclick="printPostage(${postage.postageId});">
|
|
|
+ <i class="Hui-iconfont"></i>
|
|
|
+ </a>
|
|
|
</#if>
|
|
|
+
|
|
|
</td>
|
|
|
</tr>
|
|
|
</#list>
|
|
@@ -226,9 +251,66 @@
|
|
|
</table>
|
|
|
</div>
|
|
|
</div>
|
|
|
+
|
|
|
+<div style="padding: 0px;margin: 0px;display: nonde;" >
|
|
|
+ <div id="printlist" style="">
|
|
|
+ <ul style=" height: 460px;margin-left: 20px;margin-right: 20px;">
|
|
|
+ <li style="font-size: 23px;height: 25px;display: block;text-align: center;font-weight: bold;margin-top: 15px">商品换货退货退款审批</li>
|
|
|
+ <li style="font-size: 15px;height: 30px;display: block;text-align: left;margin-top: 15px">深圳爱贝源科技有限公司 申请日期:<span>2018-12-11</span></li>
|
|
|
+ <li style="height: 40px;font-size: 12px;font-weight: normal;border: 1px solid #000000;">
|
|
|
+ <div style="float:left;display:block;width:80px;line-height: 40px;height: 40px;border-right: 1px solid #000000;text-align: center;">审批编码</div>
|
|
|
+ <div style="float:left;display:block;width:140px;line-height: 40px;height: 40px;text-align: center;">2018xxxxxxxxxxxxxxxx</div>
|
|
|
+ </li>
|
|
|
+ <li style="height: 40px;font-size: 12px;font-weight: normal;border-bottom: 1px solid #000000;border-left: 1px solid #000000;border-right: 1px solid #000000;">
|
|
|
+ <div style="float:left;display:block;width:80px;line-height: 40px;height: 40px;border-right: 1px solid #000000;text-align: center;">申请人</div>
|
|
|
+ <div style="float:left;display:block;width:140px;line-height: 40px;height: 40px;text-align: center;">wxm</div>
|
|
|
+ </li>
|
|
|
+ <li style="height: 40px;font-size: 12px;font-weight: normal;border-bottom: 1px solid #000000;border-left: 1px solid #000000;border-right: 1px solid #000000;">
|
|
|
+ <div style="float:left;display:block;width:80px;line-height: 40px;height: 40px;border-right: 1px solid #000000;text-align: center;">申请部门</div>
|
|
|
+ <div style="float:left;display:block;width:140px;line-height: 40px;height: 40px;text-align: center;">运营部</div>
|
|
|
+ </li>
|
|
|
+ <li style="height: 40px;font-size: 12px;font-weight: normal;border-bottom: 1px solid #000000;border-left: 1px solid #000000;border-right: 1px solid #000000;">
|
|
|
+ <div style="float:left;display:block;width:80px;line-height: 40px;height: 40px;border-right: 1px solid #000000;text-align: center;"></div>
|
|
|
+ <div style="float:left;display:block;width:99px;line-height: 15px;height: 40px;border-right: 1px solid #000000;text-align: center;">客户成交入口</div>
|
|
|
+ <div style="float:left;display:block;width:50px;line-height: 40px;height: 40px;border-right: 1px solid #000000;text-align: center;">售后类型</div>
|
|
|
+ <div style="float:left;display:block;width:80px;line-height: 40px;height: 40px;border-right: 1px solid #000000;text-align: center;">销售时间及退换货原因</div>
|
|
|
+ <div style="float:left;display:block;width:50px;line-height: 40px;height: 40px;border-right: 1px solid #000000;text-align: center;">交易号</div>
|
|
|
+ <div style="float:left;display:block;width:89px;line-height: 40px;height: 40px;border-right: 1px solid #000000;text-align: center;">客户名称</div>
|
|
|
+ <div style="float:left;display:block;width:80px;line-height: 40px;height: 40px;border-right: 1px solid #000000;text-align: center;">联系电话</div>
|
|
|
+ <div style="float:left;display:block;width:140px;line-height: 40px;height: 40px;text-align: center;">详细地址</div>
|
|
|
+ <div style="float:left;display:block;width:140px;line-height: 40px;height: 40px;text-align: center;">快递公司</div>
|
|
|
+ <div style="float:left;display:block;width:140px;line-height: 40px;height: 40px;text-align: center;">快递单号</div>
|
|
|
+ <div style="float:left;display:block;width:140px;line-height: 40px;height: 40px;text-align: center;">快递费用承担方</div>
|
|
|
+ <div style="float:left;display:block;width:140px;line-height: 40px;height: 40px;text-align: center;">退回商品名称/型号</div>
|
|
|
+ <div style="float:left;display:block;width:140px;line-height: 40px;height: 40px;text-align: center;">销售员</div>
|
|
|
+ <div style="float:left;display:block;width:140px;line-height: 40px;height: 40px;text-align: center;">数量</div>
|
|
|
+ <div style="float:left;display:block;width:140px;line-height: 40px;height: 40px;text-align: center;">退款金额</div>
|
|
|
+ <div style="float:left;display:block;width:140px;line-height: 40px;height: 40px;text-align: center;">退款账户</div>
|
|
|
+ </li>
|
|
|
+
|
|
|
+ <li style="height: 40px;font-size: 12px;font-weight: normal;border-bottom: 1px solid #000000;border-left: 1px solid #000000;border-right: 1px solid #000000;">
|
|
|
+ <div style="float:left;display:block;width:80px;line-height: 40px;height: 40px;border-right: 1px solid #000000;text-align: center;">客服经理审批</div>
|
|
|
+ <div style="float:left;display:block;width:140px;line-height: 40px;height: 40px;text-align: center;">xxx</div>
|
|
|
+ </li>
|
|
|
+ <li style="height: 40px;font-size: 12px;font-weight: normal;border-bottom: 1px solid #000000;border-left: 1px solid #000000;border-right: 1px solid #000000;">
|
|
|
+ <div style="float:left;display:block;width:80px;line-height: 40px;height: 40px;border-right: 1px solid #000000;text-align: center;">财务经理审批</div>
|
|
|
+ <div style="float:left;display:block;width:140px;line-height: 40px;height: 40px;text-align: center;">xxx</div>
|
|
|
+ </li>
|
|
|
+ <li style="height: 40px;font-size: 12px;font-weight: normal;border-bottom: 1px solid #000000;border-left: 1px solid #000000;border-right: 1px solid #000000;">
|
|
|
+ <div style="float:left;display:block;width:80px;line-height: 40px;height: 40px;border-right: 1px solid #000000;text-align: center;">财务打款</div>
|
|
|
+ <div style="float:left;display:block;width:140px;line-height: 40px;height: 40px;text-align: center;">xxx</div>
|
|
|
+ </li>
|
|
|
+
|
|
|
+ <li style="font-size: 15px;height: 30px;display: block;text-align: left;margin-top: 15px">打印时间:<span>2018-12-11</span> 打印人:<span>xxx</span></li>
|
|
|
+ </ul>
|
|
|
+ </div>
|
|
|
+</div>
|
|
|
+
|
|
|
+
|
|
|
<tfoot>
|
|
|
<#include "/base/page_util.ftl">
|
|
|
<script type="text/javascript" src="${path}/common/lib/lightbox2/2.8.1/js/lightbox.js"></script>
|
|
|
+<script type="text/javascript" src="${path}/common/lib/jquery.PrintArea/jquery.PrintArea.js"></script>
|
|
|
</tfoot>
|
|
|
<script type="text/javascript">
|
|
|
/**
|
|
@@ -256,6 +338,28 @@
|
|
|
}, function() {
|
|
|
});
|
|
|
}
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 打印
|
|
|
+ */
|
|
|
+ function printPostage(postageId) {
|
|
|
+ $.ajax({
|
|
|
+ cache: true,
|
|
|
+ type: "POST",
|
|
|
+ data: {"postageId":postageId},
|
|
|
+ url: "${path}" + "/admin/postage/print_postage",
|
|
|
+ async: true,
|
|
|
+ success: function(data){
|
|
|
+ if (data.returnCode == 200) {
|
|
|
+ $("#printlist").printArea();
|
|
|
+ } else {
|
|
|
+ layer.msg(data.resultMsg,{icon: 5,time:3000});
|
|
|
+ }
|
|
|
+ },
|
|
|
+ error: function(XmlHttpRequest, textStatus, errorThrown){
|
|
|
+ }
|
|
|
+ })
|
|
|
+ }
|
|
|
</script>
|
|
|
</body>
|
|
|
</html>
|