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