|
@@ -291,7 +291,7 @@
|
|
<div class="controls upload-content" id="secondHandImage">
|
|
<div class="controls upload-content" id="secondHandImage">
|
|
<div class="conList">
|
|
<div class="conList">
|
|
<form:hidden value="${product.image1}" id="image1" path="image1" htmlEscape="false"
|
|
<form:hidden value="${product.image1}" id="image1" path="image1" htmlEscape="false"
|
|
- maxlength="255" class="input-xlarge"/>
|
|
|
|
|
|
+ maxlength="255" class="input-xlarge required"/>
|
|
<sys:ckfinder input="image1" type="images" uploadPath="/photo" selectMultiple="false"
|
|
<sys:ckfinder input="image1" type="images" uploadPath="/photo" selectMultiple="false"
|
|
maxWidth="100"
|
|
maxWidth="100"
|
|
maxHeight="100"/>
|
|
maxHeight="100"/>
|
|
@@ -330,6 +330,398 @@
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
|
+ <tr>
|
|
|
|
+ <th>组合名称:</th>
|
|
|
|
+ <td colspan="3">
|
|
|
|
+ <form:select path="combinationID" class="input-small">
|
|
|
|
+ <form:option value="" label="请选择"/>
|
|
|
|
+ <form:options items="${combinationList}" itemLabel="name" itemValue="id" htmlEscape="false"/>
|
|
|
|
+ </form:select>
|
|
|
|
+ </td>
|
|
|
|
+ </tr>
|
|
|
|
+ <tr>
|
|
|
|
+ <th><span class="red">*</span>商品标签:</th>
|
|
|
|
+ <td colspan="3">
|
|
|
|
+ <input id="inputTags" maxlength="15" style="width:217px;border-radius:5px" placeholder="请输入商品标签"
|
|
|
|
+ class="input-small"/>
|
|
|
|
+ <button class="addTags" onclick="return false">添加标签</button>
|
|
|
|
+ <p style="margin-top: 5px">简述商品功效和特性,最多可添加6个标签,每个标签字数不超过15个汉字(如:美白祛斑,消除皱纹)</p>
|
|
|
|
+ <div id="tagsList">
|
|
|
|
+ <input type="hidden" name="tagsLists" value="${product.tags}" id="tagsLists">
|
|
|
|
+ <%--标签--%>
|
|
|
|
+ </div>
|
|
|
|
+ </td>
|
|
|
|
+ </tr>
|
|
|
|
+ <tr>
|
|
|
|
+ <th><span class="red">*</span>商品属性:</th>
|
|
|
|
+ <td colspan="3">
|
|
|
|
+ <label><input type="radio" name="commodityType" value="1"
|
|
|
|
+ onchange="loadBigType()" ${product.commodityType == "1" ? "checked" : ""} />产品<b
|
|
|
|
+ class="line">|</b></label>
|
|
|
|
+ <label><input type="radio" name="commodityType" value="2"
|
|
|
|
+ onchange="loadBigType()" ${product.commodityType == "2" ? "checked" : ""} />仪器</label>
|
|
|
|
+ </td>
|
|
|
|
+ </tr>
|
|
|
|
+ <tr class="training" hidden>
|
|
|
|
+ <th><span class="red">*</span>培训方式:</th>
|
|
|
|
+ <td colspan="3">
|
|
|
|
+ <label><input type="radio" name="trainingMethod"
|
|
|
|
+ value="1" ${empty product.trainingMethod || product.trainingMethod == 1 ? "checked" : ""} />线上培训<b
|
|
|
|
+ class="line">|</b></label>
|
|
|
|
+ <label><input type="radio" name="trainingMethod"
|
|
|
|
+ value="2" ${product.trainingMethod == 2 ? "checked" : ""} />线下培训</label>
|
|
|
|
+ </td>
|
|
|
|
+ </tr>
|
|
|
|
+ <tr class="training" hidden>
|
|
|
|
+ <th><span class="red">*</span>培训费用:</th>
|
|
|
|
+ <td colspan="3">
|
|
|
|
+ <label><input type="radio" name="trainingType"
|
|
|
|
+ value="1" ${empty product.trainingType || product.trainingType == 1 ? "checked" : ""}
|
|
|
|
+ onchange="trainingShow()"/>售价未包含<b class="line">|</b></label>
|
|
|
|
+ <label><input type="radio" name="trainingType" value="2" ${product.trainingType == 2 ? "checked" : ""}
|
|
|
|
+ onchange="trainingShow()"/>售价已包含</label>
|
|
|
|
+ </td>
|
|
|
|
+ </tr>
|
|
|
|
+ <tr id="trainingFee" hidden>
|
|
|
|
+ <th></th>
|
|
|
|
+ <td colspan="3">
|
|
|
|
+ <input type="number" name="trainingFee" value="${product.trainingFee}" style="width: 250px" min="0"
|
|
|
|
+ placeholder="请填写包含食宿,交通等各项费用的总金额"/>
|
|
|
|
+ </td>
|
|
|
|
+ </tr>
|
|
|
|
+ <tr>
|
|
|
|
+ <th><span class="red">*</span>分类:</th>
|
|
|
|
+ <td colspan="3">
|
|
|
|
+ <form:select path="bigTypeID" class="input-small required" id="bigType" onchange="loadSmallType()">
|
|
|
|
+ <form:option value="" label="请选择"/>
|
|
|
|
+ <form:options items="${classify.bigTypeList}" itemLabel="name" itemValue="bigTypeID"
|
|
|
|
+ htmlEscape="false"/>
|
|
|
|
+ </form:select>
|
|
|
|
+ <form:select path="smallTypeID" class="input-small" id="smallType" onchange="loadTinyType()">
|
|
|
|
+ <form:option value="" label="请选择"/>
|
|
|
|
+ <c:forEach items="${classify.smalltypeList}" var="smallType">
|
|
|
|
+ <form:option value="${smallType.smallTypeID}" label="${smallType.name}"
|
|
|
|
+ bigTypeID="${smallType.bigTypeID}"/>
|
|
|
|
+ </c:forEach>
|
|
|
|
+ </form:select>
|
|
|
|
+ <form:select path="tinyTypeID" class="input-small" id="tinyType">
|
|
|
|
+ <form:option value="" label="请选择"/>
|
|
|
|
+ <c:forEach items="${classify.tinytypeList}" var="tinyType">
|
|
|
|
+ <form:option value="${tinyType.tinyTypeID}" label="${tinyType.name}"
|
|
|
|
+ bigTypeID="${tinyType.smallTypeID}"/>
|
|
|
|
+ </c:forEach>
|
|
|
|
+ </form:select>
|
|
|
|
+ </td>
|
|
|
|
+ </tr>
|
|
|
|
+ <tr>
|
|
|
|
+ <th><span class="red">*</span>商品类型:</th>
|
|
|
|
+ <td colspan="3">
|
|
|
|
+ <form:select path="productType" class="input-small required" onclick="changeMachine(this)">
|
|
|
|
+ <form:option value="" label="请选择"/>
|
|
|
|
+ <form:option value="1" label="妆字号"/>
|
|
|
|
+ <form:option value="2" label="械字号"/>
|
|
|
|
+ <form:option value="0" label="其它"/>
|
|
|
|
+ </form:select>
|
|
|
|
+ <span class="machineType">
|
|
|
|
+ <form:select path="machineType" class="input-small">
|
|
|
|
+ <form:option value="" label="请选择"/>
|
|
|
|
+ <form:option value="1" label="一类"/>
|
|
|
|
+ <form:option value="2" label="二类"/>
|
|
|
|
+ <form:option value="3" label="三类"/>
|
|
|
|
+ </form:select>
|
|
|
|
+ </span>
|
|
|
|
+ </td>
|
|
|
|
+ </tr>
|
|
|
|
+ <tr id="xiezihao" class="machineType">
|
|
|
|
+ <th><span class="red">*</span>资质证书:</th>
|
|
|
|
+ <td colspan="3">
|
|
|
|
+ <%-- 械字号医疗证书--%>
|
|
|
|
+ <form:hidden id="qualificationImg" path="qualificationImg" htmlEscape="false" maxlength="255"
|
|
|
|
+ class="input-xlarge"/>
|
|
|
|
+ <sys:ckfinder input="qualificationImg" type="images" uploadPath="/photo" selectMultiple="false"
|
|
|
|
+ maxWidth="100" maxHeight="100"/>
|
|
|
|
+ </td>
|
|
|
|
+ </tr>
|
|
|
|
+ <tr>
|
|
|
|
+ <th><span class="red">*</span>市场价:</th>
|
|
|
|
+ <td colspan="3"><form:input path="normalPrice" type="number" maxlength="11"
|
|
|
|
+ class="short input-small required"/>元
|
|
|
|
+ </td>
|
|
|
|
+ </tr>
|
|
|
|
+ <tr>
|
|
|
|
+ <th><span class="red">*</span>商品展示价格:</th>
|
|
|
|
+ <td colspan="3">
|
|
|
|
+ <label><input type="radio" name="ladderPriceFlag" value="0"
|
|
|
|
+ onchange="changeLadderPrice()" ${product.ladderPriceFlag == "0" ? "checked" : ""} />不使用阶梯价格<b
|
|
|
|
+ class="line">|</b></label>
|
|
|
|
+ <label><input type="radio" name="ladderPriceFlag" value="1"
|
|
|
|
+ onchange="changeLadderPrice()" ${product.ladderPriceFlag == "1" ? "checked" : ""} />使用阶梯价格</label>
|
|
|
|
+ </td>
|
|
|
|
+ </tr>
|
|
|
|
+ <tr>
|
|
|
|
+ <th style="vertical-align:top;padding-top:15px;"><span class="red">*</span>机构价:</th>
|
|
|
|
+ <td colspan="3">
|
|
|
|
+ <div class="item">
|
|
|
|
+ <div id="normalPriceBox">
|
|
|
|
+ <form:input path="price" type="number" id="price" maxlength="11"
|
|
|
|
+ class="short computedPrice required" onkeyup="computedPriceLevel(this.value)"/>
|
|
|
|
+ <b class="line">|</b>游客展示等级:<span>
|
|
|
|
+ <i class="priceIcon"></i>
|
|
|
|
+ <i class="priceIcon"></i>
|
|
|
|
+ <i class="priceIcon"></i>
|
|
|
|
+ <i class="priceIcon"></i>
|
|
|
|
+ <i class="priceIcon"></i>
|
|
|
|
+ </span>
|
|
|
|
+ </div>
|
|
|
|
+ <div id="ladderPriceBox">
|
|
|
|
+ <div id="ladderPrice1">
|
|
|
|
+ 起订量:<form:input path="ladderPriceList[0].buyNum" min="1" type="number" maxlength="11"
|
|
|
|
+ class="short number" onblur="checkBuyNum(this, 0)"/>(${product.unit})及以上,
|
|
|
|
+ <form:input path="ladderPriceList[0].buyPrice" type="number" maxlength="11"
|
|
|
|
+ class="short price" onblur="checkBuyPrice(this, 0)"/>元/(${product.unit})
|
|
|
|
+ <span class="showBtn ${null != product.ladderPriceList[1] && null != product.ladderPriceList[1].buyNum ? "hide" : ""}">
|
|
|
|
+ <a class="addBtn" href="javascript:;">添加</a>
|
|
|
|
+ <form:hidden path="ladderPriceList[0].id"/>
|
|
|
|
+ <form:hidden path="ladderPriceList[0].delFlag" id="delFlag1"/>
|
|
|
|
+ </span>
|
|
|
|
+ </div>
|
|
|
|
+ <div id="ladderPrice2" ${null == product.ladderPriceList[1] && null == product.ladderPriceList[1].buyNum ? "class='hide'" : ""}>
|
|
|
|
+ 起订量:<form:input path="ladderPriceList[1].buyNum" type="number" maxlength="11"
|
|
|
|
+ class="short number" onblur="checkBuyNum(this, 1)"/>(${product.unit})及以上,
|
|
|
|
+ <form:input path="ladderPriceList[1].buyPrice" type="number" maxlength="11"
|
|
|
|
+ class="short price" onblur="checkBuyPrice(this, 1)"/>元/(${product.unit})
|
|
|
|
+ <span class="showBtn ${null != product.ladderPriceList[2] && null != product.ladderPriceList[2].buyNum ? "hide" : ""}">
|
|
|
|
+ <a class="delBtn" href="javascript:;">删除</a> / <a class="addBtn"
|
|
|
|
+ href="javascript:;">添加</a>
|
|
|
|
+ <form:hidden path="ladderPriceList[1].id"/>
|
|
|
|
+ <form:hidden path="ladderPriceList[1].delFlag" id="delFlag2"/>
|
|
|
|
+ </span>
|
|
|
|
+ </div>
|
|
|
|
+ <div id="ladderPrice3" ${null == product.ladderPriceList[2] && null == product.ladderPriceList[2].buyNum ? "class='hide'" : ""}>
|
|
|
|
+ 起订量:<form:input path="ladderPriceList[2].buyNum" type="number" maxlength="11"
|
|
|
|
+ class="short number" onblur="checkBuyNum(this, 2)"/>(${product.unit})及以上,
|
|
|
|
+ <form:input path="ladderPriceList[2].buyPrice" type="number" maxlength="11"
|
|
|
|
+ class="short price" onblur="checkBuyPrice(this, 2)"/>元/(${product.unit})
|
|
|
|
+ <span class="showBtn"><a class="delBtn" href="javascript:;">删除</a></span>
|
|
|
|
+ <form:hidden path="ladderPriceList[2].id"/>
|
|
|
|
+ <form:hidden path="ladderPriceList[2].delFlag" id="delFlag3"/>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ </td>
|
|
|
|
+ </tr>
|
|
|
|
+ <tr>
|
|
|
|
+ <th><span class="red">*</span>是否含税:</th>
|
|
|
|
+ <td>
|
|
|
|
+
|
|
|
|
+ <label><input type="radio" name="includedTax" value="1"
|
|
|
|
+ onclick="chageIncludedTax(${product.taxPoint})" ${product.includedTax == "1" ? "checked" : ""}>含税<b
|
|
|
|
+ class="line">|</b></label>
|
|
|
|
+ <label><input type="radio" name="includedTax" value="0"
|
|
|
|
+ onclick="chageIncludedTax(${product.taxPoint})" ${product.includedTax == "0" ? "checked" : ""}>不含税<b
|
|
|
|
+ class="line">|</b></label>
|
|
|
|
+ <label><input type="radio" name="includedTax" value="2"
|
|
|
|
+ onclick="chageIncludedTax(${product.taxPoint})" ${product.includedTax == "2" ? "checked" : ""}>未知</label>
|
|
|
|
+ </td>
|
|
|
|
+ </tr>
|
|
|
|
+ <tr id="invoiceItem">
|
|
|
|
+ <th></th>
|
|
|
|
+ <td>
|
|
|
|
+ <span class="invoice">
|
|
|
|
+ <label><input type="radio" name="invoiceType" value="1"
|
|
|
|
+ onclick="changeInvoiceType(${product.taxPoint})" ${product.invoiceType == "1" ? "checked" : ""}>开增值税专用发票<b
|
|
|
|
+ class="line">|</b></label>
|
|
|
|
+ <label><input type="radio" name="invoiceType" value="2"
|
|
|
|
+ onclick="changeInvoiceType(${product.taxPoint})" ${product.invoiceType == "2" ? "checked" : ""}>开增值税普通发票</label>
|
|
|
|
+ </span>
|
|
|
|
+ <span class="notInvoice">
|
|
|
|
+ <b class="line">|</b>
|
|
|
|
+ <label><input type="radio" name="invoiceType" value="3"
|
|
|
|
+ onclick="changeInvoiceType(${product.taxPoint})" ${product.invoiceType == "3" ? "checked" : ""}>不能开票</label>
|
|
|
|
+ </span>
|
|
|
|
+ </td>
|
|
|
|
+ </tr>
|
|
|
|
+ <tr>
|
|
|
|
+ <th>线上分账账号:</th>
|
|
|
|
+ <td colspan="3">
|
|
|
|
+ <form:input path="splitCode" type="number" id="splitCode" maxlength="10"/>
|
|
|
|
+ </td>
|
|
|
|
+ </tr>
|
|
|
|
+ <tr id="taxPointDiv">
|
|
|
|
+ <th><span class="red">*</span>机构税率:</th>
|
|
|
|
+ <td>
|
|
|
|
+ <span><form:input path="taxPoint" maxlength="5" cssStyle="width: 35PX" class="number"
|
|
|
|
+ onchange="setTwoNumberDecimal(this)"/>%</span>
|
|
|
|
+ </td>
|
|
|
|
+ </tr>
|
|
|
|
+ <tr id="supplierTaxPointDiv">
|
|
|
|
+ <th><span class="red">*</span>供应商税率:</th>
|
|
|
|
+ <td>
|
|
|
|
+ <span><form:input path="supplierTaxPoint" maxlength="5" cssStyle="width: 35PX" class="number"
|
|
|
|
+ onchange="setTwoNumberDecimal(this)"/>%</span>
|
|
|
|
+ </td>
|
|
|
|
+ </tr>
|
|
|
|
+
|
|
|
|
+ <tr id="priceMinNumber">
|
|
|
|
+ <th><span class="red">*</span>起订量:</th>
|
|
|
|
+ <td colspan="3"><form:input path="minBuyNumber" maxlength="11" class="short"/></td>
|
|
|
|
+ </tr>
|
|
|
|
+ <tr>
|
|
|
|
+ <th><span class="red">*</span>商品可见度:</th>
|
|
|
|
+ <td colspan="3">
|
|
|
|
+ <form:select path="visibility" class="input-large required" id="visibility">
|
|
|
|
+ <form:option value="3" label="所有人可见"/>
|
|
|
|
+ <form:option value="2" label="所有机构可见"/>
|
|
|
|
+ <form:option value="1" label="仅会员机构可见"/>
|
|
|
|
+ <form:option value="4" label="仅医美机构可见"/>
|
|
|
|
+ </form:select>
|
|
|
|
+ </td>
|
|
|
|
+ </tr>
|
|
|
|
+ <tr>
|
|
|
|
+ <th><span class="red">*</span>价格可见度:</th>
|
|
|
|
+ <td colspan="3">
|
|
|
|
+ <form:select path="priceFlag" class="input-large required" id="priceFlag">
|
|
|
|
+ <form:option value="0" label="对所有机构公开"/>
|
|
|
|
+ <form:option value="2" label="仅对会员机构公开"/>
|
|
|
|
+ <form:option value="3" label="仅对医美机构公开"/>
|
|
|
|
+ <form:option value="1" label="价格不公开"/>
|
|
|
|
+ </form:select>
|
|
|
|
+ </td>
|
|
|
|
+ </tr>
|
|
|
|
+ <tr>
|
|
|
|
+ <th><span class="red">*</span>成本:</th>
|
|
|
|
+ <td colspan="3">
|
|
|
|
+ <label><input type="radio" name="costCheckFlag" value="1"
|
|
|
|
+ onchange="changeCostPriceShow()" ${product.costCheckFlag == "1" ? "checked" : ""} />固定成本<b
|
|
|
|
+ class="line">|</b></label>
|
|
|
|
+ <label><input type="radio" name="costCheckFlag" value="2"
|
|
|
|
+ onchange="changeCostPriceShow()" ${product.costCheckFlag == "1" ? "" : "checked"} />比例成本</label>
|
|
|
|
+ </td>
|
|
|
|
+ </tr>
|
|
|
|
+ <tr id="costPriceShow">
|
|
|
|
+ <th><span class="red">*</span><b class="costFlagText">成本价</b>:</th>
|
|
|
|
+ <td colspan="3"><form:input path="costPrice" id="costPrice" type="number" maxlength="11" class="short"/> 元
|
|
|
|
+ </td>
|
|
|
|
+ </tr>
|
|
|
|
+ <tr id="costPropShow">
|
|
|
|
+ <th><span class="red">*</span>比例成本百分比:</th>
|
|
|
|
+ <td colspan="3"><form:input path="costProportional" id="costProportional" type="number" maxlength="11"
|
|
|
|
+ class="short"/> %
|
|
|
|
+ </td>
|
|
|
|
+ </tr>
|
|
|
|
+ <tr>
|
|
|
|
+ <th>库存:</th>
|
|
|
|
+ <td colspan="3"><form:input path="stock" type="number" maxlength="11" class="short"/></td>
|
|
|
|
+ </tr>
|
|
|
|
+ <tr>
|
|
|
|
+ <th><span class="red">*</span>购买数量:</th>
|
|
|
|
+ <td colspan="3">
|
|
|
|
+ <label><input type="radio" name="step" value="1" ${product.step == "1" ? "checked" : ""}>逐步增长<b
|
|
|
|
+ class="line">|</b></label>
|
|
|
|
+ <label><input type="radio" name="step" value="2" ${product.step == "2" ? "checked" : ""}>以起订量增长</label>
|
|
|
|
+ </td>
|
|
|
|
+ </tr>
|
|
|
|
+ <tr>
|
|
|
|
+ <th><span class="red">*</span>运费:</th>
|
|
|
|
+ <%--<td colspan="3">
|
|
|
|
+ <label><input type="radio" name="byFlag" value="0" ${product.byFlag == "0" ? "checked" : ""}>买家承担<b class="line">|</b></label>
|
|
|
|
+ <label><input type="radio" name="byFlag" value="1" ${product.byFlag == "1" ? "checked" : ""}>卖家承担</label>
|
|
|
|
+ </td>--%>
|
|
|
|
+ <td colspan="3">
|
|
|
|
+ <label><input type="radio" name="freePostFlag"
|
|
|
|
+ value="2" ${(empty product.freePostFlag || product.freePostFlag eq "2") ? "checked" : ""}>默认(遵循运费规则)<b
|
|
|
|
+ class="line">|</b></label>
|
|
|
|
+ <label><input type="radio" name="freePostFlag"
|
|
|
|
+ value="0" ${product.freePostFlag == "0" ? "checked" : ""}>包邮<b class="line">|</b></label>
|
|
|
|
+ <label><input type="radio" name="freePostFlag"
|
|
|
|
+ value="1" ${product.freePostFlag == "1" ? "checked" : ""}>到付</label>
|
|
|
|
+ </td>
|
|
|
|
+ </tr>
|
|
|
|
+ <tr>
|
|
|
|
+ <th><span class="red">*</span>包装规格:</th>
|
|
|
|
+ <td><form:input path="unit" maxlength="20" class="short required"/></td>
|
|
|
|
+ </tr>
|
|
|
|
+ <tr>
|
|
|
|
+ <th><span class="red">*</span>销售区域:</th>
|
|
|
|
+ <td colspan="3">
|
|
|
|
+ <label><input type="radio" name="allAreaFlag" value="1"
|
|
|
|
+ onchange="changeAreaFlag()" ${product.allAreaFlag == "1" ? "checked" : ""}>全部区域<b
|
|
|
|
+ class="line">|</b></label>
|
|
|
|
+ <label><input type="radio" name="allAreaFlag" value="0"
|
|
|
|
+ onchange="changeAreaFlag()" ${product.allAreaFlag == "1" ? "" : "checked"}>指定区域</label>
|
|
|
|
+ </td>
|
|
|
|
+ </tr>
|
|
|
|
+ <tr>
|
|
|
|
+ <th>商品说明:</th>
|
|
|
|
+ <td colspan="3">
|
|
|
|
+ <form:textarea path="productDescribe" id="wipeRemarks" maxlength="200" placeholder="请输入备注文字,不能超过200字" class="input-xlarge" rows="4"></form:textarea>
|
|
|
|
+ <p style="width:500px;text-align:left;"><span id="remarkLen" style="color:red;">0</span>/200</p>
|
|
|
|
+ </td>
|
|
|
|
+ </tr>
|
|
|
|
+ <tr id="allAreaInput">
|
|
|
|
+ <th></th>
|
|
|
|
+ <td>
|
|
|
|
+ <span>
|
|
|
|
+ <form:checkboxes path="provinceIDs" items="${provinceList}" itemLabel="name" itemValue="id"/>
|
|
|
|
+ </span>
|
|
|
|
+ </td>
|
|
|
|
+ </tr>
|
|
|
|
+ <tr>
|
|
|
|
+ <th>订购方案:</th>
|
|
|
|
+ <td colspan="3">
|
|
|
|
+ <div class="detailInfoEditor" style="width: 620px;">
|
|
|
|
+ <form:textarea path="orderInfo" class="input-xlarge hide"/>
|
|
|
|
+ <!-- 富文本编辑器 -->
|
|
|
|
+ <div id="orderInfoEditor">${product.orderInfo}</div>
|
|
|
|
+ </div>
|
|
|
|
+ </td>
|
|
|
|
+ </tr>
|
|
|
|
+ <tr>
|
|
|
|
+ <th>服务详情:</th>
|
|
|
|
+ <td colspan="3">
|
|
|
|
+ <div class="detailInfoEditor" style="width: 620px;">
|
|
|
|
+ <form:textarea path="serviceInfo" class="input-xlarge hide"/>
|
|
|
|
+ <!-- 富文本编辑器 -->
|
|
|
|
+ <div id="serviceInfoEditor">${product.serviceInfo}</div>
|
|
|
|
+ </div>
|
|
|
|
+ </td>
|
|
|
|
+ </tr>
|
|
|
|
+ <tr>
|
|
|
|
+ <th><span class="red">*</span>资质机构商品详情:</th>
|
|
|
|
+ <td><span style="color: red">(适用于资质机构)</span></td>
|
|
|
|
+ <th><span class="red">*</span>普通机构商品详情:</th>
|
|
|
|
+ <td><span style="color: red">(适用于游客和个人机构,可选择是否和资质机构商品详情相同,不相同的话需要编辑内容)</span>
|
|
|
|
+ <label>
|
|
|
|
+ <input type="radio"
|
|
|
|
+ name="productDetail"
|
|
|
|
+ value="1" ${product.productDetail == "1" ? "checked" : ""} />同资质机构商品详情<b
|
|
|
|
+ class="line">|</b>
|
|
|
|
+ </label>
|
|
|
|
+ <label>
|
|
|
|
+ <input type="radio"
|
|
|
|
+ name="productDetail"
|
|
|
|
+ value="2" ${product.productDetail == "2" || product.productDetail == null ? "checked" : ""} />不同于资质机构商品详情(即使用以下编辑内容)
|
|
|
|
+ </label>
|
|
|
|
+ </td>
|
|
|
|
+ </tr>
|
|
|
|
+ <tr>
|
|
|
|
+ <td colspan="2" style="vertical-align: top;">
|
|
|
|
+ <div class="detailInfoEditor" style="width: 620px;">
|
|
|
|
+ <form:textarea path="detailInfo" htmlEscape="false" class="input-xlarge required hide"/>
|
|
|
|
+ <!-- 富文本编辑器 -->
|
|
|
|
+ <div id="detailInfoEditor">${product.detailInfo}</div>
|
|
|
|
+ </div>
|
|
|
|
+ </td>
|
|
|
|
+ <td colspan="3" style="vertical-align: top;">
|
|
|
|
+ <div class="detailInfoEditor" style="width: 620px;">
|
|
|
|
+ <form:textarea path="commonDetailInfo" htmlEscape="false" class="input-xlarge required hide"/>
|
|
|
|
+ <!-- 富文本编辑器 -->
|
|
|
|
+ <div id="detailInfoEditor2">${product.commonDetailInfo==""||product.commonDetailInfo==null?"若要查看更多产品信息,请注册机构会员,如有疑问请联系客服。":product.commonDetailInfo}</div>
|
|
|
|
+ </div>
|
|
|
|
+ </td>
|
|
|
|
+ </tr>
|
|
|
|
+
|
|
|
|
+
|
|
<div class="form-actions">
|
|
<div class="form-actions">
|
|
<input id="btnSubmit" class="btn btn-primary" type="submit" value="保 存"/>
|
|
<input id="btnSubmit" class="btn btn-primary" type="submit" value="保 存"/>
|
|
<input id="btnCancel" class="btn" type="button" value="返 回" onclick="history.go(-1)"/>
|
|
<input id="btnCancel" class="btn" type="button" value="返 回" onclick="history.go(-1)"/>
|