Browse Source

商品发布

zhijiezhao 3 years ago
parent
commit
9def291b9b

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

@@ -127,6 +127,7 @@ public class Product extends DataEntity<Product> {
     private Integer trainingType; //售价是否包含:1售价未包含,2售价已包含
     private Integer trainingType; //售价是否包含:1售价未包含,2售价已包含
     private BigDecimal trainingFee; //培训费用(售价未包含)
     private BigDecimal trainingFee; //培训费用(售价未包含)
     private Integer svipFlag;	//超级会员商品标识:1是,2不是
     private Integer svipFlag;	//超级会员商品标识:1是,2不是
+    private Integer publishIdentity; //发布者身份 1,个人,2.公司
 
 
     //以下参数是搜索回显参数
     //以下参数是搜索回显参数
     private String searchName;
     private String searchName;
@@ -220,6 +221,14 @@ public class Product extends DataEntity<Product> {
         this.splitCode = splitCode;
         this.splitCode = splitCode;
     }
     }
 
 
+    public Integer getPublishIdentity() {
+        return publishIdentity;
+    }
+
+    public void setPublishIdentity(Integer publishIdentity) {
+        this.publishIdentity = publishIdentity;
+    }
+
     public String getProductDescribe() {
     public String getProductDescribe() {
         return productDescribe;
         return productDescribe;
     }
     }

+ 1 - 1
src/main/webapp/WEB-INF/views/modules/product-new/productEdit.jsp

@@ -444,7 +444,7 @@
             </td>
             </td>
         </tr>
         </tr>
         <tr>
         <tr>
-            <th><span class="red">*</span>线上分账账号:</th>
+            <th>线上分账账号:</th>
             <td colspan="3">
             <td colspan="3">
                 <form:input path="splitCode" type="number" id="splitCode" maxlength="10"/>
                 <form:input path="splitCode" type="number" id="splitCode" maxlength="10"/>
             </td>
             </td>

+ 23 - 12
src/main/webapp/WEB-INF/views/modules/product-new/secondHand.jsp

@@ -68,15 +68,6 @@
                     <form:option value="1" label="已售"/>
                     <form:option value="1" label="已售"/>
                 </form:select>
                 </form:select>
             </div>
             </div>
-            <div class="item">
-                <label>付款状态:</label>
-                <form:select path="payStatus" class="input-medium">
-                    <form:option value="" label="请选择"/>
-                    <form:option value="1" label="待付款"/>
-                    <form:option value="2" label="已付款"/>
-                    <form:option value="3" label="无需付款"/>
-                </form:select>
-            </div>
             <div class="item">
             <div class="item">
                 <label>商品品牌:</label>
                 <label>商品品牌:</label>
                 <form:select path="brandID" class="input-medium">
                 <form:select path="brandID" class="input-medium">
@@ -99,6 +90,14 @@
                     <form:option value="4" label="小程序-协销"/>
                     <form:option value="4" label="小程序-协销"/>
                 </form:select>
                 </form:select>
             </div>
             </div>
+            <div class="item">
+                <label>发布者身份:</label>
+                <form:select path="publishIdentity" class="input-medium">
+                    <form:option value="" label="请选择"/>
+                    <form:option value="1" label="个人身份"/>
+                    <form:option value="2" label="机构身份"/>
+                </form:select>
+            </div>
             <div class="item">
             <div class="item">
                 <input id="btnSubmit" class="btn btn-primary" type="submit" value="查询" style="margin-left:20px;"/>
                 <input id="btnSubmit" class="btn btn-primary" type="submit" value="查询" style="margin-left:20px;"/>
             </div>
             </div>
@@ -113,6 +112,7 @@
         <th>商品图片</th>
         <th>商品图片</th>
         <th>商品品牌</th>
         <th>商品品牌</th>
         <th>商品名称</th>
         <th>商品名称</th>
+        <th>发布者身份</th>
         <th>卖家</th>
         <th>卖家</th>
         <th>采美对接人</th>
         <th>采美对接人</th>
         <th>来源</th>
         <th>来源</th>
@@ -122,7 +122,6 @@
         <th>分类</th>
         <th>分类</th>
         <th>商品状态</th>
         <th>商品状态</th>
         <th>交易状态</th>
         <th>交易状态</th>
-        <th>付款状态</th>
         <th>提交时间</th>
         <th>提交时间</th>
         <th>审核时间</th>
         <th>审核时间</th>
         <th>到期时间</th>
         <th>到期时间</th>
@@ -160,10 +159,22 @@
                         <div style='max-width:180px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;margin: 0 auto;' title='${product.name}'>${product.name}</div>
                         <div style='max-width:180px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;margin: 0 auto;' title='${product.name}'>${product.name}</div>
                     </a>
                     </a>
                 </c:if>
                 </c:if>
-
             </td>
             </td>
             <td>
             <td>
+                <c:if test="${product.publishIdentity eq 1}">
+                    个人身份
+                </c:if>
+                <c:if test="${product.publishIdentity eq 2}">
+                    公司身份
+                </c:if>
+            </td>
+            <td>
+                <c:if test="${product.publishIdentity eq 1}">
                     ${product.contactName}
                     ${product.contactName}
+                </c:if>
+                <c:if test="${product.publishIdentity eq 2}">
+
+                </c:if>
             </td>
             </td>
             <td>${product.dockingPeopleName}</td>
             <td>${product.dockingPeopleName}</td>
             <td>
             <td>
@@ -212,7 +223,7 @@
                 ${product.sold eq '1'?'已售':'未售'}
                 ${product.sold eq '1'?'已售':'未售'}
             </td>
             </td>
             <td>
             <td>
-                ${product.payStatus eq '1'?'待付款':product.payStatus eq '2'?'已付款':product.payStatus eq '3'?'无需付款':'其他'}
+
             </td>
             </td>
             <td>
             <td>
                 <c:if test="${empty product.submitDate}">
                 <c:if test="${empty product.submitDate}">