ui 오류수정
This commit is contained in:
parent
f2bfbab6aa
commit
a68213cfb7
|
|
@ -484,6 +484,22 @@
|
|||
$(".uduty").hide();
|
||||
}
|
||||
|
||||
if (model.assign.asno == 0) {
|
||||
$("#btnassign").show();
|
||||
} else {
|
||||
$("#btnassign").hide();
|
||||
}
|
||||
|
||||
if ($("input:radio[name='isrebate']:checked").val() == "1") {
|
||||
$(".div-companyInfo").show();
|
||||
} else {
|
||||
if ($("input:radio[name='isCompany']:checked").val() == "1") {
|
||||
$(".div-companyInfo").show();
|
||||
} else {
|
||||
$(".div-companyInfo").hide();
|
||||
}
|
||||
}
|
||||
|
||||
if (model.pplog.isaccommodation != null) {
|
||||
$("input:radio[name='isaccommodation'][value='" + model.pplog.isaccommodation + "']").click();
|
||||
}
|
||||
|
|
@ -498,13 +514,7 @@
|
|||
|
||||
if(model.iscompany != null) {
|
||||
$("input:radio[name='isCompany'][value='" + model.iscompany + "']").click();
|
||||
}
|
||||
|
||||
if (model.assign.asno == 0) {
|
||||
$("#btnassign").show();
|
||||
} else {
|
||||
$("#btnassign").hide();
|
||||
}
|
||||
}
|
||||
}
|
||||
function bindassign(v) {
|
||||
$("#Assign_asno").val(v.split(':')[0]);
|
||||
|
|
|
|||
Loading…
Reference in New Issue