|
|
@ -9,278 +9,270 @@ |
|
|
|
<body class="white-bg"> |
|
|
|
<div class="wrapper wrapper-content animated fadeInRight ibox-content"> |
|
|
|
<form class="form-horizontal m" id="form-customer-detail" th:object="${sysCustomer}"> |
|
|
|
<div class="form-group" hidden="hidden"> |
|
|
|
<label class="col-sm-6 control-label is-required">客户ID:</label> |
|
|
|
<div class="col-sm-6"> |
|
|
|
<input name="customerId" th:field="*{id}" class="form-control" type="number" > |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div class="form-group" hidden="hidden"> |
|
|
|
<label class="col-sm-6 control-label is-required">客户代码:</label> |
|
|
|
<div class="col-sm-6"> |
|
|
|
<input readonly name="enterpriseCode" th:field="*{enterpriseCode}" class="form-control" type="text" required> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div class="form-group"> |
|
|
|
<label class="col-sm-6 control-label is-required">客户/企业名称:</label> |
|
|
|
<div class="col-sm-6"> |
|
|
|
<input readonly name="enterpriseName" th:field="*{enterpriseName}" class="form-control" type="text" required> |
|
|
|
<div class="form-group" hidden="hidden"> |
|
|
|
<label class="col-sm-6 control-label is-required">客户ID:</label> |
|
|
|
<div class="col-sm-6"> |
|
|
|
<input name="customerId" th:field="*{id}" class="form-control" type="number" > |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div class="form-group"> |
|
|
|
<label class="col-sm-6 control-label">英文名称:</label> |
|
|
|
<div class="col-sm-6"> |
|
|
|
<input readonly name="englishName" th:field="*{englishName}" class="form-control" type="text"> |
|
|
|
<div class="form-group" hidden="hidden"> |
|
|
|
<label class="col-sm-6 control-label is-required">客户代码:</label> |
|
|
|
<div class="col-sm-6"> |
|
|
|
<input readonly name="enterpriseCode" th:field="*{enterpriseCode}" class="form-control" type="text" required> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
|
|
|
|
<div class="form-group"> |
|
|
|
<label class="col-sm-6 control-label">事业部:</label> |
|
|
|
<div class="col-sm-6"> |
|
|
|
<input readonly name="customerPurser" th:field="*{customerPurser}" class="form-control" type="text"> |
|
|
|
<div class="form-group"> |
|
|
|
<label class="col-sm-6 control-label is-required">客户/企业名称:</label> |
|
|
|
<div class="col-sm-6"> |
|
|
|
<input readonly name="enterpriseName" th:field="*{enterpriseName}" class="form-control" type="text" required> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div class="form-group"> |
|
|
|
<label class="col-sm-6 control-label">客户简称:</label> |
|
|
|
<div class="col-sm-6"> |
|
|
|
<input readonly name="customerAbbreviation" th:field="*{customerAbbreviation}" class="form-control" type="text"> |
|
|
|
<div class="form-group"> |
|
|
|
<label class="col-sm-6 control-label">英文名称:</label> |
|
|
|
<div class="col-sm-6"> |
|
|
|
<input readonly name="englishName" th:field="*{englishName}" class="form-control" type="text"> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div class="form-group"> |
|
|
|
<label class="col-sm-6 control-label">内外销:</label> |
|
|
|
<div class="col-sm-6"> |
|
|
|
<select readonly name="exportSales" class="form-control m-b" th:with="type=${@dict.getType('sys_export_sales')}" th:field="*{exportSales}"> |
|
|
|
<option th:each="dict : ${type}" th:text="${dict.dictLabel}" th:value="${dict.dictValue}" ></option> |
|
|
|
</select> |
|
|
|
<div class="form-group"> |
|
|
|
<label class="col-sm-6 control-label">事业部:</label> |
|
|
|
<div class="col-sm-6"> |
|
|
|
<input readonly name="customerPurser" th:field="*{customerPurser}" class="form-control" type="text"> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div class="form-group"> |
|
|
|
<label class="col-sm-6 control-label">邮编:</label> |
|
|
|
<div class="col-sm-6"> |
|
|
|
<input readonly name="postalCode" th:field="*{postalCode}" class="form-control" type="text"> |
|
|
|
<div class="form-group"> |
|
|
|
<label class="col-sm-6 control-label">客户简称:</label> |
|
|
|
<div class="col-sm-6"> |
|
|
|
<input readonly name="customerAbbreviation" th:field="*{customerAbbreviation}" class="form-control" type="text"> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div class="form-group"> |
|
|
|
<label class="col-sm-6 control-label">公司地址:</label> |
|
|
|
<div class="col-sm-6"> |
|
|
|
<input readonly name="customerAddress" th:field="*{customerAddress}" class="form-control" type="text"> |
|
|
|
<div class="form-group"> |
|
|
|
<label class="col-sm-6 control-label">内外销:</label> |
|
|
|
<div class="col-sm-6"> |
|
|
|
<select name="exportSales" class="form-control m-b" th:with="type=${@dict.getType('sys_export_sales')}" th:field="*{exportSales}" disabled> |
|
|
|
<option th:each="dict : ${type}" th:text="${dict.dictLabel}" th:value="${dict.dictValue}" ></option> |
|
|
|
</select> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div class="form-group"> |
|
|
|
<label class="col-sm-6 control-label" is-required>法人代表:</label> |
|
|
|
<div class="col-sm-6"> |
|
|
|
<input readonly name="legalRepresentative" class="form-control" |
|
|
|
type="text" th:field="*{legalRepresentative}"> |
|
|
|
<div class="form-group"> |
|
|
|
<label class="col-sm-6 control-label">邮编:</label> |
|
|
|
<div class="col-sm-6"> |
|
|
|
<input readonly name="postalCode" th:field="*{postalCode}" class="form-control" type="text"> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div class="form-group"> |
|
|
|
<label class="col-sm-6 control-label">成立日期:</label> |
|
|
|
<div class="col-sm-6"> |
|
|
|
<div class="input-group date"> |
|
|
|
<input name="establishedTime" th:field="*{establishedTime}" |
|
|
|
class="form-control" placeholder="yyyy-MM-dd" type="text" readonly > |
|
|
|
<span class="input-group-addon"><i class="fa fa-calendar"></i></span> |
|
|
|
<div class="form-group"> |
|
|
|
<label class="col-sm-6 control-label">公司地址:</label> |
|
|
|
<div class="col-sm-6"> |
|
|
|
<input readonly name="customerAddress" th:field="*{customerAddress}" class="form-control" type="text" disabled> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div class="form-group"> |
|
|
|
<label class="col-sm-6 control-label" is-required>开票公司名称:</label> |
|
|
|
<div class="col-sm-6"> |
|
|
|
<input name="invoicingCompanyName" th:field="*{invoicingCompanyName}" class="form-control" |
|
|
|
type="text" readonly required> |
|
|
|
<div class="form-group"> |
|
|
|
<label class="col-sm-6 control-label" is-required>法人代表:</label> |
|
|
|
<div class="col-sm-6"> |
|
|
|
<input disabled name="legalRepresentative" class="form-control" |
|
|
|
type="text" th:field="*{legalRepresentative}"> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div class="form-group"> |
|
|
|
<label class="col-sm-6 control-label">开票公司税号:</label> |
|
|
|
<div class="col-sm-6"> |
|
|
|
<input name="invoiceCode" th:field="*{invoiceCode}" class="form-control" type="text" readonly/> |
|
|
|
<div class="form-group"> |
|
|
|
<label class="col-sm-6 control-label">成立日期:</label> |
|
|
|
<div class="col-sm-6"> |
|
|
|
<div class="input-group date"> |
|
|
|
<input name="establishedTime" th:field="*{establishedTime}" |
|
|
|
class="form-control" placeholder="yyyy-MM-dd" type="text" disabled> |
|
|
|
<span class="input-group-addon" disabled><i class="fa fa-calendar"></i></span> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div class="form-group"> |
|
|
|
<label class="col-sm-6 control-label">开户银行:</label> |
|
|
|
<div class="col-sm-6"> |
|
|
|
<input name="depositBank" th:field="*{depositBank}" class="form-control" type="text" readonly/> |
|
|
|
<div class="form-group"> |
|
|
|
<label class="col-sm-6 control-label" is-required>开票公司名称:</label> |
|
|
|
<div class="col-sm-6"> |
|
|
|
<input name="invoicingCompanyName" th:field="*{invoicingCompanyName}" class="form-control" |
|
|
|
type="text" disabled required> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div class="form-group"> |
|
|
|
<label class="col-sm-6 control-label">开户银行账号:</label> |
|
|
|
<div class="col-sm-6"> |
|
|
|
<input name="bankAccount" th:field="*{bankAccount}" class="form-control" type="text" readonly/> |
|
|
|
<div class="form-group"> |
|
|
|
<label class="col-sm-6 control-label">开票公司税号:</label> |
|
|
|
<div class="col-sm-6"> |
|
|
|
<input name="invoiceCode" th:field="*{invoiceCode}" class="form-control" type="text" disabled/> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div class="form-group"> |
|
|
|
<label class="col-sm-6 control-label is-required">报价币种:</label> |
|
|
|
<div class="col-sm-6"> |
|
|
|
<div class="radio-box" th:each="dict : ${@dict.getType('sys_common_currency')}"> |
|
|
|
<input type="radio" th:id="${'commonCurrency_' + dict.dictCode}" |
|
|
|
name="commonCurrency" th:value="${dict.dictValue}" th:checked="${dict.default}" th:field="*{commonCurrency}" required disabled> |
|
|
|
<label th:for="${'commonCurrency_' + dict.dictCode}" th:text="${dict.dictLabel}" ></label> |
|
|
|
<div class="form-group"> |
|
|
|
<label class="col-sm-6 control-label">开户银行:</label> |
|
|
|
<div class="col-sm-6"> |
|
|
|
<input name="depositBank" th:field="*{depositBank}" class="form-control" type="text" disabled /> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div class="form-group"> |
|
|
|
<label class="col-sm-6 control-label">诚信评级:</label> |
|
|
|
<div class="col-sm-6"> |
|
|
|
<select name="integrityRating" class="form-control m-b" |
|
|
|
th:with="type=${@dict.getType('sys_integrity_rating')}" th:field="*{integrityRating}" readonly> |
|
|
|
<option th:each="dict : ${type}" th:text="${dict.dictLabel}" th:value="${dict.dictValue}" ></option> |
|
|
|
</select> |
|
|
|
<div class="form-group"> |
|
|
|
<label class="col-sm-6 control-label">开户银行账号:</label> |
|
|
|
<div class="col-sm-6"> |
|
|
|
<input name="bankAccount" th:field="*{bankAccount}" class="form-control" type="text" disabled/> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
|
|
<div class="form-group"> |
|
|
|
<label class="col-sm-6 control-label is-required">是否含税:</label> |
|
|
|
<div class="col-sm-6"> |
|
|
|
<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}" disabled |
|
|
|
th:checked="${dict.default}" th:field="*{confirmTax}"> |
|
|
|
<label th:for="${'confirmTax_' + dict.dictCode}" th:text="${dict.dictLabel}" ></label> |
|
|
|
<div class="form-group"> |
|
|
|
<label class="col-sm-6 control-label is-required">报价币种:</label> |
|
|
|
<div class="col-sm-6"> |
|
|
|
<div class="radio-box" th:each="dict : ${@dict.getType('sys_common_currency')}"> |
|
|
|
<input type="radio" th:id="${'commonCurrency_' + dict.dictCode}" |
|
|
|
name="commonCurrency" th:value="${dict.dictValue}" th:checked="${dict.default}" th:field="*{commonCurrency}" required disabled> |
|
|
|
<label th:for="${'commonCurrency_' + dict.dictCode}" th:text="${dict.dictLabel}" ></label> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div class="form-group"> |
|
|
|
<label class="col-sm-6 control-label" is-required>国内税率:</label> |
|
|
|
<div class="col-sm-6"> |
|
|
|
<input name="taxRate" th:field="*{taxRate}" class="form-control" placeholder="%" type="text" readonly /> |
|
|
|
<div class="form-group"> |
|
|
|
<label class="col-sm-6 control-label">诚信评级:</label> |
|
|
|
<div class="col-sm-6"> |
|
|
|
<select name="integrityRating" class="form-control m-b" |
|
|
|
th:with="type=${@dict.getType('sys_integrity_rating')}" th:field="*{integrityRating}" disabled> |
|
|
|
<option th:each="dict : ${type}" th:text="${dict.dictLabel}" th:value="${dict.dictValue}" ></option> |
|
|
|
</select> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div class="form-group"> |
|
|
|
<label class="col-sm-6 control-label">RMB注册资金:</label> |
|
|
|
<div class="col-sm-6"> |
|
|
|
<input name="rmbRegisteredCapital" th:field="*{rmbRegisteredCapital}" class="form-control" type="text" readonly /> |
|
|
|
<div class="form-group"> |
|
|
|
<label class="col-sm-6 control-label is-required">是否含税:</label> |
|
|
|
<div class="col-sm-6"> |
|
|
|
<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}" disabled |
|
|
|
th:checked="${dict.default}" th:field="*{confirmTax}"> |
|
|
|
<label th:for="${'confirmTax_' + dict.dictCode}" th:text="${dict.dictLabel}" ></label> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div class="form-group"> |
|
|
|
<label class="col-sm-6 control-label">外币注册资金:</label> |
|
|
|
<div class="col-sm-6"> |
|
|
|
<input name="registeredCapital" th:field="*{registeredCapital}" class="form-control" type="text" readonly /> |
|
|
|
<div class="form-group"> |
|
|
|
<label class="col-sm-6 control-label is-required" >国内税率:</label> |
|
|
|
<div class="col-sm-6"> |
|
|
|
<input name="taxRate" th:field="*{taxRate}" class="form-control" placeholder="%" type="text" readonly required/> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div class="form-group"> |
|
|
|
<label class="col-sm-6 control-label">付款条件:</label> |
|
|
|
<div class="col-sm-6"> |
|
|
|
<input name="paymentTerms" th:field="*{paymentTerms}" class="form-control" type="text" readonly /> |
|
|
|
<div class="form-group"> |
|
|
|
<label class="col-sm-6 control-label">RMB注册资金:</label> |
|
|
|
<div class="col-sm-6"> |
|
|
|
<input name="rmbRegisteredCapital" th:field="*{rmbRegisteredCapital}" class="form-control" type="text" readonly /> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div class="form-group"> |
|
|
|
<label class="col-sm-6 control-label">海关代码:</label> |
|
|
|
<div class="col-sm-6"> |
|
|
|
<input name="customsCode" th:field="*{customsCode}" class="form-control" type="text" readonly /> |
|
|
|
<div class="form-group"> |
|
|
|
<label class="col-sm-6 control-label">外币注册资金:</label> |
|
|
|
<div class="col-sm-6"> |
|
|
|
<input name="registeredCapital" th:field="*{registeredCapital}" class="form-control" type="text" readonly /> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div class="form-group" hidden="hidden"> |
|
|
|
<label class="col-sm-6 control-label">客户联系人id:</label> |
|
|
|
<div class="col-sm-6"> |
|
|
|
<input name="customerContactId" class="form-control" th:field="*{customerContactId}" type="number" readonly/> |
|
|
|
<div class="form-group"> |
|
|
|
<label class="col-sm-6 control-label">付款条件:</label> |
|
|
|
<div class="col-sm-6"> |
|
|
|
<input name="paymentTerms" th:field="*{paymentTerms}" class="form-control" type="text" readonly /> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div class="form-group" > |
|
|
|
<label class="col-sm-6 control-label is-required is-required" >客户第一联系人:</label> |
|
|
|
<div class="col-sm-6"> |
|
|
|
<input name="customerContact" class="form-control" type="text" th:field="*{customerContact}" readonly/> |
|
|
|
<div class="form-group"> |
|
|
|
<label class="col-sm-6 control-label">海关代码:</label> |
|
|
|
<div class="col-sm-6"> |
|
|
|
<input name="customsCode" th:field="*{customsCode}" class="form-control" type="text" readonly /> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div class="form-group"> |
|
|
|
<label class="col-sm-6 control-label">第一联系人职务:</label> |
|
|
|
<div class="col-sm-6"> |
|
|
|
<input name="customerOffice" class="form-control" type="text" th:field="*{customerOffice}" readonly/> |
|
|
|
<div class="form-group" hidden="hidden"> |
|
|
|
<label class="col-sm-6 control-label">客户联系人id:</label> |
|
|
|
<div class="col-sm-6"> |
|
|
|
<input name="customerContactId" class="form-control" th:field="*{customerContactId}" type="number" readonly/> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div class="form-group"> |
|
|
|
<label class="col-sm-6 control-label is-required">第一联系人电话:</label> |
|
|
|
<div class="col-sm-6"> |
|
|
|
<input name="contactNumber" class="form-control" type="text" th:field="*{contactNumber}" required> |
|
|
|
<div class="form-group" > |
|
|
|
<label class="col-sm-6 control-label is-required is-required" >客户第一联系人:</label> |
|
|
|
<div class="col-sm-6"> |
|
|
|
<input name="customerContact" class="form-control" type="text" th:field="*{customerContact}" readonly/> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div class="form-group"> |
|
|
|
<label class="col-sm-6 control-label">第一联系人邮箱:</label> |
|
|
|
<div class="col-sm-6"> |
|
|
|
<input name="customerEmail" class="form-control" type="text" th:field="*{customerEmail}" readonly> |
|
|
|
<div class="form-group"> |
|
|
|
<label class="col-sm-6 control-label">第一联系人职务:</label> |
|
|
|
<div class="col-sm-6"> |
|
|
|
<input name="customerOffice" class="form-control" type="text" th:field="*{customerOffice}" readonly/> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div class="form-group"> |
|
|
|
<label class="col-sm-6 control-label">第一联系人传真:</label> |
|
|
|
<div class="col-sm-6"> |
|
|
|
<input name="customerFax" class="form-control" type="text" th:field="*{customerFax}" readonly> |
|
|
|
<div class="form-group"> |
|
|
|
<label class="col-sm-6 control-label is-required">第一联系人电话:</label> |
|
|
|
<div class="col-sm-6"> |
|
|
|
<input name="contactNumber" class="form-control" type="text" th:field="*{contactNumber}" disabled required> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div class="form-group" hidden="hidden"> |
|
|
|
<label class="col-sm-6 control-label">第一收货人:</label> |
|
|
|
<div class="col-sm-6"> |
|
|
|
<input name="deliveryAddressId" class="form-control" type="text" th:field="*{deliveryAddressId}" readonly> |
|
|
|
<div class="form-group"> |
|
|
|
<label class="col-sm-6 control-label">第一联系人邮箱:</label> |
|
|
|
<div class="col-sm-6"> |
|
|
|
<input name="customerEmail" class="form-control" type="text" th:field="*{customerEmail}" readonly> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div class="form-group"> |
|
|
|
<label class="col-sm-6 control-label is-required">客户第一收货人:</label> |
|
|
|
<div class="col-sm-6"> |
|
|
|
<input name="deliveryAddress" class="form-control" type="text" th:field="*{deliveryAddress}" /> |
|
|
|
<div class="form-group"> |
|
|
|
<label class="col-sm-6 control-label">第一联系人传真:</label> |
|
|
|
<div class="col-sm-6"> |
|
|
|
<input name="customerFax" class="form-control" type="text" th:field="*{customerFax}" readonly> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div class="form-group"> |
|
|
|
<label class="col-sm-6 control-label is-required">第一收货人电话:</label> |
|
|
|
<div class="col-sm-6"> |
|
|
|
<input name="deliveryCustomerPhone" class="form-control" type="text" th:field="*{deliveryCustomerPhone}" required> |
|
|
|
<div class="form-group"> |
|
|
|
<label class="col-sm-6 control-label is-required">客户第一收货人:</label> |
|
|
|
<div class="col-sm-6"> |
|
|
|
<input name="deliveryCustomerPerson" class="form-control" type="text" th:field="*{deliveryCustomerPerson}" disabled required/> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div class="form-group"> |
|
|
|
<label class="col-sm-6 control-label is-required">第一收货人地址:</label> |
|
|
|
<div class="col-sm-6"> |
|
|
|
<input required name="deliveryAddress" class="form-control" type="text" th:field="*{deliveryAddress}" readonly> |
|
|
|
<div class="form-group"> |
|
|
|
<label class="col-sm-6 control-label is-required">第一收货人电话:</label> |
|
|
|
<div class="col-sm-6"> |
|
|
|
<input name="deliveryCustomerPhone" class="form-control" type="text" th:field="*{deliveryCustomerPhone}" disabled required> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div class="form-group"> |
|
|
|
<label class="col-sm-6 control-label">第一收货人邮编:</label> |
|
|
|
<div class="col-sm-6"> |
|
|
|
<input name="deliveryCustomerPostal" class="form-control" type="text" th:field="*{deliveryCustomerPostal}" readonly> |
|
|
|
<div class="form-group"> |
|
|
|
<label class="col-sm-6 control-label is-required">第一收货人地址:</label> |
|
|
|
<div class="col-sm-6"> |
|
|
|
<input required name="deliveryAddress" class="form-control" type="text" th:field="*{deliveryAddress}" readonly> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div class="form-group"> |
|
|
|
<label class="col-sm-6 control-label">第一收货人传真:</label> |
|
|
|
<div class="col-sm-6"> |
|
|
|
<input name="deliveryCustomerFax" class="form-control" type="text" th:field="*{deliveryCustomerFax}" readonly> |
|
|
|
<div class="form-group"> |
|
|
|
<label class="col-sm-6 control-label">第一收货人邮编:</label> |
|
|
|
<div class="col-sm-6"> |
|
|
|
<input name="deliveryCustomerPostal" class="form-control" type="text" th:field="*{deliveryCustomerPostal}" readonly> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div class="form-group"> |
|
|
|
<label class="col-sm-6 control-label">业务员:</label> |
|
|
|
<div class="col-sm-6"> |
|
|
|
<input name="businessMembers" th:field="*{businessMembers}" class="form-control m-b" shiro:partial="customer:selectBusinessMembers" /> |
|
|
|
<div class="form-group"> |
|
|
|
<label class="col-sm-6 control-label">第一收货人传真:</label> |
|
|
|
<div class="col-sm-6"> |
|
|
|
<input name="deliveryCustomerFax" class="form-control" type="text" th:field="*{deliveryCustomerFax}" disabled> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div class="form-group"> |
|
|
|
<label class="col-sm-6 control-label">备注内容:</label> |
|
|
|
<div class="col-sm-6"> |
|
|
|
<textarea name="customerRemarks" th:field="*{customerRemarks}" class="form-control"></textarea> |
|
|
|
<div class="form-group"> |
|
|
|
<label class="col-sm-6 control-label">业务员:</label> |
|
|
|
<div class="col-sm-6"> |
|
|
|
<input name="businessMembers" disabled type="text" th:field="*{businessMembers}" class="form-control m-b" shiro:partial="customer:selectBusinessMembers" /> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div class="form-group"> |
|
|
|
<label class="col-sm-2 control-label">是否作废:</label> |
|
|
|
<div class="radio-box" th:each="dict : ${@dict.getType('sys_whether')}"> |
|
|
|
<label th:for="${'useStatus_' + dict.dictCode}" th:text="${dict.dictLabel}" th:field="*{useStatus}"></label> |
|
|
|
<input type="radio" name="useStatus" th:value="${dict.dictValue}" th:checked="${dict.default}"> |
|
|
|
<label class="col-sm-6 control-label">备注内容:</label> |
|
|
|
<div class="col-sm-6"> |
|
|
|
<textarea name="customerRemarks" th:field="*{customerRemarks}" class="form-control" disabled></textarea> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div class="form-group"> |
|
|
|
<label class="col-sm-2 control-label">客户标识:</label> |
|
|
|
<div class="radio-box" th:each="dict : ${@dict.getType('sys_customer_sign')}"> |
|
|
|
<label th:for="${'customerSign_' + dict.dictCode}" th:text="${dict.dictLabel}" th:field="*{customerSign}"></label> |
|
|
|
<input type="radio" name="customerSign" th:value="${dict.dictValue}" th:checked="${dict.default}"> |
|
|
|
<div class="form-group"> |
|
|
|
<label class="col-sm-6 control-label">是否作废:</label> |
|
|
|
<div class="radio-box" th:each="dict : ${@dict.getType('sys_whether')}"> |
|
|
|
<label th:for="${'useStatus_' + dict.dictCode}" th:text="${dict.dictLabel}" th:field="*{useStatus}"></label> |
|
|
|
<input type="radio" name="useStatus" th:value="${dict.dictValue}" th:checked="${dict.default}" disabled> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div class="col-xs-12"> |
|
|
|
<label class="col-sm-4 control-label">客户标识:</label> |
|
|
|
<div class="radio-box" th:each="dict : ${@dict.getType('sys_customer_sign')}"> |
|
|
|
<label th:for="${'customerSign_' + dict.dictCode}" th:text="${dict.dictLabel}" th:field="*{customerSign}"></label> |
|
|
|
<input type="radio" name="customerSign" th:value="${dict.dictValue}" th:checked="${dict.default}" disabled /> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div class="container"> |
|
|
|
<label class="col-sm-6 control-label">联系人</label> |
|
|
|
<div class="col-sm-6"> |
|
|
|
<label class="control-label">联系人</label> |
|
|
|
<div class="col-sm-12 select-table table-striped"> |
|
|
|
<table id="contacts-table"></table> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div class="container"> |
|
|
|
<label class="col-sm-6 control-label">送货地址</label> |
|
|
|
<div class="col-sm-6"> |
|
|
|
<label class="control-label">送货地址</label> |
|
|
|
<div class="col-sm-12 select-table table-striped"> |
|
|
|
<table id="address-table"></table> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div class="container"> |
|
|
|
<label class="col-sm-6 control-label">操作记录</label> |
|
|
|
<div class="col-sm-6"> |
|
|
|
<label class=" control-label">操作记录</label> |
|
|
|
<div class="col-sm-12 select-table table-striped"> |
|
|
|
<table id="oper-table"></table> |
|
|
|
</div> |
|
|
|
</div> |
|
|
@ -317,7 +309,7 @@ |
|
|
|
}); |
|
|
|
/*业务员列表*/ |
|
|
|
$.ajax({ |
|
|
|
url: ctx + 'system/user/list', |
|
|
|
url: ctx + 'system/salesOrder/getBinessMembers', |
|
|
|
type: 'post', |
|
|
|
success: function (res) { |
|
|
|
console.log(res) |
|
|
@ -407,12 +399,12 @@ |
|
|
|
pageSize: 10, |
|
|
|
pageList: [10, 25, 50, 100], |
|
|
|
showRefresh: false, |
|
|
|
maxHeight: 70, |
|
|
|
method: "post", |
|
|
|
contentType: "application/x-www-form-urlencoded", |
|
|
|
striped: true, // 是否显示行间隔色 |
|
|
|
cache: false, // 是否使用缓存,默认为true,所以一般情况下需要设置一下这个属性(*) |
|
|
|
sidePagination: "server", // 分页方式:client客户端分页,server服务端分页(*) |
|
|
|
height: 150, |
|
|
|
queryParams: function (params) { |
|
|
|
//console.log("123"); |
|
|
|
var curParams = { |
|
|
@ -503,6 +495,7 @@ |
|
|
|
cache: false, // 是否使用缓存,默认为true,所以一般情况下需要设置一下这个属性(*) |
|
|
|
sidePagination: "server", // 分页方式:client客户端分页,server服务端分页(*) |
|
|
|
singleSelect: true, |
|
|
|
maxHeight: 70, |
|
|
|
queryParams: function (params) { |
|
|
|
//console.log("123"); |
|
|
|
var curParams = { |
|
|
@ -572,6 +565,7 @@ |
|
|
|
striped: true, // 是否显示行间隔色 |
|
|
|
cache: false, // 是否使用缓存,默认为true,所以一般情况下需要设置一下这个属性(*) |
|
|
|
sidePagination: "server", // 分页方式:client客户端分页,server服务端分页(*) |
|
|
|
maxHeight: 70, |
|
|
|
queryParams: function (params) { |
|
|
|
//console.log("123"); |
|
|
|
var curParams = { |
|
|
|