|
@@ -1028,132 +1028,127 @@
|
|
|
</li>
|
|
|
<li class="operation-wrap">
|
|
|
<a href="${ctx}/order/detail?id=${order.orderID}">查看详情</a>
|
|
|
- <a class="operation-btn">功能</a>
|
|
|
+<%-- <a class="operation-btn">功能</a>--%>
|
|
|
<div class="operation-block">
|
|
|
- <shiro:hasPermission name="order:order:edit">
|
|
|
- <%--包含订单充值商品就不显示--%>
|
|
|
- <c:if test="${empty order.rechargeGoods}">
|
|
|
- <c:if test="${order.status == 11 || order.status == 12 || order.status == 21 || order.status == 22 || order.status == 31 || order.status == 32}">
|
|
|
- <a href="${ctx}/order/toDeliveryPage?id=${order.orderID}">发货</a>
|
|
|
- </c:if>
|
|
|
- <c:if test="${order.receiptStatus == 2 && order.status != 6 && order.status != 7}">
|
|
|
- <a href="javascript:void(0);" onclick="collection(${order.orderID})">抹平收款</a>
|
|
|
- </c:if>
|
|
|
- </c:if>
|
|
|
- <%--<c:if test="${order.receiptStatus == 3 && order.confirmType != null && order.confirmType != ''}">
|
|
|
- <a href="javascript:void(0);" onclick="moPingNote(${order.orderID})">抹平收款备注</a>
|
|
|
- </c:if>--%>
|
|
|
- <%--采美订单确认/取消/修改订单--%>
|
|
|
- <c:if test="${order.organizeID == 0}">
|
|
|
- <c:if test="${order.status == 0}">
|
|
|
- <a href="${ctx}/order/confirmOrder?orderID=${order.orderID}"
|
|
|
- onclick="return confirmx('是否确认订单?', this.href)">确认订单</a>
|
|
|
- </c:if>
|
|
|
- <c:if test="${order.status == 0 || order.status == 11}">
|
|
|
- <a href="${ctx}/order/cancelOrder?orderID=${order.orderID}"
|
|
|
- onclick="return confirmx('是否取消订单?', this.href)">取消订单</a>
|
|
|
- </c:if>
|
|
|
-
|
|
|
- <c:if test="${order.status eq 11 || order.status eq 12 || order.status eq 13 ||order.status eq 21 ||order.status eq 22 ||
|
|
|
- order.status eq 23 || order.status eq 0}">
|
|
|
- <c:if test="${empty order.rechargeGoods && (order.ableUserMoney > 0 || order.status eq 0)}">
|
|
|
- <c:if test="${order.postageOrderFlag == 0 && order.secondHandOrderFlag != 1}">
|
|
|
- <a href="${ctx}/order/form?id=${order.orderID}">修改订单</a>
|
|
|
- </c:if>
|
|
|
- <c:if test="${order.postageOrderFlag == 0 && order.secondHandOrderFlag == 1}">
|
|
|
- <a href="${ctx}/order/secondeProductOrderForm?id=${order.orderID}">修改订单</a>
|
|
|
- </c:if>
|
|
|
- </c:if>
|
|
|
- </c:if>
|
|
|
- <c:if test="${order.status == 0}">
|
|
|
- <c:if test="${order.postageOrderFlag == 1}">
|
|
|
- <a href="${ctx}/order/postageOrderForm?id=${order.orderID}">修改邮费订单</a>
|
|
|
- </c:if>
|
|
|
- </c:if>
|
|
|
- </c:if>
|
|
|
- <c:if test="${(order.organizeID == 0 or order.organizeID > 2) && order.status == 11 && order.payStatus == 1}">
|
|
|
- <a href="javascript:void(0);"
|
|
|
- onclick="modelShow('${order.orderID}')">编辑经理折扣</a>
|
|
|
- </c:if>
|
|
|
- <c:if test="${order.rebateFlag eq 0 && order.receiptStatus eq 1 && order.payStatus eq 1}">
|
|
|
- <a href="${ctx}/order/modifyRebate?orderId=${order.orderID}"
|
|
|
- onclick="return confirmx('确定将订单转为返佣订单吗?', this.href)">转为返佣订单</a>
|
|
|
- </c:if>
|
|
|
- </shiro:hasPermission>
|
|
|
-
|
|
|
- <shiro:hasPermission name="order:order:applyrefound">
|
|
|
- <c:if test="${order.status == 12 || order.status == 13 || order.status == 21 || order.status == 22 || order.status == 23 || order.status == 31 || order.status == 32 || order.status == 33 || order.status == 4 || order.status == 5}">
|
|
|
- <%-- 返佣订单不能申请退款(退货) --%>
|
|
|
- <c:if test="${order.rebateOrder == '0'}">
|
|
|
- <%--如果存在审核收款则不允许申请:1不能申请,其它可以申请--%>
|
|
|
- <c:if test="${order.toAudit eq 1}">
|
|
|
- <%--弹窗提示--%>
|
|
|
- <a href="#" onclick="return alertx('订单存在未审核的收款,暂不能退款。请将收款审核通过后再操作退款。')">申请退款</a>
|
|
|
- </c:if>
|
|
|
- <c:if test="${order.toAudit ne 1}">
|
|
|
- <%--如果存在退款记录在待审核或者审核不通过记录不允许继续退款--%>
|
|
|
- <c:if test="${order.applyReturnedPurchaseFlag eq 1}">
|
|
|
- <a href="${ctx}/bulkpurchase/cmRefundsProduct/applyRefound.rpc?orderID=${order.orderID}"
|
|
|
- <c:if test="${order.status == 21 || order.status == 22 || order.status == 23}">onclick="return confirmx('部分收款的订单、申请退款只能申请全部退款!', this.href)"
|
|
|
- </c:if>
|
|
|
- >
|
|
|
- 申请退款
|
|
|
- </a>
|
|
|
- </c:if>
|
|
|
- <c:if test="${order.applyReturnedPurchaseFlag ne 1}">
|
|
|
- <font title="存在未处理完的申请,请前往退款列表处理!">申请退款</font>
|
|
|
- </c:if>
|
|
|
- </c:if>
|
|
|
- </c:if>
|
|
|
- </c:if>
|
|
|
-
|
|
|
-
|
|
|
- </shiro:hasPermission>
|
|
|
-
|
|
|
-
|
|
|
- <shiro:hasPermission name="order:order:edit">
|
|
|
- <%--brokerage佣金等于0判断,这里佣金是虚拟字段--%>
|
|
|
- <c:if test="${(order.rebateOrder == 1 ) && (order.brokerage == 0)}">
|
|
|
- <a href="${ctx}/order/toChangePay?orderId=${order.orderID}"
|
|
|
- onclick="return confirmx('确定将该返佣订单直接置为已收款和已付款状态吗?', this.href)">置为已收款已付款</a>
|
|
|
- </c:if>
|
|
|
-
|
|
|
-
|
|
|
- <c:if test="${order.organizeID == 0}">
|
|
|
- <c:if test="${order.status == 11}">
|
|
|
- <c:if test="${order.splitFlag == 1}">
|
|
|
- <a href="${ctx}/order/toSplit?id=${order.orderID}">
|
|
|
- 拆分订单
|
|
|
- </a>
|
|
|
- </c:if>
|
|
|
- </c:if>
|
|
|
- <a href="javascript:" onclick="QRCodewin(${order.orderID},'${order.orderNo}')">分享二维码</a>
|
|
|
- <c:if test="${order.status ne 6 && order.status ne 7}">
|
|
|
- <a href="${ctx}/order/editclausecontent?id=${order.orderID}">修改售后条款</a>
|
|
|
- </c:if>
|
|
|
- </c:if>
|
|
|
- <c:if test="${order.status ne 0}">
|
|
|
- <a href="${ctx}/order/printOrder?orderID=${order.orderID}">打印发货单</a>
|
|
|
- </c:if>
|
|
|
- <%--<a href="/">供应商链接</a>--%>
|
|
|
- <a href="${ctx}/order/exportOrder?id=${order.orderID}">订单导出</a>
|
|
|
- <a href="${ctx}/order/cmOrderRemark/remarksViewNew.rpc?orderID=${order.orderID}&source=1">订单备注</a>
|
|
|
- <%-- <a href="javascript:void(0);" onclick="remarks('${order.orderID}','')">备注</a>--%>
|
|
|
- <%--包含订单充值商品就不显示--%>
|
|
|
- <c:if test="${empty order.rechargeGoods}">
|
|
|
- <c:if test="${order.status ne 0 && order.status ne 11 && order.status ne 21 && order.status ne 6}">
|
|
|
- <a href="${ctx}/order/logisticsDetails?orderID=${order.orderID}">发货记录</a>
|
|
|
- </c:if>
|
|
|
- <c:if test="${order.status ne 0 && order.status ne 11 && order.status ne 6}">
|
|
|
- <a href="${ctx}/bulkpurchase/cmRefundsProduct/toRefundRecord.rpc?orderID=${order.orderID}&from=1">收退款记录
|
|
|
- </a>
|
|
|
- </c:if>
|
|
|
- <c:if test="${order.status ne 0 && order.status ne 11 && order.status ne 6}">
|
|
|
- <a href="${ctx}/bulkpurchase/cmRefundsProduct/toRecturnRecordByOrderID.rpc?orderID=${order.orderID}">退款(退货)记录
|
|
|
- </a>
|
|
|
- </c:if>
|
|
|
- </c:if>
|
|
|
- </shiro:hasPermission>
|
|
|
+<%-- <shiro:hasPermission name="order:order:edit">--%>
|
|
|
+<%-- <%–包含订单充值商品就不显示–%>--%>
|
|
|
+<%-- <c:if test="${empty order.rechargeGoods}">--%>
|
|
|
+<%-- <c:if test="${order.status == 11 || order.status == 12 || order.status == 21 || order.status == 22 || order.status == 31 || order.status == 32}">--%>
|
|
|
+<%-- <a href="${ctx}/order/toDeliveryPage?id=${order.orderID}">发货</a>--%>
|
|
|
+<%-- </c:if>--%>
|
|
|
+<%-- <c:if test="${order.receiptStatus == 2 && order.status != 6 && order.status != 7}">--%>
|
|
|
+<%-- <a href="javascript:void(0);" onclick="collection(${order.orderID})">抹平收款</a>--%>
|
|
|
+<%-- </c:if>--%>
|
|
|
+<%-- </c:if>--%>
|
|
|
+<%-- <%–<c:if test="${order.receiptStatus == 3 && order.confirmType != null && order.confirmType != ''}">--%>
|
|
|
+<%-- <a href="javascript:void(0);" onclick="moPingNote(${order.orderID})">抹平收款备注</a>--%>
|
|
|
+<%-- </c:if>–%>--%>
|
|
|
+<%-- <%–采美订单确认/取消/修改订单–%>--%>
|
|
|
+<%-- <c:if test="${order.organizeID == 0}">--%>
|
|
|
+<%-- <c:if test="${order.status == 0}">--%>
|
|
|
+<%-- <a href="${ctx}/order/confirmOrder?orderID=${order.orderID}"--%>
|
|
|
+<%-- onclick="return confirmx('是否确认订单?', this.href)">确认订单</a>--%>
|
|
|
+<%-- </c:if>--%>
|
|
|
+<%-- <c:if test="${order.status == 0 || order.status == 11}">--%>
|
|
|
+<%-- <a href="${ctx}/order/cancelOrder?orderID=${order.orderID}"--%>
|
|
|
+<%-- onclick="return confirmx('是否取消订单?', this.href)">取消订单</a>--%>
|
|
|
+<%-- </c:if>--%>
|
|
|
+
|
|
|
+<%-- <c:if test="${order.status eq 11 || order.status eq 12 || order.status eq 13 ||order.status eq 21 ||order.status eq 22 ||--%>
|
|
|
+<%-- order.status eq 23 || order.status eq 0}">--%>
|
|
|
+<%-- <c:if test="${empty order.rechargeGoods && (order.ableUserMoney > 0 || order.status eq 0)}">--%>
|
|
|
+<%-- <c:if test="${order.postageOrderFlag == 0 && order.secondHandOrderFlag != 1}">--%>
|
|
|
+<%-- <a href="${ctx}/order/form?id=${order.orderID}">修改订单</a>--%>
|
|
|
+<%-- </c:if>--%>
|
|
|
+<%-- <c:if test="${order.postageOrderFlag == 0 && order.secondHandOrderFlag == 1}">--%>
|
|
|
+<%-- <a href="${ctx}/order/secondeProductOrderForm?id=${order.orderID}">修改订单</a>--%>
|
|
|
+<%-- </c:if>--%>
|
|
|
+<%-- </c:if>--%>
|
|
|
+<%-- </c:if>--%>
|
|
|
+<%-- <c:if test="${order.status == 0}">--%>
|
|
|
+<%-- <c:if test="${order.postageOrderFlag == 1}">--%>
|
|
|
+<%-- <a href="${ctx}/order/postageOrderForm?id=${order.orderID}">修改邮费订单</a>--%>
|
|
|
+<%-- </c:if>--%>
|
|
|
+<%-- </c:if>--%>
|
|
|
+<%-- </c:if>--%>
|
|
|
+<%-- <c:if test="${(order.organizeID == 0 or order.organizeID > 2) && order.status == 11 && order.payStatus == 1}">--%>
|
|
|
+<%-- <a href="javascript:void(0);"--%>
|
|
|
+<%-- onclick="modelShow('${order.orderID}')">编辑经理折扣</a>--%>
|
|
|
+<%-- </c:if>--%>
|
|
|
+<%-- <c:if test="${order.rebateFlag eq 0 && order.receiptStatus eq 1 && order.payStatus eq 1}">--%>
|
|
|
+<%-- <a href="${ctx}/order/modifyRebate?orderId=${order.orderID}"--%>
|
|
|
+<%-- onclick="return confirmx('确定将订单转为返佣订单吗?', this.href)">转为返佣订单</a>--%>
|
|
|
+<%-- </c:if>--%>
|
|
|
+<%-- </shiro:hasPermission>--%>
|
|
|
+
|
|
|
+<%-- <shiro:hasPermission name="order:order:applyrefound">--%>
|
|
|
+<%-- <c:if test="${order.status == 12 || order.status == 13 || order.status == 21 || order.status == 22 || order.status == 23 || order.status == 31 || order.status == 32 || order.status == 33 || order.status == 4 || order.status == 5}">--%>
|
|
|
+<%-- <%– 返佣订单不能申请退款(退货) –%>--%>
|
|
|
+<%-- <c:if test="${order.rebateOrder == '0'}">--%>
|
|
|
+<%-- <%–如果存在审核收款则不允许申请:1不能申请,其它可以申请–%>--%>
|
|
|
+<%-- <c:if test="${order.toAudit eq 1}">--%>
|
|
|
+<%-- <%–弹窗提示–%>--%>
|
|
|
+<%-- <a href="#" onclick="return alertx('订单存在未审核的收款,暂不能退款。请将收款审核通过后再操作退款。')">申请退款</a>--%>
|
|
|
+<%-- </c:if>--%>
|
|
|
+<%-- <c:if test="${order.toAudit ne 1}">--%>
|
|
|
+<%-- <%–如果存在退款记录在待审核或者审核不通过记录不允许继续退款–%>--%>
|
|
|
+<%-- <c:if test="${order.applyReturnedPurchaseFlag eq 1}">--%>
|
|
|
+<%-- <a href="${ctx}/bulkpurchase/cmRefundsProduct/applyRefound.rpc?orderID=${order.orderID}"--%>
|
|
|
+<%-- <c:if test="${order.status == 21 || order.status == 22 || order.status == 23}">onclick="return confirmx('部分收款的订单、申请退款只能申请全部退款!', this.href)"--%>
|
|
|
+<%-- </c:if>--%>
|
|
|
+<%-- >--%>
|
|
|
+<%-- 申请退款--%>
|
|
|
+<%-- </a>--%>
|
|
|
+<%-- </c:if>--%>
|
|
|
+<%-- <c:if test="${order.applyReturnedPurchaseFlag ne 1}">--%>
|
|
|
+<%-- <font title="存在未处理完的申请,请前往退款列表处理!">申请退款</font>--%>
|
|
|
+<%-- </c:if>--%>
|
|
|
+<%-- </c:if>--%>
|
|
|
+<%-- </c:if>--%>
|
|
|
+<%-- </c:if>--%>
|
|
|
+
|
|
|
+
|
|
|
+<%-- </shiro:hasPermission>--%>
|
|
|
+
|
|
|
+
|
|
|
+<%-- <shiro:hasPermission name="order:order:edit">--%>
|
|
|
+
|
|
|
+<%-- --%>
|
|
|
+<%-- <c:if test="${order.organizeID == 0}">--%>
|
|
|
+<%-- <c:if test="${order.status == 11}">--%>
|
|
|
+<%-- <c:if test="${order.splitFlag == 1}">--%>
|
|
|
+<%-- <a href="${ctx}/order/toSplit?id=${order.orderID}">--%>
|
|
|
+<%-- 拆分订单--%>
|
|
|
+<%-- </a>--%>
|
|
|
+<%-- </c:if>--%>
|
|
|
+<%-- </c:if>--%>
|
|
|
+<%-- <a href="javascript:" onclick="QRCodewin(${order.orderID},'${order.orderNo}')">分享二维码</a>--%>
|
|
|
+<%-- <c:if test="${order.status ne 6 && order.status ne 7}">--%>
|
|
|
+<%-- <a href="${ctx}/order/editclausecontent?id=${order.orderID}">修改售后条款</a>--%>
|
|
|
+<%-- </c:if>--%>
|
|
|
+<%-- </c:if>--%>
|
|
|
+<%-- <c:if test="${order.status ne 0}">--%>
|
|
|
+<%-- <a href="${ctx}/order/printOrder?orderID=${order.orderID}">打印发货单</a>--%>
|
|
|
+<%-- </c:if>--%>
|
|
|
+<%-- <%–<a href="/">供应商链接</a>–%>--%>
|
|
|
+<%-- <a href="${ctx}/order/exportOrder?id=${order.orderID}">订单导出</a>--%>
|
|
|
+<%-- <a href="${ctx}/order/cmOrderRemark/remarksViewNew.rpc?orderID=${order.orderID}&source=1">订单备注</a>--%>
|
|
|
+<%-- <%– <a href="javascript:void(0);" onclick="remarks('${order.orderID}','')">备注</a>–%>--%>
|
|
|
+<%-- <%–包含订单充值商品就不显示–%>--%>
|
|
|
+<%-- <c:if test="${empty order.rechargeGoods}">--%>
|
|
|
+<%-- <c:if test="${order.status ne 0 && order.status ne 11 && order.status ne 21 && order.status ne 6}">--%>
|
|
|
+<%-- <a href="${ctx}/order/logisticsDetails?orderID=${order.orderID}">发货记录</a>--%>
|
|
|
+<%-- </c:if>--%>
|
|
|
+<%-- <c:if test="${order.status ne 0 && order.status ne 11 && order.status ne 6}">--%>
|
|
|
+<%-- <a href="${ctx}/bulkpurchase/cmRefundsProduct/toRefundRecord.rpc?orderID=${order.orderID}&from=1">收退款记录--%>
|
|
|
+<%-- </a>--%>
|
|
|
+<%-- </c:if>--%>
|
|
|
+<%-- <c:if test="${order.status ne 0 && order.status ne 11 && order.status ne 6}">--%>
|
|
|
+<%-- <a href="${ctx}/bulkpurchase/cmRefundsProduct/toRecturnRecordByOrderID.rpc?orderID=${order.orderID}">退款(退货)记录--%>
|
|
|
+<%-- </a>--%>
|
|
|
+<%-- </c:if>--%>
|
|
|
+<%-- </c:if>--%>
|
|
|
+<%-- </shiro:hasPermission>--%>
|
|
|
</div>
|
|
|
</li>
|
|
|
</ul>
|