|
|
@ -9,7 +9,7 @@ |
|
|
|
</head> |
|
|
|
<body class="white-bg"> |
|
|
|
<div id="app" class="wrapper wrapper-content animated fadeInRight ibox-content"> |
|
|
|
<form class="form-horizontal m" id="form-purchaseQuote-cgzg-audit" th:object="${formData}"> |
|
|
|
<form class="form-horizontal m" id="form-purchaseQuote-fzjl-audit" th:object="${formData}"> |
|
|
|
<input name="purchaseQuoteId" th:field="*{purchaseQuoteId}" type="hidden"> |
|
|
|
<input name="taskId" th:field="*{taskId}" type="hidden"> |
|
|
|
<input name="taskName" th:field="*{taskName}" type="hidden"> |
|
|
@ -100,9 +100,9 @@ |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<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"> |
|
|
|
<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="true">同意</option> |
|
|
|
<option value="false">拒绝</option> |
|
|
@ -115,7 +115,7 @@ |
|
|
|
<textarea name="comment" class="form-control"></textarea> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<input id="purchaseQuoteChildList_cgzg" type="hidden" name="purchaseQuoteChildLists" class="form-control m-b" /> |
|
|
|
<input id="purchaseQuoteChildList_fzjl" type="hidden" name="purchaseQuoteChildLists" class="form-control m-b" /> |
|
|
|
</form> |
|
|
|
<div class="container"> |
|
|
|
<div class="form-row"> |
|
|
@ -204,7 +204,7 @@ |
|
|
|
|
|
|
|
} |
|
|
|
}); |
|
|
|
$("#form-purchaseQuote-cgzg-audit").validate({focusCleanup: true}); |
|
|
|
$("#form-purchaseQuote-fzjl-audit").validate({focusCleanup: true}); |
|
|
|
$(function() { |
|
|
|
var options = { |
|
|
|
id:'bootstrap-sub-table-purchaseQuoteChild', |
|
|
@ -319,7 +319,7 @@ |
|
|
|
} else { |
|
|
|
// 将子表数据添加到FormData中 |
|
|
|
$('input[name="purchaseQuoteChildLists"]').val(JSON.stringify(tableData)); |
|
|
|
var formData = $("#form-purchaseQuote-cgzg-audit").serialize(); |
|
|
|
var formData = $("#form-purchaseQuote-fzjl-audit").serialize(); |
|
|
|
// 发送请求 |
|
|
|
$.operate.save(prefix + "/complete/" + taskId, formData) |
|
|
|
} |