Duan_xu %!s(int64=3) %!d(string=hai) anos
pai
achega
56e9beb11a

+ 22 - 0
src/main/java/com/caimei/modules/product/entity/Product.java

@@ -224,6 +224,28 @@ public class Product extends DataEntity<Product> {
      */
     private Integer searchType;
 
+    /*
+    *发布类型1.二手预成交商品 2.二手估价商品
+     */
+    private Integer announType;
+
+
+    public String getBeautyActFlag() {
+        return beautyActFlag;
+    }
+
+    public void setBeautyActFlag(String beautyActFlag) {
+        this.beautyActFlag = beautyActFlag;
+    }
+
+    public Integer getAnnounType() {
+        return announType;
+    }
+
+    public void setAnnounType(Integer announType) {
+        this.announType = announType;
+    }
+
     public Double getSqlCostProportional() {
         return sqlCostProportional;
     }

+ 6 - 9
src/main/webapp/WEB-INF/views/modules/product/cmSecondDetailForm.jsp

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