|
@@ -180,10 +180,22 @@
|
|
<input type="hidden" id="ctx" value="${ctx}">
|
|
<input type="hidden" id="ctx" value="${ctx}">
|
|
<input type="hidden" id="orderStatus" value="${empty order.orderID?0:order.status}">
|
|
<input type="hidden" id="orderStatus" value="${empty order.orderID?0:order.status}">
|
|
<ul class="nav nav-tabs">
|
|
<ul class="nav nav-tabs">
|
|
- <li><a href="${ctx}/order/orderList">订单列表</a></li>
|
|
|
|
- <li><a href="${ctx}/order/form?id=${order.orderID}">添加订单</a></li>
|
|
|
|
- <li><a href="${ctx}/order/postageOrderForm">添加运费订单</a></li>
|
|
|
|
- <li class="active"><a href="${ctx}/order/secondeProductOrderForm?id=${order.orderID}">${empty order.orderID?'添加':'编辑'}二手订单</a></li>
|
|
|
|
|
|
+ <shiro:hasPermission name="order:order:view">
|
|
|
|
+ <li><a href="${ctx}/order/orderList">订单列表</a></li>
|
|
|
|
+ </shiro:hasPermission>
|
|
|
|
+ <shiro:hasPermission name="order:order:form">
|
|
|
|
+ <li><a href="${ctx}/order/form">添加订单</a></li>
|
|
|
|
+ </shiro:hasPermission>
|
|
|
|
+ <shiro:hasPermission name="order:order:postageOrderForm">
|
|
|
|
+ <li><a href="${ctx}/order/postageOrderForm">添加运费订单</a></li>
|
|
|
|
+ </shiro:hasPermission>
|
|
|
|
+ <shiro:hasPermission name="order:order:secondhandOrder">
|
|
|
|
+ <li><a href="${ctx}/order/secondhandOrderList">二手订单列表</a></li>
|
|
|
|
+ </shiro:hasPermission>
|
|
|
|
+ <shiro:hasPermission name="order:order:secondeProductOrderForm">
|
|
|
|
+ <li class="active"><a href="${ctx}/order/secondeProductOrderForm?id=${order.orderID}">${empty order.orderID?'添加':'编辑'}二手订单</a></li>
|
|
|
|
+ </shiro:hasPermission>
|
|
|
|
+
|
|
</ul>
|
|
</ul>
|
|
<br/>
|
|
<br/>
|
|
<form:form id="inputForm" modelAttribute="newOrder" action="${ctx}${order.status eq 0 || empty order.orderID ? '/order/save' :'/order/balanceDeduction'}" method="post"
|
|
<form:form id="inputForm" modelAttribute="newOrder" action="${ctx}${order.status eq 0 || empty order.orderID ? '/order/save' :'/order/balanceDeduction'}" method="post"
|