Browse Source

呵呵退款按钮屏蔽

zhijiezhao 2 years ago
parent
commit
ed2624563c

+ 25 - 25
src/main/webapp/WEB-INF/views/modules/hehe/heheNewOrderDetail.jsp

@@ -614,31 +614,31 @@
                            onclick="modelShow('${order.orderID}')">编辑经理折扣</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'}">
-                            <c:if test="${order.toAudit eq 1}">
-                                <%--如果存在审核收款则不允许申请:1不能申请,其它可以申请--%>
-                                <c:if test="${order.toAudit eq 1}">
-                                    <%--弹窗提示--%>
-                                    <a href="#" onclick="return alertx('订单存在未审核的收款,暂不能退款。请将收款审核通过后再操作退款。')">申请退款</a>
-                                </c:if>
-                            </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: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}">--%>
+<%--                        &lt;%&ndash;  返佣订单不能申请退款(退货) &ndash;%&gt;--%>
+<%--                        <c:if test="${order.rebateOrder == '0'}">--%>
+<%--                            <c:if test="${order.toAudit eq 1}">--%>
+<%--                                &lt;%&ndash;如果存在审核收款则不允许申请:1不能申请,其它可以申请&ndash;%&gt;--%>
+<%--                                <c:if test="${order.toAudit eq 1}">--%>
+<%--                                    &lt;%&ndash;弹窗提示&ndash;%&gt;--%>
+<%--                                    <a href="#" onclick="return alertx('订单存在未审核的收款,暂不能退款。请将收款审核通过后再操作退款。')">申请退款</a>--%>
+<%--                                </c:if>--%>
+<%--                            </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.status ne 0}">

+ 26 - 26
src/main/webapp/WEB-INF/views/modules/hehe/heheNewOrderList.jsp

@@ -961,32 +961,32 @@
                         </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}&refundType=1"
-                                           <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: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}">--%>
+<%--                            &lt;%&ndash;  返佣订单不能申请退款(退货) &ndash;%&gt;--%>
+<%--                            <c:if test="${order.rebateOrder == '0'}">--%>
+<%--                                &lt;%&ndash;如果存在审核收款则不允许申请:1不能申请,其它可以申请&ndash;%&gt;--%>
+<%--                                <c:if test="${order.toAudit eq 1}">--%>
+<%--                                    &lt;%&ndash;弹窗提示&ndash;%&gt;--%>
+<%--                                    <a href="#" onclick="return alertx('订单存在未审核的收款,暂不能退款。请将收款审核通过后再操作退款。')">申请退款</a>--%>
+<%--                                </c:if>--%>
+<%--                                <c:if test="${order.toAudit ne 1}">--%>
+<%--                                    &lt;%&ndash;如果存在退款记录在待审核或者审核不通过记录不允许继续退款&ndash;%&gt;--%>
+<%--                                    <c:if test="${order.applyReturnedPurchaseFlag eq 1}">--%>
+<%--                                        <a href="${ctx}/bulkpurchase/cmRefundsProduct/applyRefound.rpc?orderID=${order.orderID}&refundType=1"--%>
+<%--                                           <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.status == 0 || order.status == 11}">