记得上下班打卡 | git大法好,push需谨慎

Commit d47d6b76 authored by liuran's avatar liuran

修改会员基础信息

parent 3a27fe17
...@@ -417,10 +417,10 @@ ...@@ -417,10 +417,10 @@
</div> </div>
<div class="form-group"> <div class="form-group">
<label class="col-sm-2 control-label">类别:</label> <label class="col-sm-2 control-label">类别:</label>
<div class="col-sm-10"> <div class="col-sm-10 coupenColumn">
<div class="radio-box"> <div class="radio-box">
<label for="radio1" onclick="radioType(this)"> <label for="radio2" onclick="radioType(this)">
<input type="radio" id="coupeAdd1" class="coupeAddVal" name="coupeAdd_type" value="0"/> 全场 <input type="radio" id="coupeAdd1" class="coupeAddVal" name="coupeAdd_type" value="0"/>全场
</label> </label>
</div> </div>
<div class="radio-box"> <div class="radio-box">
...@@ -533,6 +533,14 @@ ...@@ -533,6 +533,14 @@
$('.tabs_inner').eq(Number(tabActive)).addClass('active'); $('.tabs_inner').eq(Number(tabActive)).addClass('active');
$('.tab-pane').eq(Number(tabActive)).addClass('active'); $('.tab-pane').eq(Number(tabActive)).addClass('active');
} }
$('.coupenColumn .iCheck-helper').click(function () {
radioType($(this).parent().parent());
});
$('.alltrack .iCheck-helper').click(function () {
coupetType($(this).parent().parent());
});
}); });
function tabChange (num) { function tabChange (num) {
...@@ -582,7 +590,6 @@ ...@@ -582,7 +590,6 @@
}] }]
} }
if (this.typeRadio == 3) { if (this.typeRadio == 3) {
var eventAmt = $('#eventAmt').val(); var eventAmt = $('#eventAmt').val();
var overlay = this.overlay; var overlay = this.overlay;
...@@ -629,7 +636,6 @@ ...@@ -629,7 +636,6 @@
// 类别 // 类别
function radioType (obj) { function radioType (obj) {
console.log(obj)
var typeRadio = $(obj).find('input').val(); var typeRadio = $(obj).find('input').val();
$(obj).parent().parent().find('input').removeAttr('checked'); $(obj).parent().parent().find('input').removeAttr('checked');
$(obj).find('input').attr('checked', true); $(obj).find('input').attr('checked', true);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment