|
@@ -721,6 +721,10 @@
|
|
|
xml +="<a href=\"javascript:void(0)\" onclick=\"receiptInvoice('发票收款', '${ctx}/workinvoiceAll/workInvoiceAll/receiptForm?id=" + d.id + "','95%','95%')\" class=\"layui-btn layui-btn-xs layui-bg-orange\" > 收款</a>";
|
|
|
xml+="<a href=\"${ctx}/workinvoiceAll/workInvoiceAll/saveAffirmReceipt?id=" + d.id + "\" onclick=\"return confirmx('是否确认收款?', this.href)\" class=\"layui-btn layui-btn-xs layui-bg-orange\"> 确认收款</a>";
|
|
|
}
|
|
|
+ if(d.moneyReceiptFlag != undefined && d.moneyReceiptFlag =="1")
|
|
|
+ {
|
|
|
+ xml+="<a href=\"${ctx}/workinvoiceAll/workInvoiceAll/saveCancelReceiptMoney?id=" + d.id + "\" onclick=\"return confirmx('是否撤回确认收款?', this.href)\" class=\"layui-btn layui-btn-xs layui-bg-orange\"> 撤回收款</a>";
|
|
|
+ }
|
|
|
if(d.cancellationFlag != undefined && d.cancellationFlag =="1")
|
|
|
{
|
|
|
xml +="<a href=\"javascript:void(0)\" onclick=\"openDialogreplay('作废发票', '${ctx}/workinvoiceAll/workInvoiceAll/cancellationForm?id=" + d.id + "&tabId=3','95%','95%')\" class=\"layui-btn layui-btn-xs layui-bg-red\" > 作废</a>";
|
|
@@ -803,6 +807,11 @@
|
|
|
<c:when test="${workInvoice.invoiceState == 5 && workInvoice.receiptMoney == '否'}">"1"</c:when>
|
|
|
<c:otherwise>"0"</c:otherwise>
|
|
|
</c:choose>
|
|
|
+ ,"moneyReceiptFlag":
|
|
|
+ <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":
|