|
@@ -136,7 +136,7 @@
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
- <form class="modal-footer" method="post" action="<%- preUrl %>/ledger/audit/start" onsubmit="return checkAuditorFrom()">
|
|
|
+ <form class="modal-footer" method="post" action="<%- preUrl %>/ledger/audit/start" name="audit-start">
|
|
|
<button type="button" class="btn btn-secondary btn-sm" data-dismiss="modal">关闭</button>
|
|
|
<input type="hidden" name="_csrf" value="<%= ctx.csrf %>">
|
|
|
<button class="btn btn-primary btn-sm" type="submit" >确认上报</button>
|
|
@@ -349,15 +349,6 @@
|
|
|
return false;
|
|
|
}
|
|
|
|
|
|
- // 检查上报情况
|
|
|
- function checkAuditorFrom () {
|
|
|
- if ($('#auditors li').length === 0) {
|
|
|
- toast('请先选择审批人,再上报数据', 'error', 'exclamation-circle');
|
|
|
- return false;
|
|
|
- }
|
|
|
- $('#hide-all').show();
|
|
|
- }
|
|
|
-
|
|
|
$('#hideSp').click(function () {
|
|
|
$('#sp-list').modal('hide');
|
|
|
});
|