|
@@ -696,7 +696,7 @@
|
|
<tr>
|
|
<tr>
|
|
<th><span class="red">*</span>商品可见度:</th>
|
|
<th><span class="red">*</span>商品可见度:</th>
|
|
<td colspan="3">
|
|
<td colspan="3">
|
|
- <form:select path="visibility" class="input-large required" id="visibility">
|
|
|
|
|
|
+ <form:select path="visibility" class="input-large required">
|
|
<form:option value="3" label="所有人可见"/>
|
|
<form:option value="3" label="所有人可见"/>
|
|
<form:option value="2" label="所有机构可见"/>
|
|
<form:option value="2" label="所有机构可见"/>
|
|
<form:option value="1" label="仅会员机构可见"/>
|
|
<form:option value="1" label="仅会员机构可见"/>
|
|
@@ -707,7 +707,7 @@
|
|
<tr>
|
|
<tr>
|
|
<th><span class="red">*</span>价格可见度:</th>
|
|
<th><span class="red">*</span>价格可见度:</th>
|
|
<td colspan="3">
|
|
<td colspan="3">
|
|
- <form:select path="priceFlag" class="input-large required" id="priceFlag">
|
|
|
|
|
|
+ <form:select path="priceFlag" class="input-large required">
|
|
<form:option value="0" label="对所有机构公开"/>
|
|
<form:option value="0" label="对所有机构公开"/>
|
|
<form:option value="2" label="仅对会员机构公开"/>
|
|
<form:option value="2" label="仅对会员机构公开"/>
|
|
<form:option value="3" label="仅对医美机构公开"/>
|
|
<form:option value="3" label="仅对医美机构公开"/>
|
|
@@ -886,23 +886,18 @@
|
|
<script type="text/javascript" src="${ctxStatic}/ckeditor5-new/ckeditor.js"></script>
|
|
<script type="text/javascript" src="${ctxStatic}/ckeditor5-new/ckeditor.js"></script>
|
|
<script type="text/javascript">
|
|
<script type="text/javascript">
|
|
|
|
|
|
- $(function (){
|
|
|
|
-
|
|
|
|
-
|
|
|
|
-
|
|
|
|
-
|
|
|
|
|
|
+ $(function () {
|
|
|
|
+ debugger
|
|
var productType= $("#productType").val();
|
|
var productType= $("#productType").val();
|
|
if (productType=="2"){
|
|
if (productType=="2"){
|
|
-
|
|
|
|
-
|
|
|
|
- $("#priceFlag").val(3);
|
|
|
|
- $("#visibility").val(4);
|
|
|
|
|
|
+ $("#s2id_priceFlag").val(3);
|
|
|
|
+ $("#s2id_visibility").val(4);
|
|
$("#visibility").prev().find(".select2-chosen").text("仅对医美机构开放");
|
|
$("#visibility").prev().find(".select2-chosen").text("仅对医美机构开放");
|
|
$("#priceFlag").prev().find(".select2-chosen").text("仅对医美机构开放");
|
|
$("#priceFlag").prev().find(".select2-chosen").text("仅对医美机构开放");
|
|
$("#priceFlag").prop("disabled",true);
|
|
$("#priceFlag").prop("disabled",true);
|
|
$("#visibility").prop("disabled",true);
|
|
$("#visibility").prop("disabled",true);
|
|
}
|
|
}
|
|
- })
|
|
|
|
|
|
+ });
|
|
|
|
|
|
function js(){
|
|
function js(){
|
|
var val = $("#productType").val();
|
|
var val = $("#productType").val();
|
|
@@ -1264,6 +1259,7 @@
|
|
|
|
|
|
//初始化标签
|
|
//初始化标签
|
|
$(function () {
|
|
$(function () {
|
|
|
|
+ debugger
|
|
var html = '';
|
|
var html = '';
|
|
//解析参数
|
|
//解析参数
|
|
var tagsLists = $("#tagsLists").val();
|
|
var tagsLists = $("#tagsLists").val();
|