|
@@ -13,10 +13,7 @@
|
|
submitHandler: function (form) {
|
|
submitHandler: function (form) {
|
|
var costCheckFlag = $("input[name='costCheckFlag']:checked").val();
|
|
var costCheckFlag = $("input[name='costCheckFlag']:checked").val();
|
|
var find = $("input[name='ids']:checked").val();
|
|
var find = $("input[name='ids']:checked").val();
|
|
- if (!find >= 1) {
|
|
|
|
- alertx("请选择商品包含的文件!");
|
|
|
|
- return false;
|
|
|
|
- }
|
|
|
|
|
|
+
|
|
var publishIdentity = $("input[name='publishIdentity']:checked").val();
|
|
var publishIdentity = $("input[name='publishIdentity']:checked").val();
|
|
console.log(publishIdentity);
|
|
console.log(publishIdentity);
|
|
if (!publishIdentity > 0) {
|
|
if (!publishIdentity > 0) {
|
|
@@ -546,18 +543,18 @@
|
|
<form:input path="townId" Id="townId" type="hidden" value="${cmSecondHandDetail.townId}"/>
|
|
<form:input path="townId" Id="townId" type="hidden" value="${cmSecondHandDetail.townId}"/>
|
|
<label class="control-label"><font color="red">*</font>联系地址:</label>
|
|
<label class="control-label"><font color="red">*</font>联系地址:</label>
|
|
<div>
|
|
<div>
|
|
- <form:select path="province" class="input-xlarge required" id="province"
|
|
|
|
|
|
+ <form:select path="province" class="input-xlarge " id="province"
|
|
onchange="loadCity()" style="width:100px;">
|
|
onchange="loadCity()" style="width:100px;">
|
|
<form:option value="" label="省" provinceId=""/>
|
|
<form:option value="" label="省" provinceId=""/>
|
|
</form:select>
|
|
</form:select>
|
|
- <form:select path="city" class="input-xlarge required" id="city" onchange="loadTown()"
|
|
|
|
|
|
+ <form:select path="city" class="input-xlarge " id="city" onchange="loadTown()"
|
|
style="width:100px;">
|
|
style="width:100px;">
|
|
<form:option value="" label="市" cityId=""/>
|
|
<form:option value="" label="市" cityId=""/>
|
|
- </form:select>
|
|
|
|
- <form:select path="town" class="input-xlarge required" id="town" style="width:100px;">
|
|
|
|
|
|
+ </form:select> <%--required--%>
|
|
|
|
+ <form:select path="town" class="input-xlarge " id="town" style="width:100px;">
|
|
<form:option value="" label="区"/>
|
|
<form:option value="" label="区"/>
|
|
</form:select>
|
|
</form:select>
|
|
- <form:input path="address" htmlEscape="false" maxlength="100" class="input-xlarge required"/>
|
|
|
|
|
|
+ <form:input path="address" htmlEscape="false" maxlength="100" class="input-xlarge "/>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="control-group">
|
|
<div class="control-group">
|