|
@@ -663,54 +663,58 @@
|
|
|
<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}">
|
|
|
+ <c:if test="${order.receiptStatus == 2 && order.status != 6 && order.status != 7&& order.orderType !=3}">
|
|
|
<a href="javascript:void(0);" onclick="collection(${order.orderID})">抹平收款</a>
|
|
|
</c:if>
|
|
|
</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 ||
|
|
|
+ <c:if test="${order.orderType !=3}">
|
|
|
+ <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="${order.rechargeGoods ne 1 && order.rechargeGoods ne 2 && (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 test="${order.rechargeGoods ne 1 && order.rechargeGoods ne 2 && (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 test="${order.postageOrderFlag == 0 && order.secondHandOrderFlag == 1}">
|
|
|
- <a href="${ctx}/order/secondeProductOrderForm?id=${order.orderID}">修改订单</a>
|
|
|
+ </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.status == 0}">
|
|
|
- <c:if test="${order.postageOrderFlag == 1}">
|
|
|
- <a href="${ctx}/order/postageOrderForm?id=${order.orderID}">修改邮费订单</a>
|
|
|
- </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>
|
|
|
- <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.secondHandOrderFlag ne 1 && order.rebateFlag ne 1 && order.status != 0 && order.status != 6 && order.status != 7 && empty order.rechargeGoods}">
|
|
|
- <a href="javascript:void(0);"
|
|
|
- onclick="rebateFeeEdit('${order.orderID}')">编辑返佣服务费</a>
|
|
|
- </c:if>
|
|
|
+ <c:if test="${order.secondHandOrderFlag ne 1 && order.rebateFlag ne 1 && order.status != 0 && order.status != 6 && order.status != 7 && empty order.rechargeGoods}">
|
|
|
+ <a href="javascript:void(0);"
|
|
|
+ onclick="rebateFeeEdit('${order.orderID}')">编辑返佣服务费</a>
|
|
|
+ </c:if>
|
|
|
|
|
|
- <c:if test="${order.orderType != 1 && order.rebateFlag eq 0 && order.receiptStatus eq 1 && order.payStatus eq 1 && order.secondHandOrderFlag ne 1 && order.rechargeGoods ne 1 && order.rechargeGoods ne 3}">
|
|
|
- <a href="${ctx}/order/modifyRebate?orderId=${order.orderID}"
|
|
|
- onclick="return confirmx('确定将订单转为返佣订单吗?', this.href)">转为返佣订单</a>
|
|
|
- </c:if>
|
|
|
- <c:if test="${order.orderType != 1 && order.rebateFlag eq 0 && order.receiptStatus eq 1 && order.payStatus eq 1 && order.secondHandOrderFlag eq 1}">
|
|
|
- <a href="${ctx}/order/modifyRebate?orderId=${order.orderID}"
|
|
|
- onclick="return confirmx('确定将订单转为返佣订单吗?', this.href)">转为二手返佣订单</a>
|
|
|
+ <c:if test="${order.orderType != 1 && order.rebateFlag eq 0 && order.receiptStatus eq 1 && order.payStatus eq 1 && order.secondHandOrderFlag ne 1 && order.rechargeGoods ne 1 && order.rechargeGoods ne 3}">
|
|
|
+ <a href="${ctx}/order/modifyRebate?orderId=${order.orderID}"
|
|
|
+ onclick="return confirmx('确定将订单转为返佣订单吗?', this.href)">转为返佣订单</a>
|
|
|
+ </c:if>
|
|
|
+ <c:if test="${order.orderType != 1 && order.rebateFlag eq 0 && order.receiptStatus eq 1 && order.payStatus eq 1 && order.secondHandOrderFlag eq 1}">
|
|
|
+ <a href="${ctx}/order/modifyRebate?orderId=${order.orderID}"
|
|
|
+ onclick="return confirmx('确定将订单转为返佣订单吗?', this.href)">转为二手返佣订单</a>
|
|
|
+ </c:if>
|
|
|
</c:if>
|
|
|
+
|
|
|
+
|
|
|
</shiro:hasPermission>
|
|
|
<shiro:hasPermission name="order:order:applyrefound">
|
|
|
<%--线下订单以主订单为单位退款--%>
|
|
@@ -742,37 +746,41 @@
|
|
|
</shiro:hasPermission>
|
|
|
|
|
|
<shiro:hasPermission name="order:order:edit">
|
|
|
- <c:if test="${(order.rebateOrder == '1' ) && (brokerage == 0) && (order.status != 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 test="${order.orderType !=3}">
|
|
|
+ <c:if test="${(order.rebateOrder == '1' ) && (brokerage == 0) && (order.status != 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>
|
|
|
- <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 test="${order.status ne 0}">
|
|
|
+ <a href="${ctx}/order/printOrder?orderID=${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="${ctx}/order/exportOrder?id=${order.orderID}">订单导出</a>
|
|
|
- <%-- <a href="javascript:void(0);" onclick="remarks('${order.orderID}','')">备注</a>--%>
|
|
|
- <a href="${ctx}/order/cmOrderRemark/remarksViewNew.rpc?orderID=${order.orderID}&source=2">订单备注</a>
|
|
|
- <c:if test="${order.orderType ==0}" >
|
|
|
- <a href="${ctx}/bulkpurchase/commissions?orderId=${order.orderID}">销售提成记录</a>
|
|
|
- </c:if>
|
|
|
- <c:if test="${order.orderType !=0}" >
|
|
|
- <c:if test="${order.spID!=null}">
|
|
|
+ <a href="${ctx}/order/exportOrder?id=${order.orderID}">订单导出</a>
|
|
|
+ <%-- <a href="javascript:void(0);" onclick="remarks('${order.orderID}','')">备注</a>--%>
|
|
|
+ <a href="${ctx}/order/cmOrderRemark/remarksViewNew.rpc?orderID=${order.orderID}&source=2">订单备注</a>
|
|
|
+ <c:if test="${order.orderType ==0}">
|
|
|
<a href="${ctx}/bulkpurchase/commissions?orderId=${order.orderID}">销售提成记录</a>
|
|
|
</c:if>
|
|
|
+ <c:if test="${order.orderType !=0}">
|
|
|
+ <c:if test="${order.spID!=null}">
|
|
|
+ <a href="${ctx}/bulkpurchase/commissions?orderId=${order.orderID}">销售提成记录</a>
|
|
|
+ </c:if>
|
|
|
+ </c:if>
|
|
|
</c:if>
|
|
|
+
|
|
|
+
|
|
|
<%--包含订单充值商品就不显示--%>
|
|
|
<c:if test="${order.rechargeGoods ne 1 and order.rechargeGoods ne 2}">
|
|
|
<c:if test="${order.status ne 0 && order.status ne 11 && order.status ne 21 && order.status ne 6}">
|