zhijiezhao 3 years ago
parent
commit
5e34623b6f
1 changed files with 8 additions and 2 deletions
  1. 8 2
      src/main/webapp/WEB-INF/views/modules/coupon/MoneyCouponForm.jsp

+ 8 - 2
src/main/webapp/WEB-INF/views/modules/coupon/MoneyCouponForm.jsp

@@ -144,8 +144,14 @@
         </div>
     </div>
     <div class="control-group">
-        <label id ="gmjg" class="control-label"><font color="red">*</font>购买价格:</label>
-        <label id="dksl" class="control-label" style="display: none"><font color="red">*</font>抵扣数量:</label>
+        <c:if test="${cmCoupon.couponPayWay eq 1}">
+            <label id ="gmjg" class="control-label"><font color="red">*</font>购买价格:</label>
+            <label id="dksl" class="control-label" style="display: none"><font color="red">*</font>抵扣数量:</label>
+        </c:if>
+        <c:if test="${cmCoupon.couponPayWay eq 2}">
+            <label id ="gmjg" class="control-label" style="display: none"><font color="red">*</font>购买价格:</label>
+            <label id="dksl" class="control-label"><font color="red">*</font>抵扣数量:</label>
+        </c:if>
         <div class="controls">
             <input type="number" id="moneyCouponPrice" name="moneyCouponPrice" value="${cmCoupon.moneyCouponPrice}" min="0" required>
             <c:if test="${cmCoupon.couponPayWay eq 1}">