|
@@ -0,0 +1,290 @@
|
|
|
+<!DOCTYPE HTML>
|
|
|
+<html>
|
|
|
+<head>
|
|
|
+ <meta charset="utf-8">
|
|
|
+ <meta name="renderer" content="webkit|ie-comp|ie-stand">
|
|
|
+ <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
|
|
|
+ <meta name="viewport"
|
|
|
+ content="width=device-width,initial-scale=1,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no"/>
|
|
|
+ <meta http-equiv="Cache-Control" content="no-siteapp"/>
|
|
|
+<#include "/base/add_base.ftl">
|
|
|
+
|
|
|
+ <style>
|
|
|
+ .tit{position: relative;text-align: left;font-size: 16px;padding-left: 10px;}
|
|
|
+ .tit:after{content: '';position: absolute;left: 0;top: 20%;height: 60%;width: 3px;background-color: #32a3d8;}
|
|
|
+ .tit-2{position: relative;text-align: left;font-size: 16px;padding-left: 10px;color: #50a2ea;}
|
|
|
+ .tit-2:after{content: '';position: absolute;left: 0;top: 50%;height: 6px;width: 6px;border-radius: 6px;margin-top: -3px; background-color: #32a3d8;}
|
|
|
+ #province select{margin-right:10px; width:100px;height: 31px;-webkit-appearance:none !important;appearance:none;background: url(${path}/common/images/cm/select-1.png) right center no-repeat;background-size: auto 100%;padding-left:3px;padding-right: 25px;}
|
|
|
+ .ac_results li a {white-space: nowrap;text-decoration:none;display:block;color:#05a;padding:1px 3px}
|
|
|
+ .ac_results li {border:1px solid #fff}
|
|
|
+ .ac_results li a span {float:right}
|
|
|
+ .select-box{background: url(${path}/common/images/cm/select-1.png) right center no-repeat;background-size: auto 100%;}
|
|
|
+ .select-box select{-webkit-appearance:none !important;background-color: transparent; appearance:none;padding-right: 15px;}
|
|
|
+ .dalog-ask{position: absolute;left:60%;top:0;-webkit-transform: translateY(-30%);transform: translateY(-30%);display: none;background-color: #fff;z-index: 10;}
|
|
|
+ .tag{ width:300px; min-height:300px; border:1px solid #32a3d8; position:relative;background-color: #fff;line-height: 1.5;padding: 10px 12px;}
|
|
|
+ .tag em{display:block; border-width:15px; position:absolute; top:30%; left:-30px;border-style:solid dashed dashed; border-color:transparent #32a3d8 transparent transparent;font-size:0; line-height:0;}
|
|
|
+ .time-line-list{list-style: none;width: 100%;margin-left: -20px;}
|
|
|
+ .time-line-list>li{position: relative;float: left; text-align: center;width: 100px;overflow: hidden;white-space: nowrap;word-break: break-all;padding: 2px 0;}
|
|
|
+ .time-line-list .number{display: inline-block; padding: 2px; background: #32a3d8;border: 2px solid #fff;box-shadow:0 0 0 1px #32a3d8;width: 20px;height: 20px;color: #fff;line-height: 20px;border-radius: 50%;}
|
|
|
+ .time-line-list>li:before{content:'';position: absolute;height: 1px;width: 30%;right:0;top: 15px; background-color: #32a3d8;}
|
|
|
+ .time-line-list>li:after{content: '';position: absolute;height: 1px;width: 30%;left: 0;top: 15px;background:#32a3d8;}
|
|
|
+ .time-line-list>li:first-child:after,.time-line-list>li:last-child:before{display: none;}
|
|
|
+ .time-line-list .arrow{border-width:7px; position:absolute; left:25%; top:9px;border-style:solid dashed dashed; border-color:transparent transparent transparent #32a3d8;font-size:0; line-height:0;}
|
|
|
+ .time-line-list>li:first-child .arrow{display: none;}
|
|
|
+ .table-bg th{background-color: #e2f6ff;}
|
|
|
+ .update-parts>span{margin-right: 10px;padding: 3px 4px;background-color: #effaff;border: 1px solid #32a3d8;}
|
|
|
+ .msg-phone{height: 35px;line-height: 35px;}
|
|
|
+ .col-sm-1{width: 150px;}
|
|
|
+
|
|
|
+ .all_down{text-decoration: underline;color: #00c;}
|
|
|
+ </style>
|
|
|
+ <title>添加客户 - 客户管理 - RST</title>
|
|
|
+</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"
|
|
|
+ href="javascript:location.replace(location.href);" title="刷新"><i class="Hui-iconfont"></i></a>
|
|
|
+ <a class="btn radius r"
|
|
|
+ href="javascript:history.back(-1);" title="后退"><i class="Hui-iconfont"></i></a>
|
|
|
+</nav>
|
|
|
+<article class="page-container" style="padding: 10px;">
|
|
|
+ <div class="pd-20 cl" style="padding-top: 0px;">
|
|
|
+ <form action="${path}/admin/complaintQuestion/add_question" method="post" class="form form-horizontal" id="form-question" onkeydown="if(event.keyCode==13)return false;">
|
|
|
+
|
|
|
+ <input type="hidden" name="questionState" value="1">
|
|
|
+
|
|
|
+ <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" id="" style="">
|
|
|
+ <label class="form-label col-1 col-sm-1"><span class="c-red">*</span>客户名称:</label>
|
|
|
+ <div class="formControls col-3 col-sm-3">
|
|
|
+ <input type="text" class="input-text" value="" placeholder="填写客户名称" id="dealerName" name="dealerName" datatype="*1-20" errormsg="客户名称格式不正确!" >
|
|
|
+ </div>
|
|
|
+ <label class="form-label col-1 col-sm-1"><span class="c-red">*</span>客户行业:</label>
|
|
|
+ <div class="formControls col-3 col-sm-3">
|
|
|
+ <input type="text" class="input-text" value="" placeholder="填写客户行业" id="dealerIndustry" name="dealerIndustry" datatype="*1-20" errormsg="客户行业格式不正确!" >
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+
|
|
|
+ <div class="row cl" id="" style="">
|
|
|
+ <label class="form-label col-1 col-sm-1"><span class="c-red">*</span>是否自营:</label>
|
|
|
+ <div class="formControls col-3 col-sm-3">
|
|
|
+ <div class="radio-box">
|
|
|
+ <input type="radio" id="tel-1" name="dealerSelfOperated" value="1" >
|
|
|
+ <label for="tel-1">自营</label>
|
|
|
+ </div>
|
|
|
+ <div class="radio-box">
|
|
|
+ <input type="radio" id="tel-2" name="dealerSelfOperated" value="2" checked>
|
|
|
+ <label for="tel-2">非自营</label>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+
|
|
|
+ <label class="form-label col-1 col-sm-1"><span class="c-red">*</span>提款费率:</label>
|
|
|
+ <div class="formControls col-3 col-sm-3">
|
|
|
+ <input type="text" class="input-text" value="0" placeholder="填写提款费率" id="dealerRate" name="dealerRate" >
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+
|
|
|
+ <div class="row cl" id="" style="">
|
|
|
+ <label class="form-label col-1 col-sm-1"><span class="c-red">*</span>客户类型:</label>
|
|
|
+ <div class="formControls col-3 col-sm-3" >
|
|
|
+ <span class="select-box">
|
|
|
+ <select name="dealerType" class="select" id="complaint">
|
|
|
+ <option value="1">个人</option>
|
|
|
+ <option value="2">企业</option>
|
|
|
+ </select>
|
|
|
+ </span>
|
|
|
+ </div>
|
|
|
+ <label class="form-label col-1 col-sm-1"><span class="c-red">*</span>合作进度:</label>
|
|
|
+ <div class="formControls col-3 col-sm-3" >
|
|
|
+ <span class="select-box">
|
|
|
+ <select name="dealerState" class="select" id="dealerState">
|
|
|
+ <option value="1">意向合作</option>
|
|
|
+ <option value="2">已经合作</option>
|
|
|
+ <option value="3">停止合作</option>
|
|
|
+ </select>
|
|
|
+ </span>
|
|
|
+ </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" id="add_contact_make" style="margin-left: 25px;">
|
|
|
+ <div class="formControls col-11 col-sm-11">
|
|
|
+ <input type="button" class="btn btn-primary" onclick="addDealerContact()" value="添加对接人" >
|
|
|
+ <table class="table table-border table-bg table-bordered" style="margin-top: 10px;" id="">
|
|
|
+ <thead>
|
|
|
+ <tr class="text-c" id="table1">
|
|
|
+ <th width="30" >姓名</th>
|
|
|
+ <th width="30" >职位</th>
|
|
|
+ <th width="10">电话</th>
|
|
|
+ <th width="10">邮箱</th>
|
|
|
+ <th width="30">微信号</th>
|
|
|
+ <th width="30">QQ号</th>
|
|
|
+ <th width="10">操作</th>
|
|
|
+ </tr>
|
|
|
+ </thead>
|
|
|
+ <tbody id="add_contact">
|
|
|
+ <tr><td colspan="7" class="td-manage text-c" >暂时没有对接人,请添加!</td></tr>
|
|
|
+ </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" id="add_dealer_channel_make" style="margin-left: 25px;">
|
|
|
+ <div class="formControls col-11 col-sm-11">
|
|
|
+ <input type="button" class="btn btn-primary" onclick="add_product()" value="添加销售渠道" >
|
|
|
+ <table class="table table-border table-bg table-bordered" style="margin-top: 10px;" id="">
|
|
|
+ <thead>
|
|
|
+ <tr class="text-c" id="table1">
|
|
|
+ <th style="text-align: center;" width="30" >渠道类别</th>
|
|
|
+ <th style="text-align: center;" width="30" >渠道类型</th>
|
|
|
+ <th style="text-align: center;" width="10">渠道名称</th>
|
|
|
+ <th style="text-align: center;" width="10">账期</th>
|
|
|
+ <th style="text-align: center;" width="5">操作</th>
|
|
|
+ </tr>
|
|
|
+ </thead>
|
|
|
+ <tbody id="add_dealer_channel">
|
|
|
+ <tr><td colspan="5" class="td-manage text-c" >暂时没有销售渠道信息,请添加!</td></tr>
|
|
|
+ </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" id="" style="margin-left: 25px;">
|
|
|
+ <div class="formControls col-11 col-sm-11">
|
|
|
+ <input type="button" class="btn btn-primary" onclick="add_product()" value="添加供应产品" >
|
|
|
+ <table class="table table-border table-bg table-bordered" style="margin-top: 10px;" id="">
|
|
|
+ <thead>
|
|
|
+ <tr class="text-c" id="table1">
|
|
|
+ <th style="text-align: center;" width="30" >产品名称</th>
|
|
|
+ <th style="text-align: center;" width="30" >产品颜色</th>
|
|
|
+ <th style="text-align: center;" width="10">供应价格</th>
|
|
|
+ <th style="text-align: center;" width="10">供应渠道对象</th>
|
|
|
+ <th style="text-align: center;" width="5">操作</th>
|
|
|
+ </tr>
|
|
|
+ </thead>
|
|
|
+ <tbody id="add_color_id">
|
|
|
+ <tr><td colspan="5" class="td-manage text-c" >暂时没有供应产品,请添加!</td></tr>
|
|
|
+ </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" id="" style="margin-left: 25px;">
|
|
|
+ <div class="formControls col-11 col-sm-11">
|
|
|
+ <input type="button" class="btn btn-primary" onclick="add_product()" value="添加合作协议" >
|
|
|
+ <table class="table table-border table-bg table-bordered" style="margin-top: 10px;" id="">
|
|
|
+ <thead>
|
|
|
+ <tr class="text-c" id="table1">
|
|
|
+ <th style="text-align: center;" width="30" >合作时间</th>
|
|
|
+ <th style="text-align: center;" width="30" >合作协议</th>
|
|
|
+ <th style="text-align: center;" width="10">备注</th>
|
|
|
+ <th style="text-align: center;" width="5">操作</th>
|
|
|
+ </tr>
|
|
|
+ </thead>
|
|
|
+ <tbody id="add_color_id">
|
|
|
+ <tr><td colspan="4" class="td-manage text-c" >暂时没有合作协议,请添加!</td></tr>
|
|
|
+ </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" id="" style="margin-left: 25px;">
|
|
|
+ <div class="formControls col-11 col-sm-11">
|
|
|
+ <textarea id="dealerRemarks" name="dealerRemarks" style="height: 65px;width: 100%"></textarea>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+
|
|
|
+ <div class="row cl">
|
|
|
+ <div class="col-2 col-sm-2 col-offset-3">
|
|
|
+ <button class="btn btn-block btn-primary size-XL" type="submit">确认录入</button>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </form>
|
|
|
+ </div>
|
|
|
+</article>
|
|
|
+<#-- 业务脚本JS -->
|
|
|
+<script type="text/javascript" charset="utf-8" src="${path}/common/js/dealer/dealer.js"></script>
|
|
|
+<script type="text/javascript">
|
|
|
+ var url_path = "${path}";
|
|
|
+</script>
|
|
|
+
|
|
|
+
|
|
|
+<script type="text/javascript">
|
|
|
+
|
|
|
+ $('.skin-minimal input').iCheck({
|
|
|
+ checkboxClass: 'icheckbox-blue',
|
|
|
+ radioClass: 'iradio-blue',
|
|
|
+ increaseArea: '20%'
|
|
|
+ });
|
|
|
+ //是否是修改
|
|
|
+ var ISUPDATE = false;
|
|
|
+
|
|
|
+ var CHANNEL_ID_PREFIX = "CHANNEL_";
|
|
|
+ var CHANNEL_ID_NUM = 0;
|
|
|
+ var CHANNEL_IS_UPDATE = 1; //用来标识渠道的弹窗是添加还是修改, 1添加 2修改
|
|
|
+ var CHANNEL_TR_NUM = 0; //渠道信息数量 1:表示有 0:表示没有
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 添加对接人
|
|
|
+ */
|
|
|
+ function addDealerChannnel() {
|
|
|
+ CHANNEL_IS_UPDATE = 1;
|
|
|
+ CHANNEL_ID_NUM ++;
|
|
|
+ dealChannelIdStr = CHANNEL_ID_PREFIX + CHANNEL_ID_NUM;
|
|
|
+ layer_show_height("添加对接人","${path}/admin/dealer/to_add_dealer_contact?dealContactStr="+dealChannelIdStr,1);
|
|
|
+ }
|
|
|
+
|
|
|
+</script>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+</body>
|
|
|
+</html>
|