-
- | 회원번호 |
-
- @if (!Model.IsAdmin)
- {
- @Html.HiddenFor(m=>m.Assign.ascode)@Model.Assign.ascode
- }
- else
- {
- @Html.TextBoxFor(m => m.Assign.ascode, new { @class = "form-control int nocomma text-center" })
- }
- |
- 구분/회비 |
-
- @if (!Model.IsAdmin && Model.Assign.asno > 0)
- {
- @:@Model.Assign.isjoinname / @(Model.Assign.joinyear ?? "-")년 / @Model.Assign.joinprice.ToString("#,0")
- }
- else
- {
- @Html.Partial("./Partial/Select", "", new ViewDataDictionary { { "valuetext", "1:회원;0:비회원" }, { "name", "Assign.isjoin" }, { "selected", Model.Assign.isjoin }, { "style", "width: auto" }, { "class", "disp-init" } })
- @Html.Partial("./Partial/Select", Model.Assign.joinyear, new ViewDataDictionary { { "special", "fromtodesc" }, { "textadd", "년" }, { "start", DateTime.Now.Year - 5 }, { "end", DateTime.Now.Year + 5 }, { "name", "Assign.joinyear" }, { "selected", DateTime.Now.Year }, { "style", "width: 120px" } })
- @Html.TextBoxFor(m => m.Assign.joinprice, new { @class = "form-control disp-init int text-right", @placeholder = "회비", @style = "width: 150px" })
- }
- |
-
| 법인명 |
@Html.TextBoxFor(m => m.Assign.asname, new { @class = "form-control", @maxlength = "100" }) |
@@ -53,36 +27,15 @@
| 사업자등록번호 |
@Html.TextBoxFor(m => m.Assign.brno, new { @class = "form-control int nocomma", @maxlength = "10" }) |
- 법인등록번호 |
- @Html.TextBoxFor(m => m.Assign.grno, new { @class = "form-control int nocomma", @maxlength = "14" }) |
+ 고용보험관리번호 |
+ @Html.TextBoxFor(m => m.Assign.eino, new { @class = "form-control int nocomma", @maxlength = "13" }) |
| 업태 |
@Html.TextBoxFor(m => m.Assign.btype, new { @class = "form-control", @maxlength = "50" }) |
- 업종 |
+ 종목 |
@Html.TextBoxFor(m => m.Assign.bkind, new { @class = "form-control", @maxlength = "50" }) |
-
- | 매출액 |
- @Html.TextBoxFor(m => m.Assign.salesamount, new { @class = "form-control int" }) |
- 홈페이지 |
- @Html.TextBoxFor(m => m.Assign.homeurl, new { @class = "form-control", @maxlength = "100" }) |
-
-
- | 상시종업원수 |
- @Html.TextBoxFor(m => m.Assign.mcount, new { @class = "form-control int" }) |
- 창립일 |
- @Html.Partial("./Partial/Date", Model.Assign.aday, new ViewDataDictionary { { "name", "Assign.aday" } }) |
-
-
- | 회원사구분/계열 |
-
- @Html.Partial("./Partial/Select", Model.ComCodes.Where(w => w.cgroup == "astype"), new ViewDataDictionary { {"special","reg" }, { "df", ":-선택" }, { "name", "Assign.astype" }, { "selected", Model.Assign.asno < 1 ? "" : Model.Assign.astype.ToString() }, { "style", "width: auto" }, { "class", "disp-init" } })
- @Html.Partial("./Partial/Select", Model.ComCodes.Where(w => w.cgroup == "asctg"), new ViewDataDictionary { { "special", "reg" }, { "df", ":-선택" }, { "name", "Assign.asctg" }, { "selected", Model.Assign.asno < 1 ? "" : Model.Assign.asctg.ToString() }, { "style", "width: auto" }, { "class", "disp-init" } })
- |
- 주요키워드 |
- @Html.Partial("./Partial/Select", Model.ComCodes.Where(w => w.cgroup == "askey"), new ViewDataDictionary { { "special", "reg" }, { "df", ":-선택" }, { "name", "Assign.askey" }, { "selected", Model.Assign.asno < 1 ? "" : Model.Assign.askey.ToString() }, { "style", "width: auto" }, { "class", "disp-init" } }) |
-
| 주소 |
@@ -103,31 +56,22 @@
|
- | 통장사본 |
-
- @Html.Partial("./Partial/File", Model.FileList.Where(w=>w.fgno==Model.Assign.fgnobank).ToList(), new ViewDataDictionary {
- { "name", "Assign.fgnobank" },{"value", Model.Assign.fgnobank },{ "fname", "fgnobank"},
- {"width", null },{"table", "assign" },{ "column", "fgnobank"},{"filecount", 1 },
- {"readmode", 0 },{"hidemode", 0 },
- { "isimage", 0 },{ "imageid", "" },{ "dftsrc", "/img/common/profile_sample.jpg" },
- { "fileext", "png,jpg,gif,pdf" }, { "loginfo",Model.Assign.asno+"|9"}})
- |
+ 담당자명 |
+ @Html.TextBoxFor(m => m.Assign.mname, new { @class = "form-control", @maxlength = "50" }) |
- | 가입/탈퇴일 |
- @Html.Partial("./Partial/Date", Model.Assign.joindate, new ViewDataDictionary { { "name", "Assign.joindate" } })~@Html.Partial("./Partial/Date", Model.Assign.exitdate, new ViewDataDictionary { { "name", "Assign.exitdate" } }) |
+ 담당자연락처 |
+ @Html.TextBoxFor(m => m.Assign.mphone, new { @class = "form-control mobilefmt nocomma", @data_zero = "1", @maxlength = "13" }) |
+
+
+ | 계산서이메일 |
+ @Html.TextBoxFor(m => m.Assign.taxemail, new { @class = "form-control", @maxlength = "50" }) |
+
| 상태 |
-@if (Model.IsAdmin)
-{
- @Html.Partial("./Partial/Radio", null, new ViewDataDictionary() { { "valuetext", "1:가입;2:탈퇴;9:정지" }, { "checked", Model.Assign.status }, { "name", "Assign.status" } })
-}
-else
-{
- @Model.Assign.statusname
-}
+ @Html.Partial("./Partial/Radio", null, new ViewDataDictionary() { { "valuetext", "1:가입;2:탈퇴;9:정지" }, { "checked", Model.Assign.status }, { "name", "Assign.status" } })
|
@@ -169,16 +113,12 @@ else
$(document).ready(function () {
if ('@(Model.IsAdmin ? 1 : 0)' == '0') {
$("#Assign_astype,#Assign_asctg,#Assign_askey").attr("disabled", "disabled");
- $("#Assign_joindate,#Assign_exitdate").attr("readonly", "readonly");
}
});
function save() {
setv("Assign_brno", val("Assign_brno").replace(/-/gi, ''));
setv("Assign_grno", val("Assign_grno").replace(/-/gi, ''));
- if (check("Assign_ascode", null, "회원번호를 입력해주세요.")) { }
- else if (check("Assign_asname", null, "법인명을 입력해주세요.")) { }
- else if (($("#Assign_status1").prop("checked") && val("Assign_exitdate") != "") ||($("#Assign_status9").prop("checked") && val("Assign_exitdate") != "")) { msg("가입과 정지상태는 탈퇴일을 등록할 수 없습니다."); }
- else if ((!$("#Assign_status2").prop("checked") && val("Assign_exitdate") != "") || ($("#Assign_status2").prop("checked") && val("Assign_exitdate") == "")) { msg("탈퇴일자와 상태를 확인해주세요."); }
+ if (check("Assign_asname", null, "법인명을 입력해주세요.")) { }
else if (confirm("저장하시겠습니까?")) {
capfileform("/acommon/assignsave", "mform", "cbsave");
}
diff --git a/BO/Views/user/assigns.cshtml b/BO/Views/user/assigns.cshtml
index f8b7bb0..1df4c4e 100644
--- a/BO/Views/user/assigns.cshtml
+++ b/BO/Views/user/assigns.cshtml
@@ -14,7 +14,6 @@
- | 가입일 |
+ 등록일 |
@Html.Partial("./Partial/Date", string.IsNullOrEmpty(Model.stringval10) ? (DateTime?)null : Convert.ToDateTime(Model.stringval10), new ViewDataDictionary { { "name", "stringval10" } })
~
@Html.Partial("./Partial/Date", string.IsNullOrEmpty(Model.stringval11) ? (DateTime?)null : Convert.ToDateTime(Model.stringval11), new ViewDataDictionary { { "name", "stringval11" } })
|
- 회비납부 |
-
- @Html.HiddenFor(m => m.stringval21)
- @Html.Partial("./Partial/Select", Model.stringval12, new ViewDataDictionary { { "special", "fromtodesc" }, { "textadd", "년" }, { "start", DateTime.Now.Year - 5 }, { "end", DateTime.Now.Year + 5 }, { "name", "stringval12" }, { "selected", Model.stringval12 }, { "style", "width: 200px" } })
-
-
- |
-
-
- | 회원구분/계열 |
-
- @Html.Partial("./Partial/Select", Model.ComCodes.Where(w=>w.cgroup=="astype"), new ViewDataDictionary { { "special", "reg"}, { "df", ":-선택" }, { "name", "stringval13" }, { "selected", Model.stringval13 }, { "style", "width: 49%" }, { "class", "form-control disp-init" } })
- @Html.Partial("./Partial/Select", Model.ComCodes.Where(w => w.cgroup == "asctg"), new ViewDataDictionary { { "special", "reg" }, { "df", ":-선택" }, { "name", "stringval14" }, { "selected", Model.stringval14 }, { "style", "width: 49%" }, { "class", "form-control disp-init" } })
- |
- 주요키워드 |
- @Html.Partial("./Partial/Select", Model.ComCodes.Where(w => w.cgroup == "askey"), new ViewDataDictionary { { "special", "reg" }, { "df", ":-선택" }, { "name", "stringval15" }, { "selected", Model.stringval15 }, { "style", "width: 308px" } }) |
-
-
| 사이트생성 |
@Html.Partial("./Partial/Select", "", new ViewDataDictionary { { "valuetext", ":-선택;1:생성함;0:생성안함" }, { "name", "stringval20" }, { "selected", Model.stringval20 }, { "style", "width: 308px" }, { "class", "disp-init" } }) |
+ 연락처 |
+ @Html.TextBoxFor(m => m.stringval22, new { @class = "form-control mobilefmt nocomma", @data_zero = "1", @style = "width: 208px", @maxlength = "13" }) |