123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990 |
- @{
- ViewBag.Title = "字典明细";
- Layout = "~/Views/Shared/_Form.cshtml";
- }
- <script>
- var keyValue = request('keyValue');
- $(function () {
- initControl();
- })
- //初始化控件
- function initControl() {
- //获取表单
- if (!!keyValue) {
- $.SetForm({
- url: "../../SystemManage/DataItemDetail/GetFormJson",
- param: { keyValue: keyValue },
- success: function (data) {
- $("#form1").SetWebControls(data);
- $("#form1").find('.form-control,.ui-select,input').attr('disabled', 'disabled');
- }
- });
- }
- }
- </script>
- <div style="margin-top: 20px; margin-right: 30px;">
- <table class="form">
- <tr>
- <td class="formTitle">项目名</td>
- <td class="formValue">
- <input id="ItemName" type="text" class="form-control" />
- </td>
- </tr>
- <tr>
- <td class="formTitle">项目值</td>
- <td class="formValue">
- <input id="ItemValue" type="text" class="form-control" />
- </td>
- </tr>
- <tr>
- <th class="formTitle">排序</th>
- <td class="formValue">
- <input id="SortCode" type="text" class="form-control" />
- </td>
- </tr>
- <tr>
- <th class="formTitle" style="height: 37px;"></th>
- <td class="formValue">
- <div class="checkbox">
- <label>
- <input id="EnabledMark" type="checkbox" checked="checked" />
- 有效
- </label>
- </div>
- </td>
- </tr>
- <tr>
- <th class="formTitle" valign="top" style="padding-top: 4px;">备注
- </th>
- <td class="formValue">
- <textarea id="Description" class="form-control" style="height: 70px;"></textarea>
- </td>
- </tr>
- <tr>
- <td class="formTitle">创建用户</td>
- <td class="formValue">
- <input id="CreateDate" type="text" class="form-control" />
- </td>
- </tr>
- <tr>
- <td class="formTitle">创建时间</td>
- <td class="formValue">
- <input id="CreateUserName" type="text" class="form-control" />
- </td>
- </tr>
- <tr>
- <td class="formTitle">修改用户</td>
- <td class="formValue">
- <input id="ModifyDate" type="text" class="form-control" />
- </td>
- </tr>
- <tr>
- <td class="formTitle">修改时间</td>
- <td class="formValue">
- <input id="ModifyUserName" type="text" class="form-control" />
- </td>
- </tr>
- </table>
- </div>
|