万材erp项目
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

203 lines
10 KiB

2 years ago
<!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-companyInformation-edit" th:object="${sysCompanyInformation}">
<input name="companyId" th:field="*{companyId}" type="hidden">
<div class="form-group">
<label class="col-sm-3 control-label">企业名称:</label>
<div class="col-sm-8">
<input name="enterpriseName" th:field="*{enterpriseName}" 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="englishName" th:field="*{englishName}" 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="companyAddress" th:field="*{companyAddress}" 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="companyPostalCode" th:field="*{companyPostalCode}" class="form-control" type="text">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">国家:</label>
<div class="col-sm-8">
<select name="country" class="form-control m-b" th:with="type=${@dict.getType('sys_country')}">
<option th:each="dict : ${type}" th:text="${dict.dictLabel}" th:value="${dict.dictValue}" th:field="*{country}"></option>
</select>
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">法人代表:</label>
<div class="col-sm-8">
<input name="legalRepresentative" th:field="*{legalRepresentative}" 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="contacts" th:field="*{contacts}" 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="contactNumber" th:field="*{contactNumber}" 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="companyFax" th:field="*{companyFax}" 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="enterpriseCustomsCode" th:field="*{enterpriseCustomsCode}" 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="enterpriseOrganizationCode" th:field="*{enterpriseOrganizationCode}" 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="industryCode" th:field="*{industryCode}" class="form-control" type="text">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">企业性质:</label>
<div class="col-sm-8">
<select name="enterpriseNature" class="form-control m-b" th:with="type=${@dict.getType('sys_enterprise_nature')}">
<option th:each="dict : ${type}" th:text="${dict.dictLabel}" th:value="${dict.dictValue}" th:field="*{enterpriseNature}"></option>
</select>
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">成立日期:</label>
<div class="col-sm-8">
<div class="input-group date">
<input name="establishedTime" th:value="*{establishedTime}" class="form-control" placeholder="yyyy-MM-dd" type="text">
<span class="input-group-addon"><i class="fa fa-calendar"></i></span>
</div>
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">结汇银行:</label>
<div class="col-sm-8">
<input name="settlementBank" th:field="*{settlementBank}" 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="exchangeSettlementAccount" th:field="*{exchangeSettlementAccount}" 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="depositBank" th:field="*{depositBank}" 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="bankAccount" th:field="*{bankAccount}" 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="companyEmail" th:field="*{companyEmail}" 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="website" th:field="*{website}" class="form-control" type="text">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">进口报关员:</label>
<div class="col-sm-8">
<select name="importDeclarant" class="form-control m-b" th:with="type=${@dict.getType('sys_import_declarant')}">
<option th:each="dict : ${type}" th:text="${dict.dictLabel}" th:value="${dict.dictValue}" th:field="*{importDeclarant}"></option>
</select>
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">出口报关员:</label>
<div class="col-sm-8">
<select name="exportDeclarant" class="form-control m-b" th:with="type=${@dict.getType('sys_export_declarant')}">
<option th:each="dict : ${type}" th:text="${dict.dictLabel}" th:value="${dict.dictValue}" th:field="*{exportDeclarant}"></option>
</select>
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">主管外汇局:</label>
<div class="col-sm-8">
<input name="exchangeOffice" th:field="*{exchangeOffice}" class="form-control" type="text">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">RMB注册资金:</label>
<div class="col-sm-8">
<input name="rmbRegisteredCapital" th:field="*{rmbRegisteredCapital}" class="form-control" type="text">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">外币注册:</label>
<div class="col-sm-8">
<select name="foreignCurrencyRegistration" class="form-control m-b" th:with="type=${@dict.getType('sys_foreign_currency_registration')}">
<option th:each="dict : ${type}" th:text="${dict.dictLabel}" th:value="${dict.dictValue}" th:field="*{foreignCurrencyRegistration}"></option>
</select>
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">外币注册资金:</label>
<div class="col-sm-8">
<input name="registeredCapital" th:field="*{registeredCapital}" 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 + "system/companyInformation";
$("#form-companyInformation-edit").validate({
focusCleanup: true
});
function submitHandler() {
if ($.validate.form()) {
$.operate.save(prefix + "/edit", $('#form-companyInformation-edit').serialize());
}
}
$("input[name='establishedTime']").datetimepicker({
format: "yyyy-mm-dd",
minView: "month",
autoclose: true
});
</script>
</body>
</html>