|
@@ -1,288 +0,0 @@
|
|
-<!DOCTYPE HTML>
|
|
|
|
-<html>
|
|
|
|
-<head>
|
|
|
|
- <meta charset="UTF-8">
|
|
|
|
- <title></title>
|
|
|
|
- <#include "/base/list_base.ftl">
|
|
|
|
- <style>
|
|
|
|
- *{padding: 0;margin: 0;}
|
|
|
|
- .my-input{border: 1px solid rgba(0,0,0,.1);padding: 1px 5px;height: 32px;margin-right: 10px;}
|
|
|
|
- /*.my-input::-webkit-input-placeholder,.my-select{color: #dcdcdc;}*/
|
|
|
|
- .my-select{border: 1px solid rgba(0,0,0,.1);padding:6px 50px 6px 15px;height: 34px;margin: 0 10px; -webkit-appearance:none;appearance:none;background: url(${path}/common/images/pts/select-1.png) right center no-repeat;background-size:auto 100%;}
|
|
|
|
- .my-btn-search{border: 1px solid #32a3d8;padding: 1px 25px;height: 32px;background-color: #32a3d8;color: #fff;}
|
|
|
|
- .barcodeImg{margin:10px 0px}
|
|
|
|
- .table-bg thead th{background-color: #e2f6ff;}
|
|
|
|
- input[type=radio]{-webkit-appearance:none;appearance:none;background: url(${path}/common/images/pts/radio-1.png) center center no-repeat;background-size:auto 100%;width: 20px;height: 20px;margin-right: 10px;}
|
|
|
|
- input[type=radio]:checked{-webkit-appearance:none;appearance:none;background: url(${path}/common/images/pts/radio-2.png) center center no-repeat;background-size:auto 100%;width: 20px;height: 20px;margin-right: 10px;}
|
|
|
|
- </style>
|
|
|
|
-</head>
|
|
|
|
-<body>
|
|
|
|
-<nav class="breadcrumb"><i class="Hui-iconfont"></i> 首页
|
|
|
|
- <span class="c-gray en">></span> 客户信息管理
|
|
|
|
- <span class="c-gray en">></span> 增加客户信息
|
|
|
|
- <a class="btn radius r" style="line-height:1.6em;margin-top:3px;background: #32a3d8;color: #fff;border:1px solid #32a3d8;" href="javascript:location.replace(location.href);" title="刷新" ><i class="Hui-iconfont"></i></a>
|
|
|
|
-</nav>
|
|
|
|
-<article class="page-container" style="padding: 10px;">
|
|
|
|
- <div class="pd-20 cl">
|
|
|
|
- <form action="${path}/admin/customerBasic/saveCustomerInfo" method="post">
|
|
|
|
- <#--<form action="${path}/admin/customerBasic/save_customer_info" method="post" class="form form-horizontal" id="form-customerInfoAdmin-add" onkeydown="if(event.keyCode==13)return false;">-->
|
|
|
|
- <input type="hidden" id="isNeedSelectOrder" name="isNeedSelectOrder" value="">
|
|
|
|
- <#--客户基本信息-->
|
|
|
|
- <div class="row cl">
|
|
|
|
- <label class="form-label col-3">
|
|
|
|
- <div class="tit-2">客户基本信息</div>
|
|
|
|
- </label>
|
|
|
|
- <div class="formControls col-9">
|
|
|
|
- </div>
|
|
|
|
- </div>
|
|
|
|
- <div class="row cl">
|
|
|
|
- <label class="form-label col-1 col-sm-1"><span class="c-red">*</span>客户类型:</label>
|
|
|
|
- <div class="formControls col-1 col-sm-1">
|
|
|
|
- <span class="select-box" style=" width: 625px;">
|
|
|
|
- <select name="adminId" id="adminId" class="select">
|
|
|
|
- </select>
|
|
|
|
- </span>
|
|
|
|
- </div>
|
|
|
|
- <label class="form-label col-1 col-sm-2"><span class="c-red">*</span>合作进度:</label>
|
|
|
|
- <div class="formControls col-1 col-sm-1">
|
|
|
|
- <span class="select-box" style=" width: 625px;">
|
|
|
|
- <select name="adminId" id="adminId" class="select">
|
|
|
|
- </select>
|
|
|
|
- </span>
|
|
|
|
- </div>
|
|
|
|
- <label class="form-label col-1 col-sm-1"><span class="c-red">*</span>客户名称:</label>
|
|
|
|
- <div class="formControls col-2 col-sm-2 skin-minimal">
|
|
|
|
- <input type="text" class="input-text trim_input" placeholder="公司/客户 全称" id="customerWechatName" name="customerWechatName" value="">
|
|
|
|
- </div>
|
|
|
|
- <label class="form-label col-1 col-sm-2">客户行业:</label>
|
|
|
|
- <div class="formControls col-2 col-sm-2 skin-minimal">
|
|
|
|
- <input type="text" class="input-text trim_input" placeholder="请输入行业名称" id="customerName" name="customerName" value="">
|
|
|
|
- </div>
|
|
|
|
- <label class="form-label col-1 col-sm-1"><span class="c-red">*</span>客户地址:</label>
|
|
|
|
- <div class="formControls col-2 col-sm-2 skin-minimal">
|
|
|
|
- <#--省份-->
|
|
|
|
- <span class="select-box" style=" width: 625px;">
|
|
|
|
- <select name="adminId" id="adminId" class="select">
|
|
|
|
- </select>
|
|
|
|
- </span>
|
|
|
|
- <#--城市-->
|
|
|
|
- <span class="select-box" style=" width: 625px;">
|
|
|
|
- <select name="adminId" id="adminId" class="select">
|
|
|
|
- </select>
|
|
|
|
- </span>
|
|
|
|
- <#--详细地址-->
|
|
|
|
- <input type="text" class="input-text trim_input" placeholder="请输入客户的详细地址" id="customerWechatName" name="customerWechatName" value="">
|
|
|
|
- </div>
|
|
|
|
- </div>
|
|
|
|
- <#--对接联系人信息-->
|
|
|
|
- <div class="row cl">
|
|
|
|
- <label class="form-label col-3">
|
|
|
|
- <div class="tit-2">对接联系人信息<span style="font-family:'Arial Normal', 'Arial';font-weight:400;font-size:14px;">(请确保真实性,公司将不定期抽验回访)</span></div>
|
|
|
|
- </label>
|
|
|
|
- <div class="formControls col-9">
|
|
|
|
- </div>
|
|
|
|
- </div>
|
|
|
|
- <div class="row cl">
|
|
|
|
- <div class="formControls col-9">
|
|
|
|
- <input type="text" class="my-input" style="width:90px;margin-right: 0px; margin-bottom: 10px;" value="${customerInfo.customerId!}" placeholder="联系人姓名" id="customerId" name="customerId">
|
|
|
|
- <input type="text" class="my-input" style="width:90px;margin-right: 0px;margin-bottom: 10px;" value="${customerInfo.sendLogisticsNo!}" placeholder="联系人电话" id="sendLogisticsNo" name="sendLogisticsNo">
|
|
|
|
- <input type="text" class="my-input" style="width:90px;margin-right: 0px;margin-bottom: 10px;" value="${customerInfo.customerName!}" placeholder="职位或身份" id="customerName" name="customerName">
|
|
|
|
- <input type="text" class="my-input" style="width:90px;margin-right: 0px;margin-bottom: 10px;" value="${customerInfo.customerTel!}" placeholder="邮箱" id="customerTel" name="customerTel">
|
|
|
|
- <button type="button" style="cursor:pointer; float: left;height: 35px;margin-right: 30px;margin-bottom: 10px;" class="my-btn-search" onclick="toAddCustomerInfo();">保存</button>
|
|
|
|
- </div>
|
|
|
|
- <div class="mt-20" style="margin: 20px;">
|
|
|
|
- <table class="table table-border table-bordered table-bg table-hover table-sort">
|
|
|
|
- <thead>
|
|
|
|
- <tr class="text-c">
|
|
|
|
- <th width="100">联系人姓名</th>
|
|
|
|
- <th width="100">联系电话</th>
|
|
|
|
- <th width="100">职位/身份</th>
|
|
|
|
- <th width="100">联系邮箱</th>
|
|
|
|
- <th width="100">操作</th>
|
|
|
|
- </tr>
|
|
|
|
- </thead>
|
|
|
|
- <tbody id="listid">
|
|
|
|
- </tbody>
|
|
|
|
- </table>
|
|
|
|
- </div>
|
|
|
|
- </div>
|
|
|
|
- <#--客户销售渠道信息备案-->
|
|
|
|
- <div class="row cl">
|
|
|
|
- <label class="form-label col-3">
|
|
|
|
- <div class="tit-2">客户销售渠道信息备案</div>
|
|
|
|
- </label>
|
|
|
|
- <div class="formControls col-9">
|
|
|
|
- </div>
|
|
|
|
- </div>
|
|
|
|
- <div class="row cl">
|
|
|
|
- <div class="formControls col-9">
|
|
|
|
- <input type="text" class="my-input" style="width:90px;margin-right: 0px; margin-bottom: 10px;" value="${customerInfo.customerId!}" placeholder="客诉编号" id="customerId" name="customerId">
|
|
|
|
- <input type="text" class="my-input" style="width:90px;margin-right: 0px;margin-bottom: 10px;" value="${customerInfo.sendLogisticsNo!}" placeholder="物流编号" id="sendLogisticsNo" name="sendLogisticsNo">
|
|
|
|
- <input type="text" class="my-input" style="width:90px;margin-right: 0px;margin-bottom: 10px;" value="${customerInfo.customerName!}" placeholder="请输入姓名" id="customerName" name="customerName">
|
|
|
|
- <input type="text" class="my-input" style="width:90px;margin-right: 0px;margin-bottom: 10px;" value="${customerInfo.customerTel!}" placeholder="请输入电话号码" id="customerTel" name="customerTel">
|
|
|
|
- <select class="my-select" name="adminId" style="height: 36px;width: 120px;margin: 0px;padding: 12px 10px 6px 15px;margin-bottom: 10px;">
|
|
|
|
- <option value ="">渠道类别</option>
|
|
|
|
- <#if adminList?? && (adminList?size > 0) >
|
|
|
|
- <#list adminList as admin>
|
|
|
|
- <option value ="${admin.adminId!}" <#if customerInfo.adminId??><#if customerInfo.adminId ==admin.adminId >selected="selected"</#if></#if>>${admin.adminName!}</option>
|
|
|
|
- </#list>
|
|
|
|
- </#if>
|
|
|
|
- </select>
|
|
|
|
- <select class="my-select" name="adminId" style="height: 36px;width: 120px;margin: 0px;padding: 12px 10px 6px 15px;margin-bottom: 10px;">
|
|
|
|
- <option value ="">渠道类型</option>
|
|
|
|
- <#if adminList?? && (adminList?size > 0) >
|
|
|
|
- <#list adminList as admin>
|
|
|
|
- <option value ="${admin.adminId!}" <#if customerInfo.adminId??><#if customerInfo.adminId ==admin.adminId >selected="selected"</#if></#if>>${admin.adminName!}</option>
|
|
|
|
- </#list>
|
|
|
|
- </#if>
|
|
|
|
- </select>
|
|
|
|
- <span>渠道名称<input type="text" class="my-input" style="width:90px;margin-right: 0px;margin-bottom: 10px;" value="${customerInfo.customerTel!}" placeholder="填写具体店名" id="customerTel" name="customerTel"></span>
|
|
|
|
- <select class="my-select" name="adminId" style="height: 36px;width: 120px;margin: 0px;padding: 12px 10px 6px 15px;margin-bottom: 10px;">
|
|
|
|
- <option value ="">销售产品</option>
|
|
|
|
- <#if adminList?? && (adminList?size > 0) >
|
|
|
|
- <#list adminList as admin>
|
|
|
|
- <option value ="${admin.adminId!}" <#if customerInfo.adminId??><#if customerInfo.adminId ==admin.adminId >selected="selected"</#if></#if>>${admin.adminName!}</option>
|
|
|
|
- </#list>
|
|
|
|
- </#if>
|
|
|
|
- </select>
|
|
|
|
- <input type="text" class="my-input" style="width:90px;margin-right: 0px; margin-bottom: 10px;" value="${customerInfo.customerId!}" placeholder="供货价格" id="customerId" name="customerId">
|
|
|
|
- <select class="my-select" name="adminId" style="height: 36px;width: 120px;margin: 0px;padding: 12px 10px 6px 15px;margin-bottom: 10px;">
|
|
|
|
- <option value ="">供货价格</option>
|
|
|
|
- <#if adminList?? && (adminList?size > 0) >
|
|
|
|
- <#list adminList as admin>
|
|
|
|
- <option value ="${admin.adminId!}" <#if customerInfo.adminId??><#if customerInfo.adminId ==admin.adminId >selected="selected"</#if></#if>>${admin.adminName!}</option>
|
|
|
|
- </#list>
|
|
|
|
- </#if>
|
|
|
|
- </select>
|
|
|
|
- <select class="my-select" name="adminId" style="height: 36px;width: 120px;margin: 0px;padding: 12px 10px 6px 15px;margin-bottom: 10px;">
|
|
|
|
- <option value ="">账期</option>
|
|
|
|
- <option value="1" <#if customerInfo.customerSourceType??><#if customerInfo.customerSourceType == 1 >selected="selected"</#if></#if>>先款</option>
|
|
|
|
- <option value="2" <#if customerInfo.customerSourceType??><#if customerInfo.customerSourceType == 2 >selected="selected"</#if></#if>>月结</option>
|
|
|
|
- <option value="3" <#if customerInfo.customerSourceType??><#if customerInfo.customerSourceType == 3 >selected="selected"</#if></#if>>两个月</option>
|
|
|
|
- </select>
|
|
|
|
- <button type="button" style="cursor:pointer; float: left;height: 35px;margin-right: 30px;margin-bottom: 10px;" class="my-btn-search" onclick="toAddCustomerInfo();">保存</button>
|
|
|
|
- </div>
|
|
|
|
- </div>
|
|
|
|
- <#--付款/退款信息-->
|
|
|
|
- <div class="row cl">
|
|
|
|
- <label class="form-label col-3">
|
|
|
|
- <div class="tit-2">付款/退款信息<span style="font-family:'Arial Normal', 'Arial';font-weight:400;font-size:14px;">(请真实有效,用于财务收款确认或退款业务)</span></div>
|
|
|
|
- </label>
|
|
|
|
- <div class="formControls col-9">
|
|
|
|
- </div>
|
|
|
|
- </div>
|
|
|
|
- <div class="row cl">
|
|
|
|
- <label class="form-label col-1 col-sm-1"><span class="c-red">*</span>开户支行:</label>
|
|
|
|
- <div class="formControls col-1 col-sm-1">
|
|
|
|
- <input type="text" class="input-text trim_input" placeholder="开户支行" id="customerName" name="customerName" value="">
|
|
|
|
- </div>
|
|
|
|
- <label class="form-label col-1 col-sm-2"><span class="c-red">*</span>账户名称:</label>
|
|
|
|
- <div class="formControls col-2 col-sm-2 skin-minimal">
|
|
|
|
- <input type="text" class="input-text trim_input" placeholder="账户名称" id="customerName" name="customerName" value="">
|
|
|
|
- </div>
|
|
|
|
- <label class="form-label col-1 col-sm-1"><span class="c-red">*</span>账号:</label>
|
|
|
|
- <div class="formControls col-2 col-sm-2 skin-minimal">
|
|
|
|
- <input type="text" class="input-text trim_input" placeholder="填写账号" id="customerWechatName" name="customerWechatName" value="">
|
|
|
|
- </div>
|
|
|
|
- <label class="form-label col-1 col-sm-2"><span class="c-red">*</span>收款人姓名:</label>
|
|
|
|
- <div class="formControls col-2 col-sm-2 skin-minimal">
|
|
|
|
- <input type="text" class="input-text trim_input" placeholder="收款人姓名" id="customerName" name="customerName" value="">
|
|
|
|
- </div>
|
|
|
|
- <label class="form-label col-1 col-sm-1"><span class="c-red">*</span>收款人手机:</label>
|
|
|
|
- <div class="formControls col-2 col-sm-2 skin-minimal">
|
|
|
|
- <input type="text" class="input-text trim_input" placeholder="收款人手机" id="customerWechatName" name="customerWechatName" value="">
|
|
|
|
- </div>
|
|
|
|
- </div>
|
|
|
|
- <#--开票信息-->
|
|
|
|
- <div class="row cl">
|
|
|
|
- <label class="form-label col-3">
|
|
|
|
- <div class="tit-2">开票信息</div>
|
|
|
|
- </label>
|
|
|
|
- <div class="formControls col-9">
|
|
|
|
- </div>
|
|
|
|
- </div>
|
|
|
|
- <div class="row cl">
|
|
|
|
- <label class="form-label col-1 col-sm-1"><span class="c-red">*</span>发票类型:</label>
|
|
|
|
- <div class="formControls col-1 col-sm-1">
|
|
|
|
- <span class="select-box" style=" width: 625px;">
|
|
|
|
- <select name="adminId" id="adminId" class="select">
|
|
|
|
- </select>
|
|
|
|
- </span>
|
|
|
|
- </div>
|
|
|
|
- <label class="form-label col-1 col-sm-2"><span class="c-red">*</span>开户支行:</label>
|
|
|
|
- <div class="formControls col-2 col-sm-2 skin-minimal">
|
|
|
|
- <input type="text" class="input-text trim_input" placeholder="开户支行名称" id="customerName" name="customerName" value="">
|
|
|
|
- </div>
|
|
|
|
- <label class="form-label col-1 col-sm-1"><span class="c-red">*</span>开票账户:</label>
|
|
|
|
- <div class="formControls col-2 col-sm-2 skin-minimal">
|
|
|
|
- <input type="text" class="input-text trim_input" placeholder="开票账户" id="customerWechatName" name="customerWechatName" value="">
|
|
|
|
- </div>
|
|
|
|
- <label class="form-label col-1 col-sm-2">企业名称:</label>
|
|
|
|
- <div class="formControls col-2 col-sm-2 skin-minimal">
|
|
|
|
- <input type="text" class="input-text trim_input" placeholder="企业名称" id="customerName" name="customerName" value="">
|
|
|
|
- </div>
|
|
|
|
- <label class="form-label col-1 col-sm-1"><span class="c-red">*</span>纳税人识别号:</label>
|
|
|
|
- <div class="formControls col-2 col-sm-2 skin-minimal">
|
|
|
|
- <input type="text" class="input-text trim_input" placeholder="纳税人识别号" id="customerWechatName" name="customerWechatName" value="">
|
|
|
|
- </div>
|
|
|
|
- <label class="form-label col-1 col-sm-1"><span class="c-red">*</span>开票电话:</label>
|
|
|
|
- <div class="formControls col-2 col-sm-2 skin-minimal">
|
|
|
|
- <input type="text" class="input-text trim_input" placeholder="开票电话" id="customerWechatName" name="customerWechatName" value="">
|
|
|
|
- </div>
|
|
|
|
- <label class="form-label col-1 col-sm-1"><span class="c-red">*</span>企业地址:</label>
|
|
|
|
- <div class="formControls col-2 col-sm-2 skin-minimal">
|
|
|
|
- <input type="text" class="input-text trim_input" placeholder="企业地址" id="customerWechatName" name="customerWechatName" value="">
|
|
|
|
- </div>
|
|
|
|
- </div>
|
|
|
|
- <#--客户备注-->
|
|
|
|
- <div class="row cl">
|
|
|
|
- <label class="form-label col-3">
|
|
|
|
- <div class="tit-2">客户备注</div>
|
|
|
|
- </label>
|
|
|
|
- <div class="formControls col-9">
|
|
|
|
- <textarea id="customer_remarks"></textarea>
|
|
|
|
- </div>
|
|
|
|
- </div>
|
|
|
|
- <div class="row cl">
|
|
|
|
- </form>
|
|
|
|
- </div>
|
|
|
|
-</article>
|
|
|
|
-
|
|
|
|
-<script type="text/javascript">
|
|
|
|
- var url_path = "${path}";
|
|
|
|
-</script>
|
|
|
|
-
|
|
|
|
-<#--时间控件-->
|
|
|
|
-<script type="text/javascript" src="${path}/common/lib/My97DatePicker/4.8/WdatePicker.js"></script>
|
|
|
|
-<script type="text/javascript" src="${path}/common/lib/icheck/jquery.icheck.min.js"></script>
|
|
|
|
-
|
|
|
|
-<#--业务js-->
|
|
|
|
-<script type="text/javascript" src="${path}/common/js/customerSaveAdmin/save_customer_info.js"></script>
|
|
|
|
-<script>
|
|
|
|
- //定义变量
|
|
|
|
-
|
|
|
|
- /*初始化页面参数*/
|
|
|
|
- $(function () {
|
|
|
|
- /* 初始化单选框样式 */
|
|
|
|
- //initCheck();
|
|
|
|
-
|
|
|
|
- /*初始化省份(大类)*/
|
|
|
|
- initProvince();
|
|
|
|
-
|
|
|
|
- /*初始化渠道类别(大类)*/
|
|
|
|
- initChannelCategory();
|
|
|
|
-
|
|
|
|
- /*监听省份*/
|
|
|
|
- $("input[name='customerProvince']").change(function (){
|
|
|
|
- initCity($(this).val());
|
|
|
|
- })
|
|
|
|
-
|
|
|
|
- /*监听渠道类别*/
|
|
|
|
- $("input[name='customerChannelCategory']").change(function (){
|
|
|
|
- initChannelType($(this).val());
|
|
|
|
- })
|
|
|
|
-
|
|
|
|
-</script>
|
|
|
|
-
|
|
|
|
-</body>
|
|
|
|
-</html>
|
|
|