HN.UI/Views/Query/RetailFlow.cshtml
(开头部分) 5KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
@{
ViewBag.Title = "销售流水查询";
Layout = "~/Views/Shared/_LayoutList.cshtml";
}
<style type="text/css">
.layout-split-west {
border-right-color: Window;
}
</style>
<div class="easyui-layout" data-options="fit:true" scroll="no">
<div data-options="region:'west',split:true,title:'所属组织',iconCls: 'icon-node_tree'" style="width:180px">
<ul id="tree"></ul>
</div>
<div data-options="region:'center',noheader:true,border:false">
<div id="tbar">
<div class="tbar">
<div class="z-toolbar">
@Html.Raw(ViewBag.btnHtml)
</div>
<table>
<tr>
<td class="td-left">客户:</td>
<td class="td-left"><input type="text" id="CustID" name="CustID" class="easyui-textbox" data-options="buttonIcon:'icon-lookup',refer:true " /></td>
@*<td class="td-right">业务员:</td>
<td class="td-left"><input type="text" id="SaleID" name="SaleID" class="easyui-textbox" data-options="buttonIcon:'icon-lookup',refer:true " /></td>*@
<td class="td-right">日期:</td>
<td class="td-left"><input type="text" id="txtStartDate" class="easyui-datebox" />—<input type="text" id="txtEndDate" class="easyui-datebox" /></td>
<td class="td-right"><a id="btnSearch" href="#" class="easyui-linkbutton" data-options="iconCls:'icon-search'" onclick="btnSearch_OnClick()">查询</a></td>
</tr>
</table>
</div>
</div>
<table id="dg"></table>
</div>
</div>
@section PageSpecificScript{
<script type="text/javascript">
$(function () {
$("#tree").tree({
animate: true,
lines: true,
url: '/Organizat/GetUserTopOrg',
onSelect: btnSearch_OnClick,
onLoadSuccess: function () {
$("#tree li:eq(0)").find("div").addClass("tree-node-selected"); //设置第一个节点高亮
var n = $("#tree").tree("getSelected");
if (n != null) {
$("#tree").tree("select", n.target); //相当于默认点击了一下第一个节点,执行onSelect方法
}
}
})
})
function btnSearch_OnClick() {
var node = $("#tree").tree("getSelected");
var OrgID = node != null ? node.id : '';
$("#dg").datagrid({
url: '/Query/GetRetailFlowList',
pagination: true,
后面还有 55 行代码,购买后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明
AI 解读
登录后可用,每次 10 积分,解读结果公开显示在下面。
还没有人解读过这个文件。
