<input type="radio" value="1" name="vcrt" checked/>服务费收款
<input type="radio" value="2" name="vcrt" />佣金收款
$("body").on("change", "[name='vcrt']", function () {
if (this.value == '1') {
//服务费收款
}
else if (this.value == '2') {
//佣金收款
}
});
<input type="radio" value="1" name="vcrt" checked/>服务费收款
<input type="radio" value="2" name="vcrt" />佣金收款
$("body").on("change", "[name='vcrt']", function () {
if (this.value == '1') {
//服务费收款
}
else if (this.value == '2') {
//佣金收款
}
});