zhijiezhao 3 年之前
父節點
當前提交
cac1c0c09d
共有 1 個文件被更改,包括 9 次插入3 次删除
  1. 9 3
      src/main/webapp/WEB-INF/views/modules/coupon/MoneyCouponForm.jsp

+ 9 - 3
src/main/webapp/WEB-INF/views/modules/coupon/MoneyCouponForm.jsp

@@ -144,7 +144,8 @@
         </div>
     </div>
     <div class="control-group">
-        <label class="control-label"><font color="red">*</font>购买价格:</label>
+        <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>
         <div class="controls">
             <input type="number" id="moneyCouponPrice" name="moneyCouponPrice" value="${cmCoupon.moneyCouponPrice}" min="0" required>
             <span id="yuan">元</span>
@@ -464,11 +465,16 @@
 
     function nameChange(val){
         if(1===val){
-            $("#yuan").show();
             $("#ge").hide();
+            $("#yuan").show();
+            $("#dksl").hide();
+            $("#gmjg").show();
+
         }else{
-            $("#ge").show();
             $("#yuan").hide();
+            $("#ge").show();
+            $("#gmjg").hide();
+            $("#dksl").show();
         }
     }
     //点击添加商品