Browse Source

需求修改

Longlin 5 years ago
parent
commit
7b7244452f

+ 6 - 0
whepi-ui/templates/groupBuying/groupBuyingCx.ftl

@@ -27,6 +27,8 @@
             <div style="height: 1vh;"></div>
             <p style="text-indent: -0em;margin-left: 2em;">最大订量(份):&nbsp;&nbsp;${ tgItem.tgMaxNum }</p>
             <div style="height: 1vh;"></div>
+            <p id="cx_p_tgItemNum" style="text-indent: -0em;margin-left: 2em;">单人限额(份):&nbsp;&nbsp;</p>
+            <div style="height: 1vh;"></div>
             <p id="cx_p_endTime" style="text-indent: -0em;margin-left: 2em;">截止时间:&nbsp;&nbsp;</p>
             <div style="height: 1vh;"></div>
             <p id="cx_p_deliverTime"style="text-indent: -0em;margin-left: 2em;">预计送货时间:&nbsp;&nbsp;</p>
@@ -55,6 +57,10 @@
     $('#cx_p_endTime').append(tgItem.tgEndTime);
     $('#cx_p_deliverTime').append(tgItem.tgDeliverTime);
 
+    if (tgItem.tgItemNum != 0) {
+        $('#cx_p_tgItemNum').append(tgItem.tgItemNum);
+    }
+
     if (tgItem.remark.length > 0) {
         $('#cx_remark').val(tgItem.remark);
     }

+ 6 - 0
whepi-ui/templates/groupBuying/groupBuyingXx.ftl

@@ -28,6 +28,8 @@
             <div style="height: 1vh;"></div>
             <p style="text-indent: -0em;margin-left: 2em;">最大订量(份):&nbsp;&nbsp;${ tgItem.tgMaxNum }</p>
             <div style="height: 1vh;"></div>
+            <p id="p_tgItemNum" style="text-indent: -0em;margin-left: 2em;">单人限额(份):&nbsp;&nbsp;</p>
+            <div style="height: 1vh;"></div>
             <p id="p_endTime" style="text-indent: -0em;margin-left: 2em;">截止时间:&nbsp;&nbsp;</p>
             <div style="height: 1vh;"></div>
             <p id="p_deliverTime" style="text-indent: -0em;margin-left: 2em;">预计送货时间:&nbsp;&nbsp;</p>
@@ -134,6 +136,10 @@
     $('#p_endTime').append(tgItem.tgEndTime);
     $('#p_deliverTime').append(tgItem.tgDeliverTime);
 
+    if (tgItem.tgItemNum != 0) {
+        $('#p_tgItemNum').append(tgItem.tgItemNum);
+    }
+
     $('#gb_zb').on('click', function () {
         window.location.href = "/yeweihui/groupBuyingCx.html?operation=remark&jmId=" + tgItem.jmId + "&userId=" + userId;
     });