123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125 |
- @model EMIS.ViewModel.TeachingMaterial.PublisherView
- @using EMIS.Web.Controls;
- @using Bowin.Web.Controls.Mvc;
- @{
- ViewBag.Title = "Edit";
- }
- <style type="text/css">
- #stafftable
- {
- width: 100%;
- border: 0px none;
- }
- #stafftable tr
- {
- min-height: 30px;
- }
- </style>
- <div class="easyui-panel" data-options="border:false,fit:true" style="position: relative;">
- @using (Ajax.BeginForm(new AjaxOptions { Url = "/Publisher/Edit", OnSuccess = "EMISFunction.FormSuccess", OnBegin = "EMISFunction.FormSubmit", OnComplete = "EMISFunction.FormComplete" }))
- {
- @Html.HiddenFor(x => x.PublishID)
- <div class="p_title">
- @* <div style="float: left; margin-left: 10px; line-height: 30px; font-size: 12px;">
- 出版单位基本信息</div>*@
- @if (Request["isView"] != "1")
- {
- <div style="margin-right: 10px; line-height: 30px; font-size: 12px;">@Html.ContextMenuBar("Edit")</div>
- }
- </div>
- <div class="search_list">
- <table cellpadding="0" cellspacing="0" id="stafftable">
- <tr>
- <td>@Html.LabelFor(x => x.UnitCode):
- </td>
- <td>@Html.TextBoxFor(x => x.UnitCode, new TextBoxOptions() { })
- </td>
- <td>@Html.LabelFor(x => x.UnitName):
- </td>
- <td>@Html.TextBoxFor(x => x.UnitName)
- </td>
- </tr>
- <tr>
- <td>@Html.LabelFor(x => x.UnitShortName):
- </td>
- <td>@Html.TextBoxFor(x => x.UnitShortName)
- </td>
- <td>@Html.LabelFor(x => x.ContectUser):
- </td>
- <td>@Html.TextBoxFor(x => x.ContectUser)
- </td>
- </tr>
- <tr>
- <td>@Html.LabelFor(x => x.Mobile):
- </td>
- <td>@Html.TextBoxFor(x => x.Mobile)
- </td>
- <td>@Html.LabelFor(x => x.Phone):
- </td>
- <td>@Html.TextBoxFor(x => x.Phone)
- </td>
- </tr>
- <tr>
- <td>@Html.LabelFor(x => x.Fax):
- </td>
- <td>@Html.TextBoxFor(x => x.Fax)
- </td>
- <td>@Html.LabelFor(x => x.Email):
- </td>
- <td>@Html.TextBoxFor(x => x.Email)
- </td>
- </tr>
- <tr>
- <td>@Html.LabelFor(x => x.BandCard):
- </td>
- <td>@Html.TextBoxFor(x => x.BandCard)
- </td>
- <td>@Html.LabelFor(x => x.BandName):
- </td>
- <td>@Html.TextBoxFor(x => x.BandName)
- </td>
- </tr>
- <tr>
- <td>@Html.LabelFor(x => x.Ein):
- </td>
- <td>@Html.TextBoxFor(x => x.Ein)
- </td>
- <td>@Html.LabelFor(x => x.Address):
- </td>
- <td>@Html.TextBoxFor(x => x.Address)
- </td>
- </tr>
- <tr>
- <td>@Html.LabelFor(x => x.IsSupplier):
- </td>
- <td>@Html.CheckBoxFor(x => x.IsSupplier)
- </td>
- <td>@Html.LabelFor(x => x.IsPulish):
- </td>
- <td>@Html.CheckBoxFor(x => x.IsPulish)
- </td>
- </tr>
- <tr>
- <td>@Html.LabelFor(x => x.IsPrint):
- </td>
- <td colspan="3">@Html.CheckBoxFor(x => x.IsPrint)
- </td>
- </tr>
- <tr>
- <td>@Html.LabelFor(x => x.Desc):
- </td>
- <td colspan="3">@Html.TextAreaFor(x => x.Desc, new Dictionary<string, string> { { "style", "width:1000px;" } })
- </td>
- </tr>
- </table>
- </div>
- }
- </div>
- @section scripts{
- <script type="text/javascript">
- function Publisd_Save() {
- $(document.forms[0]).submit();
- }
- </script>
- }
|