123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062 |
- <!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">
- <link href="${path}/common/lib/jquery.ui/jquery-ui.css" rel="stylesheet" type="text/css"/>
- <link href="${path}/common/lib/webuploader/0.1.5/webuploader.css" rel="stylesheet" type="text/css"/>
- <link href="${path}/common/lib/icheck/icheck.css" rel="stylesheet" type="text/css"/>
- <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;}
- #suggest, #suggest2 {width:200px}
- .gray {color:gray}
- .ac_results {background:#fff;border:1px solid #7f9db9;position: absolute;z-index: 10000;display: none}
- .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_over, .ac_results li a:hover {background:#c8e3fc}
- .ac_results li a span {float:right}
- .ac_result_tip {border-bottom:1px dashed #666;padding:3px}
- .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;}
- .dalog-ask .ask{color: #000;margin: 10px 0 5px 0;}
- .dalog-ask .answer{color: #666;margin-bottom: 10px;}
- .dalog-ask .answer:hover{color: #32a3d8;cursor: pointer;}
- .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;}
- .my-search-input{padding-left: 30px;background: url(${path}/common/images/cm/search.png) 6px center no-repeat;background-size: auto 60%; }
- .input-produce{height: 25px;line-height: 25px}
- .color-div{height: 30px;}
- .table-td-color{}
- .msg-phone{height: 35px;line-height: 35px; }
- /*用于邮寄信息的css*/
- .youxi_xinxi{}
- .col-sm-1{width: 150px;}
- </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">
- <form action="${path}/admin/customer/update_customer" method="post" class="form form-horizontal" id="form-customer-add" onkeydown="if(event.keyCode==13)return false;">
- <input type="hidden" id="customerId" name="customerId" value="${customerInfo.customerId!''}">
- <input type="hidden" id="relationId" name="relationId" value="${cmRelation.relationId!''}">
- <input type="hidden" name="customerIsVisit" value="1" >
- <input type="hidden" id="isNeedSelectOrder" name="isNeedSelectOrder" value="${customerInfo.isNeedSelectOrder}">
- <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-4 col-sm-4"> <span class="select-box" style=" width: 625px;">
- <select name="adminId" id="adminId" class="select">
- <#list adminList as admin>
- <option value ="${admin.adminId!}" <#if customerInfo.adminId??><#if customerInfo.adminId == admin.adminId >selected="selected"</#if></#if>>${admin.adminName!}</option>
- </#list>
- </select>
- </span>
- </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-10 col-sm-10 skin-minimal">
- <div class="radio-box">
- <input type="radio" id="tel-1" name="customerSourceType" value="1" <#if customerInfo.customerSourceType == 1 >checked</#if>>
- <label for="tel-1">400电话</label>
- </div>
- <div class="radio-box">
- <input type="radio" id="tel-2" name="customerSourceType" value="2" <#if customerInfo.customerSourceType == 2 >checked</#if>>
- <label for="tel-2">微信公众号</label>
- </div>
- <div class="radio-box">
- <input type="radio" id="tel-4" name="customerSourceType" value="4" <#if customerInfo.customerSourceType == 4 >checked</#if>>
- <label for="tel-4">QQ群</label>
- <#--<input type="text" class="input-text trim_input customerSourceType_text_4" value="<#if customerInfo.customerSourceType == 4 >${customerInfo.customerSource!''}</#if>" style="width: 100px;">-->
- </div>
- <div class="radio-box">
- <input type="radio" id="tel-5" name="customerSourceType" value="5" <#if customerInfo.customerSourceType == 5 >checked</#if>>
- <label for="tel-5">微信群</label>
- <#--<input type="text" class="input-text trim_input customerSourceType_text_5" value="<#if customerInfo.customerSourceType == 5 >${customerInfo.customerSource!''}</#if>" style="width: 100px;">-->
- </div>
- <div class="radio-box">
- <input type="radio" id="tel-6" name="customerSourceType" value="6" <#if customerInfo.customerSourceType == 6 >checked</#if>>
- <label for="tel-6">个人微信</label>
- <#--<input type="text" class="input-text trim_input customerSourceType_text_6" value="<#if customerInfo.customerSourceType == 6 >${customerInfo.customerSource!''}</#if>" style="width: 100px;">-->
- </div>
- <div class="radio-box">
- <input type="radio" id="tel-7" name="customerSourceType" value="7" <#if customerInfo.customerSourceType == 7 >checked</#if>>
- <label for="tel-7">有赞</label>
- </div>
- <div class="radio-box">
- <input type="radio" id="tel-3" name="customerSourceType" value="3" <#if customerInfo.customerSourceType == 3 >checked</#if>>
- <label for="tel-3">其他</label>
- <#--<input type="text" class="input-text trim_input customerSourceType_text_3" value="<#if customerInfo.customerSourceType == 3 >${customerInfo.customerSource!''}</#if>" style="width: 100px;">-->
- </div>
- <#--<input type="text" style="width: 321px;margin-left: 10px; <#if customerInfo.customerSourceType != 3 >display: none;</#if>" class="input-text" value="${customerInfo.customerSource!''}" placeholder="" id="customerSourceOld" name="customerSourceOld" placeholder="">-->
- <#--<input type="hidden" value="" placeholder="" id="customerSource" name="customerSource" >-->
- </div>
- </div>
- <div class="row cl">
- <label class="form-label col-1 col-sm-1">来源描述:</label>
- <div class="formControls col-4 col-sm-4 skin-minimal customerSourceType_text_all">
- <input type="text" class="input-text trim_input" value="${customerInfo.customerSource!''}" placeholder="来源入口描述" id="customerSource" name="customerSource">
- </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-10 col-sm-10 skin-minimal">
- <div class="radio-box">
- <input type="radio" class="customerCounselType" id="customer-type-1" name="customerCounselType" value="1" <#if customerInfo.customerCounselType == 1 >checked</#if>>
- <label for="customer-type-1">售前咨询</label>
- </div>
- <div class="radio-box">
- <input type="radio" class="customerCounselType" id="customer-type-2" name="customerCounselType" value="2" <#if customerInfo.customerCounselType == 2 >checked</#if>>
- <label for="customer-type-2">售后咨询</label>
- </div>
- </div>
- </div>
- <div class="row cl">
- <label class="form-label col-1 col-sm-1"><span class="c-red">*</span>咨询产品:</label>
- <input type="hidden" id="typeCompany" name="typeCompany" value="">
- <div class="formControls col-10 col-sm-10 skin-minimal" id="produceTypeHtml">
- <#list typeList as type>
- <div class="radio-box" style="width: 180px;">
- <input type="radio" id="produceType-${type_index}" name="typeId" typeCompany="${type.typeCompany}" value="${type.typeId!''}" <#if customerInfo.typeId == type.typeId>checked</#if> >
- <label for="produceType-${type_index}">${type.typeName!''}</label>
- </div>
- </#list>
- </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 sales_channel" id="salesChannelsSelect" style="">
- <input type="hidden" id="companyId" name="companyId" value="<#if customerInfo??>${customerInfo.companyId!''}</#if>">
- <input type="hidden" id="storeId" name="storeId" value="<#if customerInfo??>${customerInfo.storeId!''}</#if>">
- <label class="form-label col-1 col-sm-1">销售渠道:</label>
- <div class="formControls col-2 col-sm-2">
- <span class="select-box">
- <select id="selectCompany" class="select init_company" name="">
- </select>
- </span>
- </div>
- <div class="formControls col-2 col-sm-2">
- <input id="store_1" name="maktMaktx" class="input-text" list="datalist_1" value="" placeholder="输入店铺关键字或双击" datatype="*1-20" errormsg="请选择销售店铺!" />
- <datalist class="select init_store" id="datalist_1">
- </datalist>
- <#--<input type="hidden" id="salesStoreId" name="salesStoreId">-->
- </div>
- </div>
- <div class="row cl">
- <label class="form-label col-1 col-sm-1">用户信息:</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="${customerInfo.customerWechatName!''}">
- </div>
- <div class="formControls col-2 col-sm-2 skin-minimal">
- <input type="text" class="input-text" placeholder="用户姓名" id="customerName" name="customerName" value="${customerInfo.customerName!''}">
- </div>
- <div class="formControls col-2 col-sm-2 skin-minimal">
- <input type="text" class="input-text" placeholder="用户电话" id="customerTel" name="customerTel" value="${customerInfo.customerTel!''}">
- </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="twiceSellEnd">
- <label class="form-label col-1 col-sm-1"><span class="c-red">*</span>二次售后:</label>
- <div class="formControls col-10 col-sm-10 skin-minimal">
- <div class="radio-box">
- <input type="radio" name="customerSecondaryCustomer" value="1" <#if customerInfo.customerSecondaryCustomer == '1' >checked</#if> >
- <label for="customer-type-1">是</label>
- </div>
- <div class="radio-box">
- <input type="radio" name="customerSecondaryCustomer" value="2" <#if customerInfo.customerSecondaryCustomer == '2'>checked</#if>>
- <label for="customer-type-2">否</label>
- </div>
- </div>
- </div>
- <div class="row cl" id="openTheLock">
- <label class="form-label col-1 col-sm-1"><span class="c-red">*</span>开箱损:</label>
- <div class="formControls col-10 col-sm-10 skin-minimal">
- <div class="radio-box">
- <input type="radio" name="customerOutDamaged" value="1" <#if customerInfo.customerOutDamaged == '1' >checked</#if>>
- <label for="customer-type-1">是</label>
- </div>
- <div class="radio-box">
- <input type="radio" name="customerOutDamaged" value="2" <#if customerInfo.customerOutDamaged == '2'>checked</#if>>
- <label for="customer-type-2">否</label>
- </div>
- </div>
- </div>
- <div class="row cl" style="position: relative;">
- <label class="form-label col-1 col-sm-1"><span class="c-red">*</span>客诉问题:</label>
- <div class="formControls col-2 col-sm-2"> <span class="select-box">
- <select name="complaintId" class="select" id="complaintId">
- <option value="">请选择问题分类</option>
- <#list complaintTypeInfoList as complaintTypeInfo>
- <option value="${complaintTypeInfo.complaintId}" <#if complaintQuestionInfo.complaintId == complaintTypeInfo.complaintId>selected="selected"</#if> >${complaintTypeInfo.complaintClassName}</option>
- </#list>
- </select>
- </span>
- </div>
- <div class="formControls col-2 col-sm-2"> <span class="select-box">
- <select name="smallClassId" id="smallClassId" class="select" >
- <option value="">请选择问题分类</option>
- <#list complaintSmallClassInfoList as complaintSmallClassInfo>
- <option value="${complaintSmallClassInfo.smallClassId}" <#if complaintQuestionInfo.smallClassId == complaintSmallClassInfo.smallClassId>selected="selected"</#if>>${complaintSmallClassInfo.smallClassName}</option>
- </#list>
- </select>
- </span>
- </div>
- <div class="formControls col-2 col-sm-2">
- <div class="clearfix">
- <input type="text" placeholder="搜索关键词" class="input-text ac_input" name="questionIdMsg" value="" id="search_text" autocomplete="off" style="width:66%"><button type="button" class="btn btn-primary" style="width: 32%;" id="search_button">搜索</button>
- </div>
- </div>
- <div class="dalog-ask">
- <div class="tag">
- <em></em>
- <strong>相关QA</strong>
- <a href="javascript:void(0)" style="margin-left: 200px;" onclick="closeQA()">关闭</a>
- <ul id="question" style="padding-top: 15px">
- <#--<li class="ask">1、净水机面板操作不灵敏,是怎么回事?</li>
- <li class="answer">答:<span>4净水机面板操作不灵敏,是怎么回事。1、净水机面板操作不灵敏,是怎么回事?1、净水机面板操作不灵敏,是怎么回事?1、净水机面板操作不灵敏,是怎么回事?</span></li>-->
- </ul>
- <a href="javascript:void(0)" style="" onclick="initComplaintQuestionInfo('pr')">上一页</a>
- <a href="javascript:void(0)" style="margin-left: 200px;" onclick="initComplaintQuestionInfo('ne')">下一页</a>
- </div>
- </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-6 col-sm-6">
- <input type="text" class="input-text" name="describeTitle" id="describeTitle" datatype="*1-50" errormsg="问题标题不正确!" value="" >
- </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-9 col-sm-9">
- <input type="hidden" name="questionId" id="questionId" value="${customerInfo.questionId!''}">
- <script id="describeContentText" type="text/plain" style="width:100%;height:250px;"></script>
- </script>
- <input type="hidden" name="describeContent" id="describeContent" value="">
- <input type="hidden" name="describeId" id="describeId" value="">
- </div>
- </div>
- <div class="row cl">
- <#--处理描述 - 客诉备注-->
- <label class="form-label col-1 col-sm-1">问题描述:</label>
- <div class="formControls col-9 col-sm-9">
- <span>问题描述详情,内部使用,不会对外公布。</span>
- <script id="describeHandleDescText" type="text/plain" style="width:100%;height:250px;"></script>
- </script>
- <input type="hidden" id="describeHandleDesc" name="describeHandleDesc" value="">
- </div>
- </div>
- <div class="row cl">
- <label class="form-label col-1 col-sm-1"></label>
- <div class="formControls col-2 col-sm-2">
- <input type="text" class="input-text associated-phone" value="${customerInfo.customerTel!''}" placeholder="请输入手机号" id="p-phone" name="">
- </div>
- <div class="formControls col-2 col-sm-2" style="width: 10%">
- <input type="button" class="btn btn-primary" value="发送问题回复给用户" onclick="sendPhone('p','p-msg');">
- </div>
- <div class="formControls col-2 col-sm-2" style="width: 10%; margin-left: 40px;">
- <input type="button" class="btn btn-primary" value="保存QA" onclick="saveQuestion();">
- </div>
- <div class="formControls col-2 col-sm-2 msg-phone">
- <div id="p-msg" style="color: #e00"></div>
- </div>
- </div>
- <div class="row cl">
- <label class="form-label col-1 col-sm-1">
- <div class="tit">处理结果</div>
- </label>
- <div class="formControls col-10 col-sm-10">
- </div>
- </div>
- <input type="hidden" id="sendProdcues" name="sendProdcuesJson" value="">
- <input type="hidden" id="closedProdcues" name="closedProdcuesJson" value="">
- <input type="hidden" id="customerIsSolve" name="customerIsSolve" value="">
- <div class="row cl init_proMethod" id="" code="returnCode" msg="resultMsg" data="returnMsg" >
- <label class="form-label col-1 col-sm-1">处理结果:</label>
- <div class="formControls col-2 col-sm-2">
- <span class="select-box">
- <select class="select" id="procTypeId" name="procTypeId" ulcId="${procMethod.procTypeId!''}" ulcValName="procTypeName" ulcValId="procTypeId" ulcURL="/admin/proc/type" msg="" ulcList="list">
- </select>
- </span>
- </div>
- <div class="formControls col-2 col-sm-2">
- <span class="select-box">
- <select class="select" id="procMethodId" name="procMethodId" ulcId="${procMethod.procMethodId!''}" ulcValName="procMethodName" ulcValId="procMethodId" ulcURL="/admin/proc/method?procTypeId=" msg="" ulcList="list" >
- </select>
- </span>
- </div>
- </div>
- <div class="row cl" id="">
- <label class="form-label col-1 col-sm-1"></label>
- <div class="formControls col-9 col-sm-9">
- <span id="procMethodDesc">补充说明:${procMethod.procMethodDesc!''}</span>
- </div>
- </div>
- <div class="row cl" style="display: none;">
- <label class="form-label col-1 col-sm-1"></label>
- <div class="formControls col-10 col-sm-10">
- <ul class="time-line-list" id="processResultStatus">
- <#-- <li><span class="arrow"></span><div class="number">1</div><div>录入客诉</div></li>
- <li><span class="arrow"></span><div class="number">2</div><div>督促用户寄回</div></li>
- <li><span class="arrow"></span><div class="number">3</div><div>录入快递单号</div></li>
- <li><span class="arrow"></span><div class="number">4</div><div>仓库收货</div></li>
- <li><span class="arrow"></span><div class="number">5</div><div>换新发货</div></li>
- <li><span class="arrow"></span><div class="number">6</div><div>发货通知用户</div></li>
- <li><span class="arrow"></span><div class="number">7</div><div>收货后回访</div></li>-->
- </ul>
- </div>
- </div>
- <div class="row cl orderHead" id="" style="display: none;">
- <label class="form-label col-1 col-sm-1"><span class="c-red">*</span>订单信息:</label>
- <div class="formControls col-1 col-sm-1">
- <button type="button" class="btn btn-primary" id="selectOrder">搜索订单</button>
- </div>
- </div>
- <div class="row cl orderHead" id="" style="display: none;">
- <label class="form-label col-1 col-sm-1"></label>
- <div class="formControls col-9 col-sm-9 text-c">
- <table class="table table-border table-bg table-bordered">
- <thead>
- <tr>
- <th style="text-align: center;">销售公司</th>
- <th style="text-align: center;">店铺名称</th>
- <th style="text-align: center;">Efast订单号</th>
- <th style="text-align: center;">姓名</th>
- <th style="text-align: center;">电话</th>
- <th style="text-align: center;">订单金额</th>
- <th style="text-align: center;">购买产品</th>
- <th style="text-align: center;">购买日期</th>
- <th style="text-align: center;">收货地址</th>
- </tr>
- </thead>
- <tbody id="showSalesOrderId">
- <#if salesOrderList??>
- <#list salesOrderList as salesOrder>
- <tr id="showOrder">
- <td style="text-align: center;">${salesOrder.companyName!''}</td>
- <td style="text-align: center;">${salesOrder.storeName!''}</td>
- <td style="text-align: center;">${salesOrder.salesOrderId!''}</td>
- <td style="text-align: center;">${salesOrder.salesAddressName!''}</td>
- <td style="text-align: center;">${salesOrder.salesAddressTel!''}</td>
- <td style="text-align: center;">${salesOrder.salesPayMoney!''}</td>
- <td style="text-align: center;">
- <#list salesOrder.salesOrderItemList as salesOrderItem>
- ${salesOrderItem.itemProductName}(${salesOrderItem.itemProductColor})* ${salesOrderItem.itemNum}<br>
- </#list>
- </td>
- <td style="text-align: center;">${(salesOrder.salesPayTime?string("yyyy-MM-dd HH:mm:ss"))!''}</td>
- <td style="text-align: center;">${salesOrder.salesAddressInfo}</td>
- </tr>
- </#list>
- </#if>
- </tbody>
- </table>
- </div>
- </div>
- <#--销售渠道-->
- <#assign ids = ""/>
- <#if salesOrderList??>
- <#list salesOrderList as salesOrder>
- <#assign ids += salesOrder.salesId + "_"/>
- </#list>
- </#if>
- <input type="hidden" id="orderId" name="salesId" value="">
- <input type="hidden" id="ids" name="ids" value="${ids!''}" >
- <div class="row cl recipientInfo" id="" style="display: none;">
- <label class="form-label col-1 col-sm-1"><span class="c-red">*</span>收件信息:</label>
- <div class="formControls col-8 col-sm-8">请先选择订单,系统自动填充姓名,电话和地址信息。</div>
- </div>
- <div class="row cl recipientInfo" id="" style="display: none;">
- <label class="form-label col-1 col-sm-1"></label>
- <div class="formControls col-2 col-sm-2">
- <input type="text" class="input-text" value="${cmRelation.relationSendName!''}" placeholder="填写收件人姓名" id="sendName" name="relationSendName" errormsg="联系人格式不正确!" >
- </div>
- <div class="formControls col-2 col-sm-2">
- <input type="text" class="input-text" value="${cmRelation.relationSendTel!''}" placeholder="填写收件人手机号" id="sendTel" name="relationSendTel" errormsg="联系人电话格式不正确!">
- </div>
- <div class="formControls col-2 col-sm-2" id="postageAccount">
- <input type="text" class="input-text" value="${cmRelation.relationAlipay!''}" placeholder="邮费转账 支付宝账户" id="relationAlipay" name="relationAlipay" errormsg="邮费转账账户!">
- </div>
- </div>
- <#--<div class="row cl recipientAddress relation_address" id="TDScollect" style="display: none;" code="returnCode" msg="resultMsg" data="returnMsg">-->
- <#--<input type="hidden" id="addressInfo">-->
- <#--<label class="form-label col-1 col-sm-1"></label>-->
- <#--<div class="formControls col-2 col-sm-2" style="position: relative;">-->
- <#--<span class="select-box">-->
- <#--<select name="provinceNumber" class="select" id="province"-->
- <#--ulcValName="province" ulcValId="provinceId" ulcURL="/address/list_province" ulcMsg="" ulcList="provinceList"-->
- <#--ulcIsFristSelect="true" ulcFristSelectMsg="请选择省份">-->
- <#--</select>-->
- <#--</span>-->
- <#--</div>-->
- <#--<div class="formControls col-2 col-sm-2">-->
- <#--<span class="select-box">-->
- <#--<select name="cityNumber" class="select" id="city"-->
- <#--ulcValName="city" ulcValId="cityId" ulcURL="/address/list_city?provinceId=" ulcMsg="" ulcList="cityList"-->
- <#--ulcIsFristSelect="true" ulcFristSelectMsg="请选择市">-->
- <#--</select>-->
- <#--</span>-->
- <#--</div>-->
- <#--<div class="formControls col-2 col-sm-2" style="position: relative;">-->
- <#--<span class="select-box">-->
- <#--<select name="areaNumber" class="select" id="district"-->
- <#--ulcValName="district" ulcValId="districtId" ulcURL="/address/list_district?cityId=" ulcMsg="" ulcList="districtList"-->
- <#--ulcIsFristSelect="true" ulcFristSelectMsg="请选择区/县">-->
- <#--</select>-->
- <#--</span>-->
- <#--</div>-->
- <#--<input type="hidden" name="relationSendMergeAddress" id="relationSendMergeAddress">-->
- <#--</div>-->
- <div class="row cl recipientAddress relation_address" style="display: none;" code="returnCode" msg="resultMsg" data="returnMsg">
- <input type="hidden" id="addressInfo">
- <label class="form-label col-1 col-sm-1"></label>
- <div class="formControls col-2 col-sm-2" style="position: relative;">
- <span class="select-box">
- <select name="provinceNumber" class="select" id="province"
- ulcValName="province" ulcValId="provinceId" ulcURL="/address/list_province" ulcMsg="" ulcList="provinceList"
- ulcIsFristSelect="true" ulcFristSelectMsg="请选择省份">
- </select>
- </span>
- </div>
- <div class="formControls col-2 col-sm-2">
- <span class="select-box">
- <select name="cityNumber" class="select" id="city"
- ulcValName="city" ulcValId="cityId" ulcURL="/address/list_city?provinceId=" ulcMsg="" ulcList="cityList"
- ulcIsFristSelect="true" ulcFristSelectMsg="请选择市">
- </select>
- </span>
- </div>
- <div class="formControls col-2 col-sm-2" style="position: relative;">
- <span class="select-box">
- <select name="areaNumber" class="select" id="district"
- ulcValName="district" ulcValId="districtId" ulcURL="/address/list_district?cityId=" ulcMsg="" ulcList="districtList"
- ulcIsFristSelect="true" ulcFristSelectMsg="请选择区/县">
- </select>
- </span>
- </div>
- <input type="hidden" name="relationSendMergeAddress" id="relationSendMergeAddress">
- </div>
- <div class="row cl recipientAddress" id="" style="display: none;">
- <label class="form-label col-1 col-sm-1"></label>
- <div class="formControls col-5 col-sm-5">
- <textarea name="relationSendAddress" id="sendAddress" cols="" rows="2" datatype="*" errormsg="收货地址不正确!" class="textarea" placeholder="请填写详细地址,最多支持50字符" onKeyUp="$.Huitextarealength(this,50)">${cmRelation.relationSendAddress!''}</textarea>
- <span id="addrssMsg"></span>
- </div>
- </div>
- <div class="row cl renewedProduct" id="" style="display: none;">
- <label class="form-label col-1 col-sm-1"><span class="c-red">*</span><span id="relationProduct">寄回产品</span>:</label>
- <div class="formControls col-1 col-sm-1">
- <button type="button" class="btn btn-primary" id="" onclick="addProduct(1)">添加产品</button>
- </div>
- <div class="formControls col-9 col-sm-9 text-c" id="produceSelect">
- </div>
- </div>
- <div class="row cl renewedProduct" id="" style="display: none;">
- <label class="form-label col-1 col-sm-1"></label>
- <div class="formControls col-9 col-sm-9 text-c" id="produceSelect">
- <table class="table table-border table-bg table-bordered">
- <thead>
- <tr class="text-c" id="table1">
- <th style="text-align: center;" width="80">产品名称</th>
- <th style="text-align: center;" width="40">产品颜色</th>
- <th style="text-align: center;" width="20">数量</th>
- <th style="text-align: center;" width="100">机器编码</th>
- <th style="text-align: center;" width="20">操作</th>
- </tr>
- </thead>
- <tbody id="addBackProduct">
- <#if (cmRelation.closedProdcues?size>0)>
- <#list cmRelation.closedProdcues as closedProdcues>
- <tr>
- <td style="text-align: center;">
- ${closedProdcues.closedProductName!""}
- </td>
- <td style="text-align: center;">
- ${closedProdcues.closedColorName!""}
- </td>
- <td style="text-align: center;">
- <input type="text" style="width: 100%;border: none;text-align: center;" class="input-text input-number input-itemNum" value="${closedProdcues.closedProdcueNumber!"0"}" placeholder="产品数量" onkeyup="keyFun($(this),999,0)" onpaste="keyFun($(this),999,0)">
- </td>
- <td style="text-align: center;">
- <input type="hidden" class="input-item-id" value="${closedProdcues.itemId!''}">
- <input type="hidden" class="input-produce-id" value="${closedProdcues.productId}">
- <input type="hidden" class="input-fc-id" value="${closedProdcues.colorId}">
- <input type="hidden" class="input-69code" value="${closedProdcues.colorBar}">
- <input type="text" class="input-text input-number input-code" style="width: 100%;border: none;text-align: center;" value="${closedProdcues.closedProdcueMachineNo!""}" placeholder="机器编号" name="" id="item-${closedProdcues.productId}-${closedProdcues.colorId}" number="${closedProdcues.closedProdcueNumber}" itemIsSource="1" onkeyup="keyFunString($(this),30)" onpaste="keyFunString($(this),30)" >
- </td>
- <td style="text-align: center;" ><a href="javascript:void(0)" onclick="delColor(this)" >删除</a></td>
- </tr>
- </#list>
- <#else >
- <tr>
- <td class="notSelectOrder" style="text-align: center;" colspan="5">选择订单后展示</td>
- </tr>
- </#if>
- </tbody>
- </table>
- </div>
- </div>
- <div class="row cl updateProduct" id="" style="display: none;">
- <label class="form-label col-1 col-sm-1"><span class="c-red">*</span>寄出产品:</label>
- <div class="formControls col-1 col-sm-1">
- <button type="button" class="btn btn-primary" id="" onclick="addProduct(2)">添加产品</button>
- </div>
- </div>
- <div class="row cl updateProduct" id="" style="display: none;">
- <label class="form-label col-1 col-sm-1"></label>
- <div class="formControls col-9 col-sm-9" >
- <table class="table table-border table-bg table-bordered">
- <thead>
- <tr class="text-c" id="table2">
- <th style="text-align: center;" width="80">产品名称</th>
- <th style="text-align: center;" width="40">产品颜色</th>
- <th style="text-align: center;" width="20">数量</th>
- <th style="text-align: center;" width="100">机器编码</th>
- <th style="text-align: center;" width="20">操作</th>
- </tr>
- </thead>
- <tbody id="addSendProduct">
- <#if (cmRelation.sendProdcues?size>0)>
- <#list cmRelation.sendProdcues as sendProdcues>
- <tr>
- <td style="text-align: center;">
- ${sendProdcues.sendProduceName!""}
- </td>
- <td style="text-align: center;">
- ${sendProdcues.sendColorName!""}
- </td>
- <td style="text-align: center;">
- <input type="text" style="width: 100%;border: none;text-align: center;" class="input-text input-number input-itemNum" value="${sendProdcues.sendProdcueNumber!"0"}" placeholder="产品数量" onkeyup="keyFun($(this),999,1)" onpaste="keyFun($(this),999,1)">
- </td>
- <td style="text-align: center;">
- <input type="hidden" class="input-produce-id" value="${sendProdcues.productId}">
- <input type="hidden" class="input-fc-id" value="${sendProdcues.colorId}">
- <input type="hidden" class="input-69code" value="${sendProdcues.colorBar}">
- <input type="text" class="input-text input-number input-code" style="width: 100%;border: none;text-align: center;" value="${sendProdcues.sendProdcueMachineNo!""}" placeholder="机器编号" name="" id="item-${sendProdcues.productId}-${sendProdcues.colorId}" number="${sendProdcues.sendProdcueNumber}" itemIsSource="1" onkeyup="keyFunString($(this),30)" onpaste="keyFunString($(this),30)" >
- </td>
- <td style="text-align: center;" ><a href="javascript:void(0)" onclick="delColor(this)" >删除</a></td>
- </tr>
- </#list>
- <#else >
- <tr>
- <td class="notSelectOrder" style="text-align: center;" colspan="5">选择订单后展示</td>
- </tr>
- </#if>
- </tbody>
- </table>
- </div>
- </div>
- <div class="row cl" id="customerCostsDiv" style="display: none;">
- <label class="form-label col-1 col-sm-1">工厂报价:</label>
- <div class="col-2 col-sm-2">
- <input type="text" class="input-text trim_input" placeholder="工厂报价" id="relationFactoryCosts" name="relationFactoryCosts" value="${cmRelation.relationFactoryCosts!''}">
- </div>
- <label class="form-label col-1 col-sm-1">给客户报价:</label>
- <div class="col-2 col-sm-2">
- <input type="text" class="input-text trim_input" placeholder="客户报价" id="relationCustomerCosts" name="relationCustomerCosts" value="${cmRelation.relationCustomerCosts!''}">
- </div>
- </div>
- <div class="row cl sendAddressInfo" id="">
- <label class="form-label col-1 col-sm-1">
- <div class="tit-2">寄回信息</div>
- </label>
- <div class="formControls col-10 col-sm-10"></div>
- </div>
- <div class="row cl sendAddressInfo" id="">
- <label class="form-label col-1 col-sm-1"></label>
- <div class="formControls col-9 col-sm-9" style="height: 250px" id="sendAddressSmsHtml">
- <#-- <script id="sendAddressSms" type="text/plain" style="width:983px;height:200px;"></script>
- </script>-->
- </div>
- </div>
- <div class="row cl" id="sendAddressByPhone" style="display: none;">
- <label class="form-label col-1 col-sm-1"></label>
- <div class="formControls col-2 col-sm-2">
- <input type="text" class="input-text associated-phone" value="" placeholder="请输入手机号" id="m-phone" name="">
- </div>
- <div class="formControls col-2 col-sm-2" style="width: 10%">
- <input type="button" class="btn btn-primary" value="发短信给用户" onclick="sendPhone('m','m-msg');">
- </div>
- <div class="formControls col-2 col-sm-2 msg-phone">
- <div id="m-msg" style="color: #e00"></div>
- </div>
- </div>
- <div class="row cl">
- <label class="form-label col-1 col-sm-1">
- <div class="tit-2">TDS收集</div></label>
- <div class="formControls col-10 col-sm-10">
- </div>
- </div>
- <div class="row cl init_address" id="TDScollect" style="" code="returnCode" msg="resultMsg" data="returnMsg">
- <label class="form-label col-1 col-sm-1"></label>
- <div class="formControls col-2 col-sm-2" style="position: relative;">
- <span class="select-box">
- <select name="customerProvinceId" class="select" id="initProvince"
- ulcValName="province" ulcValId="provinceId" ulcId="${customerInfo.customerProvinceId!''}" ulcURL="/address/list_province" ulcMsg="" ulcList="provinceList"
- ulcIsFristSelect="true" ulcFristSelectMsg="请选择省份">
- </select>
- </span>
- </div>
- <div class="formControls col-2 col-sm-2">
- <span class="select-box">
- <select name="customerCityId" class="select" id="initCity"
- ulcValName="city" ulcValId="cityId" ulcId="${customerInfo.customerCityId!''}" ulcURL="/address/list_city?provinceId=" ulcMsg="" ulcList="cityList"
- ulcIsFristSelect="true" ulcFristSelectMsg="请选择市">
- </select>
- </span>
- </div>
- <div class="formControls col-2 col-sm-2" style="position: relative;">
- <span class="select-box">
- <select name="customerDistrictId" class="select" id="initCountry"
- ulcValName="district" ulcValId="districtId" ulcId="${customerInfo.customerDistrictId!''}" ulcURL="/address/list_district?cityId=" ulcMsg="" ulcList="districtList"
- ulcIsFristSelect="true" ulcFristSelectMsg="请选择区/县">
- </select>
- </span>
- </div>
- <input type="hidden" name="customerArea" id="customerArea" value="${customerInfo.customerArea!''}">
- </div>
- <div class="row cl" >
- <label class="form-label col-1 col-sm-1"></label>
- <div class="formControls col-2 col-sm-2">
- <input type="text" class="input-text" value="${customerInfo.customerInTDS!'0'}" placeholder="进水TDS数值,最大999" id="customerInTDS" name="customerInTDS" onkeyup="TDSLinkage($(this),999)" onpaste="TDSLinkage($(this),999)">
- </div>
- <div class="formControls col-2 col-sm-2">
- <input type="text" class="input-text" value="${customerInfo.customerOutTDS!'0'}" placeholder="出水TDS数值,最大999" id="customerOutTDS" name="customerOutTDS" onkeyup="TDSLinkage($(this),999)" onpaste="TDSLinkage($(this),999)">
- </div>
- </div>
- <div class="row cl" id="TDScollectShow" /*style="display: none;"*/>
- <!-- <label class="form-label col-1 col-sm-1"></label>
- <div class="formControls col-6 col-sm-6">
- <span id="DTS-address"><#if customerInfo.customerArea??>地址:${customerInfo.customerArea}</#if></span>
- <span id="DTS-in"><#if customerInfo.customerInTDS??>进水:${customerInfo.customerInTDS} PPM</#if></span> <span id="DTS-out"><#if customerInfo.customerOutTDS??>出水:${customerInfo.customerOutTDS} PPM</#if></span>
- </div>-->
- </div>
- <div class="row cl">
- <label class="form-label col-1 col-sm-1">
- <div class="tit-2">备注信息</div></label>
- <div class="formControls col-10 col-sm-10">
- </div>
- </div>
- <div class="row cl" id="customerDescDiv">
- <label class="form-label col-1 col-sm-1"></label>
- <div class="col-9 col-sm-9">
- <textarea type="text" placeholder="" id="customerDesc" name="customerDesc" style="width: 100%;height: 80px;">${customerInfo.customerDesc!''}</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>
- <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/webuploader/0.1.5/webuploader.min.js"></script>
- <script type="text/javascript" src="${path}/common/lib/icheck/jquery.icheck.min.js"></script>
- <#--<script type="text/javascript" src="${path}/common/lib/cm.lib/jquery.provincesCity.js"></script>-->
- <#--<script type="text/javascript" src="${path}/common/lib/cm.lib/provincesData.js"></script>-->
- <#--<script type="text/javascript" src="${path}/common/lib/cm.lib/airCity.js"></script>-->
- <#--<script type="text/javascript" src="${path}/common/lib/cm.lib/dimensions.js"></script>-->
- <script type="text/javascript" src="${path}/common/lib/cm.lib/suggest.js"></script>
- <#--百度富文本编译器-->
- <script type="text/javascript" charset="utf-8" src="${path}/common/lib/ueditor/1.4.3/ueditor.config.js"></script>
- <script type="text/javascript" charset="utf-8" src="${path}/common/lib/ueditor/1.4.3/ueditor.all.js"></script>
- <script type="text/javascript" charset="utf-8" src="${path}/common/lib/ueditor/1.4.3/ueditor.parse.js"></script>
- <script type="text/javascript" charset="utf-8" src="${path}/common/lib/ueditor/1.4.3/lang/zh-cn/zh-cn.js"></script>
- <#-- 业务脚本JS -->
- <script type="text/javascript" charset="utf-8" src="${path}/common/js/customer/customer.js"></script>
- <script type="text/javascript">
- $("#store_1").on("input",function(){
- var $options=$("#datalist_1").children();
- for(var i=0;i<$options.length;i++){
- if($options.eq(i).val().trim()==$("#store_1").val().trim()){
- $("#storeId").val($options.eq(i).attr("data-id"));
- break;
- }else{
- $("#storeId").val("");
- }
- }
- });
- /*加载TDS地址信息*/
- var addressUlc = init_address($(".init_address"));
- //处理方式 地址信息
- var ulcRelationAddress = init_address($(".relation_address"));
- var sc = $(".sales_channel").initSalesChannel();
- //回显销售渠道
- if($("#companyId").val() != null && $("#companyId").val() != ""){
- $("#selectCompany").val($("#companyId").val());
- setStore($("#companyId").val(),$("#storeId").val());
- }else{
- //回显上朵销售渠道
- sc.options.companyId = 4;
- setStore("4",null);
- }
- var customerId = "${customerInfo.customerId!''}";
- /*是否是修改页面*/
- var isUpdate = true;
- /*是否需要回访 只有修改页面才会使用*/
- var customerIsVisit = true;
- /*个人id*/
- var adminId = 0;
- /* 咨询类型 1:售前咨询 2:售后咨询 3:其他 */
- var allCustomerInfoType = ${customerInfo.customerCounselType};
- /*全局标识当前状态 type : 1 :已解决 2:未解决 3:换新 4:维修 5:补发 6:退货 7:无理由退货*/
- <#--var allCustomerType = ${customerInfo.customerIsSolve};-->
- <#--var allCustomerTypeName = ["已解决","未解决","换新","维修","补发","退货","无理由退货"];-->
- var allProcMethodIsBack = ${procMethod.procMethodIsBack}; //是否需要寄回 1:需要寄回 2:不需要寄回
- var allProcMethodIsSend = ${procMethod.procMethodIsSend}; //是否需要寄出 1:需要寄出 2:不需要寄出
- /* 寄回地址的id */
- var complaint_questionId = 5;
- /* 用于判断是否第一次初始化省市区-- 只在选择类型为售后时使用 */
- var isInitAddress = 0;
- /*1:需要有订单 2:不需要有订单*/
- var isNeedSelectOrder = ${customerInfo.isNeedSelectOrder};
- /*初始化页面参数*/
- $(function () {
- /* 初始化单选框样式 */
- //initCheck();
- /*初始化产品类型 -- 客诉头部的产品类型单选 */
- //initProduceType();
- /*初始化问题分类*/
- //initComplaintTypeInfo();
- /*初始化客服*/
- ///initSysAdmin();
- /*初始化回访客服*/
- //initVisitSysAdmin();
- var promethodUlc = init_ulc($(".init_proMethod"));
- promethodUlc.setUlcAllCallback(ulcProcessResult);
- /*初始化问题描述 -- 注释将不能展示选中的客诉问题*/
- initQuestionDescribe();
- /*初始化选择处理结果 -- type : 1 :已解决 2:未解决 3:换新 4:维修 5:补发 6:退货 7:无理由退货 */
- // initProcessResult(allCustomerType);
- /*监听来源入口选择事件*/
- // $("input[name='customerSourceType']").change(function (){
- // var type = parseInt($(this).val());
- // if(type == 3){
- // $("#customerSourceOld").show();
- // }else{
- // $("#customerSourceOld").hide();
- // }
- // })
- /*监听客诉类型选择事件*/
- $("input[name='customerCounselType']").change(function (){
- allCustomerInfoType = parseInt($(this).val());
- if(allCustomerInfoType == 1){
- isNeedSelectOrder = 2;
- $("#twiceSellEnd").hide();
- $("#openTheLock").hide();
- promethodUlc.setUlcById(0,1);
- }else{
- isNeedSelectOrder = 1;
- $("#twiceSellEnd").show();
- $("#openTheLock").show();
- promethodUlc.setUlcById(0,2);
- }
- })
- var ty = parseInt($("input[name='typeId']:checked").val());
- var isOrder = 1;
- switch (ty){ //1:Soodo电动牙刷 6:WaterO净水机 7:Aiberle净水机 9 :YULIA净水机
- case 1:
- isOrder = 2;
- break;
- case 6:
- isOrder = 1;
- break;
- case 7:
- isOrder = 1;
- break;
- case 9:
- isOrder = 1;
- break;
- default:
- break;
- }
- opentionSelectOrder(isOrder);
- /*绑定产品类型选择事件*/
- $("input[name='typeId']").change(function (){
- var typeId = parseInt($(this).val());
- var typeCompany = parseInt($("input:radio[name='typeId']:checked").attr("typeCompany"));
- $("#selectCompany").val(typeCompany);
- $("#companyId").val(typeCompany);
- var isShowTDS = 2;//是否展示tds 1是 2否
- var isOrder = 1;
- switch (typeId){ //1:Soodo电动牙刷 6:WaterO净水机 7:Aiberle净水机 9 :YULIA净水机
- case 1:
- setStore(typeCompany,null);
- isOrder = 2;
- break;
- case 6:
- setStore(typeCompany,null);
- isOrder = 1;
- isShowTDS = 1;
- break;
- case 7:
- setStore(typeCompany,null);
- isOrder = 1;
- isShowTDS = 1;
- break;
- case 9:
- setStore(typeCompany,null);
- isOrder = 1;
- isShowTDS = 1;
- break;
- case 16://诺米克净水机
- isOrder = 1;
- isShowTDS = 1;
- setStore(typeCompany,"73");
- break;
- case 17://花作净水机
- isOrder = 1;
- isShowTDS = 1;
- setStore(typeCompany,"75");
- break;
- default:
- setStore(typeCompany,null);
- break;
- }
- isNeedSelectOrder = isOrder ;
- initProcessResult(allProcMethodIsBack,allProcMethodIsSend);
- if(isShowTDS == 1){
- $("#tdsId").show();
- }else{
- $("#tdsId").hide();
- }
- for(var i=0;i<productTypeArray.length;i++){
- var array = productTypeArray[i];
- if(typeId == array[0]){
- customerTypeId = array[1];
- }
- }
- $("#complaintId").val(customerTypeId);
- initComplaintSmallClassInfo(customerTypeId);
- });
- /*监听处理结果选择事件*/
- $("[name='customerIsSolve']").change(function(){
- initProcessResult(parseInt($(this).val()));
- });
- /*监听问题类型 选择事件*/
- $("[name='complaintId']").change(function(){
- initComplaintSmallClassInfo($(this).val());
- });
- /*监听问题关键字搜索*/
- $(document).on('click', '#search_button', function() {
- initComplaintQuestionInfo("p");
- });
- /*搜索订单事件*/
- $(document).on('click', '#selectOrder', function() {
- selectOrder();
- });
- /*监听回访类型选择事件 是否需要回访 1:不需要回访 2:需要回复 */
- initVisitEvent();
- /*监听回访选择客服的选择事件*/
- $(document).on('change', '#visitAdminId', function() {
- var visitAdminName = $("#visitAdminId").find("option:selected").text();
- var visitAdminId = $("#visitAdminId").val();
- if(convertUndefinedToEmpty(visitAdminId) == adminId){
- showVisitMsg(1);
- }else{
- showVisitMsg(2,visitAdminName);
- }
- });
- /* 监听TDS收集--地址选择 */
- $(document).on('change', '#TDSArea', function() {
- setTDSCollect();
- });
- /* 监听手机号 失去焦点时 将其他手机号码未填的 */
- $(".associated-phone").blur(function (){
- var phone = $(this).val();
- $(".associated-phone").each(function(){
- var ph = $(this).val();
- if(ph == null || ph == "" || typeof(ph) == undefined ){
- $(this).val(phone);
- }
- })
- })
- })
- /**
- * 初始化问题描述
- */
- function initQuestionDescribe(){
- $.ajax({
- type: "POST",
- data: {
- customerId : "${customerInfo.customerId!''}"
- },
- url: "${path}/admin/customer/select_question_describe",
- success: function(data){
- if (data.returnCode == 200) {
- var questionDescribe = data.returnMsg.questionDescribe;
- $("#describeTitle").val(questionDescribe.describeTitle);
- $("#describeId").val(questionDescribe.describeId);
- $("#describeHandleDesc").val(questionDescribe.describeHandleDesc);
- describeContentText.ready(function(){
- describeContentText.setContent(questionDescribe.describeContent);
- });
- describeHandleDescText.ready(function(){
- describeHandleDescText.setContent(questionDescribe.describeHandleDesc);
- });
- }
- },
- error: function(XmlHttpRequest, textStatus, errorThrown){
- }
- });
- }
- /**
- * 设置省市区
- */
- function setAddressInfo(){
- var provinceNumber = ${cmRelation.provinceNumber!'"xxxxx"'};
- if(provinceNumber != "xxxxx"){
- ulcRelationAddress.setUlcById(0,${cmRelation.provinceNumber!'1'},${cmRelation.cityNumber!'1'},${cmRelation.areaNumber!'1'});
- }
- isInitAddress = 1;
- }
- </script>
- <!--/请在上方写此页面业务相关的脚本-->
- </body>
- </html>
|