<div class="form-group">
<div class="form-label">Ifsccode</div>
<div class="form-row">
<div class="flex_bd">
<input type="text" id="Ifs" class="weui-input" datatype="*" nullmsg="请输入Ifsccode" errormsg="请输入Ifsccode" placeholder="请输入" value="">
</div>
</div>
</div>
var $input = $('#Ifs');
$input.on('input', function() {
var $value = $input.val();
if ($value){
$('#submit').removeClass('weui-btn_disabled');
$('#submit').removeAttr('disabled');
}else{
$('#submit').addClass('weui-btn_disabled');
$('#submit').attr('disabled','disabled');
}
});