<html>
<head>
<title>
Субъекты
</title>
<link rel="shortcut icon" href="images/favicon.ico"/>
<link rel="stylesheet" href="css/nimo.css" type="text/css">
<script language="JavaScript1.2" src="js/delconfirm.js"></script>
<script language="JavaScript1.2" src="js/date-picker.js"></script>
<script type="text/javascript">
function comboboxGroups() {
if (document.subjDetailsForm.group.value == 464) {
document.subjDetailsForm.subjNA.style.display = "inline";
document.subjDetailsForm.subjBU.style.display = "inline";
}
}
function radioboxGroupBy() {
var flag = false;
if (document.subjForm.groupChecked != null && document.subjForm.groupChecked.checked) {
flag = true;
document.subjForm.groupMask.style.backgroundColor = "white";
document.subjForm.groupMask.disabled = "";
document.subjForm.selectedGroup.style.backgroundColor = "white";
document.subjForm.selectedGroup.disabled = "";
} else {
document.subjForm.groupMask.style.backgroundColor = "#f1f1f1";
document.subjForm.groupMask.disabled = "disabled";
document.subjForm.selectedGroup.style.backgroundColor = "#f1f1f1";
document.subjForm.selectedGroup.disabled = "disabled";
}
for (var i = 0; i < document.subjForm.groupBy.length; i++) {
if (document.subjForm.groupBy[i] != null && document.subjForm.groupBy[i].checked && document.subjForm.groupBy[i].value == "select" && flag) {
document.subjForm.groupMask.style.backgroundColor = "#f1f1f1";
document.subjForm.groupMask.disabled = "disabled";
document.subjForm.selectedGroup.style.backgroundColor = "white";
document.subjForm.selectedGroup.disabled = "";
} else if (document.subjForm.groupBy[i] != null && document.subjForm.groupBy[i].checked && document.subjForm.groupBy[i].value == "mask" && flag) {
document.subjForm.selectedGroup.style.backgroundColor = "#f1f1f1";
document.subjForm.selectedGroup.disabled = "disabled";
document.subjForm.groupMask.style.backgroundColor = "white";
document.subjForm.groupMask.disabled = "";
}
}
}
function radioboxSelected() {
var flag = true;
document.getElementById("searchStr").innerHTML = "";
document.getElementById("fieldSurname").style.display = "inline";
document.getElementById("fieldName").style.display = "none";
document.getElementById("fieldPeriod").style.display = "none";
for (var i = 0; i < document.subjForm.searchBy.length; i++) {
if (document.subjForm.searchBy[i] != null && document.subjForm.searchBy[i].checked) {
if (document.subjForm.searchBy[i].value == "person") {
document.getElementById("searchStr").innerHTML = "Фамилия";
document.all.fieldName.style.display = "inline";
} else if (document.subjForm.searchBy[i].value == "business") {
document.getElementById("searchStr").innerHTML = "Название предприятия";
} else if (document.subjForm.searchBy[i].value == "refCode") {
document.getElementById("searchStr").innerHTML = "Внешний код";
} else if (document.subjForm.searchBy[i].value == "accountNum") {
document.getElementById("searchStr").innerHTML = "Номер счета";
} else if (document.subjForm.searchBy[i].value == "selected" || document.subjForm.searchBy[i].value == "byRemoveExperianFlags" || document.subjForm.searchBy[i].value == "byEditExperianFlags"
|| document.subjForm.searchBy[i].value == "byRemoveBrsFlags" || document.subjForm.searchBy[i].value == "byEditBrsFlags") {
flag = false;
//document.subjForm.surname.disabled = true; // при загрузке неправильно прорисовывает в 9-й Опере
document.subjForm.surname.style.backgroundColor = "#f1f1f1";
document.subjForm.surname.disabled = "disabled";
} else if (document.subjForm.searchBy[i].value == "notExportable") {
document.getElementById("fieldSurname").style.display = "none";
document.getElementById("fieldPeriod").style.display = "inline";
}
}
}
if (flag) {
document.subjForm.surname.style.backgroundColor = "white";
document.subjForm.surname.disabled = "";
}
}
var clickcount = 0;
function selectClick() {
if (clickcount % 2 == 0) {
buttonSelectAll();
} else {
buttonClearAll();
}
clickcount++;
}
function invertClick() {
for (var i = 0; i < document.subjSelectForm.elements.length; i++) {
if (document.subjSelectForm.elements[i] != null && document.subjSelectForm.elements[i].type == "checkbox") {
if (document.subjSelectForm.elements[i].checked)
document.subjSelectForm.elements[i].checked = false;
else
document.subjSelectForm.elements[i].checked = true;
}
}
}
function buttonSelectAll() {
for (var i = 0; i < document.subjSelectForm.elements.length; i++) {
if (document.subjSelectForm.elements[i] != null && document.subjSelectForm.elements[i].type == "checkbox") {
document.subjSelectForm.elements[i].checked = true;
}
}
}
function buttonClearAll() {
for (var i = 0; i < document.subjSelectForm.elements.length; i++) {
if (document.subjSelectForm.elements[i] != null && document.subjSelectForm.elements[i].type == "checkbox") {
document.subjSelectForm.elements[i].checked = false;
}
}
}
function unselectConfirm() {
if (confirm("Вы действительно хотите отменить выбор субъектов?")) {
location.href = "Subj.do?unselect=true";
}
}
</script>
</head>
<body onload="javascript:comboboxGroups(); javascript:radioboxSelected(); javascript:radioboxGroupBy();">
<script type="text/javascript">
</script>
<noscript><font color="red" size="+1"><b>Обнаружена ошибка работы javascript</b></font></noscript>
<table border="0" width="100%" height="100%" cellpadding="0" cellspacing="0" id="mainWhite">
<tr valign="top">
<td>
<div class="hide">
<table width="100%" border="0" cellspacing="0" id="main" cellpadding="2">
<tr>
<td class="header" width="140px">
Credit Registry<br/>
6.21.12
</td>
<td class="header" width="100px">
</td>
<td align="left" class="header" style="padding-right:10px;">
<table border="0" cellpadding="2" cellspacing="1" width="100%">
<tr>
<td align="left">
<a href="wicket/EditLicensePage">
Лицензия
</a>
<span class="blank_space">|</span>
<a href="wicket/CollateralAutoSearchPage">
Залоговые ТС
</a>
<span class="blank_space">|</span>
<a href="/credit_registry/Subj.do">Субъекты</a>
<span class="blank_space">|</span>
<a href="/credit_registry/EditExport.do">Экспорт</a>
<span class="blank_space">|</span>
<a href="/credit_registry/EditJournal.do">Журналы</a>
<span class="blank_space">|</span>
<a href="/credit_registry/EditReports.do">Отчеты</a>
</td>
<td align="right">
<a href="wicket/ChangePasswdPage">
Сменить пароль
</a>
<span class="blank_space">|</span>
<a href="wicket/LogoffPage">
Выйти
(
U???FF_admin
)
</a>
</td>
</tr>
<tr>
<td colspan="2" align="left">
<a href="/credit_registry/EditNbch.do">НБКИ</a>
<span class="blank_space">|</span>
<a href="/credit_registry/EditNbchCollAuto.do">НБКИ ТСЗ</a>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td colspan="3" style="color:red;">
Последний экспорт не был отправлен
</td>
</tr>
</table>
<br>
</div>
<table width="100%" border="0" cellspacing="0">
<tr>
<td class="FormSectionLabel" colspan="2">
Поиск субъекта
</td>
</tr>
<tr>
<td class="Note">
Введите начало фамилии субъекта, часть названия предприятия или полное значение ключа внешней системы
</td>
<td width="80%" class="FormBody">
<form name="subjForm" method="post" action="/credit_registry/Subj.do">
<table border="0" width="100%">
<tr>
<td class="Field" colspan="10">
<div id="fieldSurname" style="display: inline;">
<table border="0" width="100%" cellspacing="0">
<tr>
<td width="70pt" id="searchStr" align="center">
</td>
<td class="Field" align="left">
<input type="text" name="surname" size="25" value="">
</td>
</tr>
</table>
</div>
<div id="fieldPeriod" style="display: none;">
<table border="0" cellspacing="0" cellpadding="1">
<tr>
<td width="70pt" align="center">
</td>
<td class="Field2" align="left">
<input type="checkbox" name="periodCheckBox" value="1" id="periodCheckBox">
</td>
<td class="Field2" align="left">
<label for="periodCheckBox">в период с</label>
</td>
<td class="Field" align="left">
<span class="Hint">(дд.мм.гггг)</span><br>
<span>
<input type="text" name="period1" size="10" value="" class="dateInput">
<img onmouseup="javascript:show_calendar_widget(this);" class="dateInput" src="images/calendar.gif" align=absmiddle border=0 alt="период с...">
</span>
</td>
<td class="Field2" align="left">
по
</td>
<td class="Field" align="left">
<span class="Hint">(дд.мм.гггг)</span><br>
<span>
<input type="text" name="period2" size="10" value="" class="dateInput">
<img onmouseup="javascript:show_calendar_widget(this);" class="dateInput" src="images/calendar.gif" align=absmiddle border=0 alt="период по...">
</span>
</td>
</tr>
</table>
</div>
</td>
</tr>
<tr>
<td class="Field" colspan="10">
<div id="fieldName" style="display: inline;">
<table border="0" width="100%" cellspacing="0">
<tr>
<td width="70pt" align="center">
Имя
</td>
<td class="Field" align="left">
<input type="text" name="firstName" size="25" value="">
</td>
</tr>
</table>
</div>
</td>
</tr>
<tr>
<td width="70pt"></td>
<td colspan="9"></td>
</tr>
<tr>
<td>
</td>
<td width="20%">
<table border="0" width="100%">
<tr>
<td nowrap="true">
<label>
<input type="radio" name="searchBy" value="person" checked="checked" onclick="javascript : radioboxSelected()">физическое лицо (по началу фамилии)
</label>
<br>
<label>
<input type="radio" name="searchBy" value="business" onclick="javascript : radioboxSelected()">юридическое лицо (по части названия)
</label>
<br>
<label>
<input type="radio" name="searchBy" value="refCode" onclick="javascript : radioboxSelected()">по внешнему коду
</label>
<br>
<label>
<input type="radio" name="searchBy" value="accountNum" onclick="javascript : radioboxSelected()">по номеру счета
</label>
<br>
<label>
<input type="radio" name="searchBy" value="notExportable" onclick="javascript : radioboxSelected()">с неэкспортируемыми историями
</label>
<br>
<label>
<input type="radio" name="searchBy" value="selected" onclick="javascript : radioboxSelected()">показать выбранные записи (выбрано: 0)
</label>
</td>
</tr>
</table>
</td>
<td width="1pt"></td>
<td width="1pt" bgcolor="white"></td>
<td width="1pt"></td>
<td width="10%" valign="top">
<table border="0" cellspacing="0">
<tr>
<td><input type="checkbox" name="groupChecked" value="1" onclick="javascript : radioboxGroupBy()" id="groupChecked"></td>
<td><label for="groupChecked">с учетом группы</label></td>
</tr>
<tr>
<td><input type="radio" name="groupBy" value="select" checked="checked" onclick="javascript : radioboxGroupBy()"></td>
<td class="Field">
<select name="selectedGroup" onchange="javascript:comboboxGroups()"><option value="464">U401FF</option></select>
</td>
</tr>
<tr>
<td> </td>
<td>по маске</td>
</tr>
<tr>
<td><input type="radio" name="groupBy" value="mask" onclick="javascript : radioboxGroupBy()"></td>
<td class="Field"><input type="text" name="groupMask" size="20" value=""></td>
</tr>
</table>
</td>
<td colspan="4"></td>
<td width="1pt"></td>
<td width="1pt" bgcolor="#E6E6E6"></td>
<td width="1pt"></td>
<td valign="top">
</td>
</tr>
<tr>
<td> </td>
<td align="left">
<input type="submit" name="searchButton" value="Поиск" class="button">
</td>
<td colspan="8"> </td>
</tr>
</table>
</form>
<script type="text/javascript" language="JavaScript">
<!--
var focusControl = document.forms["subjForm"].elements["surname"];
if (focusControl.type != "hidden" && !focusControl.disabled) {
focusControl.focus();
}
// -->
</script>
</td>
</tr>
</table>
<br>
<table width="100%" border="0" cellspacing="0">
<tr>
<td class="FormSectionLabel" colspan="2">Создание субъекта</td>
</tr>
<tr>
<td class="Note"> </td>
<td width="80%" class="FormBody">
<table>
<tr>
<td>
<form name="subjDetailsForm" method="post" action="/credit_registry/SubjDetails.do">
<select name="group" onchange="javascript:comboboxGroups()"><option value="464">U401FF</option></select>
<input type="submit" name="subjNA" value="Создать физическое лицо" class="buttonWide">
<input type="submit" name="subjBU" value="Создать юридическое лицо" class="buttonWide">
</form>
</td>
</tr>
</table>
</td>
</tr>
</table>
<!-- This picker should go to the end of your page template -->
<div class="calendar_widget" style="display: none;" id="calendar_widget">
<iframe id='calendar_widget_iframe' name='calendar_widget_iframe' style="border: none;" width=100% height=100%
src="calendar_widget.jsp"></iframe>
</div>
</td></tr>
<tr height="25px">
<td class="footer">
<table border="0" width="100%">
<tr>
<td align="left">
© 2005-2013 Межбанковский Технологический Центр, <a href="mailto:[email protected]">[email protected]</a><br/>
</td>
<td align="right">
</td>
</tr>
</table>
</td>
</tr>
</table>
</body>
</html>
Comments