@ -341,335 +341,331 @@
< div class = "details-title" > 客户详情< / div >
< div class = "modal-body details-body" >
< div class = "row" >
< div class = "base-customer ">
< form class = "form-horizontal m" id = "form-customer-detail ">
< div class = "form-group" hidden = "hidden" >
< label class = "col-sm-3 control-label" > 客户/企业代码:< / label >
< div class = "col-sm-8" >
< input id = "enterpriseCode" name = "enterpriseCode" class = "form-control" type = "text"
readonly>
< label class = "col-sm-6 control-label" > 客户ID:< / label >
< div class = "col-sm-6" >
< input name = "customerId" 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 = "exportSales" class = "form-control" type = "text" readonly >
<!-- <select name="exportSales" class="form - control m - b" th:with="type=${@dict.getType('sys_export_sales')}"> -->
<!-- <option th:each="dict : ${type}" th:text="${dict.dictLabel}" th:value="${dict.dictValue}"></option> -->
<!-- </select> -->
< div class = "form-group" hidden = "hidden" >
< label class = "col-sm-6 control-label is-required" > 客户代码:< / label >
< div class = "col-sm-6" >
< input name = "enterpriseCode" 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 id = "enterpriseName" name = "enterpriseName" class = "form-control" type = "text"
readonly>
< label class = "col-sm-6 control-label is-required" > 客户/企业名称:< / label >
< div class = "col-sm-6" >
< input name = "enterpriseName" 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 = "englishName" class = "form-control" type = "text" readonly >
< label class = "col-sm-6 control-label" > 英文名称:< / label >
< div class = "col-sm-6 " >
< input name = "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 = "customerAbbreviation " class = "form-control" type = "text" readonly >
< label class = "col-sm-6 control-label" > 事业部 :< / label >
< div class = "col-sm-6 " >
< input name = "customerPurser " 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 = "customerPurser " class = "form-control" type = "text" readonly >
< label class = "col-sm-6 control-label" > 客户简称 :< / label >
< div class = "col-sm-6 " >
< input name = "customerAbbreviation " 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 = "customerAddress" class = "form-control" type = "text" readonly >
< 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')}" >
< option th:each = "dict : ${type}" th:text = "${dict.dictLabel}" th:value = "${dict.dictValue}" > < / option >
< / select >
< / div >
< / div >
< div class = "form-group" >
< label class = "col-sm-3 control-label" > 送货地址:< / label >
< div class = "col-sm-8" >
< input id = "deliveryAddress" name = "deliveryAddress" class = "form-control" type = "text"
readonly>
< label class = "col-sm-6 control-label" > 国家地区:< / label >
< div class = "col-sm-6" >
< 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}" > < / option >
< / select >
< / div >
< / div >
< div class = "form-group" >
< label class = "col-sm-3 control-label" > 邮编:< / label >
< div class = "col-sm-8 " >
< input name = "postalCode" class = "form-control" type = "text" readonly >
< label class = "col-sm-6 control-label" > 邮编:< / label >
< div class = "col-sm-6 " >
< input name = "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 = "customerCountry" class = "form-control" type = "text" readonly >
<!-- <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}"></option> -->
<!-- </select> -->
< label class = "col-sm-6 control-label" > 公司地址:< / label >
< div class = "col-sm-6" >
< input name = "customerAddress" 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 = "commonCurrency" class = "form-control" type = "text" readonly >
<!-- <select name="commonCurrency" class="form - control m - b" th:with="type=${@dict.getType('sys_common_currency')}"> -->
<!-- <option th:each="dict : ${type}" th:text="${dict.dictLabel}" th:value="${dict.dictValue}"></option> -->
<!-- </select> -->
< label class = "col-sm-6 control-label" is-required > 法人代表:< / label >
< div class = "col-sm-6" >
< input required name = "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 " >
< textarea name = "customerRemarks" class = "form-control" readonly > < / textarea >
< / div >
< label class = "col-sm-6 control-label" > 成立日期:< / label >
< div class = "col-sm-6 " >
< div class = "input-group date" >
< input name = "establishedTime" class = "form-control" placeholder = "yyyy-MM-dd" type = "text" >
< span class = "input-group-addon" > < i class = "fa fa-calendar" > < / i > < / span >
< / div >
< div class = "form-group" >
< label class = "col-sm-3 control-label" > 法人代表:< / label >
< div class = "col-sm-8" >
< input name = "legalRepresentative" 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 = "invoicingCustomerName" class = "form-control" type = "text" readonly >
< label class = "col-sm-6 control-label" is-required > 开票公司名称:< / label >
< div class = "col-sm-6 " >
< input required name = "invoicingCustomerName" 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 = "invoicingCompanyName" class = "form-control" type = "text" readonly >
< label class = "col-sm-6 control-label" > 开票公司税号: < / label >
< div class = "col-sm-6 " >
< input name = "invoicingCompanyName" 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 = "creditLimit " class = "form-control" type = "text" readonly >
< label class = "col-sm-6 control-label" > 开户银行 :< / label >
< div class = "col-sm-6 " >
< input name = "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 = "integrityRating" class = "form-control" type = "text" readonly >
<!-- <select name="integrityRating" class="form - control m - b" th:with="type=${@dict.getType('sys_integrity_rating')}"> -->
<!-- <option th:each="dict : ${type}" th:text="${dict.dictLabel}" th:value="${dict.dictValue}"></option> -->
<!-- </select> -->
< label class = "col-sm-6 control-label" > 开户银行账号:< / label >
< div class = "col-sm-6" >
< input name = "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 = "customerOffice" class = "form-control" type = "text" readonly >
< 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 required type = "radio" th:id = "${'commonCurrency_' + dict.dictCode}" name = "commonCurrency" th:value = "${dict.dictValue}" th:checked = "${dict.default}" >
< label th:for = "${'commonCurrency_' + dict.dictCode}" th:text = "${dict.dictLabel}" > < / label >
< / div >
< / div >
< div class = "form-group" >
< label class = "col-sm-3 control-label" > 联系人:< / label >
< div class = "col-sm-8" >
< input name = "customerContact" 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 = "contactNumber" class = "form-control" type = "text" readonly >
< 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')}" >
< option th:each = "dict : ${type}" th:text = "${dict.dictLabel}" th:value = "${dict.dictValue}" > < / option >
< / select >
< / div >
< / div >
< div class = "form-group" >
< label class = "col-sm-3 control-label" > 传真 :< / label >
< div class = "col-sm-8 " >
< input name = "customerFax " 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 = "creditLimit " 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 " class = "form-control" type = "text" readonly >
< div class = "form-group" hidden = "hidden" >
< label class = "col-sm-6 control-label" > 发票代码 :< / label >
< div class = "col-sm-6 " >
< input name = "invoiceCode " 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 = "customsCode " class = "form-control" type = "text" readonly >
< div class = "form-group" hidden = "hidden" >
< label class = "col-sm-6 control-label" > 目的港 :< / label >
< div class = "col-sm-6 " >
< input name = "portOfDestination " 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" readonly >
< div class = "form-group" hidden = "hidden" >
< label class = "col-sm-6 control-label" > 结汇银行 :< / label >
< div class = "col-sm-6 " >
< input name = "settlementBank " class = "form-control" type = "text" >
< / div >
< / div >
< div class = "form-group" hidden = "hidden" >
< label class = "col-sm-3 control-label" > 发票代码 :< / label >
< div class = "col-sm-8 " >
< input name = "invoiceCode " class = "form-control" type = "text" readonly >
< label class = "col-sm-6 control-label" > 结汇账号 :< / label >
< div class = "col-sm-6 " >
< input name = "exchangeSettlementAccount " class = "form-control" type = "text" >
< / div >
< / div >
< div class = "form-group" hidden = "hidden" >
< label class = "col-sm-3 control-label" > 目的港:< / label >
< div class = "col-sm-8 " >
< input name = "portOfDestination " class = "form-control" type = "text" readonly >
< label class = "col-sm-6 control-label" > 目的地 港代号 :< / label >
< div class = "col-sm-6 " >
< input name = "destinationPortCode " 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 = "input-group date" >
< input name = "establishedTime" class = "form-control" type = "text" readonly >
<!-- <span class="input - group - addon"><i class="fa fa - calendar"></i></span> -->
< div class = "form-group" hidden = "hidden" >
< label class = "col-sm-6 control-label" > 起运潜名:< / label >
< div class = "col-sm-6" >
< input name = "departurePotentialName" class = "form-control" type = "text" >
< / div >
< / div >
< div class = "form-group" hidden = "hidden" >
< label class = "col-sm-6 control-label" > 起运潜代号:< / label >
< div class = "col-sm-6" >
< input name = "departurePotentialCode" class = "form-control" type = "text" >
< / div >
< / div >
< div class = "form-group" hidden = "hidden" >
< label class = "col-sm-3 control-label" > 结汇银行:< / label >
< div class = "col-sm-8" >
< input name = "settlementBank" class = "form-control" type = "text" readonly >
< label class = "col-sm-6 control-label" > 统一编号 :< / label >
< div class = "col-sm-6 " >
< input name = "unifiedNumbering " class = "form-control" type = "text" >
< / div >
< / div >
< div class = "form-group" hidden = "hidden" >
< label class = "col-sm-3 control-label" > 结汇账号 :< / label >
< div class = "col-sm-8 " >
< input name = "exchangeSettlementAccount " class = "form-control" type = "text" readonly >
< label class = "col-sm-6 control-label" > 制单人 :< / label >
< div class = "col-sm-6 " >
< input name = "voucherPreparation " class = "form-control" type = "text" >
< / div >
< / div >
< div class = "form-group" hidden = "hidden" >
< label class = "col-sm-6 control-label" > 确认人:< / label >
< div class = "col-sm-6" >
< input readonly name = "identifyingPeople" 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" class = "form-control" type = "text" readonly >
< 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 required type = "radio" th:id = "${'confirmTax_' + dict.dictCode}" name = "confirmTax" th:value = "${dict.dictValue}" th:checked = "${dict.default}" >
< 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 = "bankAccount " class = "form-control" ty pe= "text" readonly >
< label class = "col-sm-6 control-label" is-required > 国内税率 :< / label >
< div class = "col-sm-6 " >
< input required name = "taxRate " class = "form-control" plac eholder = "%" 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" class = "form-control" type = "text" readonly >
< label class = "col-sm-6 control-label" > RMB注册资金:< / label >
< div class = "col-sm-6 " >
< input name = "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 = "registeredCapital" class = "form-control" type = "text" readonly >
< label class = "col-sm-6 control-label" > 外币注册资金:< / label >
< div class = "col-sm-6 " >
< input name = "registeredCapital" 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 = "orderLength " class = "form-control" type = "text" readonly >
< label class = "col-sm-6 control-label" > 付款条件 :< / label >
< div class = "col-sm-6 " >
< input name = "paymentTerms " 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 = "shippingTemplate" class = "form-control" type = "text" readonly >
<!-- <select name="shippingTemplate" class="form - control m - b" th:with="type=${@dict.getType('sys_shipping_template')}"> -->
<!-- <option th:each="dict : ${type}" th:text="${dict.dictLabel}" th:value="${dict.dictValue}"></option> -->
<!-- </select> -->
< label class = "col-sm-6 control-label" > 海关代码:< / label >
< div class = "col-sm-6" >
< input name = "customsCode" class = "form-control" type = "text" >
< / 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" required >
< / div >
< / div >
< div class = "form-group" >
< label class = "col-sm-3 control-label" > 业务员:< / label >
< div class = "col-sm-8" >
< input name = "businessMembers" class = "form-control" type = "text" readonly >
< label class = "col-sm-6 control-label" > 第一联系人职务:< / label >
< div class = "col-sm-6" >
< input name = "customerOffice" class = "form-control" type = "text" >
< / div >
< / div >
< div class = "form-group" hidden = "hidden" >
< label class = "col-sm-3 control-label" > 目的地港代号 :< / label >
< div class = "col-sm-8 " >
< input name = "destinationPortCode " 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 = "contactNumber " class = "form-control" type = "text" required >
< / div >
< / div >
< div class = "form-group" hidden = "hidden" >
< label class = "col-sm-3 control-label" > 起运潜名 :< / label >
< div class = "col-sm-8 " >
< input name = "departurePotentialName " 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 = "customerEmail " class = "form-control" type = "text" >
< / div >
< / div >
< div class = "form-group" hidden = "hidden" >
< label class = "col-sm-3 control-label" > 起运潜代号 :< / label >
< div class = "col-sm-8 " >
< input name = "departurePotentialCode " 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 = "customerFax " class = "form-control" type = "text" >
< / div >
< / div >
< div class = "form-group" hidden = "hidden" >
< label class = "col-sm-3 control-label" > 统一编号 :< / label >
< div class = "col-sm-8 " >
< input name = "unifiedNumbering " 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 = "customerContact " class = "form-control" type = "text" required >
< / div >
< / div >
< div class = "form-group" hidden = "hidden" >
< label class = "col-sm-3 control-label" > 出货需录入使用量 :< / label >
< div class = "col-sm-8 " >
< input name = "shipmentUsage " 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 = "contactNumber " class = "form-control" type = "text" required >
< / div >
< / div >
< div class = "form-group" hidden = "hidden" >
< label class = "col-sm-3 control-label" > 制单人 :< / label >
< div class = "col-sm-8 " >
< input name = "voucherPreparation " 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 required name = "deliveryAddress " class = "form-control" type = "text" >
< / div >
< / div >
< div class = "form-group" hidden = "hidden" >
< label class = "col-sm-3 control-label" > 确认人 :< / label >
< div class = "col-sm-8 " >
< input name = "identifyingPeople" class = "form-control" type = "text" readonly >
< div class = "form-group" >
< label class = "col-sm-6 control-label" > 第一收货人邮编 :< / label >
< div class = "col-sm-6 " >
< input 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:checked="${dict.default}"> -->
<!-- <label th:for="${'confirmTax_' + dict.dictCode}" th:text="${dict.dictLabel}"></label> -->
<!-- </div> -->
< input type = "text" name = "confirmTax" class = "form-control" readonly >
< label class = "col-sm-6 control-label" > 第一收货人传真:< / label >
< div class = "col-sm-6" >
< input class = "form-control" type = "text" >
< / div >
< / div >
< div class = "form-group" hidden = "hidden" >
< label class = "col-sm-3 control-label" > 税率:< / label >
< div class = "col-sm-8" >
< input name = "taxRate" class = "form-control" type = "text" readonly >
< div class = "form-group" >
< label class = "col-sm-6 control-label" > 业务员:< / label >
< div class = "col-sm-6" >
< select name = "businessMembers" class = "form-control m-b" >
< option value = "" > 业务员< / option >
< / select >
<!-- <input name="businessMembers" readonly
th:value="${@permission.getPrincipalProperty('userName')}"
required class="form-control businessMembers is-required" type="text">-->
< / div >
< / div >
< div class = "form-group" hidden = "hidden" >
< label class = "col-sm-3 control-label" > 国家/地区编号:< / label >
< div class = "col-sm-8" >
<!-- <select name="countryNumber" class="form - control m - b" th:with="type=${@dict.getType('sys_country_number')}"> -->
<!-- <option th:each="dict : ${type}" th:text="${dict.dictLabel}" th:value="${dict.dictValue}"></option> -->
<!-- </select> -->
< input name = "countryNumber" class = "form-control" type = "text" readonly >
< div class = "form-group" >
< label class = "col-sm-6 control-label" > 备注内容:< / label >
< div class = "col-sm-6" >
< textarea name = "customerRemarks" class = "form-control" > < / textarea >
< / div >
< / div >
< div class = "form-group" >
< label class = "col-sm-6 control-label" > 是否作废客户信息:< / label >
< div class = "col-sm-6" >
< div class = "radio-box" th:each = "dict : ${@dict.getType('sys_whether')}" >
< input type = "radio" th:id = "${'delflag_' + dict.dictCode}" name = "delflag" th:value = "${dict.dictValue}" th:checked = "${dict.default}" >
< label th:for = "${'delflag_' + dict.dictCode}" th:text = "${dict.dictLabel}" > < / label >
< / div >
< div class = "contactsList sh" >
< div class = "col-sm-12 select-table table-striped" >
< div class = "details" style = "padding: 8px 0;font-size: 18px" > 联系人明细< / div >
< table id = "contacts-table" > < / table >
< / div >
< / div >
< div class = "addressList sh" >
< div class = "col-sm-12 select-table table-striped" >
< div class = "details" style = "padding: 8px 0;font-size: 18px" > 送货地址< / div >
< table id = "address-table" > < / table >
< div class = "form-group" >
< label class = "col-sm-6 control-label" > 客户标识:< / label >
< div class = "col-sm-6" >
< div class = "radio-box" th:each = "dict : ${@dict.getType('sys_customer_sign')}" >
< input type = "radio" th:id = "${'sign_' + dict.dictCode}" name = "customerSign" th:value = "${dict.dictValue}" th:checked = "${dict.default}" >
< label th:for = "${'sign_' + dict.dictCode}" th:text = "${dict.dictLabel}" > < / label >
< / div >
< / div >
< / div >
< / form >
< div class = "addressList sh" >
< div class = "col-sm-12 select-table table-striped" >
< div class = "details" style = "padding: 8px 0;font-size: 18px" > 操作历史< / div >
@ -776,244 +772,76 @@
modalName: "客户基本信息",
fixedColumns:true,
fixedRightNumber:1,
columns: [{
checkbox: true
},
{
field: 'deginflag',
title: '审核状态',
formatter: function (value, row, index) {
return $.table.selectDictLabel(auditStatusDatas, value);
}
},
{
field: 'delflag',
title: '客户状态',
formatter: function (value, row, index) {
return $.table.selectDictLabel(useStatusDatas, value);
},
},
{
field: 'businessMembers',
title: '业务员',
visible: false
},
{
field: 'enterpriseCode',
title: '客户ID',
},
{
field: 'enterpriseName',
title: '客户公司名称'
},
{
field: 'customerAbbreviation',
title: '客户公司简称',
},
{
field: 'englishName',
title: '英文名称',
},
{
field: 'customerPurser',
title: '事业部',
},
{
field: 'customerAddress',
title: '公司地址',
},
{
field: 'customerOffice',
title: '职务',
visible: false
},
{
field: 'exportSales',
title: '内外销',
formatter: function (value, row, index) {
return $.table.selectDictLabel(exportSalesDatas, value);
},
visible: false
},
{
field: 'deliveryAddress',
title: '送货地址'
},
{
field: 'postalCode',
title: '邮编',
visible: false
},
{
field: 'customerCountry',
title: '国家地区',
formatter: function (value, row, index) {
return $.table.selectDictLabel(customerCountryDatas, value);
},
visible: false
},
{
field: 'commonCurrency',
title: '币种',
formatter: function (value, row, index) {
return $.table.selectDictLabel(commonCurrencyDatas, value);
},
visible: false
},
{
field: 'customerRemarks',
title: '备注内容',
visible: false
},
{
field: 'legalRepresentative',
title: '法人代表',
visible: false
},
{
field: 'invoicingCustomerName',
title: '开票客户名称',
visible: false
},
{
field: 'invoicingCompanyName',
title: '开票公司名称',
visible: false
},
{
field: 'creditLimit',
title: '信用额度',
visible: false
},
{
field: 'integrityRating',
title: '诚信评级',
formatter: function (value, row, index) {
return $.table.selectDictLabel(integrityRatingDatas, value);
},
visible: false
},
{
field: 'customerContact',
title: '联系人'
},
{
field: 'contactNumber',
title: '联系电话'
},
{
field: 'customerFax',
title: '传真'
},
{
field: 'customerEmail',
title: 'Email'
},
{
field: 'customsCode',
title: '海关代码',
visible: false
},
{
field: 'paymentTerms',
title: '付款条件'
},
{
field: 'invoiceCode',
title: '发票代码',
visible: false
},
{
field: 'portOfDestination',
title: '目的港',
visible: false
},
{
field: 'establishedTime',
title: '成立日期'
},
{
field: 'settlementBank',
title: '结汇银行',
visible: false
},
{
field: 'exchangeSettlementAccount',
title: '结汇账号',
visible: false
},
{
field: 'depositBank',
title: '开户银行',
// visible: false
},
{
field: 'bankAccount',
title: '开户银行账号',
// visible: false
},
{
field: 'rmbRegisteredCapital',
title: 'RMB注册资金',
visible: false
},
{
field: 'registeredCapital',
title: '外币注册资金',
visible: false
},
{
field: 'confirmTax',
title: '是否含税',
columns: [
{checkbox: true},
{ title: '审核状态',field: 'deginflag',
formatter: function (value, row, index) {return $.table.selectDictLabel(auditStatusDatas, value);}
},
{title: '客户状态',field: 'delflag',
formatter: function (value, row, index) {return $.table.selectDictLabel(useStatusDatas, value);},
},
{title: '业务员',field: 'businessMembers',visible: false},
{title: '客户ID',field: 'enterpriseCode' },
{title: '客户公司名称',field: 'enterpriseName'},
{title: '客户公司简称',field: 'customerAbbreviation'},
{title: '英文名称',field: 'englishName'},
{title: '事业部',field: 'customerPurser'},
{title: '公司地址',field: 'customerAddress'},
{title: '职务',field: 'customerOffice',visible: false},
{title: '内外销',field: 'exportSales',visible: false,
formatter: function (value, row, index) {return $.table.selectDictLabel(exportSalesDatas, value);},
},
{title: '送货地址',field: 'deliveryAddress'},
{title: '邮编',field: 'postalCode',visible: false},
{title: '国家地区',field: 'customerCountry',visible: false,
formatter: function (value, row, index) {return $.table.selectDictLabel(customerCountryDatas, value);},
},
{title: '国家/地区编号',field: 'countryNumber',visible: false,
formatter: function (value, row, index) {return $.table.selectDictLabel(countryNumberDatas, value); },
},
{title: '币种',field: 'commonCurrency',visible: false,
formatter: function (value, row, index) {return $.table.selectDictLabel(commonCurrencyDatas, value);},
},
{title: '备注内容',field: 'customerRemarks',visible: false},
{title: '法人代表',field: 'legalRepresentative',visible: false},
{title: '开票客户名称',field: 'invoicingCustomerName',visible: false},
{title: '开票公司名称',field: 'invoicingCompanyName',visible: false},
{ title: '信用额度',field: 'creditLimit',visible: false},
{title: '诚信评级',field: 'integrityRating',visible: false,
formatter: function (value, row, index) {return $.table.selectDictLabel(integrityRatingDatas, value);},
},
{title: '联系人',field: 'customerContact'},
{title: '联系电话',field: 'contactNumber'},
{title: '传真',field: 'customerFax'},
{title: 'Email',field: 'customerEmail'},
{title: '海关代码',field: 'customsCode',visible: false},
{title: '付款条件',field: 'paymentTerms'},
{title: '发票代码',field: 'invoiceCode',visible: false},
{title: '目的港',field: 'portOfDestination',visible: false},
{title: '成立日期',field: 'establishedTime'},
{title: '结汇银行',field: 'settlementBank',visible: false},
{title: '结汇账号',field: 'exchangeSettlementAccount',visible: false},
{title: '开户银行',field: 'depositBank'},
{title: '开户银行账号',field: 'bankAccount'},
{title: 'RMB注册资金',field: 'rmbRegisteredCapital',visible: false},
{title: '外币注册资金',field: 'registeredCapital',visible: false},
{title: '是否含税',field: 'confirmTax',
formatter: function (value, row, index) {
return $.table.selectDictLabel(confirmTaxDatas, value);
},
// visible: false
},
{
field: 'taxRate',
title: '税率',
// visible: false
},
{
field: 'countryNumber',
title: '国家/地区编号',
formatter: function (value, row, index) {
return $.table.selectDictLabel(countryNumberDatas, value);
},
visible: false
},
{
field: 'firstAddTime',
title: '录入时间',
{title: '税率',field: 'taxRate'},
{title: '录入时间',field: 'firstAddTime',
formatter: function (value, row, index) {
if (value == null) {
return " ";
} else {
return value;
}
if (value == null) {return " ";} else { return value;}
}
},
{
field: 'updateInfoTime',
title: '上次修改时间',
{title: '上次修改时间',field: 'updateInfoTime',
formatter: function (value, row, index) {
if (value == null) {
return " ";
} else {
var vArr = value.split(',')
return vArr[0];
}
if (value == null) {return " ";} else {var vArr = value.split(',');return vArr[0];}
}
},
{
title: '操作',
align: 'center',
{title: '操作',align: 'center',
formatter: function(value, row, index) {
var actions = [];
// 审核状态-审核通过 使用状态-是 未发起作废流程
@ -1045,18 +873,10 @@
}
// 详情
actions.push('< a class = "btn btn-primary btn-xs" href = "javascript:void(0)" onclick = "$.operate.detail(\'' + row.id + '\')" > < i class = "fa fa-eye" > < / i > 详情< / a > ');
/*actions.push('< a class = "btn btn-success btn-xs ' + editFlag + '" href = "javascript:void(0)" onclick = "$.operate.edit(\'' + row.id + '\')" > < i class = "fa fa-edit" > < / i > 编辑< / a > ');
actions.push('< a class = "btn btn-primary btn-xs ' + editFlag + '" href = "javascript:void(0)" onclick = "showdetails(\'' + index + '\')" > < i class = "fa fa-eye" > < / i > 详情< / a > ');
actions.push('< a class = "btn btn-success btn-xs ' + auditFlag + '" href = "javascript:void(0)" onclick = "showMaterial(\'' + index + '\')" > < i class = "fa fa-file-o" > < / i > 审核< / a > ');
if(row.delFlag == '0'){
actions.push('< a class = "btn btn-danger btn-xs ' + cancelFlag + '" href = "javascript:void(0)" onclick = "$.operate.cancel(\'' + row.id + '\')" > < i class = "fa fa-remove" > < / i > 作废< / a > ');
}else{
actions.push('< a class = "btn btn-success btn-xs ' + restoreFlag + '" href = "javascript:void(0)" onclick = "$.operate.restore(\'' + row.id + '\')" > < i class = "fa fa-window-restore" > < / i > 恢复< / a > ');
}*/
return actions.join('');
}
}]
}
]
};
$.table.init(options);
});
@ -1071,8 +891,6 @@
$.operate.save(prefix1 + "/add", $('#form-contacts-add').serialize());
$('#infoModal').modal("hide")
}
}
// 列表联系人明细
@ -1133,19 +951,17 @@
focusCleanup: true
});
function showdetails(index) {
var data = $("#bootstrap-table").bootstrapTable("getSelections");
// var enterpriseCode=data[0].enterpriseCode;
// console.log(data.length,enterpriseCode)
if (data.length == 1) {
$("# enterpriseCode").val(data[0].enterpriseCode)
$("input[name=' enterpriseCode'] ").val(data[0].enterpriseCode)
$("input[name='exportSales']").val(data[0].exportSales)
$("# enterpriseName").val(data[0].enterpriseName)
$("input[name=' enterpriseName'] ").val(data[0].enterpriseName)
$("input[name='englishName']").val(data[0].englishName)
$("input[name='customerAddress']").val(data[0].customerAddress)
$("# deliveryAddress").val(data[0].deliveryAddress)
$("input[name=' deliveryAddress'] ").val(data[0].deliveryAddress)
$("input[name='postalCode']").val(data[0].postalCode)
$("input[name='customerCountry']").val(data[0].customerCountry)
$("input[name='commonCurrency']").val(data[0].commonCurrency)
@ -1173,7 +989,6 @@
$("input[name='registeredCapital']").val(data[0].registeredCapital)
$("input[name='orderLength']").val(data[0].orderLength)
$("input[name='shippingTemplate']").val(data[0].shippingTemplate)
$("input[name='businessMembers']").val(data[0].businessMembers)
$("input[name='destinationPortCode']").val(data[0].destinationPortCode)
$("input[name='departurePotentialName']").val(data[0].departurePotentialName)
@ -1185,21 +1000,16 @@
// $("input[name='confirmTax']").val(data[0].confirmTax)
$("input[name='taxRate']").val(data[0].taxRate)
$("input[name='countryNumber']").val(data[0].countryNumber)
console.log(data[0].shipmentUsage)
console.log(data[0].confirmTax)
if (data[0].confirmTax == 1) {
$("input[name='confirmTax']").val("是")
} else {
$("input[name='confirmTax']").val("否")
}
if (data[0].shipmentUsage == 1) {
$("input[name='shipmentUsage']").val("是")
} else {
$("input[name='shipmentUsage']").val("否")
}
// 联系人
$('#contacts-table').bootstrapTable('destroy');
@ -1299,7 +1109,6 @@
},
]
});
// 送货地址
$('#address-table').bootstrapTable('destroy');
$('#address-table').bootstrapTable({
@ -1382,7 +1191,7 @@
]
});
// 客户表操作历史
$('#oper-table').bootstrapTable('destroy');
$('#oper-table').bootstrapTable({
url: '/system/customer/operList',
@ -1465,8 +1274,6 @@
else {
$.modal.alert("请选择一条数据");
}
}
function close() {
@ -1538,7 +1345,7 @@
}
// 联系人
// 联系人列表
$('#contacts-table').bootstrapTable('destroy');
$('#contacts-table').bootstrapTable({
url: '/system/contacts/list',
@ -1637,7 +1444,7 @@
]
});
// 送货地址
// 送货地址列表
$('#address-table').bootstrapTable('destroy');
$('#address-table').bootstrapTable({
url: '/system/shippingaddress/addresslist',
@ -1719,7 +1526,7 @@
]
});
// 客户表操作历史
$('#oper-table').bootstrapTable('destroy');
$('#oper-table').bootstrapTable({
url: '/system/customer/operList',