@model GBLab.Entities.T_KeyValueItem
@using GBLab.Common.Utils
@using GBLab.Common.Expand
@{
    Layout = "~/Areas/Manage/Views/DefaultSkin/Shared_Back/_Layout_ContentBase.cshtml";

    // 树形链接
    string dataTreeUrl = ViewData["dataTreeUrl"].ToString();
}

@section Head{
}

@section JavaScript{
    @Html.Partial("~/Areas/Manage/Views/DefaultSkin/Shared_Back/_Layout_Head_Edit.cshtml")
    <script language="javascript" type="text/javascript">
        seajs.use(
            [
                // 全局配置
                "/App_Themes/Skin_Manage/Extend/helper/global/global_config.js?v=@(ViewBag.Version)"

                @* 可放大和触控的相册 *@
                , "/App_Themes/Skin_Manage/Extend/helper/plus/plus_images.js?v=@(ViewBag.Version)"
            ]
            , function (main) {

                var F_Logo = new gblab_images.func();
                F_Logo.controls.$imgs = $('#F_Logo>div>img');
                F_Logo.config.bgOpacity = 1;
                F_Logo.init();

                var F_Imgs = new gblab_images.func();
                F_Imgs.controls.$imgs = $('#F_Imgs>div>img');
                F_Imgs.config.bgOpacity = 1;
                F_Imgs.init();

            }
        );
    </script>
}

<div data-options="region:'center',border:true">
    @Html.Hidden("IsNew", false)
    @Html.Hidden("ActionGUID", "")
    @Html.Hidden("Template", ViewData["Template"])
    @Html.Hidden("MvcMarkName", ViewData["MvcMarkName"])
    @Html.Hidden("MvcClassID", ViewData["MvcClassID"])
    @Html.HiddenFor(m => m.F_Id)
    @Html.HiddenFor(m => m.F_Guid)
    @Html.HiddenFor(m => m.F_MarkName)
    <div id="tabid" class="easyui-tabs" data-options="border:false,fit:true,plain:true">
        <div title="基本信息" style="padding:6px;">
            <table class="table">
                <tr>
                    <th class="tdright">
                        字典中文名称：<em>*</em>
                    </th>
                    <td colspan="5">
                        @(Model.F_SubTitle)
                    </td>
                </tr>
                <tr>
                    <th class="tdright">
                        键值英文名称：<em>*</em>
                    </th>
                    <td colspan="5">
                        @(Model.F_Name)
                    </td>
                </tr>
                <tr>
                    <th class="tdright">
                        【修改这里】键值：<em>*</em>
                    </th>
                    <td colspan="5">
                        @(Model.F_Value)
                    </td>
                </tr>
            </table>
        </div>
        <div title="辅助信息" style="padding:6px;">
            <table class="table">
                <tr>
                    <th class="tdright" style="width: 100px;">
                        ID GUID：<em></em>
                    </th>
                    <td colspan="5">
                        @(Model.F_Id) 【@(Model.F_Guid.ToString().ToUpper())】
                    </td>
                </tr>
                <tr>
                    <th class="tdright" style="width:200px;">
                        字典：
                    </th>
                    <td>
                        @Html.DropDownListFor(model => model.F_KeyValueId, ViewData["DroupInfo_KeyValue"] as List<SelectListItem>, new { @class = "easyui-combobox", @style = "width:300px;", @editable = "false", @disabled = "disabled" })
                    </td>
                </tr>
                <tr>
                    <th class="tdright">
                        信息状态：
                    </th>
                    <td>
                        @Html.DropDownListFor(t => t.F_MarkStatus, GBLab.Common.Helper.SelectItem.GetSelectListItem(GBLab.Common.Utils.Dictionarys.IsStatus), new { @class = "easyui-combobox", @style = "width:120px;", @editable = "false", @disabled = "disabled" })
                    </td>
                </tr>
                <tr>
                    <th class="tdright" style="width: 100px;">
                        添加人：<em></em>
                    </th>
                    <td colspan="5">
                        @(Model.T_AddUser == null ? "" : Model.T_AddUser.F_Name)
                    </td>
                </tr>
                <tr>
                    <th class="tdright" style="width: 100px;">
                        添加日期：<em></em>
                    </th>
                    <td colspan="5">
                        @(Convert.ToDateTime(Model.F_AddDate).ToString("yyyy-MM-dd HH:mm:ss"))
                    </td>
                </tr>
                <tr>
                    <th class="tdright" style="width: 100px;">
                        更新人：<em></em>
                    </th>
                    <td colspan="5">
                        @(Model.T_UpdateUser == null ? "" : Model.T_UpdateUser.F_Name)
                    </td>
                </tr>
                <tr>
                    <th class="tdright" style="width: 100px;">
                        更新日期：<em></em>
                    </th>
                    <td colspan="5">
                        @(Convert.ToDateTime(Model.F_UpdateDate).ToString("yyyy-MM-dd HH:mm:ss"))
                    </td>
                </tr>
            </table>
        </div>
    </div>
</div>
<div id="form-windowEdit" title="查看" class="easyui-window" data-options="modal:true,closed:true,fit:true" style="width: 88%; height: 88%; padding: 6px;"></div>