|
@ -8,7 +8,7 @@ |
|
|
</head> |
|
|
</head> |
|
|
<body class="white-bg"> |
|
|
<body class="white-bg"> |
|
|
<div class="wrapper wrapper-content animated fadeInRight ibox-content"> |
|
|
<div class="wrapper wrapper-content animated fadeInRight ibox-content"> |
|
|
<form class="form-horizontal m" id="form-supplier-cgzg-audit" th:object="${formData}"> |
|
|
<form class="form-horizontal m" id="form-supplier-fzjl-audit" th:object="${formData}"> |
|
|
<input name="supplierId" th:field="*{supplierId}" type="hidden"> |
|
|
<input name="supplierId" th:field="*{supplierId}" type="hidden"> |
|
|
<input name="taskId" th:field="*{taskId}" type="hidden"> |
|
|
<input name="taskId" th:field="*{taskId}" type="hidden"> |
|
|
<input name="taskName" th:field="*{taskName}" type="hidden"> |
|
|
<input name="taskName" th:field="*{taskName}" type="hidden"> |
|
@ -328,9 +328,9 @@ |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
<div class="form-group"> |
|
|
<div class="form-group"> |
|
|
<label class="col-sm-3 control-label" for="cgzgVerifyApproved"><span style="color: red; ">*</span>审批意见:</label> |
|
|
<label class="col-sm-3 control-label" for="fzjlVerifyApproved"><span style="color: red; ">*</span>审批意见:</label> |
|
|
<div class="col-sm-8"> |
|
|
<div class="col-sm-8"> |
|
|
<select name="p_B_cgzgVerifyApproved" id="cgzgVerifyApproved" class="form-control m-b" required> |
|
|
<select name="p_B_fzjlVerifyApproved" id="fzjlVerifyApproved" class="form-control m-b" required> |
|
|
<option value=""></option> |
|
|
<option value=""></option> |
|
|
<option value="true">同意</option> |
|
|
<option value="true">同意</option> |
|
|
<option value="false">拒绝</option> |
|
|
<option value="false">拒绝</option> |
|
@ -354,14 +354,14 @@ |
|
|
<script th:src="@{/ajax/libs/element-ui/element-ui.js}"></script> |
|
|
<script th:src="@{/ajax/libs/element-ui/element-ui.js}"></script> |
|
|
<script th:inline="javascript"> |
|
|
<script th:inline="javascript"> |
|
|
var prefix = ctx + "system/supplier"; |
|
|
var prefix = ctx + "system/supplier"; |
|
|
$("#form-supplier-cgzg-audit").validate({focusCleanup: true}); |
|
|
$("#form-supplier-fzjl-audit").validate({focusCleanup: true}); |
|
|
function submitHandler() { |
|
|
function submitHandler() { |
|
|
var taskId = [[${taskId}]]; |
|
|
var taskId = [[${taskId}]]; |
|
|
if ($.validate.form()) { |
|
|
if ($.validate.form()) { |
|
|
if ($('textarea[name="comment"]').val()) { |
|
|
if ($('textarea[name="comment"]').val()) { |
|
|
$('input[name="p_COM_comment"]').val($('textarea[name="comment"]').val()); |
|
|
$('input[name="p_COM_comment"]').val($('textarea[name="comment"]').val()); |
|
|
} |
|
|
} |
|
|
var formData = $("#form-supplier-cgzg-audit").serialize(); |
|
|
var formData = $("#form-supplier-fzjl-audit").serialize(); |
|
|
$.operate.save(prefix + "/complete/" + taskId,formData); |
|
|
$.operate.save(prefix + "/complete/" + taskId,formData); |
|
|
} |
|
|
} |
|
|
} |
|
|
} |