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