18 changed files with 258 additions and 79 deletions
@ -0,0 +1,62 @@ |
|||||
|
<!DOCTYPE html> |
||||
|
<html lang="zh" xmlns:th="http://www.thymeleaf.org" > |
||||
|
<head> |
||||
|
<th:block th:include="include :: header('结案')" /> |
||||
|
</head> |
||||
|
<body class="white-bg"> |
||||
|
<div class="wrapper wrapper-content animated fadeInRight ibox-content"> |
||||
|
<form class="form-horizontal m" id="form-purchaseOrder-closePurchaseOrder" th:object="${purchaseOrder}"> |
||||
|
<input name="purchaseOrderId" th:field="*{purchaseOrderId}" type="hidden"> |
||||
|
<div class="form-group"> |
||||
|
<label class="col-sm-3 control-label">采购单号:</label> |
||||
|
<div class="col-sm-8"> |
||||
|
<input name="purchaseOrderCode" th:field="*{purchaseOrderCode}" class="form-control" type="text" readonly> |
||||
|
</div> |
||||
|
</div> |
||||
|
<div class="form-group"> |
||||
|
<label class="col-sm-3 control-label">打款结案状态:</label> |
||||
|
<div class="col-sm-8"> |
||||
|
<select name="paymentStatus" class="form-control m-b" th:with="type=${@dict.getType('sys_pay_close')}" disabled> |
||||
|
<option th:each="dict : ${type}" th:text="${dict.dictLabel}" th:value="${dict.dictValue}" th:field="*{paymentStatus}"></option> |
||||
|
</select> |
||||
|
</div> |
||||
|
</div> |
||||
|
|
||||
|
<div class="form-group"> |
||||
|
<label class="col-sm-3 control-label ">供应商ID:</label> |
||||
|
<div class="col-sm-8"> |
||||
|
<input name="supplierCode" th:field="*{supplierCode}" class="form-control" type="text" readonly> |
||||
|
</div> |
||||
|
</div> |
||||
|
<div class="form-group"> |
||||
|
<label class="col-sm-3 control-label">供应商名称:</label> |
||||
|
<div class="col-sm-8"> |
||||
|
<input name="supplierName" th:field="*{supplierName}" class="form-control" type="text" readonly> |
||||
|
</div> |
||||
|
</div> |
||||
|
|
||||
|
<div class="form-group"> |
||||
|
<label class="col-sm-3 control-label is-required">结案原因:</label> |
||||
|
<div class="col-sm-8"> |
||||
|
<textarea name="closedReason" th:field="*{closedReason}" class="form-control" required></textarea> |
||||
|
</div> |
||||
|
</div> |
||||
|
</form> |
||||
|
</div> |
||||
|
<th:block th:include="include :: footer" /> |
||||
|
<script th:inline="javascript"> |
||||
|
var prefix = ctx + "purchase/purchaseOrder" |
||||
|
|
||||
|
$("#form-purchaseOrder-closePurchaseOrder").validate({ |
||||
|
focusCleanup: true |
||||
|
}); |
||||
|
|
||||
|
function submitHandler() { |
||||
|
if ($.validate.form()) { |
||||
|
$.operate.save(prefix + "/closePurchaseOrder", $('#form-purchaseOrder-closePurchaseOrder').serialize()); |
||||
|
} |
||||
|
} |
||||
|
|
||||
|
</script> |
||||
|
</body> |
||||
|
</html> |
Loading…
Reference in new issue