123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808 |
- <%@ page contentType="text/html;charset=UTF-8" %>
- <%@ include file="/WEB-INF/views/include/taglib.jsp" %>
- <html>
- <head>
- <title>机构信息管理</title>
- <meta name="decorator" content="default"/>
- <script src="/static/modules/bulkpurchase/loadAddressById.js"></script>
- <script type="text/javascript">
- $(document).ready(function () {
- //$("#name").focus();
- $("#inputForm").validate({
- ignore: "",
- submitHandler: function (form) {
- var bindMobile = $("#bindMobile").val();
- var userID = $("#userID").val();
- $.post("${ctx}/new/user/agency/checkMobile?bindMobile="+bindMobile+"&userID="+userID, function (data) {
- if (data.code == -1) {
- alertx(data.msg);
- }else {
- loading('正在提交,请稍等...');
- form.submit();
- }
- })
- },
- errorContainer: "#messageBox",
- errorPlacement: function (error, element) {
- $("#messageBox").text("输入有误,请先更正。");
- if (element.is(":checkbox") || element.is(":radio") || element.parent().is(".input-append")) {
- error.appendTo(element.parent().parent());
- } else {
- error.insertAfter(element);
- }
- }
- });
- });
- function checkMobile() {
- var bindMobile = $("#bindMobile").val();
- var userID = $("#userID").val();
- $.post("${ctx}/new/user/agency/checkMobile?bindMobile="+bindMobile+"&userID="+userID, function (data) {
- if (data.code == -1) {
- alertx(data.msg);
- }
- })
- }
- function onlyNumOrLetter(obj) {
- var reg = /^[0-9a-zA-Z]+$/;
- var str = document.getElementById("socialCreditCode").value;
- if (!reg.test(str)) {
- alertx("营业执照编号格式不正确");
- $("#socialCreditCode").val("");
- }
- }
- /**
- * @param obj
- * jquery控制input只能输入数字
- */
- function mobileVerification(obj) {
- var reg = /^1\d{10}$/;
- var contractMobile = document.getElementById("contractMobile").value;
- if (!reg.test(contractMobile)) {
- alertx("手机号格式不正确");
- $("#contractMobile").val("");
- }
- }
- /**
- * @param obj
- * jquery控制input只能输入数字
- */
- function onlynum(obj) {
- obj.value = obj.value.replace(/[^\d]/g, ""); //清除"数字"以外的字符
- }
- /**
- * @param obj
- * jquery控制input只能输入数字和两位小数
- */
- function num(obj) {
- obj.value = obj.value.replace(/[^\d.]/g, ""); //清除"数字"和"."以外的字符
- obj.value = obj.value.replace(/^\./g, ""); //验证第一个字符是数字
- obj.value = obj.value.replace(/\.{2,}/g, "."); //只保留第一个, 清除多余的
- obj.value = obj.value.replace(".", "$#$").replace(/\./g, "").replace("$#$", ".");
- obj.value = obj.value.replace(/^(\-)*(\d+)\.(\d\d).*$/, '$1$2.$3'); //只能输入两个小数
- }
- function int(obj) {
- obj.value = obj.value.replace(/[^\d]/g, ""); //清除"数字"以外的字符
- }
- //设置主营类型
- function setTags(opts) {
- var tagArr = [];
- opts.$mainPro.val('')
- opts.$tagArea.find('.new-tag.active').each(function (i, v) {
- var _typeName = $(v).attr('data-typeName');
- tagArr.push(_typeName);
- opts.$mainPro.val(tagArr.join('/'));
- })
- }
- //选择主营内容项目
- function getTags(opts) {
- opts.$tagArea.on('click', '.new-tag', function () {
- var $this = $(this);
- $this.toggleClass('active');
- setTags(opts);
- });
- opts.$other.on('click', function () {
- opts.$input.css('display', 'inline-block');
- opts.$add.css('display', 'inline-block');
- });
- opts.$add.on('click', function () {
- var _tag = $.trim(opts.$input.val());
- if (_tag) {
- var flag = false;
- opts.$tagArea.find('.new-tag').each(function (i, v) {
- var _name = $(v).attr('data-typeName');
- if (_tag == _name) {
- flag = true;
- return false;
- } else {
- if (i == opts.$tagArea.find('.new-tag').length) {
- flag = false;
- }
- }
- })
- if (flag) {
- opts.$tagArea.find('.new-tag').each(function (i, v) {
- var _name = $(v).attr('data-typeName');
- if (_tag == _name) {
- $(v).addClass('active');
- layer.tips('该类型已存在', opts.$add);
- flag = true;
- return false;
- }
- })
- } else {
- opts.$tagArea.append('<span class="new-tag up-' + opts.$type + '-tag active" data-typeName="' + _tag + '">' + _tag + '</span> ');
- setTags(opts);
- opts.$input.val('');
- return;
- }
- }
- })
- }
- $(document).on("change", "#auditStatus", function () {
- if ($("#auditStatus").val() == 2) {
- $("#auditNopass").show();
- } else {
- $("#auditNopass").hide();
- }
- })
- function toAudit(id) {
- audit(id);
- }
- /**
- * 审核会所
- */
- function audit(id) {
- var html = "<div id='auditBox'>"
- + " <div class='bd-row'>"
- + " <span><font color='red'>*</font>审核:</span>"
- + " <select name='auditStatus' id='auditStatus'>"
- + " <option value='1'>审核通过</option>"
- + " <option value='2'>审核未通过</option>"
- + " <select/>"
- + " </div>"
- + " <div id='auditNopass' style='display: none;'>"
- + " <div class='bd-row'>"
- + " <span><font color='red'>*</font>原因:</span>"
- + " <div class='auditCheckBox'>"
- + " <label><input name='auditCheckBox' type='checkbox' value='图片模糊'><span>图片模糊</span></label>"
- + " <label><input name='auditCheckBox' type='checkbox' value='营业执照错误'><span>营业执照错误</span></label>"
- + " <label><input name='auditCheckBox' type='checkbox' value='详细信息不全'><span>详细信息不全</span></label>"
- + " <label><input name='auditCheckBox' type='checkbox' value='机构名称敏感'><span>机构名称敏感</span></label>"
- + " </div>"
- + " </div>"
- + " <div class='bd-row'>"
- + " <span></span>"
- + " <div>"
- + " <textarea name='auditNote'></textarea>"
- + " <p class='err-tip' style='display:none;margin-left:-55px;color:red;'>请选择审核未通过的原因</p>"
- + " </div>"
- + " </div>"
- + " </div>"
- + "</div>";
- var submit = function (v, h, f) {
- if (f.auditStatus == '') {
- $.jBox.tip("请选择状态", 'error', {focusId: "auditStatus"});
- return false;
- } else if (f.auditStatus == 2 && f.auditNote == '' && !f.auditCheckBox) {
- $.jBox.tip("请选择审核未通过的原因", 'error', {focusId: "auditNote"});
- return false;
- } else if (f.auditStatus == 2 && f.auditNote.length > 100) {
- $.jBox.tip("内容过长", 'error', {focusId: "auditNote"});
- return false;
- }
- var auditText = f.auditCheckBox ? (f.auditCheckBox.toString() + ',' + f.auditNote) : f.auditNote;
- $.post("${ctx}/new/user/agency/auditClub", {
- 'auditStatus': f.auditStatus,
- 'id': id,
- 'auditNote': auditText
- }, function (data) {
- if (true == data.success) {
- $.jBox.tip(data.msg, 'info');
- // $("#searchForm").submit();
- window.location.href = "${ctx}/new/user/agency/";
- } else {
- $.jBox.tip(data.msg, 'error');
- }
- }, "JSON");//这里返回的类型有:json,html,xml,text
- };
- $.jBox(html, {title: "审核", submit: submit});
- }
- // 初始化选中数据
- $(function () {
- //初始化1
- var firstClubType = $('#firstClubType').val();
- console.log(firstClubType)
- if (firstClubType == '1') {
- $('.med-option,.qualification').show();
- }
- $('.medical-radio div input[name="firstClubType"]').on('click', function () {
- var html = '';
- var nameval = $(this).val();
- if (nameval == '1') {
- $('.med-option,.qualification').show();
- html += '<span class="new-tag up-club-tag" data-typeName="整形">整形</span>',
- html += '<span class="new-tag up-club-tag" data-typeName="轻医美">轻医美</span>',
- html += '<span class="new-tag up-club-tag" data-typeName="皮肤科">皮肤科</span>';
- $('#clubArea').html(html);
- $('.Main-content').show();
- } else if (nameval == '2') {
- $('.med-option,.qualification,.epart').hide();
- $('input[name="secondClubType"]').attr('checked', false);
- html += '<span class="new-tag up-club-tag" data-typeName="美容">美容</span>',
- html += '<span class="new-tag up-club-tag" data-typeName="美体">美体</span>',
- html += '<span class="new-tag up-club-tag" data-typeName="美发">美发</span>',
- html += '<span class="new-tag up-club-tag" data-typeName="皮肤管理">皮肤管理</span>',
- html += '<span class="new-tag up-club-tag" data-typeName="光电">光电</span>',
- html += '<span class="new-tag up-club-tag" data-typeName="综合类">综合类</span>',
- html += '<span class="new-tag up-club-tag" data-typeName="中医养生">中医养生</span>',
- html += '<span class="new-tag up-club-tag" data-typeName="spa">spa</span>'
- $('#clubArea').html(html);
- $('.Main-content').show();
- }
- });
- //初始化2
- if (firstClubType == '1') {
- var nameval1 = $('input[name="secondClubType"]:checked').val();
- if (nameval1 == '1') {
- $('.epart').hide()
- } else if (nameval1 == '2') {
- $('.epart').show()
- } else if (nameval1 == '3') {
- $('.epart').show()
- }
- }
- //医美二级选择
- $('.med-option div input[name="secondClubType"]').on('click', function () {
- var nameVal = $(this).val();
- if (nameVal == '1') {
- $('.epart').hide()
- } else if (nameVal == '2') {
- $('.epart').show()
- } else if (nameVal == '3') {
- $('.epart').show()
- }
- });
- //主营项目
- var cMainProVal = $('#cMainPro').val();
- if (cMainProVal != null && cMainProVal != "") {
- var _mainPros = cMainProVal.split('/');
- var proList = $('#clubArea').find('.new-tag');
- for (var j = 0; j < _mainPros.length; j++) {
- var _flag = false;
- for (var i = 0; i < proList.length; i++) {
- if ($(proList[i]).attr('data-typeName') == _mainPros[j]) {
- _flag = true;
- }
- }
- if (_flag) {
- for (var i = 0; i < proList.length; i++) {
- if ($(proList[i]).attr('data-typeName') == _mainPros[j]) {
- $(proList[i]).addClass('active');
- }
- }
- } else {
- $('#clubArea').append('<span class="new-tag up-club-tag active" data-typeName="' + _mainPros[j] + '">' + _mainPros[j] + '</span> ');
- $('.Main-content').show();
- }
- }
- $('#cMainPro').val(cMainProVal);
- }
- //机构品项选择
- var optsClub = {
- $tag: $('.up-club-tag'),
- $tagArea: $('#clubArea'),
- $mainPro: $('#cMainPro'),
- $other: $('#clubOther'),
- $input: $('#clubInput'),
- $add: $('#clubAdd'),
- $type: 'club'
- };
- getTags(optsClub);
- })
- </script>
- <style>
- #auditBox {
- padding: 20px;
- line-height: 30px;
- }
- #auditBox .bd-row {
- display: flex;
- margin-bottom: 15px;
- }
- #auditBox .bd-row > span {
- display: inline-block;
- width: 60px;
- }
- #auditBox .auditCheckBox {
- width: 250px;
- }
- #auditBox .auditCheckBox label {
- margin: 0 5px 5px 0
- }
- #auditBox .auditCheckBox input {
- display: none;
- }
- #auditBox .auditCheckBox input + span {
- display: inline-block;
- line-height: 24px;
- padding: 0 12px;
- border: 1px solid #666;
- border-radius: 5px;
- }
- #auditBox .auditCheckBox input:checked + span {
- background-color: #E6633A
- }
- .detailTitle {
- margin: 16px 0px 4px 20px;
- font-weight: bold;
- }
- .detailLine {
- width: 98%;
- margin-left: 10px;
- }
- .clubInfo {
- float: left;
- width: 25%;
- }
- .clubInfoTitle {
- text-align: center;
- text-decoration: underline;
- font-weight: bold;
- }
- th {
- text-align: right;
- white-space: nowrap;
- }
- td {
- padding: 5px 0;
- }
- #headpicPreview li, #businessLicenseImagePreview li {
- min-height: 100px;
- }
- /*----------------------------------*/
- .the-oradio {
- display: inline-block;
- vertical-align: top;
- }
- .the-oradio div {
- width: 85px;
- display: inline-block;
- font-size: 12px;
- color: #666;
- }
- .med-option {
- display: block;
- margin: 10px 0 0 160px;
- }
- .control-group .new-tag {
- display: inline-block;
- width: 78px;
- height: 30px;
- border: 1px solid #e5e5e5;
- border-radius: 5px;
- margin: 7px;
- text-align: center;
- line-height: 30px;
- font-size: 14px;
- overflow: hidden;
- text-overflow: ellipsis;
- white-space: nowrap;
- cursor: pointer;
- }
- .control-group .new-tag.active {
- border-color: #e15616;
- color: #e15616;
- }
- #clubArea {
- display: inline-block;
- width: 450px;
- }
- #clubOther {
- height: 40px;
- line-height: 40px;
- vertical-align: middle
- }
- #clubInput {
- width: 159px;
- margin: 7px;
- display: inline-block;
- height: 30px;
- display: none;
- }
- .tags-operate {
- margin-left: 160px;
- }
- .control-group .tags-operate .tag-add {
- height: 40px;
- line-height: 40px;
- vertical-align: middle;
- display: none;
- }
- .top-label {
- width: 160px;
- text-align: right;
- vertical-align: top;
- margin-top: 10px;
- }
- </style>
- </head>
- <body>
- <ul class="nav nav-tabs">
- <li><a href="${ctx}/new/user/agency/?searchName=${newCmClub.searchName}&searchUserName=${newCmClub.searchUserName}&searchBindMobile=${newCmClub.searchBindMobile}&searchEmail=${newCmClub.searchEmail}&searchUserOrganizeID=${newCmClub.searchUserOrganizeID}&searchStatus=${newCmClub.searchStatus}&searchUserIdentity=${newCmClub.searchUserIdentity}&searchStartTime=${newCmClub.searchStartTime}&searchEndTime=${newCmClub.searchEndTime}">机构列表</a></li>
- <li class="active"><a href="${ctx}/new/user/agency/form?id=${newCmClub.clubID}&source=${source}&searchName=${newCmClub.searchName}&searchUserName=${newCmClub.searchUserName}&searchBindMobile=${newCmClub.searchBindMobile}&searchEmail=${newCmClub.searchEmail}&searchUserOrganizeID=${newCmClub.searchUserOrganizeID}&searchStatus=${newCmClub.searchStatus}&searchUserIdentity=${newCmClub.searchUserIdentity}&searchStartTime=${newCmClub.searchStartTime}&searchEndTime=${newCmClub.searchEndTime}">机构信息</a></li>
- </ul>
- <form:form id="inputForm" modelAttribute="cmClubinfo" action="${ctx}/new/user/agency/save?searchName=${newCmClub.searchName}&searchUserName=${newCmClub.searchUserName}&searchBindMobile=${newCmClub.searchBindMobile}&searchEmail=${newCmClub.searchEmail}&searchUserOrganizeID=${newCmClub.searchUserOrganizeID}&searchStatus=${newCmClub.searchStatus}&searchUserIdentity=${newCmClub.searchUserIdentity}&searchStartTime=${newCmClub.searchStartTime}&searchEndTime=${newCmClub.searchEndTime}" method="post"
- class="form-horizontal">
- <form:hidden path="id" value="${newCmClub.clubID}"/>
- <form:hidden path="clubInfoID"/>
- <form:hidden path="userID"/>
- <form:hidden path="clubID"/>
- <div style="max-width:1200px;padding:15px;">
- <table border="0" cellspacing="0" cellpadding="0" width="100%">
- <tr height="28">
- <th>状态:</th>
- <td colspan="5">${fns:getDictLabel(newCmClub.status, 'club_status', newCmClub.status)}</td>
- </tr>
- <tr height="28">
- <th width="12%">机构名称:</th>
- <td width="13%"><form:input path="name" htmlEscape="false" maxlength="20"
- class="input-medium" value="${newCmClub.userIdentity eq 4 && newCmClub.status eq 90?'':newCmClub.name}"/></td>
- <th width="12%">机构简称:</th>
- <td width="13%"><form:input path="sname" htmlEscape="false" maxlength="20"
- class="input-medium" value="${newCmClub.userIdentity eq 4 && newCmClub.status eq 90?'':newCmClub.sname}"/></td>
- <th width="12%">注册邮箱:</th>
- <td width="13%"><form:input path="contractEmail1" htmlEscape="false" maxlength="20"
- class="input-medium"/></td>
- </tr>
- <tr height="28">
- <th width="12%"><font color="red">*</font>联系人:</th>
- <td width="13%">
- <form:input path="userName" htmlEscape="false" maxlength="20"
- class="input-medium required" value="${newCmClub.userName}"/>
- </td>
- <th width="12%"><font color="red">*</font> 手机号:</th>
- <td colspan="3"><form:input path="bindMobile" htmlEscape="false" maxlength="20"
- class="input-medium required" value="${newCmClub.bindMobile}" onchange="checkMobile()"/></td>
- </tr>
- </table>
- </div>
- <input type="hidden" id="curProvince" name="curProvince" value="${newCmClub.province }" disabled="disabled">
- <input type="hidden" id="curCity" name="curCity" value="${newCmClub.city }" disabled="disabled">
- <input type="hidden" id="curTown" name="curTown" value="${newCmClub.town }" disabled="disabled">
- <sys:message content="${message}"/>
- <hr class="detailLine">
- <div>
- <table border="0" cellspacing="0" cellpadding="0" width="100%">
- <tr>
- <td colspan="2">
- <div class="control-group">
- <label class="control-label"><b>地址:</b></label>
- <div class="controls">
- <form:select path="provinceID" class="input-xlarge" id="province"
- onchange="loadCity()" style="width:100px;">
- <form:option value="" label="省" provinceId=""/>
- </form:select>
- <form:select path="cityID" class="input-xlarge" id="city" onchange="loadTown()"
- style="width:100px;">
- <form:option value="" label="市" cityId=""/>
- </form:select>
- <form:select path="townID" class="input-xlarge" id="town" style="width:100px;">
- <form:option value="" label="区"/>
- </form:select>
- <form:input path="address" class="input-xlarge userAddress" width="20px" maxlength="60"
- placeholder="请填写会所详细的地址"/>
- </div>
- </div>
- </td>
- </tr>
- <tr>
- <td colspan="2">
- <div class="control-group">
- <label class="control-label"><b>营业执照编号:</b></label>
- <div class="controls">
- <form:input path="socialCreditCode" htmlEscape="false" maxlength="18"
- class="input-xlarge" onchange="onlyNumOrLetter(this)"
- placeholder="请填写统一社会信用代码"/>
- </div>
- </div>
- </td>
- </tr>
- <tr>
- <td>
- <div class="control-group">
- <label class="control-label"><b>营业执照:</b></label>
- <div class="controls">
- <form:hidden id="businessLicenseImage" path="businessLicenseImage" htmlEscape="false"
- maxlength="255" class="input-xlarge required"/>
- <sys:ckfinder input="businessLicenseImage" type="images" uploadPath="/photo"
- selectMultiple="false" maxWidth="100" maxHeight="100"/>
- <font color="red">注意:请上传jpg/png格式的图片,最大不超过5M</font>
- </div>
- </div>
- </td>
- <td>
- <div class="control-group">
- <label class="control-label"><b>门头照:</b></label>
- <div class="controls">
- <form:hidden id="headpic" path="headpic" htmlEscape="false" maxlength="255"
- class="input-xlarge"/>
- <sys:ckfinder input="headpic" type="images" uploadPath="/photo" maxWidth="100" maxHeight="100"/>
- <font color="red">注意:请上传jpg/png格式的图片,最大不超过5M</font>
- </div>
- </div>
- </td>
- </tr>
- <tr>
- <td>
- <div class="control-group">
- <label class="control-label" for=""><b>机构类型:</b></label>
- <div class="medical-radio the-oradio">
- <input value="${cmClubinfo.firstClubType}" class="hide" type="text" id="firstClubType"/>
- <div class="med-beauty">
- <input name="firstClubType" value="1" type="radio" ${cmClubinfo.firstClubType == "1" ? "checked" : ""}/>医美
- </div>
- <div class="raw-beauty">
- <input name="firstClubType" value="2" type="radio" ${cmClubinfo.firstClubType == "2" ? "checked" : ""}/>生美
- </div>
- </div>
- <span class="err-tip"></span>
- <div class="med-option the-oradio" style="display: none">
- <div class="med-beauty"><input name="secondClubType" value="1"
- type="radio" ${cmClubinfo.secondClubType == "1" ? "checked" : ""}/>诊所
- </div>
- <div class="med-beauty"><input name="secondClubType" value="2"
- type="radio" ${cmClubinfo.secondClubType == "2" ? "checked" : ""}/>门诊
- </div>
- <div class="med-beauty"><input name="secondClubType" value="3"
- type="radio" ${cmClubinfo.secondClubType == "3" ? "checked" : ""}/>医院
- </div>
- <span class="err-tip"></span>
- </div>
- <div class="qualification control-group" style="display: none">
- <label class="control-label"><b>资质:</b></label>
- <div class="controls" style="margin-bottom: 10px">
- <form:hidden id="medicalPracticeLicenseImg" path="medicalPracticeLicenseImg"
- htmlEscape="false" maxlength="255"
- class="input-xlarge"/>
- <sys:ckfinder input="medicalPracticeLicenseImg" type="images" uploadPath="/photo"
- maxWidth="100" maxHeight="100"/>
- <font color="red">注意:请上传jpg/png格式的图片,最大不超过5M</font>
- </div>
- </div>
- </div>
- <div class="control-group epart" style="display: none">
- <label class="control-label"><b>科室:</b></label>
- <input class="reg-input" type="text" name="department" id="Department"
- placeholder="请填写您的所经营的科室,用逗号隔开。(至少三个)" value="${cmClubinfo.department}"
- style="margin-left: 10px;"/>
- <span class="err-tip"></span>
- </div>
- <div class="control-group Main-content" style="display: none">
- <label class="control-label" for=""><b>主营内容:</b></label>
- <div class="tags-area" id="clubArea"></div>
- <span class="err-tip" style="display: inline-block;margin-left:-55px;"></span>
- <input type="hidden" name="mainpro" value="${cmClubinfo.mainpro}" id="cMainPro">
- <div class="tags-operate">
- <span class="new-tag tag-other" id="clubOther">其他</span>
- <input type="text" class="reg-input tag-input" id="clubInput" placeholder="请输入自定义品项目"
- maxlength="5">
- <span class="new-tag tag-add" id="clubAdd">确认添加</span>
- </div>
- </div>
- </td>
- </tr>
- <tr>
- <td>
- <div class="control-group">
- <label class="control-label"><b>固定电话:</b></label>
- <div class="controls">
- <form:input path="contractPhone" htmlEscape="false" maxlength="11" class="input-xlarge"
- onchange="int(this)"/>
- </div>
- </div>
- <td>
- <div class="control-group">
- <label class="control-label"><b>传真:</b></label>
- <div class="controls">
- <form:input path="fax" htmlEscape="false" maxlength="18" class="input-xlarge"
- onchange="int(this)"/>
- </div>
- </div>
- </td>
- </tr>
- <tr>
- <td colspan="2">
- <div class="control-group">
- <label class="control-label"><b>员工人数:</b></label>
- <div class="controls">
- <form:input path="empnum" htmlEscape="false" maxlength="18" class="input-xlarge"
- onchange="onlyNumOrLetter(this)"/>
- </div>
- </div>
- </td>
- </tr>
- <tr>
- <td colspan="2">
- <div class="control-group">
- <label class="control-label"><b>公司简介:</b></label>
- <div class="controls">
- <form:textarea rows="7" cols="80" path="info" htmlEscape="false" maxlength="500"
- cssStyle="width:70%;"/>
- </div>
- </div>
- </td>
- </tr>
- </table>
- <div>
- <div class="clubInfo">
- <div class="clubInfoTitle">基本信息</div>
- <table border="0" cellspacing="0" cellpadding="0" width="100%">
- <tr height="28">
- <th>机构面积:</th>
- <td><form:input path="area" htmlEscape="false" class="input-medium" onkeyup="num(this)"/>
- </td>
- </tr>
- <tr height="28">
- <th>美容床数:</th>
- <td><form:input path="bedNums" htmlEscape="false" maxlength="11" class="input-medium"
- onkeyup="int(this)"/>
- <%--<input type="text" name="bedNums" value="${clubInfo.bedNums}">--%>
- </td>
- </tr>
- <tr height="28">
- <th>美容师数:</th>
- <td><form:input path="beauticians" htmlEscape="false" maxlength="11" class="input-medium"
- onkeyup="int(this)"/>
- </td>
- </tr>
- </table>
- </div>
- <div class="clubInfo">
- <div class="clubInfoTitle">业绩信息</div>
- <table border="0" cellspacing="0" cellpadding="0" width="100%">
- <tr height="28">
- <th>月业绩:</th>
- <td><form:input path="monthAchievement" htmlEscape="false" maxlength="63" class="input-medium"
- onkeyup="num(this)"/>
- </td>
- </tr>
- <tr height="28">
- <th>促销业绩:</th>
- <td><form:input path="promotionAchievement" htmlEscape="false" maxlength="63" class="input-medium"
- onkeyup="num(this)"/>
- </td>
- </tr>
- <tr height="28">
- <th>年业绩:</th>
- <td><form:input path="yearAchievement" htmlEscape="false" maxlength="63" class="input-medium"
- onkeyup="num(this)"/>
- </td>
- </tr>
- </table>
- </div>
- <div class="clubInfo">
- <div class="clubInfoTitle">会员信息及消费情况</div>
- <table border="0" cellspacing="0" cellpadding="0" width="100%">
- <tr height="28">
- <th>A类会员:</th>
- <td colspan="3" style="padding-top: 6px;">
- <form:input path="cateA" htmlEscape="false" maxlength="11" class="cut-input-medium"
- onkeyup="int(this)"/>人
- <form:input path="consumeA" htmlEscape="false" class="cut-input-medium" onkeyup="num(this)"/>元
- </td>
- </tr>
- <tr height="28">
- <th>B类会员:</th>
- <td colspan="3" style="padding-top: 6px;">
- <form:input path="cateB" htmlEscape="false" maxlength="11" class="cut-input-medium"
- onkeyup="int(this)"/>人
- <form:input path="consumeB" htmlEscape="false" class="cut-input-medium" onkeyup="num(this)"/>元
- </td>
- </tr>
- <tr height="28">
- <th>C类会员:</th>
- <td colspan="3" style="padding-top: 6px;">
- <form:input path="cateC" htmlEscape="false" maxlength="11" class="cut-input-medium"
- onkeyup="int(this)"/>人
- <form:input path="consumeC" htmlEscape="false" class="cut-input-medium" onkeyup="num(this)"/>元
- </td>
- </tr>
- </table>
- </div>
- <div class="clubInfo">
- <div class="clubInfoTitle">活动业绩</div>
- <table border="0" cellspacing="0" cellpadding="0" width="100%">
- <tr height="28">
- <th>最高业绩:</th>
- <td>
- <form:input path="highestAchievement" htmlEscape="false" maxlength="63" class="input-medium"
- onkeyup="num(this)"/>
- </td>
- </tr>
- <tr height="28">
- <th>到店人数:</th>
- <td>
- <form:input path="reachPepole" htmlEscape="false" maxlength="11" class="input-medium"
- onkeyup="int(this)"/>
- </td>
- </tr>
- <tr height="28">
- <th>成交人数:</th>
- <td>
- <form:input path="clinchPepole" htmlEscape="false" maxlength="11" class="input-medium"
- onkeyup="int(this)"/>
- </td>
- </tr>
- </table>
- </div>
- <table border="0" cellspacing="0" cellpadding="0" width="100%">
- <tr height="28">
- <th>店内所经营品牌及推广优势:</th>
- <td colspan="3">
- <form:textarea rows="7" cols="80" path="brandSuperiority" htmlEscape="false" cssStyle="width:90%;"
- maxlength="200"/>
- </td>
- <th>临近一次促销的模式及达成业绩:</th>
- <td colspan="3">
- <form:textarea rows="7" cols="80" path="lastPromotion" htmlEscape="false" cssStyle="width:90%;"
- maxlength="200"/>
- </td>
- </tr>
- </table>
- </div>
- <div class="form-actions">
- <c:if test="${source eq 1}">
- <input id="btnSubmit" class="btn btn-primary" type="submit" value="保 存"/>
- </c:if>
- <%-- <c:if test="${source eq 2 && newCmClub.status eq 1}">--%>
- <%-- <input id="btnAudit" class="btn btn-primary" type="button" onclick="toAudit(${newCmClub.clubID})"--%>
- <%-- value="审 核"/> --%>
- <%-- </c:if>--%>
- <input id="btnCancel" class="btn" type="button" value="返 回" onclick="history.go(-1)"/>
- </div>
- </form:form>
- </body>
- </html>
|