Browse Source
财务管理 应付账款 修改报销单确认打款后更新应付账款service方法和更新相关订单service方法; 新增根据采购订单生成应付账款service方法,修改手动结案service方法,同时更新订单信息; 修改应付账款列表页面,合并操作栏按钮,修改结案按钮显示条件,新增结案跳转方法; 新增结案页面;dev
5 changed files with 174 additions and 109 deletions
@ -0,0 +1,43 @@ |
|||
<!DOCTYPE html> |
|||
<html lang="zh" xmlns:th="http://www.thymeleaf.org" > |
|||
<head> |
|||
<th:block th:include="include :: header('结案')" /> |
|||
</head> |
|||
<body class="white-bg"> |
|||
<div class="wrapper wrapper-content animated fadeInRight ibox-content"> |
|||
<form class="form-horizontal m" id="form_payable_closed" th:object="${accountsPayable}"> |
|||
<input name="financialReceivablesId" th:field="*{accountsPayableId}" type="hidden"> |
|||
<div class="form-group"> |
|||
<label class="col-sm-4 control-label is-required">应付单号:</label> |
|||
<div class="col-sm-8"> |
|||
<input readonly class="form-control" name="accountsPayableCode" th:field="*{accountsPayableCode}"/> |
|||
</div> |
|||
</div> |
|||
<div class="form-group"> |
|||
<label class="col-sm-4 control-label is-required">结案原因:</label> |
|||
<div class="col-sm-8"> |
|||
<textarea class="form-control" id="closedReason" name="closedReason"></textarea> |
|||
</div> |
|||
</div> |
|||
</form> |
|||
</div> |
|||
<th:block th:include="include :: footer" /> |
|||
<script th:inline="javascript"> |
|||
var prefix = ctx + "financial/payable"; |
|||
$("#form_payable_closed").validate({ |
|||
focusCleanup: true, |
|||
}); |
|||
|
|||
function submitHandler() { |
|||
if ($.validate.form()) { |
|||
var closedReason = $("#closedReason").val(); |
|||
if(closedReason == null||closedReason == ''){ |
|||
$.modal.msgError("请填写结案原因"); |
|||
return; |
|||
} |
|||
$.operate.save(prefix + "/closed", $('#form_payable_closed').serialize()); |
|||
} |
|||
} |
|||
</script> |
|||
</body> |
|||
</html> |
Loading…
Reference in new issue