|
@@ -151,7 +151,7 @@
|
|
|
<span>选择方式: </span>
|
|
|
</div>
|
|
|
<div class="box_flex f_content">
|
|
|
- <input type="radio" name="add_select_fun" id="add_cash_back" checked="true" value="cash_back" />返现金额
|
|
|
+ <input type="radio" name="add_select_fun" id="add_cash_back" checked="checked" value="cash_back" />返现金额
|
|
|
<span id="id_str"></span>
|
|
|
<input type="radio" name="add_select_fun" id="add_coupon" value="coupon" />使用代金券
|
|
|
</div>
|
|
@@ -340,7 +340,7 @@
|
|
|
checkOnSelect: false,
|
|
|
rowStyler: function(index,row){
|
|
|
if (row.status==1){
|
|
|
- return 'color:red;';
|
|
|
+ //return 'color:red;';
|
|
|
}else if(row.status==-3){
|
|
|
return 'color:green;';
|
|
|
}
|
|
@@ -385,7 +385,6 @@
|
|
|
|
|
|
if (data.cash_back <= 0){
|
|
|
$('#edit_cash_back').prop("checked",false);
|
|
|
-
|
|
|
$('#edit_coupon').prop("checked",true);
|
|
|
$('#cash').hide();
|
|
|
$('#coupons').show();
|
|
@@ -495,20 +494,15 @@
|
|
|
}
|
|
|
}
|
|
|
});
|
|
|
- $('#edit_coupon').change(function(){
|
|
|
- $('#cash').hide();
|
|
|
- $('#coupons').show();
|
|
|
- });
|
|
|
- $('#edit_cash_back').change(function(){
|
|
|
|
|
|
- $('#cash').show();
|
|
|
- $('#coupons').hide();
|
|
|
- });
|
|
|
$('#add_coupon').change(function(){
|
|
|
+
|
|
|
$('#add_cash').hide();
|
|
|
$('#add_coupons').show();
|
|
|
});
|
|
|
$('#add_cash_back').change(function(){
|
|
|
+
|
|
|
+
|
|
|
$('#add_cash').show();
|
|
|
$('#add_coupons').hide();
|
|
|
});
|