|
@@ -0,0 +1,939 @@
|
|
|
+<%@ page language="java" contentType="text/html; charset=utf-8"
|
|
|
+ pageEncoding="utf-8"%>
|
|
|
+<%@ include file="../../taglibs/taglibs.jsp"%>
|
|
|
+<%
|
|
|
+ pageContext.setAttribute("root", request.getContextPath());
|
|
|
+%>
|
|
|
+<!doctype html>
|
|
|
+<html>
|
|
|
+<head>
|
|
|
+<title>新后台</title>
|
|
|
+<meta http-equiv="Cache-Control" content="no-siteapp">
|
|
|
+<meta http-equiv="Cache-Control" content="no-transform">
|
|
|
+<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
|
|
+<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
|
|
|
+<link rel="stylesheet"
|
|
|
+ href="${pageContext.request.contextPath}/resources/netstyle/css/main.css" />
|
|
|
+<script src="${root}/resources/js/jquery-1.7.js" type="text/javascript"></script>
|
|
|
+<script type="text/javascript"
|
|
|
+ src="${pageContext.request.contextPath}/resources/js/sessionout.js"></script>
|
|
|
+<script src="${root}/resources/netstyle/js/page.js"
|
|
|
+ type="text/javascript"></script>
|
|
|
+<script src="${root}/resources/js/laydate/laydate.js"></script>
|
|
|
+
|
|
|
+<script type="text/javascript">
|
|
|
+ var ctx = "${root}";
|
|
|
+</script>
|
|
|
+</head>
|
|
|
+<body>
|
|
|
+ <p class="main_r_t cc">
|
|
|
+ <span class="span2">当前位置:</span><span>置换审核></span><span>置换审核</span>
|
|
|
+ </p>
|
|
|
+ <div class="wid1200 margin_top_20">
|
|
|
+ <div class="overflow_main" style="padding-bottom: 10px;">
|
|
|
+ <table table-layout:fixed; word-wrap:break-word; class="price_table"
|
|
|
+ border="0">
|
|
|
+ <tr>
|
|
|
+ <th>置换ID</th>
|
|
|
+ <th>商品名称</th>
|
|
|
+ <c:forEach items="${deviceList}" var="divice">
|
|
|
+ <c:if
|
|
|
+ test="${(divice.attrCode !='sbpp') && (divice.attrCode !='sbxh') && (divice.attrCode !='sblx')}">
|
|
|
+ <th>${divice.attrName}</th>
|
|
|
+ </c:if>
|
|
|
+ </c:forEach>
|
|
|
+ <th>理想价位(万元)</th>
|
|
|
+ <th>发布时间</th>
|
|
|
+ <th>姓名</th>
|
|
|
+ <th>电话</th>
|
|
|
+ <th>其他说明</th>
|
|
|
+ </tr>
|
|
|
+ <tr>
|
|
|
+ <c:choose>
|
|
|
+ <c:when test="${fn:contains(auditBean.displaceId,'-') }">
|
|
|
+ <td>${fn:substring(auditBean.displaceId, fn:indexOf(auditBean.displaceId, '-')+1,fn:length(auditBean.displaceId))}</td>
|
|
|
+ </c:when>
|
|
|
+ <c:otherwise>
|
|
|
+ <td>${auditBean.displaceId}</td>
|
|
|
+ </c:otherwise>
|
|
|
+ </c:choose>
|
|
|
+ <td>${auditBean.attrContent['sbpp']}
|
|
|
+ ${auditBean.attrContent['sbxh']} ${auditBean.attrContent['sblx']}</td>
|
|
|
+ <c:forEach items="${deviceList}" var="divice">
|
|
|
+ <c:if
|
|
|
+ test="${(divice.attrCode !='sbpp') && (divice.attrCode !='sbxh') && (divice.attrCode !='sblx')}">
|
|
|
+ <c:choose>
|
|
|
+ <c:when
|
|
|
+ test="${not empty auditBean.attrContent[divice.attrCode]}">
|
|
|
+ <td>${auditBean.attrContent[divice.attrCode]}</td>
|
|
|
+ </c:when>
|
|
|
+ <c:otherwise>
|
|
|
+ <td></td>
|
|
|
+ </c:otherwise>
|
|
|
+ </c:choose>
|
|
|
+ </c:if>
|
|
|
+ </c:forEach>
|
|
|
+ <td>${auditBean.ideaPrice}</td>
|
|
|
+ <c:choose>
|
|
|
+ <c:when test="${fn:contains(auditBean.pubTime,' ') }">
|
|
|
+ <td>${fn:replace(fn:split(auditBean.pubTime,' ')[0],'.0','')}<br>${fn:replace(fn:split(auditBean.pubTime,' ')[1],'.0','')}</td>
|
|
|
+ </c:when>
|
|
|
+ <c:otherwise>
|
|
|
+ <td></td>
|
|
|
+ </c:otherwise>
|
|
|
+ </c:choose>
|
|
|
+ <td>${auditBean.journalistName}</td>
|
|
|
+ <td>${auditBean.journalistTel}</td>
|
|
|
+ <td>${auditBean.othersDesc}</td>
|
|
|
+ </tr>
|
|
|
+ </table>
|
|
|
+ </div>
|
|
|
+ <div class="overflow_main" style="padding-bottom: 10px;">
|
|
|
+ <form id="imgform">
|
|
|
+ <table table-layout:fixed; word-wrap:break-word; class="data_table02"
|
|
|
+ border="0">
|
|
|
+ <tr>
|
|
|
+ <c:choose>
|
|
|
+ <c:when test="${not empty auditBean.imgAttrContent}">
|
|
|
+ <c:forEach items="${auditBean.imgAttrContent}" var="img" varStatus="imgstatus">
|
|
|
+ <td id="${img.key }">
|
|
|
+ <div class="pic_main cc" style="width:600px;">
|
|
|
+ <div class="l_pic">
|
|
|
+ <c:choose>
|
|
|
+ <c:when test="${img.value['attr_type'] == 'image'}">
|
|
|
+ <c:choose>
|
|
|
+ <c:when test="${not empty img.value['attr_content']}">
|
|
|
+ <img style="width:400px;height:400px" src="${img.value['attr_content']}" />
|
|
|
+ </c:when>
|
|
|
+ <c:otherwise>
|
|
|
+ <img style="width:400px;height:400px" src="${root}/resources/images/photoerr.png" />
|
|
|
+ </c:otherwise>
|
|
|
+ </c:choose>
|
|
|
+ </c:when>
|
|
|
+ <c:otherwise>
|
|
|
+ <video style="width:400px;height:400px" src="${img.value['attr_content']}" controls="controls">请升级浏览器到最新版本</video>
|
|
|
+ <%-- <iframe style="width:400px;height:400px" src="${img.value['attr_content']}" ></iframe> --%>
|
|
|
+ </c:otherwise>
|
|
|
+ </c:choose>
|
|
|
+ </div>
|
|
|
+ <div class="r_opration">
|
|
|
+ <p class="top_p01">图片分类选择</p>
|
|
|
+ <div class="down numtable_choose list_search4_choose" style="width:170px;" onclick="queryImgType('${img.key }')">
|
|
|
+ <span style="width:150px;" id="${img.key }show">${imgMap[img.value['attr_code']] }</span>
|
|
|
+ <c:set var="attrCode" scope="session" value="${imgType.attrCode }${'_id' }"/>
|
|
|
+ <input type="hidden" id="${img.key }value" name="${img.key }" value="${img.value['attr_code'] }" />
|
|
|
+ <%-- <ul>
|
|
|
+ <c:forEach items="${imgMap}" var="imgMap">
|
|
|
+ <li wade="${imgMap.key }">${imgMap.value }</li>
|
|
|
+ </c:forEach>
|
|
|
+ </ul> --%>
|
|
|
+ </div>
|
|
|
+ <input class="pic_delt" type="button" value="删除" name="" onclick="delImg('${img.key }')" />
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </td>
|
|
|
+ </c:forEach>
|
|
|
+ </c:when>
|
|
|
+ </c:choose>
|
|
|
+ </tr>
|
|
|
+
|
|
|
+ <%-- <tr>
|
|
|
+ <c:forEach items="${imgTypeList}" var="imgType" varStatus="imgstatus">
|
|
|
+ <c:choose>
|
|
|
+ <c:when
|
|
|
+ test="${not empty auditBean.attrContent[imgType.attrCode]}">
|
|
|
+ <td id="${imgType.attrCode }">
|
|
|
+ <div class="pic_main cc">
|
|
|
+ <div class="l_pic">
|
|
|
+ <img src="${auditBean.attrContent[imgType.attrCode]}" />
|
|
|
+ </div>
|
|
|
+ <div class="r_opration">
|
|
|
+ <p class="top_p01">图片顺序选择</p>
|
|
|
+ <div class="down numtable_choose list_search1_choose">
|
|
|
+ <span>${imgstatus.index+1 }</span>
|
|
|
+ <c:set var="attrCode" scope="session" value="${imgType.attrCode }${'_id' }"/>
|
|
|
+ <input type="hidden" id="${imgType.attrCode }value" name="${auditBean.attrContent[attrCode]}" value="${imgstatus.index+1 }" />
|
|
|
+ <ul>
|
|
|
+ <c:forEach items="${imgTypeList}" varStatus="status">
|
|
|
+ <li wade="${status.index+1}">${status.index+1}</li>
|
|
|
+ </c:forEach>
|
|
|
+ </ul>
|
|
|
+ </div>
|
|
|
+ <input class="pic_delt" type="button" value="删除" name="" onclick="delImg('${imgType.attrCode }')" />
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </td>
|
|
|
+ </c:when>
|
|
|
+ <c:otherwise>
|
|
|
+ <td id="${imgType.attrCode }">
|
|
|
+ <div class="pic_main cc">
|
|
|
+ <div class="l_pic">
|
|
|
+ <img src="${root}/resources/images/photoerr.png" />
|
|
|
+ </div>
|
|
|
+ <div class="r_opration">
|
|
|
+ <p class="top_p01">图片顺序选择</p>
|
|
|
+ <div class="down numtable_choose list_search1_choose">
|
|
|
+ <span>${imgstatus.index+1 }</span>
|
|
|
+ <c:set var="attrCode" scope="session" value="${imgType.attrCode }${'_id' }"/>
|
|
|
+ <input type="hidden" id="${imgType.attrCode }value" name="${auditBean.attrContent[attrCode]}" value="${imgstatus.index+1 }" />
|
|
|
+ <ul>
|
|
|
+ <c:forEach items="${imgTypeList}" varStatus="status">
|
|
|
+ <li wade="${status.index+1}">${status.index +1}</li>
|
|
|
+ </c:forEach>
|
|
|
+ </ul>
|
|
|
+ </div>
|
|
|
+ <input class="pic_delt" type="button" value="删除" name="" onclick="delImg('${imgType.attrCode }')" />
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </td>
|
|
|
+ </c:otherwise>
|
|
|
+ </c:choose>
|
|
|
+ </c:forEach>
|
|
|
+ </tr> --%>
|
|
|
+ </table>
|
|
|
+ </form>
|
|
|
+ </div>
|
|
|
+ <a class="list_button" style="width:110px" href="${root}/acCommon/batchFileDownload.do?auditId=${auditBean.displaceId}">下载所有文件</a>
|
|
|
+ <div class="overflow_main" style="padding-bottom: 0px;padding-top: 30px;">
|
|
|
+ <from id="opinionform">
|
|
|
+ <table id='opiniontab' table-layout:fixed; word-wrap:break-word; class="data_table02"
|
|
|
+ border="0">
|
|
|
+ <c:choose>
|
|
|
+ <c:when test="${not empty opinionList}">
|
|
|
+ <c:forEach items="${opinionList}" var="opinion" varStatus="status">
|
|
|
+ <c:choose>
|
|
|
+ <c:when test="${status.index == 0}">
|
|
|
+ <tr>
|
|
|
+ <td class="record_td01"
|
|
|
+ style="width: 20%; background: #fbfefe;"><span>视图修改意见<soan
|
|
|
+ style="color:red">*</soan></span></td>
|
|
|
+ <td style="width: 40%; background: #fbfefe;">
|
|
|
+ <span>${opinion.auditOpinion}</span></td>
|
|
|
+ <td style="width: 20%; background: #fbfefe;"><span>${fn:replace(opinion.auditTime,".0","")}</span></td>
|
|
|
+ <td class="record_td01"
|
|
|
+ style="width: 20%; background: #fbfefe;"><b class="td_b2" onclick="pushOpinionSms('1')">微信推送</b><!--<span> </span><b class="td_b2" onclick="pushOpinionSms('2')">短信推送</b> --></td>
|
|
|
+ </tr>
|
|
|
+ </c:when>
|
|
|
+ <c:otherwise>
|
|
|
+ <tr>
|
|
|
+ <td style="width: 30%; background: #fbfefe;">
|
|
|
+ <span>${opinion.auditOpinion}</span></td>
|
|
|
+ <td style="width: 30%; background: #fbfefe;"><span>${fn:replace(opinion.auditTime,".0","")}</span></td>
|
|
|
+ </tr>
|
|
|
+ </c:otherwise>
|
|
|
+ </c:choose>
|
|
|
+ </c:forEach>
|
|
|
+ <tr>
|
|
|
+ <td style="width: 40%; background: #fbfefe;">
|
|
|
+ <span><input type="text" name="opinion" id="opinion" placeholder="请输入审核意见" maxlength="200" /><input type="hidden" id="opinionSaleId" value="${auditBean.saleId }" /></span></td>
|
|
|
+ <td style="width: 20%; background: #fbfefe;"><span></span></td>
|
|
|
+ </tr>
|
|
|
+ </c:when>
|
|
|
+ <c:otherwise>
|
|
|
+ <tr>
|
|
|
+ <td class="record_td01" style="width: 20%; background: #fbfefe;"><span>视图审核意见<soan
|
|
|
+ style="color:red">*</soan></span></td>
|
|
|
+ <td style="width: 40%; background: #fbfefe;">
|
|
|
+ <span><input type="text" name="opinion" id="opinion" placeholder="请输入审核意见" maxlength="200" /><input type="hidden" id="opinionSaleId" value="${auditBean.saleId }" /></span></td>
|
|
|
+ <td style="width: 20%; background: #fbfefe;"><span></span></td>
|
|
|
+ <td class="record_td01"
|
|
|
+ style="width: 20%; background: #fbfefe;"><b class="td_b2" onclick=" pushOpinionSms('1')">微信推送</b><!--<span> </span><b class="td_b2" onclick=" pushOpinionSms('2')">短信推送</b> --></td>
|
|
|
+ </tr>
|
|
|
+ </c:otherwise>
|
|
|
+ </c:choose>
|
|
|
+ <input class="inputnone" type="hidden" name="id" value="${auditBean.id}" />
|
|
|
+ <input type="hidden" name="saleId" />
|
|
|
+ <input type="hidden" name="agentId" value="${auditBean.agentId}" />
|
|
|
+ <input type="hidden" name="displaceId" value="${auditBean.displaceId}" />
|
|
|
+ <input type="hidden" name="pubTime" value="${auditBean.pubTime}" />
|
|
|
+ <input type="hidden" name="spmc"
|
|
|
+ value="${auditBean.attrContent['sbpp']} ${auditBean.attrContent['sbxh']} ${auditBean.attrContent['sblx']}" /></td>
|
|
|
+ </table>
|
|
|
+ </from>
|
|
|
+ </div>
|
|
|
+ <div class="overflow_main" style="padding-bottom: 10px;">
|
|
|
+ <table table-layout:fixed; word-wrap:break-word; class="price_table"
|
|
|
+ border="0">
|
|
|
+ <tr>
|
|
|
+ <th>置换ID<soan style="color:red">*</soan></th>
|
|
|
+ <th>商品名称<soan style="color:red">*</soan></th>
|
|
|
+ <c:forEach items="${deviceList}" var="divice">
|
|
|
+ <c:if
|
|
|
+ test="${(divice.attrCode !='sbpp') && (divice.attrCode !='sbxh') && (divice.attrCode !='sblx')}">
|
|
|
+ <th>${divice.attrName}<soan style="color:red">*</soan></th>
|
|
|
+ </c:if>
|
|
|
+ </c:forEach>
|
|
|
+ <th>理想价位(万元)<soan style="color:red">*</soan></th>
|
|
|
+ <!-- <th>发布时间<soan style="color:red">*</soan></th> -->
|
|
|
+ <th>质保说明<soan style="color:red">*</soan></th>
|
|
|
+ <th>备注说明<soan style="color:red">*</soan></th>
|
|
|
+ <th>操作</soan></th>
|
|
|
+ </tr>
|
|
|
+ <form id="auditform">
|
|
|
+ <tr>
|
|
|
+ <input class="inputnone" type="hidden" name="id" id="id" value="${auditBean.id}" />
|
|
|
+ <td><c:choose>
|
|
|
+ <c:when test="${fn:contains(auditBean.displaceId,'-') }">
|
|
|
+ ${fn:substring(auditBean.displaceId, fn:indexOf(auditBean.displaceId, '-')+1,fn:length(auditBean.displaceId))}
|
|
|
+ </c:when>
|
|
|
+ <c:otherwise>
|
|
|
+ ${auditBean.displaceId}
|
|
|
+ </c:otherwise>
|
|
|
+ </c:choose><input class="inputnone" type="hidden" name="displaceId" value="${auditBean.displaceId}" /></td>
|
|
|
+ <td><input class="inputnone" type="text" style="width: 70px;" maxlength="100" id="sbppid" name="${auditBean.attrContent['sbpp_id']}" autocomplete="off"
|
|
|
+ value="${auditBean.attrContent['sbpp']}" /> -
|
|
|
+ <input class="inputnone" type="text" style="width: 70px;" maxlength="100" id="sbxhid" name="${auditBean.attrContent['sbxh_id']}" autocomplete="off"
|
|
|
+ value="${auditBean.attrContent['sbxh']}" /> -
|
|
|
+ <input class="inputnone" type="text" style="width: 70px;" maxlength="100" id="sblxid" name="${auditBean.attrContent['sblx_id']}" autocomplete="off"
|
|
|
+ value="${auditBean.attrContent['sblx']}" /></td>
|
|
|
+ <c:forEach items="${deviceList}" var="divice">
|
|
|
+ <c:if
|
|
|
+ test="${(divice.attrCode !='sbpp') && (divice.attrCode !='sbxh') && (divice.attrCode !='sblx')}">
|
|
|
+ <c:set var="attrCode" scope="session" value="${divice.attrCode }${'_id' }"/>
|
|
|
+ <c:choose>
|
|
|
+ <c:when
|
|
|
+ test="${not empty auditBean.attrContent[divice.attrCode]}">
|
|
|
+ <c:choose>
|
|
|
+ <c:when
|
|
|
+ test="${divice.attrCode=='sbszd'}">
|
|
|
+ <c:set var="sbszd" scope="session" value="${fn:split(auditBean.attrContent['sbszd'], ',')}"/>
|
|
|
+ <td>
|
|
|
+ <input type="hidden" id="sbszdId" value="${auditBean.attrContent[attrCode]}">
|
|
|
+ <input type="hidden" name="${auditBean.attrContent[attrCode]}" id="sbszdContent">
|
|
|
+ <select class="inputnone" style='width:80px;' name='pro_${auditBean.id }' id='pro_${auditBean.id }' onchange="changeCity('${auditBean.id }')">
|
|
|
+ <option value="">请选择省份</option>
|
|
|
+ <c:forEach items="${provinceList}" var="pro">
|
|
|
+ <c:forEach items="${sbszd}" var="sbszdvar" varStatus="status">
|
|
|
+ <c:choose>
|
|
|
+ <c:when test="${status.index ==0}">
|
|
|
+ <c:choose>
|
|
|
+ <c:when test="${not empty sbszdvar && sbszdvar==pro.name}">
|
|
|
+ <option selected value='${pro.name }'>${pro.name }</option>
|
|
|
+ </c:when>
|
|
|
+ <c:otherwise>
|
|
|
+ <option value='${pro.name }'>${pro.name }</option>
|
|
|
+ </c:otherwise>
|
|
|
+ </c:choose>
|
|
|
+ </c:when>
|
|
|
+ </c:choose>
|
|
|
+ </c:forEach>
|
|
|
+ </c:forEach>
|
|
|
+ </select> -
|
|
|
+ <select class="inputnone" style='width:80px;' name='city_${auditBean.id }' id='city_${auditBean.id }' >
|
|
|
+ <%-- <select class="inputnone" style='width:80px;' name='city_${auditBean.id }' id='city_${auditBean.id }' onchange="changeQX('${auditBean.id }')"> --%>
|
|
|
+ <option value="">请选择城市</option>
|
|
|
+ <c:choose>
|
|
|
+ <c:when test="${not empty areas}">
|
|
|
+ <c:forEach items="${areas}" var="area">
|
|
|
+ <c:choose>
|
|
|
+ <c:when test="${area.regionType=='2'}">
|
|
|
+ <c:forEach items="${sbszd}" var="sbszdvar" varStatus="status">
|
|
|
+ <c:choose>
|
|
|
+ <c:when test="${status.index ==1}">
|
|
|
+ <c:choose>
|
|
|
+ <c:when test="${not empty sbszdvar && sbszdvar==area.name}">
|
|
|
+ <option selected value='${area.name }'>${area.name }</option>
|
|
|
+ </c:when>
|
|
|
+ <c:otherwise>
|
|
|
+ <option value='${area.name }'>${area.name }</option>
|
|
|
+ </c:otherwise>
|
|
|
+ </c:choose>
|
|
|
+ </c:when>
|
|
|
+ <c:otherwise>
|
|
|
+ <option value='${area.name }'>${area.name }</option>
|
|
|
+ </c:otherwise>
|
|
|
+ </c:choose>
|
|
|
+ </c:forEach>
|
|
|
+ </c:when>
|
|
|
+ </c:choose>
|
|
|
+ </c:forEach>
|
|
|
+ </c:when>
|
|
|
+ </c:choose>
|
|
|
+ </select>
|
|
|
+ <%-- -
|
|
|
+ <select class="inputnone" style='width:80px;' name='qx_${auditBean.id }' id='qx_${auditBean.id }'>
|
|
|
+ <option selected value="">请选择区/县</option>
|
|
|
+ <c:choose>
|
|
|
+ <c:when test="${not empty areas}">
|
|
|
+ <c:forEach items="${areas}" var="area">
|
|
|
+ <c:choose>
|
|
|
+ <c:when test="${area.regionType=='3'}">
|
|
|
+ <c:forEach items="${sbszd}" var="sbszdvar" varStatus="status">
|
|
|
+ <c:choose>
|
|
|
+ <c:when test="${status.index ==2}">
|
|
|
+ <c:choose>
|
|
|
+ <c:when test="${not empty sbszdvar && sbszdvar==area.name}">
|
|
|
+ <option selected value='${area.name }'>${area.name }</option>
|
|
|
+ </c:when>
|
|
|
+ <c:otherwise>
|
|
|
+ <option value='${area.name }'>${area.name }</option>
|
|
|
+ </c:otherwise>
|
|
|
+ </c:choose>
|
|
|
+ </c:when>
|
|
|
+ </c:choose>
|
|
|
+ </c:forEach>
|
|
|
+ </c:when>
|
|
|
+ </c:choose>
|
|
|
+ </c:forEach>
|
|
|
+ </c:when>
|
|
|
+ </c:choose>
|
|
|
+ </select> --%>
|
|
|
+ </td>
|
|
|
+ </c:when>
|
|
|
+ <c:when test="${divice.attrCode=='sbpzsm'}">
|
|
|
+ <td>
|
|
|
+ <c:choose>
|
|
|
+ <c:when test="${auditBean.attrContent[divice.attrCode]=='有原始发票,无出厂合格证'}">
|
|
|
+ <span style="color:black;">原始发票:</span><input name="fp" type="radio" value="1" checked="checked" style="margin:-2px 4px 1px 0;vertical-align:middle;" /><span style="color:black;">有</span>
|
|
|
+ <input name="fp" type="radio" value="0" style="margin:-2px 4px 1px 0;vertical-align:middle;" /><span style="color:black;">无</span>
|
|
|
+ <span style="color:black;">出厂合格证:</span><input name="hgz" type="radio" value="1" style="margin:-2px 4px 1px 0;vertical-align:middle;" /><span style="color:black;">有</span>
|
|
|
+ <input name="hgz" type="radio" value="0" checked="checked" style="margin:-2px 4px 1px 0;vertical-align:middle;" /><span style="color:black;">无</span>
|
|
|
+ </c:when>
|
|
|
+ <c:when test="${auditBean.attrContent[divice.attrCode]=='无原始发票,有出厂合格证'}">
|
|
|
+ <span style="color:black;">原始发票:</span><input name="fp" type="radio" value="1" style="margin:-2px 4px 1px 0;vertical-align:middle;" /><span style="color:black;">有</span>
|
|
|
+ <input name="fp" type="radio" value="0" checked="checked" style="margin:-2px 4px 1px 0;vertical-align:middle;" /><span style="color:black;">无</span>
|
|
|
+ <span style="color:black;">出厂合格证:</span><input name="hgz" type="radio" value="1" checked="checked" style="margin:-2px 4px 1px 0;vertical-align:middle;" /><span style="color:black;">有</span>
|
|
|
+ <input name="hgz" type="radio" value="0" style="margin:-2px 4px 1px 0;vertical-align:middle;" /><span style="color:black;">无</span>
|
|
|
+ </c:when>
|
|
|
+ <c:when test="${auditBean.attrContent[divice.attrCode]=='有原始发票,有出厂合格证'}">
|
|
|
+ <span style="color:black;">原始发票:</span><input name="fp" type="radio" value="1" checked="checked" style="margin:-2px 4px 1px 0;vertical-align:middle;" /><span style="color:black;">有</span>
|
|
|
+ <input name="fp" type="radio" value="0" style="margin:-2px 4px 1px 0;vertical-align:middle;" /><span style="color:black;">无</span>
|
|
|
+ <span style="color:black;">出厂合格证:</span><input name="hgz" type="radio" value="1" checked="checked" style="margin:-2px 4px 1px 0;vertical-align:middle;" /><span style="color:black;">有</span>
|
|
|
+ <input name="hgz" type="radio" value="0" style="margin:-2px 4px 1px 0;vertical-align:middle;" /><span style="color:black;">无</span>
|
|
|
+ </c:when>
|
|
|
+ <c:otherwise>
|
|
|
+ <span style="color:black;">原始发票:</span><input name="fp" type="radio" value="1" style="margin:-2px 4px 1px 0;vertical-align:middle;" /><span style="color:black;">有</span>
|
|
|
+ <input name="fp" type="radio" value="0" checked="checked" style="margin:-2px 4px 1px 0;vertical-align:middle;" /><span style="color:black;">无</span>
|
|
|
+ <span style="color:black;">出厂合格证:</span><input name="hgz" type="radio" value="1" style="margin:-2px 4px 1px 0;vertical-align:middle;" /><span style="color:black;">有</span>
|
|
|
+ <input name="hgz" type="radio" value="0" checked="checked" style="margin:-2px 4px 1px 0;vertical-align:middle;" /><span style="color:black;">无</span>
|
|
|
+ </c:otherwise>
|
|
|
+ </c:choose>
|
|
|
+ </td>
|
|
|
+ </c:when>
|
|
|
+ <c:otherwise>
|
|
|
+ <td><input class="inputnone" type="text" style="width: 100px;" maxlength="50" id="${attrCode }" name="${auditBean.attrContent[attrCode]}"
|
|
|
+ value="${auditBean.attrContent[divice.attrCode]}" /></td>
|
|
|
+ </c:otherwise>
|
|
|
+ </c:choose>
|
|
|
+ </c:when>
|
|
|
+ <c:otherwise>
|
|
|
+ <c:choose>
|
|
|
+ <c:when test="${divice.attrCode=='sbszd'}">
|
|
|
+ <td>
|
|
|
+ <input type="hidden" id="sbszdId" value="${auditBean.attrContent[attrCode]}">
|
|
|
+ <input type="hidden" name="${auditBean.attrContent[attrCode]}" id="sbszdContent">
|
|
|
+ <select style='width:80px;' name='pro_${auditBean.id }' id='pro_${auditBean.id }' onchange="changeCity('${auditBean.id }')">
|
|
|
+ <option value="">请选择省份</option>
|
|
|
+ <c:forEach items="${provinceList}" var="pro">
|
|
|
+ <option value='${pro.name }'>${pro.name }</option>
|
|
|
+ </c:forEach>
|
|
|
+ </select> -
|
|
|
+ <select style='width:80px;' name='city_${auditBean.id }' id='city_${auditBean.id }' >
|
|
|
+ <%-- <select style='width:80px;' name='city_${auditBean.id }' id='city_${auditBean.id }' onchange="changeQX('${auditBean.id }')"> --%>
|
|
|
+ <option value="">请选择城市</option>
|
|
|
+ <c:choose>
|
|
|
+ <c:when test="${not empty areas}">
|
|
|
+ <c:forEach items="${areas}" var="area">
|
|
|
+ <c:choose>
|
|
|
+ <c:when test="${area.regionType=='2'}">
|
|
|
+ <option value='${area.name }'>${area.name }</option>
|
|
|
+ </c:when>
|
|
|
+ </c:choose>
|
|
|
+ </c:forEach>
|
|
|
+ </c:when>
|
|
|
+ </c:choose>
|
|
|
+ </select>
|
|
|
+ <%-- -
|
|
|
+ <select style='width:80px;' name='qx_${auditBean.id }' id='qx_${auditBean.id }'>
|
|
|
+ <option selected value="">请选择区/县</option>
|
|
|
+ <c:choose>
|
|
|
+ <c:when test="${not empty areas}">
|
|
|
+ <c:forEach items="${areas}" var="area">
|
|
|
+ <c:choose>
|
|
|
+ <c:when test="${area.regionType=='3'}">
|
|
|
+ <option value='${area.name }'>${area.name }</option>
|
|
|
+ </c:when>
|
|
|
+ </c:choose>
|
|
|
+ </c:forEach>
|
|
|
+ </c:when>
|
|
|
+ </c:choose>
|
|
|
+ </select> --%>
|
|
|
+ </td>
|
|
|
+ </c:when>
|
|
|
+ <c:when test="${divice.attrCode=='sbpzsm'}">
|
|
|
+ <td>
|
|
|
+ <c:choose>
|
|
|
+ <c:when test="${auditBean.attrContent[divice.attrCode]=='有原始发票,无出厂合格证'}">
|
|
|
+ <span style="color:black;">原始发票:</span><input name="fp" type="radio" value="1" checked="checked" style="margin:-2px 4px 1px 0;vertical-align:middle;" /><span style="color:black;">有</span>
|
|
|
+ <input name="fp" type="radio" value="0" style="margin:-2px 4px 1px 0;vertical-align:middle;" /><span style="color:black;">无</span>
|
|
|
+ <span style="color:black;">出厂合格证:</span><input name="hgz" type="radio" value="1" style="margin:-2px 4px 1px 0;vertical-align:middle;" /><span style="color:black;">有</span>
|
|
|
+ <input name="hgz" type="radio" value="0" checked="checked" style="margin:-2px 4px 1px 0;vertical-align:middle;" /><span style="color:black;">无</span>
|
|
|
+ </c:when>
|
|
|
+ <c:when test="${auditBean.attrContent[divice.attrCode]=='无原始发票,有出厂合格证'}">
|
|
|
+ <span style="color:black;">原始发票:</span><input name="fp" type="radio" value="1" style="margin:-2px 4px 1px 0;vertical-align:middle;" /><span style="color:black;">有</span>
|
|
|
+ <input name="fp" type="radio" value="0" checked="checked" style="margin:-2px 4px 1px 0;vertical-align:middle;" /><span style="color:black;">无</span>
|
|
|
+ <span style="color:black;">出厂合格证:</span><input name="hgz" type="radio" value="1" checked="checked" style="margin:-2px 4px 1px 0;vertical-align:middle;" /><span style="color:black;">有</span>
|
|
|
+ <input name="hgz" type="radio" value="0" style="margin:-2px 4px 1px 0;vertical-align:middle;" /><span style="color:black;">无</span>
|
|
|
+ </c:when>
|
|
|
+ <c:when test="${auditBean.attrContent[divice.attrCode]=='有原始发票,有出厂合格证'}">
|
|
|
+ <span style="color:black;">原始发票:</span><input name="fp" type="radio" value="1" checked="checked" style="margin:-2px 4px 1px 0;vertical-align:middle;" /><span style="color:black;">有</span>
|
|
|
+ <input name="fp" type="radio" value="0" style="margin:-2px 4px 1px 0;vertical-align:middle;" /><span style="color:black;">无</span>
|
|
|
+ <span style="color:black;">出厂合格证:</span><input name="hgz" type="radio" value="1" checked="checked" style="margin:-2px 4px 1px 0;vertical-align:middle;" /><span style="color:black;">有</span>
|
|
|
+ <input name="hgz" type="radio" value="0" style="margin:-2px 4px 1px 0;vertical-align:middle;" /><span style="color:black;">无</span>
|
|
|
+ </c:when>
|
|
|
+ <c:otherwise>
|
|
|
+ <span style="color:black;">原始发票:</span><input name="fp" type="radio" value="1" style="margin:-2px 4px 1px 0;vertical-align:middle;" /><span style="color:black;">有</span>
|
|
|
+ <input name="fp" type="radio" value="0" checked="checked" style="margin:-2px 4px 1px 0;vertical-align:middle;" /><span style="color:black;">无</span>
|
|
|
+ <span style="color:black;">出厂合格证:</span><input name="hgz" type="radio" value="1" style="margin:-2px 4px 1px 0;vertical-align:middle;" /><span style="color:black;">有</span>
|
|
|
+ <input name="hgz" type="radio" value="0" checked="checked" style="margin:-2px 4px 1px 0;vertical-align:middle;" /><span style="color:black;">无</span>
|
|
|
+ </c:otherwise>
|
|
|
+ </c:choose>
|
|
|
+ </td>
|
|
|
+ </c:when>
|
|
|
+ <c:otherwise>
|
|
|
+ <td><input class="inputnone" type="text" style="width: 100px;" maxlength="50" id="${attrCode }" name="${auditBean.attrContent[attrCode]}" value="" /></td>
|
|
|
+ </c:otherwise>
|
|
|
+ </c:choose>
|
|
|
+ </c:otherwise>
|
|
|
+ </c:choose>
|
|
|
+ </c:if>
|
|
|
+ </c:forEach>
|
|
|
+ <td><input class="inputnone" type="text" style="width: 100px;" maxlength="50" name="ideaPrice" id="lxjwid"
|
|
|
+ value="${auditBean.ideaPrice}" /></td>
|
|
|
+ <input style="width: 160px;" readonly="readonly" autocomplete="off" name="pubTimeStr" type="hidden" value="${fn:replace(auditBean.pubTime,'.0','')}" id="query_endTime" />
|
|
|
+ <td><input class="inputnone" type="text" style="width: 100px;" value="${auditBean.warrantyDesc}" maxlength="50" name="warrantyDesc" /></td>
|
|
|
+ <td><input class="inputnone" type="text" style="width: 200px;" value="${auditBean.othersDesc}" maxlength="100" name="othersDesc" /></td>
|
|
|
+ <td><b class="td_b2" onclick="toSureAudit();">设备审核</b><!-- <b class="td_b2" onclick="backAuditList()">返回</b> --></td>
|
|
|
+ </tr>
|
|
|
+ </form>
|
|
|
+ </table>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="tc_newts" id="tishialert">
|
|
|
+ <div class="tcnewts_main">
|
|
|
+ <img class="newts_xxx" onclick="qx_tan($('#tishitc'));"
|
|
|
+ src="${pageContext.request.contextPath}/resources/images/tan_xxx.png">
|
|
|
+ <h3>温馨提示</h3>
|
|
|
+ <p id="tishiwen">审核成功</p>
|
|
|
+ <div class="newts_btn" style="text-align: center;">
|
|
|
+ <a class="btn2" onclick="backAuditList();"
|
|
|
+ style="text-align: center; margin-right: 0px;">我知道了</a>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="tc_newts" id="tishitc">
|
|
|
+ <div class="tcnewts_main">
|
|
|
+ <img class="newts_xxx" onclick="qx_tan($('#tishitc'));"
|
|
|
+ src="${pageContext.request.contextPath}/resources/images/tan_xxx.png">
|
|
|
+ <h3 style="text-align: center;color:red;">请确认!</h3>
|
|
|
+ <p id="tishiwen">图片顺序和视频顺序排列完毕</p>
|
|
|
+ <p id="tishiwen">信息修改正确</p>
|
|
|
+ <div class="newts_btn">
|
|
|
+ <a onclick="qx_tan($('#tishitc'));">取消</a><a class="btn2"
|
|
|
+ id="tishiqr" onclick="sureAudit()">确认</a>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="tc_newts" id="imgtc">
|
|
|
+ <div class="tcnewts_main">
|
|
|
+ <img class="newts_xxx" onclick="qx_tan($('#imgtc'));" src="${pageContext.request.contextPath}/resources/images/tan_xxx.png">
|
|
|
+ <h3 style="margin-bottom:5px;">请选择图片分类</h3>
|
|
|
+ <input type="hidden" id="img_id" value="" />
|
|
|
+ <table id="img_table">
|
|
|
+ </table>
|
|
|
+ <div class="newts_btn"><a class="btn2" id="tishiqr" onclick="confirmImgs()">确认</a></div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="public_prompt" id="tsalert">您输入的信息有误,请确认后重新输入</div>
|
|
|
+ <div class="tcbox3" id="tcbox3">
|
|
|
+ <div class="tcbox_main" style="width:800px;height:560px; overflow:auto">
|
|
|
+ <h2>设备置换上架信息补充</h2>
|
|
|
+ <div class="new_price cc" style="padding-top:5px;padding-left:45px;">
|
|
|
+ <form method="post" id="addInfo" >
|
|
|
+ <input class="inputnone" type="hidden" name="id" value="${auditBean.id}" />
|
|
|
+ <div class="tc3_search1" style="margin-left:10px;">
|
|
|
+ <%--上架形式--%>
|
|
|
+ <span style="width:120px;">上架形式:</span>
|
|
|
+ <%--<input type="text" name="upType" id="upType" value="<c:if test="${auditBean.upType==1}"> 置换报价 </c:if> <c:if test="${auditBean.upType==2}"> 网络竞销</c:if>" />--%>
|
|
|
+
|
|
|
+ <input style="margin:-2px 4px 1px 0;vertical-align:middle;width:20px;" type="radio" id="upType1" name="upType" checked="checked" value='1' />置换报价
|
|
|
+ <input style="margin:-2px 4px 1px 0;vertical-align:middle;width:20px;" type="radio" id="upType2" name="upType" value='2' />网络竞销
|
|
|
+ <span style="width:120px;">单台保证金(万元):</span><input type="text" name="bail" id="bail" value="${auditBean.bail}" />
|
|
|
+ </div>
|
|
|
+ <div class="tc3_search1" style="margin-left:10px;">
|
|
|
+ <span style="width:120px;letter-spacing:3px;">起拍价(万元):</span><input type="text" name="minMoney" id="minMoney" value="${auditBean.minMoney}" />
|
|
|
+ <span style="width:120px;letter-spacing:3px;">报价幅度(万元):</span><input type="text" name="moneyRange" id="moneyRange" value="${auditBean.moneyRange}" />
|
|
|
+ </div>
|
|
|
+ <div class="tc3_search1" style="margin-left:10px;">
|
|
|
+ <span style="width:120px;letter-spacing:3px;">开始时间:</span><input readonly="readonly" autocomplete="off" name="startTimeStr" type="datetime" value="${fn:replace(auditBean.startTime,'.0','')}" class="laydate-icon dxinput4" id="startTimeStr"
|
|
|
+ onClick="laydate({istime:true, format:'YYYY-MM-DD hh:mm:ss' })" />
|
|
|
+ <span style="width:120px;letter-spacing:5px;">结束时间:</span><input readonly="readonly" autocomplete="off" name="endTimeStr" type="datetime" value="${fn:replace(auditBean.endTime,'.0','')}" class="laydate-icon dxinput4" id="endTimeStr"
|
|
|
+ onClick="laydate({istime:true, format:'YYYY-MM-DD hh:mm:ss' })" />
|
|
|
+ </div>
|
|
|
+ <div class="tc3_search1" style="margin-left:10px;">
|
|
|
+ <span style="width:120px;letter-spacing:5px;">报价延时(分):</span><input type="text" name="timeDelay" id="timeDelay" value="${auditBean.timeDelay}" />
|
|
|
+
|
|
|
+ <%--是否支持看现场--%>
|
|
|
+ <span style="width:120px;letter-spacing:5px;">是否支持看现场:</span>
|
|
|
+ <input style="margin:-2px 4px 1px 0;vertical-align:middle;width:20px;" type="radio" id="kxcY" name="isKxc" value='1' />是
|
|
|
+ <input style="margin:-2px 4px 1px 0;vertical-align:middle;width:20px;" type="radio" id="kxcN" name="isKxc" checked="checked" value='0' />否
|
|
|
+ </div>
|
|
|
+ <div class="tc3_search1" style="margin-left:10px;">
|
|
|
+ <span style="width:120px;letter-spacing:3px;">车商推送范围:</span><input style="width:220px;" type="button" onclick="seletShop();" value="选择" name="price" id="price"/>
|
|
|
+ <span style="width:120px;letter-spacing:5px;">是否推送提报人:</span><div style="width:220px;" class="left2_3_search down tc2_search_11">
|
|
|
+ <input type="hidden" name="saleId" id="query_saleId" value="${auditBean.saleId}" />
|
|
|
+ <span class="wadeShow">否</span>
|
|
|
+ <ul style="width:220px;max-height:100px;overflow:auto;">
|
|
|
+ <li wade="${auditBean.saleId}">是</li>
|
|
|
+ <li wade="">否</li>
|
|
|
+ </ul>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="tc3_search1" style="margin-left:10px;">
|
|
|
+ <span style="width:120px;letter-spacing:1px;margin-bottom:10px;">车商推送模板:</span>
|
|
|
+ <textarea name="sms" id="sms" style="width:400px;height:80px;">"尊敬的用户您好!${auditBean.agentName }代理商置换设备${auditBean.displaceId } ${auditBean.attrContent['sbpp']} ${auditBean.attrContent['sbxh']} ${auditBean.attrContent['sblx']}正在寻找买家,快来看看吧! "</textarea>
|
|
|
+ <div style="float:right;width:180px;margin-top:30px;">
|
|
|
+ <input name="pushWx" type="checkbox" value="1" checked="checked" style="width:16px;height:16px;" >微信推送</input><!-- <br>
|
|
|
+ <input name="pushSms" type="checkbox" value="2" style="width:16px;height:16px;" >短信推送</input> -->
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <input name='ids' id='ids' type='hidden' />
|
|
|
+ <input name='wgcids' id='wgcids' type='hidden' />
|
|
|
+ <input type="hidden" name="displaceId" value="${auditBean.displaceId}" />
|
|
|
+ <input type="hidden" name="agentId" value="${auditBean.agentId}" />
|
|
|
+ <input type="hidden" name="sbmc" value="${auditBean.attrContent['sbpp']} ${auditBean.attrContent['sbxh']} ${auditBean.attrContent['sblx']}" />
|
|
|
+ <input type="hidden" name="pubTimeStr" value="${fn:replace(auditBean.pubTime,'.0','')}" />
|
|
|
+ </form>
|
|
|
+ <div class="newts_btn"><a class="btn2" id="sureAddInfo">确认</a></div>
|
|
|
+ </div>
|
|
|
+ <img class="tc_xxx tc_xxx3" src="${root}/resources/images/tan_xxx.png" />
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="tcbox3" id="tcbox4">
|
|
|
+ <div class="tcbox_main" style="width:1000px;height:550px; overflow:auto">
|
|
|
+ <h2>车商列表W2</h2>
|
|
|
+ <div class="new_price cc" style="padding-top:5px;padding-left:45px;">
|
|
|
+ <form id="queryDiggerList">
|
|
|
+ <div class="act_list">
|
|
|
+ <div class="list_search1">
|
|
|
+ <c:if test="${auditBean.isAttent=='1'}">
|
|
|
+ <span class="agentInfo">代理商:</span><div class="list_search4_choose down tc2_search_11 agentInfo" style="width:170px;">
|
|
|
+ <input type="hidden" name="agentID" id="agentIdInput" value="${auditBean.agentId}"/>
|
|
|
+ <span class="wadeShow" style="width:170px;margin-left: 0px;" id="agentId">${auditBean.agentName}</span>
|
|
|
+ <ul style="width:170px;max-height:100px;overflow:auto;">
|
|
|
+ <li id="dls" wade="${auditBean.agentId}">${auditBean.agentName}</li>
|
|
|
+ <li id="wgc" wade="${wgcId}">微工程</li>
|
|
|
+ </ul>
|
|
|
+ </div>
|
|
|
+ </c:if>
|
|
|
+ <span>关注品牌:</span> <input style="width:70px;" type="text" name="focusBrandNames" id = "query_focusBrand"/>
|
|
|
+ <span>权限:</span><div class="left2_3_search down tc2_search_11" style="width:70px;">
|
|
|
+ <input type="hidden" name="mutiStatus" id="query_mutiStatus"/>
|
|
|
+ <span class="wadeShow" style="width:70px;margin-left: 0px;">全部</span>
|
|
|
+ <ul style="width:70px;max-height:100px;overflow:auto;">
|
|
|
+ <li wade="">全部</li>
|
|
|
+ <li wade="1">开</li>
|
|
|
+ <li wade="0">关</li>
|
|
|
+ </ul>
|
|
|
+ </div>
|
|
|
+ <a class="list_button" style="background-color: #CE0000;" onclick="resetForm();">重置</a>
|
|
|
+ <a class="list_button" onclick="queryDiggerList()">查询</a>
|
|
|
+ <a class="list_button" onclick="showAddInfo()">确定</a>
|
|
|
+ </div>
|
|
|
+ <div id="appendId" class=""></div>
|
|
|
+ </div>
|
|
|
+ </form>
|
|
|
+ <input type="hidden" name="isAttent" id="isAttent" value="${auditBean.isAttent}" />
|
|
|
+ </div>
|
|
|
+ <img class="tc_xxx" src="${root}/resources/images/tan_xxx.png" onclick="tc3()" />
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+
|
|
|
+ <div class="tcbox3" id="tcbox5">
|
|
|
+ <div class="tcbox_main" style="width:1000px;height:550px; overflow:auto">
|
|
|
+ <h2>分类列表</h2>
|
|
|
+ <div class="new_price cc" style="padding-top:5px;padding-left:45px;">
|
|
|
+ <form id="queryDiggerList">
|
|
|
+ <div class="act_list">
|
|
|
+ <div class="list_search1">
|
|
|
+ <span>分类名称:</span> <input style="width:150px;" type="text" name="imgTypeName" id = "query_imgTypeName"/>
|
|
|
+ <a class="list_button" style="background-color: #CE0000;" onclick="resetImgtypeForm();">重置</a>
|
|
|
+ <a class="list_button" onclick="queryImgTypes()">查询</a>
|
|
|
+ <a class="list_button" onclick="sureTc5()">确定</a>
|
|
|
+ </div>
|
|
|
+ <div id="imgTypeAppendId" class="">
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </form>
|
|
|
+ </div>
|
|
|
+ <img class="tc_xxx" src="${root}/resources/images/tan_xxx.png" onclick="closeTc5();" />
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+</body>
|
|
|
+<script src="${root}/resources/js/index.js" type="text/javascript"></script>
|
|
|
+<script src="${root}/resources/js/audit/superAdminAuditDetail.js" type="text/javascript"></script>
|
|
|
+<script type="text/javascript">
|
|
|
+ $(function() {
|
|
|
+ if($("#dls").attr("wade") == $("#wgc").attr("wade")){
|
|
|
+ $(".agentInfo").hide();
|
|
|
+ }
|
|
|
+
|
|
|
+ $("#sureAddInfo").unbind().bind("click",function(){
|
|
|
+ sureAddInfo();
|
|
|
+ })
|
|
|
+ })
|
|
|
+
|
|
|
+ function tc3(){
|
|
|
+ qx_tan($('#tcbox4'));
|
|
|
+ tanKuang($('#tcbox3'));
|
|
|
+ }
|
|
|
+
|
|
|
+ $(".record_td01").attr("rowspan", $("#opiniontab").find("tr").length);
|
|
|
+ if($("#isAttent").val() == '0'|| $("#isAttent").val() == 'n'){
|
|
|
+ $(".agentInfo").hide();
|
|
|
+ }
|
|
|
+ // 列表操作完后显示被选中的数据
|
|
|
+ var otherFnc={showSelect:function(){
|
|
|
+ if($("#agentIdInput").val()==$("#wgc").attr("wade")){
|
|
|
+ var ids = $("#wgcids").val();
|
|
|
+ $(".chooseId").each(function(){
|
|
|
+ if(ids.indexOf($(this).attr("wade")+",") != -1){
|
|
|
+ $(this).addClass("sure");
|
|
|
+ }
|
|
|
+ });
|
|
|
+ }else{
|
|
|
+ var ids = $("#ids").val();
|
|
|
+ $(".chooseId").each(function(){
|
|
|
+ if(ids.indexOf($(this).attr("wade")+",") != -1){
|
|
|
+ $(this).addClass("sure");
|
|
|
+ }
|
|
|
+ });
|
|
|
+ }
|
|
|
+ }};
|
|
|
+
|
|
|
+ var getHead={getDiggerHead:function(obj){
|
|
|
+ var rowstr = "<tr>";
|
|
|
+ rowstr += "<th>全选<b class=\"dd_choose all\" wade=\"all\" onclick=\"confirmDigger(this)\"></b></th>";
|
|
|
+ rowstr += "<th>车商ID</th>";
|
|
|
+ rowstr += "<th>姓名</th>";
|
|
|
+ rowstr += "<th>手机号码</th>";
|
|
|
+ rowstr += "<th>微信昵称</th>";
|
|
|
+ rowstr += "<th>关注的品牌</th>";
|
|
|
+ rowstr += "<th>保证金(万)</th>";
|
|
|
+ rowstr += "<th>多台报价<br/>权限状态</th>";
|
|
|
+ rowstr += "</tr>";
|
|
|
+ return rowstr;
|
|
|
+ }};
|
|
|
+ //列表内容
|
|
|
+ var getListContext={getDiggerList:function(headObj,bodyObj){
|
|
|
+ var rowstr = "";
|
|
|
+ for (var i = 0; i < bodyObj.length; i++) {
|
|
|
+ var bodyItem = bodyObj[i];
|
|
|
+ rowstr += "<tr>";
|
|
|
+ rowstr += "<td><b class=\"dd_choose chooseId\" wade=\""+bodyItem.id+"\" onclick=\"confirmDigger(this)\"></b></td>";
|
|
|
+ rowstr += "<td><span>" +bodyItem.daID+ "</span></td>";
|
|
|
+ rowstr += "<td><span>" +bodyItem.daName+ "</span></td>";
|
|
|
+ rowstr += "<td><span>" +bodyItem.daPhone+ "</span></td>";
|
|
|
+ rowstr += "<td><span>" +bodyItem.daWxnc+ "</span></td>";
|
|
|
+ rowstr += "<td>";
|
|
|
+ rowstr += "<input type='hidden' value='"+bodyItem.focusBrandIds+"' id='focus_ids_"+bodyItem.id+"' name='focus_ids_"+bodyItem.id+"' />";
|
|
|
+ rowstr += "<input type='hidden' value='"+bodyItem.focusBrandNames+"' id='focus_names_"+bodyItem.id+"' name='focus_names_"+bodyItem.id+"' />";
|
|
|
+ rowstr += "<span id='showBrands_"+bodyItem.id+"'>" +bodyItem.focusBrandNames+ "</span>";
|
|
|
+ rowstr += "</td>";
|
|
|
+ rowstr += "<td><span>" +bodyItem.deposit+ "</span></td>";
|
|
|
+ if(bodyItem.mutiStatus=='1'){
|
|
|
+ rowstr += "<td style='width:200px;'><span>开</span></td>";
|
|
|
+ }else{
|
|
|
+ rowstr += "<td style='width:200px;'><span>关</span></td>";
|
|
|
+ }
|
|
|
+ rowstr += "</tr>";
|
|
|
+ }
|
|
|
+ return rowstr;
|
|
|
+ }};
|
|
|
+ var url=ctx+'/digger/diggerList.do';
|
|
|
+
|
|
|
+ function queryDiggerList(){
|
|
|
+ toDynamicQueryList('f',url, 'queryDiggerList', 'getDiggerHead', 'getDiggerList', 'appendId','','showSelect');
|
|
|
+ //$("#ids").val();
|
|
|
+ };
|
|
|
+
|
|
|
+ function confirmDigger(obj) {
|
|
|
+ var that = $(obj);
|
|
|
+ var wade = that.attr("wade");
|
|
|
+ if(wade=="all"){
|
|
|
+ var choose = $(".dd_choose");
|
|
|
+ if(that.hasClass("sure")){
|
|
|
+ $(".dd_choose").removeClass("sure");
|
|
|
+ if($("#agentIdInput").val()==$("#wgc").attr("wade")) {
|
|
|
+ var ids = $("#wgcids").val();
|
|
|
+ $(".chooseId").each(function(){
|
|
|
+ ids = ids.replace($(this).attr("wade")+",","");
|
|
|
+ });
|
|
|
+ $("#wgcids").val(ids);
|
|
|
+ }else{
|
|
|
+ var ids = $("#ids").val();
|
|
|
+ $(".chooseId").each(function(){
|
|
|
+ ids = ids.replace($(this).attr("wade")+",","");
|
|
|
+ });
|
|
|
+ $("#ids").val(ids);
|
|
|
+ }
|
|
|
+ }else{
|
|
|
+ //给当前点击事件的目标用户打勾并且把所有其他勾去掉
|
|
|
+ $(".dd_choose").addClass("sure");
|
|
|
+ if($("#agentIdInput").val()==$("#wgc").attr("wade")){
|
|
|
+ var ids = $("#wgcids").val();
|
|
|
+ $(".chooseId").each(function(){
|
|
|
+ if(ids.indexOf($(this).attr("wade")+",") != -1){
|
|
|
+ }else{
|
|
|
+ ids = ids + $(this).attr("wade")+",";
|
|
|
+ }
|
|
|
+ });
|
|
|
+ $("#wgcids").val(ids);
|
|
|
+ }else{
|
|
|
+ var ids = $("#ids").val();
|
|
|
+ $(".chooseId").each(function(){
|
|
|
+ if(ids.indexOf($(this).attr("wade")+",") != -1){
|
|
|
+ }else{
|
|
|
+ ids = ids + $(this).attr("wade")+",";
|
|
|
+ }
|
|
|
+ });
|
|
|
+ $("#ids").val(ids);
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }else{
|
|
|
+ $(".all").removeClass("sure");
|
|
|
+ if(that.hasClass("sure")){
|
|
|
+ that.removeClass("sure");
|
|
|
+ if($("#agentIdInput").val()==$("#wgc").attr("wade")) {
|
|
|
+ var ids = $("#wgcids").val();
|
|
|
+ ids = ids.replace(that.attr("wade")+",","");
|
|
|
+ $("#wgcids").val(ids);
|
|
|
+ }else{
|
|
|
+ var ids = $("#ids").val();
|
|
|
+ ids = ids.replace(that.attr("wade")+",","");
|
|
|
+ $("#wgcids").val(ids);
|
|
|
+ $("#ids").val(ids);
|
|
|
+ }
|
|
|
+ }else{
|
|
|
+ //给当前点击事件的目标用户打勾并且把所有其他勾去掉
|
|
|
+ that.addClass("sure");
|
|
|
+ if($("#agentIdInput").val()==$("#wgc").attr("wade")){
|
|
|
+ var ids = $("#wgcids").val();
|
|
|
+ if(ids.indexOf(that.attr("wade")+",") != -1){
|
|
|
+ }else{
|
|
|
+ ids = ids + that.attr("wade")+",";
|
|
|
+ }
|
|
|
+ $("#wgcids").val(ids);
|
|
|
+ }else{
|
|
|
+ var ids = $("#ids").val();
|
|
|
+ if(ids.indexOf(that.attr("wade")+",") != -1){
|
|
|
+ }else{
|
|
|
+ ids = ids + that.attr("wade")+",";
|
|
|
+ }
|
|
|
+ $("#ids").val(ids);
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ //重置表单搜索条件
|
|
|
+ function resetForm(){
|
|
|
+ $("#queryDiggerList input").val("");
|
|
|
+ $("#queryDiggerList .wadeShow").html("");
|
|
|
+ $("#agentIdInput").val($("#dls").attr("wade"));
|
|
|
+ }
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 数字校验
|
|
|
+ * isZero true可以为0,false为''
|
|
|
+ */
|
|
|
+ function numberCheck(id,isZero){
|
|
|
+ var value = $("#"+id).val();
|
|
|
+ // 匹配非数字
|
|
|
+ if (value && !/^(([0])|([1-9]\d*))$/.test(value)) {
|
|
|
+ value = $("#"+id).attr('pre'+ id);
|
|
|
+ }
|
|
|
+ // 是否可以为0
|
|
|
+ if(value == '0'){
|
|
|
+ if(isZero){
|
|
|
+ value = '0';
|
|
|
+ }else{
|
|
|
+ value = '';
|
|
|
+ }
|
|
|
+ }
|
|
|
+ $("#"+id).attr('pre'+ id, value);
|
|
|
+ $("#"+id).val(value);
|
|
|
+ }
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 金额校验(最大金额9999.99)
|
|
|
+ */
|
|
|
+ function moneyCheck(id){
|
|
|
+ var value = $("#"+id).val();
|
|
|
+ // 匹配非数字
|
|
|
+ if (value && !/^(([0])|([1-9][0-9]{0,3})|(([0]\.\d{0,2}|[1-9][0-9]{0,3}\.\d{0,2})))$/.test(value)) {
|
|
|
+ value = $("#"+id).attr('pre'+ id);
|
|
|
+ }
|
|
|
+ $("#"+id).attr('pre'+ id, value);
|
|
|
+ $("#"+id).val(value);
|
|
|
+ }
|
|
|
+
|
|
|
+ $(function() {
|
|
|
+ if($("#sbsyxs_id")){
|
|
|
+ $("#sbsyxs_id").bind('input propertychange',function(){numberCheck('sbsyxs_id',true)});
|
|
|
+ }
|
|
|
+ if($("#lxjwid")){
|
|
|
+ $("#lxjwid").bind('input propertychange',function(){moneyCheck('lxjwid')});
|
|
|
+ }
|
|
|
+ $("#bail").bind('input propertychange',function(){moneyCheck('bail')});
|
|
|
+ $("#minMoney").bind('input propertychange',function(){moneyCheck('minMoney')});
|
|
|
+ $("#timeDelay").bind('input propertychange',function(){numberCheck('timeDelay',false)});
|
|
|
+ $("#moneyRange").bind('input propertychange',function(){moneyCheck('moneyRange')});
|
|
|
+ });
|
|
|
+
|
|
|
+
|
|
|
+ function changeCity(saleId){
|
|
|
+ var area = $("#pro_"+saleId).val();
|
|
|
+ var htm = "<option value=''>请选择城市</option>";
|
|
|
+ $.ajax({
|
|
|
+ url:ctx+'/auditDetail/getSubRegionByArea.do',
|
|
|
+ type:'post',
|
|
|
+ data:{'area':area},
|
|
|
+ dataType :'json',
|
|
|
+ success:function(data){
|
|
|
+ if(data && data.resultList){
|
|
|
+ for(var i=0;i<data.resultList.length;i++){
|
|
|
+ htm += "<option value='"+data.resultList[i].name+"'>"+data.resultList[i].name+"</option>";
|
|
|
+ }
|
|
|
+ $("#city_"+saleId).html(htm);
|
|
|
+ }
|
|
|
+ },
|
|
|
+ error:function(){
|
|
|
+ tsalert("系统繁忙,请稍后再试!");
|
|
|
+ }
|
|
|
+ });
|
|
|
+ }
|
|
|
+
|
|
|
+ function changeQX(saleId){
|
|
|
+ var area = $("#city_"+saleId).val();
|
|
|
+ var htm = "<option value=''>请选择区/县</option>";
|
|
|
+ $.ajax({
|
|
|
+ url:ctx+'/auditDetail/getSubRegionByArea.do',
|
|
|
+ type:'post',
|
|
|
+ data:{'area':area},
|
|
|
+ dataType :'json',
|
|
|
+ success:function(data){
|
|
|
+ if(data && data.resultList){
|
|
|
+ for(var i=0;i<data.resultList.length;i++){
|
|
|
+ htm += "<option value='"+data.resultList[i].name+"'>"+data.resultList[i].name+"</option>";
|
|
|
+ }
|
|
|
+ $("#qx_"+saleId).html(htm);
|
|
|
+ }
|
|
|
+ },
|
|
|
+ error:function(){
|
|
|
+ tsalert("系统繁忙,请稍后再试!");
|
|
|
+ }
|
|
|
+ });
|
|
|
+ }
|
|
|
+</script>
|
|
|
+</html>
|