|
@@ -661,18 +661,27 @@
|
|
|
<c:when test="${workInvoice.invoiceState == '7'}">"是"</c:when>
|
|
|
<c:otherwise>"否"</c:otherwise>
|
|
|
</c:choose>
|
|
|
- ,"cancellationFlag":<c:choose>
|
|
|
- <c:when test="${workInvoice.invoiceState == 5 && workInvoice.cancellation == '1'}">"1"</c:when>
|
|
|
- <c:otherwise>"0"</c:otherwise>
|
|
|
- </c:choose>
|
|
|
- ,"financeFlag":<c:choose>
|
|
|
- <c:when test="${workInvoice.invoiceState == 5 && workInvoice.cancellation == '1' && workInvoice.receiptMoney == '否'}">"1"</c:when>
|
|
|
- <c:otherwise>"0"</c:otherwise>
|
|
|
- </c:choose>
|
|
|
- ,"adminFlag":<c:choose>
|
|
|
- <c:when test="${workInvoice.invoiceState == 5 && workInvoice.adminFlag == '1'}">"1"</c:when>
|
|
|
- <c:otherwise>"0"</c:otherwise>
|
|
|
- </c:choose>
|
|
|
+ <shiro:hasPermission name="workinvoice:workInvoice:receipt">
|
|
|
+ ,"financeFlag":
|
|
|
+ <c:choose>
|
|
|
+ <c:when test="${workInvoice.invoiceState == 5 && workInvoice.receiptMoney == '否'}">"1"</c:when>
|
|
|
+ <c:otherwise>"0"</c:otherwise>
|
|
|
+ </c:choose>
|
|
|
+ </shiro:hasPermission>
|
|
|
+ <shiro:hasPermission name="workinvoice:workInvoice:invalid">
|
|
|
+ ,"cancellationFlag":
|
|
|
+ <c:choose>
|
|
|
+ <c:when test="${workInvoice.invoiceState == 5}">"1"</c:when>
|
|
|
+ <c:otherwise>"0"</c:otherwise>
|
|
|
+ </c:choose>
|
|
|
+ </shiro:hasPermission>
|
|
|
+ <shiro:hasPermission name="workinvoice:workInvoice:adminDel">
|
|
|
+ ,"adminFlag":
|
|
|
+ <c:choose>
|
|
|
+ <c:when test="${workInvoice.invoiceState == 5}">"1"</c:when>
|
|
|
+ <c:otherwise>"0"</c:otherwise>
|
|
|
+ </c:choose>
|
|
|
+ </shiro:hasPermission>
|
|
|
}
|
|
|
</c:forEach>
|
|
|
</c:if>
|