jq:
if($("#dfyuserid").val()==null || $("#dfyuserid").val()==""){
layer.alert("该订房员不存在!");
/*var tab_kr = $("#tab_kr input[type='checkbox']")
tab_kr.each(function () {
if ($(this).is(':checked')) {
str += ',' + $(this).val();
}
})*/
if($("#gb").is(':checked')){
$("#gb").prop("checked","");
$("#kq").prop("checked","checked");
}
return;
}
html:
是否开启酒店产品
<label><input type="radio" name="kg" value="1" id="kq" οnclick="this.blur();" οnchange="save();" ${cpzkEntity.kg eq '1' ? 'checked' : '' }>开启</label>
<label><input type="radio" name="kg" value="0" id="gb" οnclick="this.blur();" οnchange="save();" ${cpzkEntity.kg ne '1' ? 'checked' : '' }>关闭</label>
<span style="color: gray">(关闭此设置后,所有渠道客户无法进行酒店查询预订)</span>
if($("#dfyuserid").val()==null || $("#dfyuserid").val()==""){
layer.alert("该订房员不存在!");
/*var tab_kr = $("#tab_kr input[type='checkbox']")
tab_kr.each(function () {
if ($(this).is(':checked')) {
str += ',' + $(this).val();
}
})*/
if($("#gb").is(':checked')){
$("#gb").prop("checked","");
$("#kq").prop("checked","checked");
}
return;
}
html:
是否开启酒店产品
<label><input type="radio" name="kg" value="1" id="kq" οnclick="this.blur();" οnchange="save();" ${cpzkEntity.kg eq '1' ? 'checked' : '' }>开启</label>
<label><input type="radio" name="kg" value="0" id="gb" οnclick="this.blur();" οnchange="save();" ${cpzkEntity.kg ne '1' ? 'checked' : '' }>关闭</label>
<span style="color: gray">(关闭此设置后,所有渠道客户无法进行酒店查询预订)</span>