HN.UI/Views/WareHouse/Refer.cshtml
(开头部分) 2KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
@{
ViewBag.Title = "Refer";
Layout = "~/Views/Shared/_LayoutRefer.cshtml";
}
<div class="easyui-layout" data-options="fit:true" scroll="no">
<div data-options="region:'west',collapsible:true,split:true,title:'所属组织',iconCls: 'icon-org'" style="width:180px">
<ul id="tree"></ul>
</div>
<div data-options="region:'center',noheader:true,border:false">
<table id="dg"></table>
</div>
</div>
<div id="tbar">
<div class="tbar">
<div class="z-toolbar">
@Html.Raw(ViewBag.btnHtml)
</div>
<table>
<tr>
<td>关键字:</td>
<td class="td-left"><input type="text" id="txtKey" value="@ViewBag.Key" class="easyui-textbox" /></td>
<td class="td-right"><a id="btnSearch" href="#" class="easyui-linkbutton" data-options="iconCls:'icon-search'" onclick="btnSearch_OnClick()">查询</a><span class="required"> 双击行选择数据</span></td>
</tr>
</table>
</div>
</div>
@section PageSpecificScript{
<script type="text/javascript">
$("#tree").tree({
animate: true,
lines: true,
url: '/Organizat/GetOrgList?type=2',
onSelect: btnSearch_OnClick
})
$("#dg").datagrid({
loadMsg: "正在加载数据",
url: '/WareHouse/GetReferList?key=@ViewBag.Key',
idField: 'WhID',
rownumbers: true,
fit: true,
striped: true,
toolbar: '#tbar',
columns: [[
{ field: 'WhID', title: 'WhID', hidden: true },
{ field: 'WhCode', title: '仓库编号', width: 120, halign: 'center' },
{ field: 'WhName', title: '仓库名称', width: 120, halign: 'center' },
{ field: 'Manager', title: '负责人', width: 120, halign: 'center' }
]],
onDblClickRow: function (index,row)
{
$("#refer").window("close");
$("#WhID").textbox("setValue", row.WhID);
$("#WhID").textbox("setText", row.WhName);
}
})
后面还有 9 行代码,购买后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明
AI 解读
登录后可用,每次 10 积分,解读结果公开显示在下面。
还没有人解读过这个文件。
