liuxiaoxu
7 months ago
1 changed files with 93 additions and 0 deletions
@ -0,0 +1,93 @@ |
|||
<!DOCTYPE html> |
|||
<html lang="zh" xmlns:th="http://www.thymeleaf.org" > |
|||
<head> |
|||
<th:block th:include="include :: header('新增财务应收账款')" /> |
|||
<th:block th:include="include :: datetimepicker-css" /> |
|||
</head> |
|||
<body class="white-bg"> |
|||
<div class="wrapper wrapper-content animated fadeInRight ibox-content"> |
|||
<form class="form-horizontal m" id="form-receivables-add"> |
|||
<div class="form-group"> |
|||
<label class="col-sm-3 control-label is-required">贷方科目:</label> |
|||
<div class="col-sm-8"> |
|||
<input name="creditAccount" class="form-control" type="text" required> |
|||
</div> |
|||
</div> |
|||
<div class="form-group"> |
|||
<label class="col-sm-3 control-label is-required">贷方明细:</label> |
|||
<div class="col-sm-8"> |
|||
<input name="creditDetail" class="form-control" type="text" required> |
|||
</div> |
|||
</div> |
|||
<div class="form-group"> |
|||
<label class="col-sm-3 control-label">开户银行:</label> |
|||
<div class="col-sm-8"> |
|||
<input name="openBank" class="form-control" type="text"> |
|||
</div> |
|||
</div> |
|||
<div class="form-group"> |
|||
<label class="col-sm-3 control-label">开户账号:</label> |
|||
<div class="col-sm-8"> |
|||
<input name="openAccount" class="form-control" type="text"> |
|||
</div> |
|||
</div> |
|||
<div class="form-group"><label class="col-sm-3 control-label">币种:</label> |
|||
<div class="col-sm-8"> |
|||
<div class="radio-box" th:each="dict : ${@dict.getType('sys_common_currency')}"> |
|||
<input type="radio" |
|||
th:id="${'currencyType_' + dict.dictCode}" |
|||
name="currencyType" |
|||
th:value="${dict.dictValue}" |
|||
th:checked="${dict.default}"> |
|||
<label th:for="${'currencyType_' + dict.dictCode}" th:text="${dict.dictLabel}"></label> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
<div class="form-group"> |
|||
<label class="col-sm-3 control-label is-required">不含税金额:</label> |
|||
<div class="col-sm-8"> |
|||
<input name="priceExcludingTax" class="form-control" type="text" required> |
|||
</div> |
|||
</div> |
|||
<div class="form-group"> |
|||
<label class="col-sm-3 control-label">含税金额:</label> |
|||
<div class="col-sm-8"> |
|||
<input name="priceIncludesTax" class="form-control" type="text"> |
|||
</div> |
|||
</div> |
|||
<div class="form-group"> |
|||
<label class="col-sm-3 control-label">付款条件:</label> |
|||
<div class="col-sm-8"> |
|||
<input name="paymentCondition" class="form-control" type="text"> |
|||
</div> |
|||
</div> |
|||
</form> |
|||
</div> |
|||
<th:block th:include="include :: footer" /> |
|||
<th:block th:include="include :: datetimepicker-js" /> |
|||
<script th:inline="javascript"> |
|||
var prefix = ctx + "financial/receivables" |
|||
$("#form-receivables-add").validate({ |
|||
focusCleanup: true |
|||
}); |
|||
|
|||
function submitHandler() { |
|||
if ($.validate.form()) { |
|||
$.operate.save(prefix + "/add", $('#form-receivables-add').serialize()); |
|||
} |
|||
} |
|||
|
|||
$("input[name='receivablesDate']").datetimepicker({ |
|||
format: "yyyy-mm-dd", |
|||
minView: "month", |
|||
autoclose: true |
|||
}); |
|||
|
|||
$("input[name='operatingTime']").datetimepicker({ |
|||
format: "yyyy-mm-dd", |
|||
minView: "month", |
|||
autoclose: true |
|||
}); |
|||
</script> |
|||
</body> |
|||
</html> |
Loading…
Reference in new issue