|
@@ -445,8 +445,7 @@
|
|
<!--审批退回-->
|
|
<!--审批退回-->
|
|
<div class="modal fade sp-location-list" id="sp-back" data-backdrop="static">
|
|
<div class="modal fade sp-location-list" id="sp-back" data-backdrop="static">
|
|
<div class="modal-dialog modal-lg" role="document">
|
|
<div class="modal-dialog modal-lg" role="document">
|
|
- <form class="modal-content modal-lg" action="<%- preUrl %>/audit/check" method="post"
|
|
|
|
- onsubmit="return auditCheck(1);">
|
|
|
|
|
|
+ <form class="modal-content modal-lg" action="<%- preUrl %>/audit/check" method="post" id="audit-check1">
|
|
<div class="modal-header">
|
|
<div class="modal-header">
|
|
<h5 class="modal-title">审批退回</h5>
|
|
<h5 class="modal-title">审批退回</h5>
|
|
</div>
|
|
</div>
|
|
@@ -1012,6 +1011,11 @@
|
|
}
|
|
}
|
|
return false;
|
|
return false;
|
|
});
|
|
});
|
|
|
|
+ function auditCheck(i) {
|
|
|
|
+ const opinion = $('textarea[name="opinion"]').eq(i).val().replace(/\r\n/g, '<br/>').replace(/\n/g, '<br/>').replace(/\s/g, ' ');
|
|
|
|
+ $('textarea[name="opinion"]').eq(i).val(opinion);
|
|
|
|
+ return true;
|
|
|
|
+ }
|
|
|
|
|
|
// 展开历史审核记录
|
|
// 展开历史审核记录
|
|
$('.modal-body #fold-btn').click(function () {
|
|
$('.modal-body #fold-btn').click(function () {
|