NFine.Web/Areas/SystemManage/Views/ItemsData/Details.cshtml
(开头部分) 3KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
@{
ViewBag.Title = "Form";
Layout = "~/Views/Shared/_Form.cshtml";
}
<script>
var keyValue = $.request("keyValue");
$(function () {
$.ajax({
url: "/SystemManage/ItemsData/GetFormJson",
data: { keyValue: keyValue },
dataType: "json",
async: false,
success: function (data) {
$("#form1").formSerialize(data);
$("#form1").find('.form-control,select,input').attr('readonly', 'readonly');
$("#form1").find('div.ckbox label').attr('for', '');
}
});
});
</script>
<form id="form1">
<div style="padding-top: 20px; margin-right: 20px;">
<table class="form">
<tr>
<th class="formTitle">编号</th>
<td class="formValue">
<input id="F_ItemCode" name="F_ItemCode" type="text" class="form-control" />
</td>
</tr>
<tr>
<th class="formTitle">名称</th>
<td class="formValue">
<input id="F_ItemName" name="F_ItemName" type="text" class="form-control" />
</td>
</tr>
<tr>
<th class="formTitle">排序</th>
<td class="formValue">
<input id="F_SortCode" name="F_SortCode" type="text" class="form-control" />
</td>
</tr>
<tr>
<th class="formTitle" style="height: 35px;">选项</th>
<td class="formValue" style="padding-top: 1px;">
<div class="ckbox">
<input id="F_IsDefault" name="F_IsDefault" type="checkbox"><label for="F_IsDefault">默认</label>
</div>
<div class="ckbox">
<input id="F_EnabledMark" name="F_EnabledMark" type="checkbox" checked="checked"><label for="F_EnabledMark">有效</label>
</div>
</td>
</tr>
<tr>
<th class="formTitle" valign="top" style="padding-top: 5px;">备注
</th>
<td class="formValue">
<textarea id="F_Description" name="F_Description" class="form-control" style="height: 60px;"></textarea>
</td>
</tr>
<tr>
后面还有 28 行代码,解锁后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明
AI 解读 AI
登录后可用,每次 10 积分,解读结果公开显示在下面。
还没有人解读过这个文件。
