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.
225 lines
12 KiB
225 lines
12 KiB
<!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-supplier-edit" th:object="${sysSupplier}">
|
|
<input name="supplierId" th:field="*{supplierId}" type="hidden">
|
|
<div class="form-group">
|
|
<label class="col-sm-3 control-label is-required">供应商编号:</label>
|
|
<div class="col-sm-8">
|
|
<input name="supplierCode" th:field="*{supplierCode}" 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="supplierName" th:field="*{supplierName}" 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">
|
|
<select name="exportSales" class="form-control m-b" th:with="type=${@dict.getType('sys_export_sales')}" required>
|
|
<option th:each="dict : ${type}" th:text="${dict.dictLabel}" th:value="${dict.dictValue}" th:field="*{exportSales}"></option>
|
|
</select>
|
|
</div>
|
|
</div>
|
|
<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">
|
|
<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 is-required">企业地址:</label>
|
|
<div class="col-sm-8">
|
|
<input name="customerAddress" th:field="*{customerAddress}" 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="manufacturerCategory" th:field="*{manufacturerCategory}" 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="postalCode" th:field="*{postalCode}" 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="businessScope" th:field="*{businessScope}" 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="customerCountry" 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="*{customerCountry}"></option>
|
|
</select>
|
|
</div>
|
|
</div>
|
|
<div class="form-group">
|
|
<label class="col-sm-3 control-label">成立日期:</label>
|
|
<div class="col-sm-8">
|
|
<input name="establishedTime" th:field="*{establishedTime}" 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="legalRepresentative" th:field="*{legalRepresentative}" class="form-control" type="text">
|
|
</div>
|
|
</div>
|
|
<div class="form-group">
|
|
<label class="col-sm-3 control-label is-required">主联系人:</label>
|
|
<div class="col-sm-8">
|
|
<input name="customerContact" th:field="*{customerContact}" 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="contactNumber" th:field="*{contactNumber}" 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="customerFax" th:field="*{customerFax}" class="form-control" type="text">
|
|
</div>
|
|
</div>
|
|
<div class="form-group">
|
|
<label class="col-sm-3 control-label">Email:</label>
|
|
<div class="col-sm-8">
|
|
<input name="customerEmail" th:field="*{customerEmail}" 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">
|
|
<input name="paymentTerms" class="form-control" type="text">
|
|
|
|
<!-- <select name="paymentTerms" class="form-control m-b" th:with="type=${@dict.getType('sys_paymentTerms')}">-->
|
|
<!-- <option th:each="dict : ${type}" th:text="${dict.dictLabel}" th:value="${dict.dictValue}" th:field="*{paymentTerms}"></option>-->
|
|
<!-- </select>-->
|
|
</div>
|
|
</div>
|
|
<div class="form-group">
|
|
<label class="col-sm-3 control-label">天数:</label>
|
|
<div class="col-sm-8">
|
|
<input name="supplierDays" th:field="*{supplierDays}" 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="actualPaymentDays" th:field="*{actualPaymentDays}" 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="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">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">
|
|
<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">
|
|
<input name="merchandiser" th:field="*{merchandiser}" 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="merchandiserTelephone" th:field="*{merchandiserTelephone}" 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="financialContact" th:field="*{financialContact}" 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_confirm_tax')}">
|
|
<input type="radio" th:id="${'confirmTax_' + dict.dictCode}" name="confirmTax" th:value="${dict.dictValue}" th:field="*{confirmTax}">
|
|
<label th:for="${'confirmTax_' + dict.dictCode}" th:text="${dict.dictLabel}"></label>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="form-group">
|
|
<label class="col-sm-3 control-label">税率:</label>
|
|
<div class="col-sm-8">
|
|
<input name="taxRate" th:field="*{taxRate}" class="form-control" type="text">
|
|
</div>
|
|
</div>
|
|
</form>
|
|
</div>
|
|
<th:block th:include="include :: footer" />
|
|
<script th:inline="javascript">
|
|
var prefix = ctx + "system/supplier";
|
|
$("#form-supplier-edit").validate({
|
|
focusCleanup: true
|
|
});
|
|
|
|
function submitHandler() {
|
|
if ($.validate.form()) {
|
|
$.operate.save(prefix + "/edit", $('#form-supplier-edit').serialize());
|
|
}
|
|
}
|
|
</script>
|
|
</body>
|
|
</html>
|