Commit 7a436d1c authored by 季圣华's avatar 季圣华
Browse files

!14 格式化代码,看着有点别扭

Merge pull request !14 from SmkfGao/master
parents 8f304964 6bc92ec9
<%@page import="com.jsh.util.Tools"%> <%@page import="com.jsh.util.Tools" %>
<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%> <%@ page language="java" pageEncoding="utf-8" %>
<% <%
String path = request.getContextPath(); String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/"; String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() + path + "/";
String clientIp = Tools.getLocalIp(request); String clientIp = Tools.getLocalIp(request);
String type = request.getParameter("type"); String type = request.getParameter("type");
String location = "首页"; String location = "首页";
if(null != type) if (null != type)
location = "资产管理 &gt;资产概况"; location = "资产管理 &gt;资产概况";
%> %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"> <html xmlns="http://www.w3.org/1999/xhtml">
<head> <head>
<title>erp</title> <title>erp</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<!-- 指定以IE8的方式来渲染 --> <!-- 指定以IE8的方式来渲染 -->
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE8"/> <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE8"/>
<link rel="shortcut icon" href="<%=path%>/images/favicon.ico" type="image/x-icon" /> <link rel="shortcut icon" href="<%=path%>/images/favicon.ico" type="image/x-icon"/>
<link rel="stylesheet" type="text/css" href="<%=path %>/js/easyui-1.3.5/themes/default/easyui.css"/> <link rel="stylesheet" type="text/css" href="<%=path %>/js/easyui-1.3.5/themes/default/easyui.css"/>
<link rel="stylesheet" type="text/css" href="<%=path %>/js/easyui-1.3.5/themes/icon.css"/> <link rel="stylesheet" type="text/css" href="<%=path %>/js/easyui-1.3.5/themes/icon.css"/>
<script type="text/javascript" src="<%=path %>/js/jquery-1.8.0.min.js"></script> <script type="text/javascript" src="<%=path %>/js/jquery-1.8.0.min.js"></script>
<script type="text/javascript" src="<%=path %>/js/easyui-1.3.5/jquery.easyui.min.js"></script> <script type="text/javascript" src="<%=path %>/js/easyui-1.3.5/jquery.easyui.min.js"></script>
<script type="text/javascript" src="<%=path %>/js/easyui-1.3.5/locale/easyui-lang-zh_CN.js"></script> <script type="text/javascript" src="<%=path %>/js/easyui-1.3.5/locale/easyui-lang-zh_CN.js"></script>
<script type="text/javascript" src="<%=path%>/js/highcharts/highcharts.js"></script> <script type="text/javascript" src="<%=path%>/js/highcharts/highcharts.js"></script>
<script type="text/javascript" src="<%=path%>/js/highcharts/exporting.js"></script> <script type="text/javascript" src="<%=path%>/js/highcharts/exporting.js"></script>
<style> <style>
body{ margin:0; height:100%} body {
html{ height:100%} /*兼容firefox的div高度100%*/ margin: 0;
#left{ width:150px; height:100%; float:left; _margin-right:-3px;} height: 100%
#right{ height:100%;} }
#leftdown{ width:150px; height:100%; float:left; _margin-right:-3px;}
#rightdown{ height:100%;} html {
<!--页面展示特殊要求--> height: 100%
.datagrid-body,.datagrid-footer,.datagrid-pager ,.datagrid-view }
{
background-color:#EAF2FD; /*兼容firefox的div高度100%*/
} #left {
</style> width: 150px;
</head> height: 100%;
<body> float: left;
<div id="position" class="easyui-panel" title="当前位置: <%=location %>" collapsible="false" closable="false"/> _margin-right: -3px;
<!--按月统计资产柱状图 --> }
<div id = "tablePanel0" class="easyui-panel" style="padding:1px;top:300px;" title="资产报表" iconCls="icon-chart-column" collapsible="true" maximizable="false" closable="false">
<div id="left" class="easyui-tabs" style="width:630px;height:auto;padding:1px;"> #right {
<div title="综合图" style="padding:10px;background-color: #EAF2FD;height:340px;top:300px;" data-options="iconCls:'icon-chart-zonghe'"> height: 100%;
<div id="zongheContainer" style="height: 340px;">综合图</div> }
</div>
</div> #leftdown {
<div id="right" class="easyui-tabs" style="height:auto;padding:1px;"> width: 150px;
<div title="柱状图" style="padding:10px;background-color: #EAF2FD;height:340px;top:300px;" data-options="iconCls:'icon-chart-statistics'"> height: 100%;
<div id="culumnContainer" style="height: 340px;">柱状图</div> float: left;
</div> _margin-right: -3px;
</div> }
<div id="leftdown" class="easyui-tabs" style="width:630px;height:auto;padding:1px;">
<div title="折线图" data-options="iconCls:'icon-chart-polygram'" style="padding:10px;background-color: #EAF2FD;height:340px;top:300px;"> #rightdown {
<div id="zxianContainer" style="height: 340px;">折现图</div> height: 100%;
</div> }
</div>
<div id="rightdown" class="easyui-tabs" style="height:auto;padding:1px;"> <!--
<div title="饼状图" data-options="iconCls:'icon-chart-pie'" style="padding:10px;background-color: #EAF2FD;height:340px;top:300px;"> 页面展示特殊要求-- >
<div id="pieContainer" style="height: 340px;">饼状图</div> .datagrid-body, .datagrid-footer, .datagrid-pager, .datagrid-view {
</div> background-color: #EAF2FD;
</div> }
</div> </style>
</head>
<!-- 数据显示table --> <body>
<div id = "tablePanel" class="easyui-panel" style="padding:1px;top:300px;" title="资产列表" iconCls="icon-list" collapsible="true" closable="false"> <div id="position" class="easyui-panel" title="当前位置: <%=location %>" collapsible="false" closable="false"/>
<table id="tableData" style="height:360px;top:300px;border-bottom-color:#FFFFFF"></table> <!--按月统计资产柱状图 -->
</div> <div id="tablePanel0" class="easyui-panel" style="padding:1px;top:300px;" title="资产报表" iconCls="icon-chart-column"
collapsible="true" maximizable="false" closable="false">
<script type="text/javascript"> <div id="left" class="easyui-tabs" style="width:630px;height:auto;padding:1px;">
//控制图表显示个数 <div title="综合图" style="padding:10px;background-color: #EAF2FD;height:340px;top:300px;"
var showNum = 10; data-options="iconCls:'icon-chart-zonghe'">
//初始化界面 <div id="zongheContainer" style="height: 340px;">综合图</div>
$(function() </div>
{ </div>
//progress(); <div id="right" class="easyui-tabs" style="height:auto;padding:1px;">
$.messager.progress({ <div title="柱状图" style="padding:10px;background-color: #EAF2FD;height:340px;top:300px;"
title:'请稍候', data-options="iconCls:'icon-chart-statistics'">
msg:'数据加载ing...' <div id="culumnContainer" style="height: 340px;">柱状图</div>
}); </div>
//综合图 </div>
showComboChart(); <div id="leftdown" class="easyui-tabs" style="width:630px;height:auto;padding:1px;">
//显示柱状图 <div title="折线图" data-options="iconCls:'icon-chart-polygram'"
showHistogram(); style="padding:10px;background-color: #EAF2FD;height:340px;top:300px;">
//折线图 <div id="zxianContainer" style="height: 340px;">折现图</div>
showSpline(); </div>
//饼状图 </div>
showPieChart(); <div id="rightdown" class="easyui-tabs" style="height:auto;padding:1px;">
initTableData(); <div title="饼状图" data-options="iconCls:'icon-chart-pie'"
ininPager(); style="padding:10px;background-color: #EAF2FD;height:340px;top:300px;">
$.messager.progress('close'); <div id="pieContainer" style="height: 340px;">饼状图</div>
}); </div>
</div>
//加载进度条 </div>
function progress()
{ <!-- 数据显示table -->
var win = $.messager.progress({ <div id="tablePanel" class="easyui-panel" style="padding:1px;top:300px;" title="资产列表" iconCls="icon-list"
title:'请稍候', collapsible="true" closable="false">
msg:'数据加载ing...' <table id="tableData" style="height:360px;top:300px;border-bottom-color:#FFFFFF"></table>
}); </div>
setTimeout(function(){
$.messager.progress('close'); <script type="text/javascript">
},3300); //控制图表显示个数
} var showNum = 10;
//初始化界面
//初始化表格数据 $(function () {
function initTableData() //progress();
{ $.messager.progress({
$('#tableData').datagrid({ title: '请稍候',
//title:'资产列表', msg: '数据加载ing...'
//iconCls:'icon-save', });
//width:700, //综合图
//height:480, showComboChart();
nowrap: false, //显示柱状图
rownumbers: false, showHistogram();
//动画效果 //折线图
animate:false, showSpline();
//选中单行 //饼状图
singleSelect : true, showPieChart();
collapsible:false, initTableData();
selectOnCheck:false, ininPager();
//fitColumns:true, $.messager.progress('close');
//单击行是否选中 });
checkOnSelect : false,
//交替出现背景 //加载进度条
striped : true, function progress() {
url:'<%=path %>/asset/findBy.action', var win = $.messager.progress({
pagination: true, title: '请稍候',
//loadFilter: pagerFilter, msg: '数据加载ing...'
pageSize: 10, });
pageList: [10,20,30,50], setTimeout(function () {
frozenColumns:[[ $.messager.progress('close');
{ field: 'id',width:35,align:"center",checkbox:true}, }, 3300);
{ title: '资产名称',field: 'assetname',width:100}, }
{ title: '单价', field: 'price',width:70,align:"center"},
{ title: '资产类型', field: 'category',width:115,align:"center"}, //初始化表格数据
{ title: '用户',field: 'username',width:100,align:"center"}, function initTableData() {
{ title: '购买日期',field: 'purchasedate',width:90,align:"center"}, $('#tableData').datagrid({
{ title: '状态',field: 'status',width:50,align:"center"}, //title:'资产列表',
{ title: '位置',field: 'location',width:100,align:"center"}, //iconCls:'icon-save',
{ title: '资产编号',field: 'assetnum',width:120,align:"center"}, //width:700,
{ title: '序列号',field: 'serialnum',width:120,align:"center"} //height:480,
]], nowrap: false,
columns:[[ rownumbers: false,
{ title: '有效日期',field: 'periodofvalidity',width:90,align:"center"}, //动画效果
{ title: '保修日期',field: 'warrantydate',width:90,align:"center"}, animate: false,
{ title: '供应商',field: 'supplier',width:100,align:"center"}, //选中单行
{ title: '标签',field: 'labels',width:180,align:"center"}, singleSelect: true,
{ title: '描述',field: 'description',width:300} collapsible: false,
]], selectOnCheck: false,
onLoadError:function() //fitColumns:true,
{ //单击行是否选中
$.messager.alert('页面加载提示','页面加载异常,请稍后再试!','error'); checkOnSelect: false,
return; //交替出现背景
} striped: true,
}); url: '<%=path %>/asset/findBy.action',
} pagination: true,
//loadFilter: pagerFilter,
//分页信息处理 pageSize: 10,
function ininPager() pageList: [10, 20, 30, 50],
{ frozenColumns: [[
try {field: 'id', width: 35, align: "center", checkbox: true},
{ {title: '资产名称', field: 'assetname', width: 100},
var opts = $("#tableData").datagrid('options'); {title: '单价', field: 'price', width: 70, align: "center"},
var pager = $("#tableData").datagrid('getPager'); {title: '资产类型', field: 'category', width: 115, align: "center"},
pager.pagination({ {title: '用户', field: 'username', width: 100, align: "center"},
onSelectPage:function(pageNum, pageSize) {title: '购买日期', field: 'purchasedate', width: 90, align: "center"},
{ {title: '状态', field: 'status', width: 50, align: "center"},
opts.pageNumber = pageNum; {title: '位置', field: 'location', width: 100, align: "center"},
opts.pageSize = pageSize; {title: '资产编号', field: 'assetnum', width: 120, align: "center"},
pager.pagination('refresh', {title: '序列号', field: 'serialnum', width: 120, align: "center"}
{ ]],
pageNumber:pageNum, columns: [[
pageSize:pageSize {title: '有效日期', field: 'periodofvalidity', width: 90, align: "center"},
}); {title: '保修日期', field: 'warrantydate', width: 90, align: "center"},
showAssetDetails(pageNum,pageSize); {title: '供应商', field: 'supplier', width: 100, align: "center"},
} {title: '标签', field: 'labels', width: 180, align: "center"},
}); {title: '描述', field: 'description', width: 300}
} ]],
catch (e) onLoadError: function () {
{ $.messager.alert('页面加载提示', '页面加载异常,请稍后再试!', 'error');
$.messager.alert('异常处理提示',"分页信息异常 : " + e.name + ": " + e.message,'error'); return;
} }
} });
}
function showAssetDetails(pageNo,pageSize)
{ //分页信息处理
$.ajax({ function ininPager() {
type:"post", try {
url: "<%=path %>/asset/findBy.action", var opts = $("#tableData").datagrid('options');
dataType: "json", var pager = $("#tableData").datagrid('getPager');
data: ({ pager.pagination({
assetNameID:$.trim($("#searchAssetNameID").val()), onSelectPage: function (pageNum, pageSize) {
assetCategoryID:$.trim($("#searchCategoryID").val()), opts.pageNumber = pageNum;
usernameID:$.trim($("#searchUsernameID").val()), opts.pageSize = pageSize;
status:$.trim($("#searchStatus").val()), pager.pagination('refresh',
supplierID:$.trim($("#searchSupplierID").val()), {
pageNo:pageNo, pageNumber: pageNum,
pageSize:pageSize pageSize: pageSize
}), });
success: function (data) showAssetDetails(pageNum, pageSize);
{ }
$("#tableData").datagrid('loadData',data); });
//$('#tableData').datagrid('reload'); }
}, catch (e) {
//此处添加错误处理 $.messager.alert('异常处理提示', "分页信息异常 : " + e.name + ": " + e.message, 'error');
error:function() }
{ }
$.messager.alert('查询提示','查询数据后台异常,请稍后再试!','error');
return; function showAssetDetails(pageNo, pageSize) {
} $.ajax({
}); type: "post",
} url: "<%=path %>/asset/findBy.action",
dataType: "json",
//设置饼状图为渐变色 data: ({
Highcharts.getOptions().colors = $.map(Highcharts.getOptions().colors, function(color) { assetNameID: $.trim($("#searchAssetNameID").val()),
return { assetCategoryID: $.trim($("#searchCategoryID").val()),
radialGradient: { cx: 0.5, cy: 0.3, r: 0.7 }, usernameID: $.trim($("#searchUsernameID").val()),
stops: [ status: $.trim($("#searchStatus").val()),
[0, color], supplierID: $.trim($("#searchSupplierID").val()),
[1, Highcharts.Color(color).brighten(-0.3).get('rgb')] // darken pageNo: pageNo,
] pageSize: pageSize
}; }),
}); success: function (data) {
$("#tableData").datagrid('loadData', data);
//$('#tableData').datagrid('reload');
//饼状图 },
function showPieChart() //此处添加错误处理
{ error: function () {
var pageData = null; $.messager.alert('查询提示', '查询数据后台异常,请稍后再试!', 'error');
$.ajax({ return;
type:"post", }
url: "<%=path%>/report/find.action", });
dataType: "json", }
//取消异步机制,保证页面数据返回再进行处理
async: false, //设置饼状图为渐变色
data: ({ Highcharts.getOptions().colors = $.map(Highcharts.getOptions().colors, function (color) {
reportType : 2, return {
}), radialGradient: {cx: 0.5, cy: 0.3, r: 0.7},
success: function (reportInfo) stops: [
{ [0, color],
pageData = reportInfo.showModel.reportData; [1, Highcharts.Color(color).brighten(-0.3).get('rgb')] // darken
var msgTip = reportInfo.showModel.msgTip; ]
if(msgTip == "get report data exception") };
{ });
alert("查找报表信息异常,请与管理员联系!");
return;
} //饼状图
} function showPieChart() {
}); var pageData = null;
//解决初始化范围变小问题 $.ajax({
$("#pieContainer").empty(); type: "post",
var getReportTypeInfo = "按供应商统计"; url: "<%=path%>/report/find.action",
//封装数据到数组中 dataType: "json",
var allDataInfo = new Array(); //取消异步机制,保证页面数据返回再进行处理
for(var i = 0;i < pageData.length; i++) async: false,
{ data: ({
var dataInfo = new Array(); reportType: 2,
var totalInfo = pageData[i] }),
success: function (reportInfo) {
dataInfo.push(totalInfo[1]); pageData = reportInfo.showModel.reportData;
var msgTip = reportInfo.showModel.msgTip;
dataInfo.push(totalInfo[0]); if (msgTip == "get report data exception") {
allDataInfo.push(dataInfo); alert("查找报表信息异常,请与管理员联系!");
} return;
}
new Highcharts.Chart({ }
chart: { });
renderTo: 'pieContainer', //解决初始化范围变小问题
plotBackgroundColor: null, $("#pieContainer").empty();
plotBorderWidth: null, var getReportTypeInfo = "按供应商统计";
backgroundColor:'#EAF2FD', //封装数据到数组中
plotShadow: false var allDataInfo = new Array();
}, for (var i = 0; i < pageData.length; i++) {
title: { var dataInfo = new Array();
text: getReportTypeInfo + "饼状图" var totalInfo = pageData[i]
},
tooltip: { dataInfo.push(totalInfo[1]);
formatter: function() {
return this.point.name +':'+ this.y + ""; dataInfo.push(totalInfo[0]);
} allDataInfo.push(dataInfo);
}, }
plotOptions: {
pie: { new Highcharts.Chart({
allowPointSelect: true, chart: {
cursor: 'pointer', renderTo: 'pieContainer',
dataLabels: { plotBackgroundColor: null,
enabled: true, plotBorderWidth: null,
color: '#000000', backgroundColor: '#EAF2FD',
connectorColor: '#000000', plotShadow: false
formatter: function() { },
if(this.point.name.length >10) title: {
return '<b>' + this.point.name.substr(0,10) + "</b>...:"+ this.y + ""; text: getReportTypeInfo + "饼状图"
return '<b>' + this.point.name +'</b>:'+ this.y + ""; },
} tooltip: {
} formatter: function () {
} return this.point.name + ':' + this.y + "";
}, }
series: [{ },
type: 'pie', plotOptions: {
name: '', pie: {
data: allDataInfo allowPointSelect: true,
}] cursor: 'pointer',
}); dataLabels: {
} enabled: true,
color: '#000000',
//综合图 connectorColor: '#000000',
function showComboChart() formatter: function () {
{ if (this.point.name.length > 10)
var pageData = null; return '<b>' + this.point.name.substr(0, 10) + "</b>...:" + this.y + "";
$.ajax({ return '<b>' + this.point.name + '</b>:' + this.y + "";
type:"post", }
url: "<%=path%>/report/find.action", }
dataType: "json", }
//取消异步机制,保证页面数据返回再进行处理 },
async: false, series: [{
data: ({ type: 'pie',
reportType : 0 name: '',
}), data: allDataInfo
success: function (reportInfo) }]
{ });
pageData = reportInfo.showModel.reportData; }
var msgTip = reportInfo.showModel.msgTip;
if(msgTip == "get report data exception") //综合图
{ function showComboChart() {
alert("查找报表信息异常,请与管理员联系!"); var pageData = null;
return; $.ajax({
} type: "post",
} url: "<%=path%>/report/find.action",
}); dataType: "json",
//解决初始化范围变小问题 //取消异步机制,保证页面数据返回再进行处理
$("#zongheContainer").empty(); async: false,
var getReportTypeInfo = "按资产状态统计"; data: ({
//按照统计数据封装显示数据 reportType: 0
var xName = new Array(); }),
var columnData = new Array(); success: function (reportInfo) {
var columnDataForm = null; pageData = reportInfo.showModel.reportData;
var averageDataForm = null; var msgTip = reportInfo.showModel.msgTip;
var allDataSum = 0; if (msgTip == "get report data exception") {
alert("查找报表信息异常,请与管理员联系!");
var showNumInfo = 0; return;
if(pageData.length >= showNum) }
showNumInfo = 10; }
else });
showNumInfo = pageData.length; //解决初始化范围变小问题
for(var i = 0 ;i < showNumInfo;i ++) $("#zongheContainer").empty();
{ var getReportTypeInfo = "按资产状态统计";
var eachData = pageData[i]; //按照统计数据封装显示数据
var sum = eachData[0]; var xName = new Array();
var totalInfo = eachData[1]; var columnData = new Array();
if(0 == totalInfo) var columnDataForm = null;
xName.push("在库"); var averageDataForm = null;
else if(1 == totalInfo) var allDataSum = 0;
xName.push("在用");
else if(2 == totalInfo) var showNumInfo = 0;
xName.push("消费"); if (pageData.length >= showNum)
columnData.push(sum); showNumInfo = 10;
allDataSum += sum; else
} showNumInfo = pageData.length;
columnDataForm = for (var i = 0; i < showNumInfo; i++) {
{ var eachData = pageData[i];
type: 'column', var sum = eachData[0];
name: "资产总数", var totalInfo = eachData[1];
data: columnData if (0 == totalInfo)
}; xName.push("在库");
else if (1 == totalInfo)
averageDataForm = { xName.push("在用");
type: 'spline', else if (2 == totalInfo)
name: getReportTypeInfo + '资产概况曲线', xName.push("消费");
data: columnData, columnData.push(sum);
marker: { allDataSum += sum;
lineWidth: 2, }
lineColor: Highcharts.getOptions().colors[3], columnDataForm =
fillColor: 'white' {
} type: 'column',
}; name: "资产总数",
sumDataForm = data: columnData
{ };
type: 'pie',
name: '总数', averageDataForm = {
data: [{ type: 'spline',
name: '资产总数', name: getReportTypeInfo + '资产概况曲线',
y: allDataSum data: columnData,
}], marker: {
center: [450, 1], lineWidth: 2,
size: 80, lineColor: Highcharts.getOptions().colors[3],
showInLegend: false, fillColor: 'white'
dataLabels: { }
enabled: true, };
align:'center' sumDataForm =
} {
} type: 'pie',
new Highcharts.Chart({ name: '总数',
chart: { data: [{
renderTo: 'zongheContainer', name: '资产总数',
backgroundColor:'#EAF2FD' y: allDataSum
}, }],
title: { center: [450, 1],
text: getReportTypeInfo + "综合图" size: 80,
}, showInLegend: false,
xAxis: { dataLabels: {
categories: xName enabled: true,
}, align: 'center'
yAxis: { }
title: { }
text: '' new Highcharts.Chart({
}, chart: {
labels: { renderTo: 'zongheContainer',
formatter: function() { backgroundColor: '#EAF2FD'
return this.value; },
} title: {
} text: getReportTypeInfo + "综合图"
}, },
plotOptions: { xAxis: {
column: { categories: xName
cursor: 'pointer', },
dataLabels: { yAxis: {
enabled: true, title: {
style: { text: ''
fontWeight: 'bold' },
}, labels: {
formatter: function() { formatter: function () {
return this.y; return this.value;
} }
}, }
//设置是否显示最下面选项 },
showInLegend: false plotOptions: {
}, column: {
spline: { cursor: 'pointer',
marker: { dataLabels: {
radius: 4, enabled: true,
lineColor: '#666666', style: {
lineWidth: 1 fontWeight: 'bold'
}, },
showInLegend: false formatter: function () {
}, return this.y;
line: { }
dataLabels: { },
enabled: false //设置是否显示最下面选项
}, showInLegend: false
enableMouseTracking: true, },
showInLegend: false spline: {
}, marker: {
pie: { radius: 4,
allowPointSelect: false, lineColor: '#666666',
dataLabels: { lineWidth: 1
color: '#000000', },
connectorColor: '#000000', showInLegend: false
formatter: function() { },
return '资产总数: '+ this.y; line: {
} dataLabels: {
} enabled: false
} },
}, enableMouseTracking: true,
tooltip: { showInLegend: false
formatter: function() { },
return this.key +':'+ this.y +''; pie: {
} allowPointSelect: false,
}, dataLabels: {
labels: { color: '#000000',
items: [{ connectorColor: '#000000',
html: '', formatter: function () {
style: { return '资产总数: ' + this.y;
left: '40px', }
top: '8px', }
color: 'black' }
} },
}] tooltip: {
}, formatter: function () {
series: [columnDataForm,averageDataForm,sumDataForm] return this.key + ':' + this.y + '';
}); }
} },
labels: {
//折线图 items: [{
function showSpline() html: '',
{ style: {
var pageData = null; left: '40px',
$.ajax({ top: '8px',
type:"post", color: 'black'
url: "<%=path%>/report/find.action", }
dataType: "json", }]
//取消异步机制,保证页面数据返回再进行处理 },
async: false, series: [columnDataForm, averageDataForm, sumDataForm]
data: ({ });
reportType : 1 }
}),
success: function (reportInfo) //折线图
{ function showSpline() {
pageData = reportInfo.showModel.reportData; var pageData = null;
var msgTip = reportInfo.showModel.msgTip; $.ajax({
if(msgTip == "get report data exception") type: "post",
{ url: "<%=path%>/report/find.action",
alert("查找报表信息异常,请与管理员联系!"); dataType: "json",
return; //取消异步机制,保证页面数据返回再进行处理
} async: false,
} data: ({
}); reportType: 1
//解决初始化范围变小问题 }),
$("#zxianContainer").empty(); success: function (reportInfo) {
var getReportTypeInfo = "按资产类型统计"; pageData = reportInfo.showModel.reportData;
var dataInfo = new Array(); var msgTip = reportInfo.showModel.msgTip;
var nameData = new Array(); if (msgTip == "get report data exception") {
var consumeSumInfo= null; alert("查找报表信息异常,请与管理员联系!");
return;
}
var showNumInfo = 0; }
if(pageData.length >= showNum) });
showNumInfo = 10; //解决初始化范围变小问题
else $("#zxianContainer").empty();
showNumInfo = pageData.length; var getReportTypeInfo = "按资产类型统计";
for(var i = 0 ;i < showNumInfo;i ++) var dataInfo = new Array();
{ var nameData = new Array();
var totalInfo = pageData[i] var consumeSumInfo = null;
dataInfo.push(totalInfo[0]);
nameData.push(totalInfo[1]);
} var showNumInfo = 0;
consumeSumInfo= { if (pageData.length >= showNum)
name: getReportTypeInfo + '总共', showNumInfo = 10;
marker: { else
symbol: 'square', showNumInfo = pageData.length;
labels: { for (var i = 0; i < showNumInfo; i++) {
formatter: function() var totalInfo = pageData[i]
{ dataInfo.push(totalInfo[0]);
return this.value +''; nameData.push(totalInfo[1]);
} }
} consumeSumInfo = {
}, name: getReportTypeInfo + '总共',
data: dataInfo marker: {
}; symbol: 'square',
labels: {
new Highcharts.Chart({ formatter: function () {
chart: { return this.value + '';
renderTo: 'zxianContainer', }
type: 'line', }
backgroundColor:'#EAF2FD' },
}, data: dataInfo
title: { };
text: getReportTypeInfo + "曲线图"
}, new Highcharts.Chart({
subtitle: { chart: {
text: '' renderTo: 'zxianContainer',
}, type: 'line',
xAxis: { backgroundColor: '#EAF2FD'
categories: nameData, },
labels: { title: {
rotation: -45, //逆时针旋转45°,标签名称太长。 text: getReportTypeInfo + "曲线图"
align: 'right', //设置右对齐 },
formatter: function() { subtitle: {
if(this.value.length >10) text: ''
return this.value.substr(0,10) + "..."; },
return this.value ; xAxis: {
} categories: nameData,
} labels: {
}, rotation: -45, //逆时针旋转45°,标签名称太长。
yAxis: { align: 'right', //设置右对齐
title: { formatter: function () {
text: '' if (this.value.length > 10)
}, return this.value.substr(0, 10) + "...";
labels: { return this.value;
formatter: function() { }
return this.value ; }
} },
} yAxis: {
}, title: {
tooltip: { text: ''
crosshairs: false, },
shared: true, labels: {
formatter: function() { formatter: function () {
return this.x + ":" +this.y +''; return this.value;
} }
}, }
plotOptions: { },
spline: { tooltip: {
marker: { crosshairs: false,
radius: 4, shared: true,
lineColor: '#666666', formatter: function () {
lineWidth: 1 return this.x + ":" + this.y + '';
}, }
showInLegend: false },
}, plotOptions: {
line: { spline: {
dataLabels: { marker: {
enabled: true radius: 4,
}, lineColor: '#666666',
enableMouseTracking: true, lineWidth: 1
showInLegend: false },
} showInLegend: false
}, },
series: [consumeSumInfo] line: {
}); dataLabels: {
} enabled: true
},
//柱状图 enableMouseTracking: true,
function showHistogram() showInLegend: false
{ }
var pageData = null; },
$.ajax({ series: [consumeSumInfo]
type:"post", });
url: "<%=path%>/report/find.action", }
dataType: "json",
//取消异步机制,保证页面数据返回再进行处理 //柱状图
async: false, function showHistogram() {
data: ({ var pageData = null;
reportType : 3, $.ajax({
}), type: "post",
success: function (reportInfo) url: "<%=path%>/report/find.action",
{ dataType: "json",
pageData = reportInfo.showModel.reportData; //取消异步机制,保证页面数据返回再进行处理
var msgTip = reportInfo.showModel.msgTip; async: false,
if(msgTip == "get report data exception") data: ({
{ reportType: 3,
alert("查找报表信息异常,请与管理员联系!"); }),
return; success: function (reportInfo) {
} pageData = reportInfo.showModel.reportData;
} var msgTip = reportInfo.showModel.msgTip;
}); if (msgTip == "get report data exception") {
//解决初始化范围变小问题 alert("查找报表信息异常,请与管理员联系!");
$("#culumnContainer").empty(); return;
var getReportTypeInfo = "按资产名称统计"; }
var dataInfo = new Array(); }
var nameData = new Array(); });
var consumeSumInfo= null; //解决初始化范围变小问题
$("#culumnContainer").empty();
var showNumInfo = 0; var getReportTypeInfo = "按资产名称统计";
if(pageData.length >= showNum) var dataInfo = new Array();
showNumInfo = 10; var nameData = new Array();
else var consumeSumInfo = null;
showNumInfo = pageData.length;
for(var i = 0 ;i < showNumInfo;i ++) var showNumInfo = 0;
{ if (pageData.length >= showNum)
var totalInfo = pageData[i]; showNumInfo = 10;
dataInfo.push(totalInfo[0]); else
nameData.push(totalInfo[1]); showNumInfo = pageData.length;
} for (var i = 0; i < showNumInfo; i++) {
consumeSumInfo= { var totalInfo = pageData[i];
name: getReportTypeInfo + "柱状图", dataInfo.push(totalInfo[0]);
data: dataInfo nameData.push(totalInfo[1]);
} }
consumeSumInfo = {
new Highcharts.Chart({ name: getReportTypeInfo + "柱状图",
chart: { data: dataInfo
renderTo: 'culumnContainer', }
type: 'column',
backgroundColor:'#EAF2FD' new Highcharts.Chart({
}, chart: {
title: { renderTo: 'culumnContainer',
text: getReportTypeInfo + "柱状图" type: 'column',
}, backgroundColor: '#EAF2FD'
xAxis: { },
categories: nameData, title: {
labels: { text: getReportTypeInfo + "柱状图"
rotation: -45, //逆时针旋转45°,标签名称太长。 },
align: 'right', //设置右对齐 xAxis: {
formatter: function() { categories: nameData,
if(this.value.length >10) labels: {
return this.value.substr(0,10) + "..."; rotation: -45, //逆时针旋转45°,标签名称太长。
return this.value ; align: 'right', //设置右对齐
} formatter: function () {
} if (this.value.length > 10)
}, return this.value.substr(0, 10) + "...";
yAxis: { return this.value;
title: { }
text: '' }
}, },
labels: { yAxis: {
formatter: function() { title: {
return this.value; text: ''
} },
} labels: {
}, formatter: function () {
plotOptions: { return this.value;
column: { }
cursor: 'pointer', }
dataLabels: { },
enabled: true, plotOptions: {
style: { column: {
fontWeight: 'bold' cursor: 'pointer',
}, dataLabels: {
formatter: function() { enabled: true,
return this.y; style: {
} fontWeight: 'bold'
}, },
showInLegend: false formatter: function () {
} return this.y;
}, }
tooltip: { },
formatter: function() { showInLegend: false
return this.x + ":" +this.y +''; }
} },
}, tooltip: {
credits: { formatter: function () {
enabled: false return this.x + ":" + this.y + '';
}, }
series: [consumeSumInfo] },
}); credits: {
} enabled: false
},
//返回统计类型字符串 series: [consumeSumInfo]
function getReportType() });
{ }
var reportType = $("#searchReportType").val();
if(reportType==0) //返回统计类型字符串
{ function getReportType() {
return '按资产状态统计'; var reportType = $("#searchReportType").val();
} var reportName = undefined;
else if(reportType==1) switch (reportType) {
{ case 1:
return '按资产类型统计'; reportName = '按资产类型统计';
} break;
else if(reportType==2) case 2:
{ reportName = '按供应商统计';
return '按供应商统计'; break;
} case 3:
else if(reportType==3) reportName = '按资产名称统计';
{ break;
return '按资产名称统计'; case 4:
} reportName = '按所属用户统计';
else if(reportType==4) break;
{ default:
return '按所属用户统计'; reportName = '按资产状态统计';
} break;
} }
</script> }
</body> </script>
</body>
</html> </html>
\ No newline at end of file
<%@page import="com.jsh.util.Tools"%> <%@page import="com.jsh.util.Tools" %>
<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%> <%@ page language="java" pageEncoding="utf-8" %>
<% <%
String path = request.getContextPath(); String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/"; String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() + path + "/";
String clientIp = Tools.getLocalIp(request); String clientIp = Tools.getLocalIp(request);
%> %>
<!DOCTYPE html> <!DOCTYPE html>
...@@ -10,111 +10,122 @@ ...@@ -10,111 +10,122 @@
<head> <head>
<meta charset="utf-8"> <meta charset="utf-8">
<title>ERP系统</title> <title>ERP系统</title>
<link href="<%=path%>/js/HoorayOS_mini/js/HoorayLibs/hooraylibs.css" rel="stylesheet" /> <link href="<%=path%>/js/HoorayOS_mini/js/HoorayLibs/hooraylibs.css" rel="stylesheet"/>
<link href="<%=path%>/js/HoorayOS_mini/img/ui/index.css" rel="stylesheet" /> <link href="<%=path%>/js/HoorayOS_mini/img/ui/index.css" rel="stylesheet"/>
</head> </head>
<body> <body>
<div class="loading"></div> <div class="loading"></div>
<!-- 浏览器升级提示 --> <!-- 浏览器升级提示 -->
<div class="update_browser_box"> <div class="update_browser_box">
<div class="update_browser"> <div class="update_browser">
<div class="subtitle">您正在使用的IE浏览器版本过低,<br>我们建议您升级或者更换浏览器,以便体验顺畅、兼容、安全的互联网。</div> <div class="subtitle">您正在使用的IE浏览器版本过低,<br>我们建议您升级或者更换浏览器,以便体验顺畅、兼容、安全的互联网。</div>
<div class="title">选择一款<span></span>浏览器吧</div> <div class="title">选择一款<span></span>浏览器吧</div>
<div class="browser"> <div class="browser">
<a href="http://windows.microsoft.com/zh-CN/internet-explorer/downloads/ie" class="ie" target="_blank" title="ie浏览器">ie浏览器</a> <a href="http://windows.microsoft.com/zh-CN/internet-explorer/downloads/ie" class="ie" target="_blank"
<a href="http://www.google.cn/chrome/" class="chrome" target="_blank" title="谷歌浏览器">谷歌浏览器</a> title="ie浏览器">ie浏览器</a>
<a href="http://www.firefox.com.cn" class="firefox" target="_blank" title="火狐浏览器">火狐浏览器</a> <a href="http://www.google.cn/chrome/" class="chrome" target="_blank" title="谷歌浏览器">谷歌浏览器</a>
<a href="http://www.opera.com" class="opera" target="_blank" title="opera浏览器">opera浏览器</a> <a href="http://www.firefox.com.cn" class="firefox" target="_blank" title="火狐浏览器">火狐浏览器</a>
<a href="http://www.apple.com.cn/safari" class="safari" target="_blank" title="safari浏览器">safari浏览器</a> <a href="http://www.opera.com" class="opera" target="_blank" title="opera浏览器">opera浏览器</a>
</div> <a href="http://www.apple.com.cn/safari" class="safari" target="_blank" title="safari浏览器">safari浏览器</a>
<div class="bottomtitle">[&nbsp;<a href="http://www.baidu.com/search/theie6countdown.html" target="_blank">对IE6说再见</a>&nbsp;]</div> </div>
<div class="bottomtitle">[&nbsp;<a href="http://www.baidu.com/search/theie6countdown.html" target="_blank">对IE6说再见</a>&nbsp;]
</div> </div>
</div> </div>
<!-- 桌面 --> </div>
<div id="desktop"> <!-- 桌面 -->
<div id="zoom-tip"><div><i></i><span></span></div><a href="javascript:;" class="close" onclick="HROS.zoom.close();">×</a></div> <div id="desktop">
<div id="desk"> <div id="zoom-tip">
<div id="desk-1" class="desktop-container"><div class="scrollbar scrollbar-x"></div><div class="scrollbar scrollbar-y"></div></div> <div><i></i><span></span></div>
<div id="dock-bar"> <a href="javascript:;" class="close" onclick="HROS.zoom.close();">×</a></div>
<div id="dock-container"> <div id="desk">
<div class="dock-middle"> <div id="desk-1" class="desktop-container">
<div class="dock-applist"></div> <div class="scrollbar scrollbar-x"></div>
<div class="dock-toollist"> <div class="scrollbar scrollbar-y"></div>
<a id="loginOut" href="#"> </div>
<img src="<%=path%>/js/HoorayOS_mini/img/exit.png" style="height:50px;width:50px;"> <div id="dock-bar">
</a> <div id="dock-container">
<span style="text-align:center;color:white; position:absolute;top:435px; left:15px;"> <div class="dock-middle">
${sessionScope.user.username} <div class="dock-applist"></div>
</span> <div class="dock-toollist">
</div> <a id="loginOut" href="#">
<img src="<%=path%>/js/HoorayOS_mini/img/exit.png" style="height:50px;width:50px;">
</a>
<span style="text-align:center;color:white; position:absolute;top:435px; left:15px;">
${sessionScope.user.username}
</span>
</div> </div>
</div> </div>
</div> </div>
</div> </div>
<div id="task-bar-bg1"></div> </div>
<div id="task-bar-bg2"></div> <div id="task-bar-bg1"></div>
<div id="task-bar"> <div id="task-bar-bg2"></div>
<div id="task-next"><a href="javascript:;" id="task-next-btn" hidefocus="true"></a></div> <div id="task-bar">
<div id="task-content"> <div id="task-next"><a href="javascript:;" id="task-next-btn" hidefocus="true"></a></div>
<div id="task-content-inner"></div> <div id="task-content">
</div> <div id="task-content-inner"></div>
<div id="task-pre"><a href="javascript:;" id="task-pre-btn" hidefocus="true"></a></div>
</div> </div>
<div id="task-pre"><a href="javascript:;" id="task-pre-btn" hidefocus="true"></a></div>
</div> </div>
<script src="<%=path%>/js/HoorayOS_mini/js/jquery-1.8.3.min.js"></script> </div>
<script src="<%=path%>/js/HoorayOS_mini/js/HoorayLibs/hooraylibs.js"></script> <script src="<%=path%>/js/HoorayOS_mini/js/jquery-1.8.3.min.js"></script>
<script src="<%=path%>/js/HoorayOS_mini/js/templates.js"></script> <script src="<%=path%>/js/HoorayOS_mini/js/HoorayLibs/hooraylibs.js"></script>
<script src="<%=path%>/js/HoorayOS_mini/js/core.js"></script> <script src="<%=path%>/js/HoorayOS_mini/js/templates.js"></script>
<script src="<%=path%>/js/HoorayOS_mini/js/hros.app.js"></script> <script src="<%=path%>/js/HoorayOS_mini/js/core.js"></script>
<script src="<%=path%>/js/HoorayOS_mini/js/hros.base.js"></script> <script src="<%=path%>/js/HoorayOS_mini/js/hros.app.js"></script>
<script src="<%=path%>/js/HoorayOS_mini/js/hros.desktop.js"></script> <script src="<%=path%>/js/HoorayOS_mini/js/hros.base.js"></script>
<script src="<%=path%>/js/HoorayOS_mini/js/hros.dock.js"></script> <script src="<%=path%>/js/HoorayOS_mini/js/hros.desktop.js"></script>
<script src="<%=path%>/js/HoorayOS_mini/js/hros.grid.js"></script> <script src="<%=path%>/js/HoorayOS_mini/js/hros.dock.js"></script>
<script src="<%=path%>/js/HoorayOS_mini/js/hros.maskBox.js"></script> <script src="<%=path%>/js/HoorayOS_mini/js/hros.grid.js"></script>
<script src="<%=path%>/js/HoorayOS_mini/js/hros.taskbar.js"></script> <script src="<%=path%>/js/HoorayOS_mini/js/hros.maskBox.js"></script>
<script src="<%=path%>/js/HoorayOS_mini/js/hros.popupMenu.js"></script> <script src="<%=path%>/js/HoorayOS_mini/js/hros.taskbar.js"></script>
<script src="<%=path%>/js/HoorayOS_mini/js/hros.wallpaper.js"></script> <script src="<%=path%>/js/HoorayOS_mini/js/hros.popupMenu.js"></script>
<script src="<%=path%>/js/HoorayOS_mini/js/hros.widget.js"></script> <script src="<%=path%>/js/HoorayOS_mini/js/hros.wallpaper.js"></script>
<script src="<%=path%>/js/HoorayOS_mini/js/hros.window.js"></script> <script src="<%=path%>/js/HoorayOS_mini/js/hros.widget.js"></script>
<script src="<%=path%>/js/HoorayOS_mini/js/hros.zoom.js"></script> <script src="<%=path%>/js/HoorayOS_mini/js/hros.window.js"></script>
<script src="<%=path%>/js/HoorayOS_mini/js/hros.zoom.js"></script>
<script type="text/javascript" src="<%=path%>/js/easyui-1.3.5/jquery.easyui.min.js"></script> <script type="text/javascript" src="<%=path%>/js/easyui-1.3.5/jquery.easyui.min.js"></script>
<link href="<%=path%>/js/easyui-1.3.5/themes/default/easyui.css" rel="stylesheet" type="text/css" /> <link href="<%=path%>/js/easyui-1.3.5/themes/default/easyui.css" rel="stylesheet" type="text/css"/>
<script> <script>
$(function () { $(function () {
$('#loginOut').click(function () { $('#loginOut').click(function () {
if (confirm("确认要退出系统吗?")) if (confirm("确认要退出系统吗?"))
location.href = '<%=path%>/user/logout.action?clientIp=<%=clientIp%>'; location.href = '<%=path%>/user/logout.action?clientIp=<%=clientIp%>';
}) })
//IE下禁止选中 //IE下禁止选中
document.body.onselectstart = document.body.ondrag = function () { return false; } document.body.onselectstart = document.body.ondrag = function () {
//隐藏加载遮罩层 return false;
$('.loading').hide(); }
//IE6升级提示 //隐藏加载遮罩层
if ($.browser.msie && $.browser.version < 7) { $('.loading').hide();
if ($.browser.version < 7) { //IE6升级提示
//虽然不支持IE6,但还是得修复PNG图片透明的问题 if ($.browser.msie && $.browser.version < 7) {
DD_belatedPNG.fix('.update_browser .browser'); if ($.browser.version < 7) {
} //虽然不支持IE6,但还是得修复PNG图片透明的问题
$('.update_browser_box').show(); DD_belatedPNG.fix('.update_browser .browser');
} else {
$('#desktop').show();
//初始化一些桌面信息
HROS.CONFIG.wallpaper = '<%=path%>/js/HoorayOS_mini/img/wallpaper/wallpaper.jpg';
//加载桌面
HROS.base.init();
} }
//判断是否存在session,如果不存在就跳到登录界面 $('.update_browser_box').show();
function UserOut() { } else {
var kid = ${sessionScope.user.id}; $('#desktop').show();
if (!kid){ //初始化一些桌面信息
top.location.href = '../../'; HROS.CONFIG.wallpaper = '<%=path%>/js/HoorayOS_mini/img/wallpaper/wallpaper.jpg';
} //加载桌面
HROS.base.init();
}
//判断是否存在session,如果不存在就跳到登录界面
function UserOut() {
var kid = ${sessionScope.user.id};
if (!kid) {
top.location.href = '../../';
} }
setInterval(UserOut, 5000); //每5秒检测一次 }
});
setInterval(UserOut, 5000); //每5秒检测一次
});
</script> </script>
</body> </body>
</html> </html>
\ No newline at end of file
<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%> <%@ page language="java" pageEncoding="utf-8" %>
<% <%
String path = request.getContextPath(); String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/"; String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() + path + "/";
%> %>
<!DOCTYPE html> <!DOCTYPE html>
<html> <html>
<head> <head>
<title></title> <title></title>
<meta charset="utf-8"> <meta charset="utf-8">
<!-- 指定以IE8的方式来渲染 --> <!-- 指定以IE8的方式来渲染 -->
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE8"/> <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE8"/>
<link rel="shortcut icon" href="<%=path%>/images/favicon.ico" type="image/x-icon" /> <link rel="shortcut icon" href="<%=path%>/images/favicon.ico" type="image/x-icon"/>
<link rel="stylesheet" type="text/css" href="<%=path %>/js/easyui-1.3.5/themes/default/easyui.css"/> <link rel="stylesheet" type="text/css" href="<%=path %>/js/easyui-1.3.5/themes/default/easyui.css"/>
<link rel="stylesheet" type="text/css" href="<%=path %>/js/easyui-1.3.5/themes/icon.css"/> <link rel="stylesheet" type="text/css" href="<%=path %>/js/easyui-1.3.5/themes/icon.css"/>
<link type="text/css" rel="stylesheet" href="<%=path %>/css/common.css" /> <link type="text/css" rel="stylesheet" href="<%=path %>/css/common.css"/>
<script type="text/javascript" src="<%=path %>/js/jquery-1.8.0.min.js"></script> <script type="text/javascript" src="<%=path %>/js/jquery-1.8.0.min.js"></script>
<script type="text/javascript" src="<%=path %>/js/easyui-1.3.5/jquery.easyui.min.js"></script> <script type="text/javascript" src="<%=path %>/js/easyui-1.3.5/jquery.easyui.min.js"></script>
<script type="text/javascript" src="<%=path %>/js/easyui-1.3.5/locale/easyui-lang-zh_CN.js"></script> <script type="text/javascript" src="<%=path %>/js/easyui-1.3.5/locale/easyui-lang-zh_CN.js"></script>
<script type="text/javascript" src="<%=path %>/js/easyui-1.3.5/outlook.js"></script> <script type="text/javascript" src="<%=path %>/js/easyui-1.3.5/outlook.js"></script>
<script type="text/javascript" src="<%=path %>/js/common/common.js"></script> <script type="text/javascript" src="<%=path %>/js/common/common.js"></script>
<script type="text/javascript"> <script type="text/javascript">
function NewTab(name, url, funId) { function NewTab(name, url, funId) {
window.funId = funId; window.funId = funId;
addTab(name, url, ''); addTab(name, url, '');
} }
</script> </script>
</head> </head>
<body class="easyui-layout" style="overflow-y: hidden" scroll="no"> <body class="easyui-layout" style="overflow-y: hidden" scroll="no">
<script> <script>
var pageid = getUrlParam('id'); //获取传值id var pageid = getUrlParam('id'); //获取传值id
var id=${sessionScope.user.id}; var id =${sessionScope.user.id};
//alert(pageid); //alert(pageid);
var userBusinessList = null; var userBusinessList = null;
var userBusinessID = null; var userBusinessID = null;
var type=null; var type = null;
var options = ""; var options = "";
var kid=null; var kid = null;
var lei=null; var lei = null;
var last=""; var last = "";
var functions=""; var functions = "";
var btnStrList = []; //按钮权限列表 var btnStrList = []; //按钮权限列表
//初始化界面 //初始化界面
$(function() $(function () {
{ //初始化系统基础信息
//初始化系统基础信息 initSystemData(id, 'UserRole');
initSystemData(id,'UserRole'); initSelectInfo(0);
initSelectInfo(0);
initSelect();
//ceshi();
});
//初始化系统基础信息 initSelect();
function initSystemData(kid,type)
{
$.ajax({
type:"post",
url: "<%=path%>/userBusiness/getBasicData.action",
data: ({
KeyId:kid,
Type:type
}),
//设置为同步
async:false,
dataType: "json",
success: function (systemInfo)
{
if(systemInfo)
{
userBusinessList = systemInfo.showModel.map.userBusinessList;
var msgTip = systemInfo.showModel.msgTip;
if(msgTip == "exceptoin")
{
$.messager.alert('提示','查找UserBusiness异常,请与管理员联系!','error');
return;
}
}
else
{
userBusinessList=null;
}
}
});
}
//初始化页面选项卡
function initSelectInfo(lei) {
if(userBusinessList !=null) {
if(userBusinessList.length>0) {
options =userBusinessList[0].value;
if(options!="") {
options=options.substring(1,options.length-1);
}
//app内列表赋值
if(lei==1) {
last+=options+'][';
}
//功能菜单列表
else if(lei==2) {
functions+=options+'][';
}
//按钮权限列表
else if(lei==3) {
var btnStr =userBusinessList[0].btnStr;
if(btnStr!=null){
btnStr = JSON.parse(btnStr);
for(var j=0; j<btnStr.length; j++){
btnStrList.push(btnStr[j]);
}
}
}
}
}
}
//初始化页面 //ceshi();
function initSelect() });
{
var arr = options.split('][');
for(var i in arr){
initSystemData(arr[i],'RoleAPP'); //根据角色找app
initSelectInfo(1);//app内列表赋值
initSystemData(arr[i],'RoleFunctions'); //根据角色找functions //初始化系统基础信息
initSelectInfo(2); //功能菜单列表 function initSystemData(kid, type) {
initSelectInfo(3); //查询角色对应的按钮权限 $.ajax({
} type: "post",
if(last!="") url: "<%=path%>/userBusiness/getBasicData.action",
{ data: ({
last="["+last.substring(0,last.length-1); KeyId: kid,
//alert(last); Type: type
}),
//设置为同步
async: false,
dataType: "json",
success: function (systemInfo) {
if (systemInfo) {
userBusinessList = systemInfo.showModel.map.userBusinessList;
var msgTip = systemInfo.showModel.msgTip;
if (msgTip == "exceptoin") {
$.messager.alert('提示', '查找UserBusiness异常,请与管理员联系!', 'error');
return;
}
}
else {
userBusinessList = null;
}
}
});
if(last.indexOf("["+pageid+"]")!=-1) }
{
//alert("存在");
$("#west").show();
$("#mainPanle").show();
$("#mm").show();
}
else
{
//alert("不存在");
$("div").remove();
$("<div style='width:100%;text-align:center;padding-top:20px'><b>抱歉,您没有该权限!</b></div>").appendTo("body");
}
}
if(functions!="")
{
functions="["+functions.substring(0,functions.length-1);
//alert(functions);
}
if(btnStrList.length>0){
window.winBtnStrList = JSON.stringify(btnStrList); //将按钮功能列表存为全局变量
}
}
//测试自定义hql //初始化页面选项卡
function ceshi() function initSelectInfo(lei) {
{ if (userBusinessList != null) {
$.ajax({ if (userBusinessList.length > 0) {
type:"post", options = userBusinessList[0].value;
url: "<%=path%>/userBusiness/getceshi.action", if (options != "") {
data: ({ options = options.substring(1, options.length - 1);
Type:"UserRole" }
}), //app内列表赋值
//设置为同步 if (lei == 1) {
async:false, last += options + '][';
dataType: "json", }
success: function (systemInfo) //功能菜单列表
{ else if (lei == 2) {
if(systemInfo) functions += options + '][';
{ }
userBusinessList = systemInfo.showModel.map.userBusinessList; //按钮权限列表
var msgTip = systemInfo.showModel.msgTip; else if (lei == 3) {
if(msgTip == "exceptoin") var btnStr = userBusinessList[0].btnStr;
{ if (btnStr != null) {
$.messager.alert('提示','查找UserBusiness异常,请与管理员联系!','error'); btnStr = JSON.parse(btnStr);
return; for (var j = 0; j < btnStr.length; j++) {
} btnStrList.push(btnStr[j]);
} }
else }
{ }
userBusinessList=null; }
} }
} }
});
//初始化页面
if(userBusinessList !=null) function initSelect() {
{ var arr = options.split('][');
if(userBusinessList.length>0) for (var i in arr) {
{ initSystemData(arr[i], 'RoleAPP'); //根据角色找app
alert(userBusinessList[0][0]); initSelectInfo(1);//app内列表赋值
alert(userBusinessList[0][1]);
} initSystemData(arr[i], 'RoleFunctions'); //根据角色找functions
} initSelectInfo(2); //功能菜单列表
} initSelectInfo(3); //查询角色对应的按钮权限
}
if (last != "") {
last = "[" + last.substring(0, last.length - 1);
//alert(last);
if (last.indexOf("[" + pageid + "]") != -1) {
//alert("存在");
$("#west").show();
$("#mainPanle").show();
$("#mm").show();
}
else {
//alert("不存在");
$("div").remove();
$("<div style='width:100%;text-align:center;padding-top:20px'><b>抱歉,您没有该权限!</b></div>").appendTo("body");
}
}
if (functions != "") {
functions = "[" + functions.substring(0, functions.length - 1);
//alert(functions);
}
if (btnStrList.length > 0) {
window.winBtnStrList = JSON.stringify(btnStrList); //将按钮功能列表存为全局变量
}
}
//测试自定义hql
function ceshi() {
$.ajax({
type: "post",
url: "<%=path%>/userBusiness/getceshi.action",
data: ({
Type: "UserRole"
}),
//设置为同步
async: false,
dataType: "json",
success: function (systemInfo) {
if (systemInfo) {
userBusinessList = systemInfo.showModel.map.userBusinessList;
var msgTip = systemInfo.showModel.msgTip;
if (msgTip == "exceptoin") {
$.messager.alert('提示', '查找UserBusiness异常,请与管理员联系!', 'error');
return;
}
}
else {
userBusinessList = null;
}
}
});
if (userBusinessList != null) {
if (userBusinessList.length > 0) {
alert(userBusinessList[0][0]);
alert(userBusinessList[0][1]);
}
}
}
</script> </script>
<div region="west" hide="true" split="true" title="导航菜单" style="width:125px;" id="west"> <div region="west" hide="true" split="true" title="导航菜单" style="width:125px;" id="west">
<div id="nav" fit="true" border="false"> <div id="nav" fit="true" border="false">
<!-- 导航内容 --> <!-- 导航内容 -->
<div> <div>
<ul id="tt"></ul> <ul id="tt"></ul>
<script> <script>
var PNumber = getUrlParam('appID'); //获取传值appid var PNumber = getUrlParam('appID'); //获取传值appid
$(function(){ $(function () {
$('#tt').tree({ $('#tt').tree({
url:'<%=path%>/functions/findMenu.action?PNumber='+PNumber+'&hasFunctions='+functions, url: '<%=path%>/functions/findMenu.action?PNumber=' + PNumber + '&hasFunctions=' + functions,
animate:true animate: true
}); });
}); });
</script> </script>
</div>
</div> </div>
</div> </div>
<div id="mainPanle" region="center" style="background: #eee; overflow-y: hidden"> </div>
<div id="tabs" class="easyui-tabs" fit="true" border="false"></div> <div id="mainPanle" region="center" style="background: #eee; overflow-y: hidden">
<div id="tabs" class="easyui-tabs" fit="true" border="false"></div>
</div>
<div id="mm" class="easyui-menu" style="width: 120px;">
<div id="mm-tabupdate">
刷新
</div> </div>
<div id="mm" class="easyui-menu" style="width: 120px;"> <div class="menu-sep">
<div id="mm-tabupdate"> </div>
刷新 <div id="mm-tabclose">
</div> 关闭
<div class="menu-sep"> </div>
</div> <div id="mm-tabcloseall">
<div id="mm-tabclose"> 全部关闭
关闭 </div>
</div> <div id="mm-tabcloseother">
<div id="mm-tabcloseall"> 关闭其他页
全部关闭 </div>
</div> <div class="menu-sep">
<div id="mm-tabcloseother"> </div>
关闭其他页 <div id="mm-tabcloseright">
</div> 关闭右侧页面
<div class="menu-sep"> </div>
</div> <div id="mm-tabcloseleft">
<div id="mm-tabcloseright"> 关闭左侧页面
关闭右侧页面 </div>
</div> <div class="menu-sep">
<div id="mm-tabcloseleft"> </div>
关闭左侧页面 <div id="mm-version">
</div> 华夏ERP官网
<div class="menu-sep">
</div>
<div id="mm-version">
华夏ERP官网
</div>
</div> </div>
</div>
</body> </body>
</html> </html>
\ No newline at end of file
<%@page import="com.jsh.util.Tools"%> <%@page import="com.jsh.util.Tools" %>
<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%> <%@ page language="java" pageEncoding="utf-8" %>
<% <%
String path = request.getContextPath(); String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/"; String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() + path + "/";
String clientIp = Tools.getLocalIp(request); String clientIp = Tools.getLocalIp(request);
%> %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"> <html xmlns="http://www.w3.org/1999/xhtml">
<head> <head>
<title>资产管理</title> <title>资产管理</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<!-- 指定以IE8的方式来渲染 --> <!-- 指定以IE8的方式来渲染 -->
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE8"/> <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE8"/>
<link rel="shortcut icon" href="<%=path%>/images/favicon.ico" type="image/x-icon" /> <link rel="shortcut icon" href="<%=path%>/images/favicon.ico" type="image/x-icon"/>
<link type="text/css" rel="stylesheet" href="<%=path %>/css/css.css" /> <link type="text/css" rel="stylesheet" href="<%=path %>/css/css.css"/>
<script type="text/javascript" src="<%=path %>/js/jquery-1.8.0.min.js"></script> <script type="text/javascript" src="<%=path %>/js/jquery-1.8.0.min.js"></script>
</head> </head>
<body> <body>
<script type="text/javascript"> <script type="text/javascript">
//初始化界面 //初始化界面
$(function() $(function () {
{ init();
init(); });
});
function init() {
function init()
{ }
</script>
} </body>
</script>
</body>
</html> </html>
\ No newline at end of file
<%@page import="com.jsh.util.Tools"%> <%@page import="com.jsh.util.Tools" %>
<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%> <%@ page language="java" pageEncoding="utf-8" %>
<% <%
String path = request.getContextPath(); String path = request.getContextPath();
String clientIp = Tools.getLocalIp(request); String clientIp = Tools.getLocalIp(request);
%> %>
<!DOCTYPE html> <!DOCTYPE html>
<html> <html>
<head> <head>
<title>收预付款</title> <title>收预付款</title>
<meta charset="utf-8"> <meta charset="utf-8">
<!-- 指定以IE8的方式来渲染 --> <!-- 指定以IE8的方式来渲染 -->
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE8"/> <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE8"/>
<link rel="shortcut icon" href="<%=path%>/images/favicon.ico" type="image/x-icon" /> <link rel="shortcut icon" href="<%=path%>/images/favicon.ico" type="image/x-icon"/>
<link rel="stylesheet" type="text/css" href="<%=path %>/js/easyui-1.3.5/themes/default/easyui.css"/> <link rel="stylesheet" type="text/css" href="<%=path %>/js/easyui-1.3.5/themes/default/easyui.css"/>
<link rel="stylesheet" type="text/css" href="<%=path %>/js/easyui-1.3.5/themes/icon.css"/> <link rel="stylesheet" type="text/css" href="<%=path %>/js/easyui-1.3.5/themes/icon.css"/>
<link type="text/css" rel="stylesheet" href="<%=path %>/css/common.css" /> <link type="text/css" rel="stylesheet" href="<%=path %>/css/common.css"/>
<script src="<%=path %>/js/jquery-1.8.0.min.js"></script> <script src="<%=path %>/js/jquery-1.8.0.min.js"></script>
<script src="<%=path %>/js/easyui-1.3.5/jquery.easyui.min.js"></script> <script src="<%=path %>/js/easyui-1.3.5/jquery.easyui.min.js"></script>
<script src="<%=path %>/js/easyui-1.3.5/locale/easyui-lang-zh_CN.js"></script> <script src="<%=path %>/js/easyui-1.3.5/locale/easyui-lang-zh_CN.js"></script>
<script src="<%=path %>/js/My97DatePicker/WdatePicker.js"></script> <script src="<%=path %>/js/My97DatePicker/WdatePicker.js"></script>
<script src="<%=path %>/js/common/common.js"></script> <script src="<%=path %>/js/common/common.js"></script>
<script src="<%=path %>/js/pages/financial/financial_base.js"></script> <script src="<%=path %>/js/pages/financial/financial_base.js"></script>
<script> <script>
var kid = ${sessionScope.user.id}; var kid = ${sessionScope.user.id};
var path = "<%=path%>"; var path = "<%=path%>";
var clientIp = "<%=clientIp%>"; var clientIp = "<%=clientIp%>";
</script> </script>
</head> </head>
<body> <body>
<!-- 查询 --> <!-- 查询 -->
<div id = "searchPanel" class="easyui-panel" style="padding:3px;" title="查询窗口" iconCls="icon-search" collapsible="true" closable="false"> <div id="searchPanel" class="easyui-panel" style="padding:3px;" title="查询窗口" iconCls="icon-search" collapsible="true"
<table id="searchTable"> closable="false">
<tr> <table id="searchTable">
<td>单据编号:</td> <tr>
<td> <td>单据编号:</td>
<input type="text" name="searchBillNo" id="searchBillNo" style="width:100px;"/> <td>
</td> <input type="text" name="searchBillNo" id="searchBillNo" style="width:100px;"/>
<td>单据日期:</td> </td>
<td> <td>单据日期:</td>
<input type="text" name="searchBeginTime" id="searchBeginTime" onClick="WdatePicker({dateFmt:'yyyy-MM-dd'})" class="txt Wdate" style="width:100px;"/> <td>
</td> <input type="text" name="searchBeginTime" id="searchBeginTime"
<td>-</td> onClick="WdatePicker({dateFmt:'yyyy-MM-dd'})" class="txt Wdate" style="width:100px;"/>
<td> </td>
<input type="text" name="searchEndTime" id="searchEndTime" onClick="WdatePicker({dateFmt:'yyyy-MM-dd'})" class="txt Wdate" style="width:100px;"/> <td>-</td>
</td> <td>
<td>&nbsp;</td> <input type="text" name="searchEndTime" id="searchEndTime" onClick="WdatePicker({dateFmt:'yyyy-MM-dd'})"
<td> class="txt Wdate" style="width:100px;"/>
<a href="javascript:void(0)" class="easyui-linkbutton" iconCls="icon-search" id="searchBtn">查询</a>&nbsp; </td>
<a href="javascript:void(0)" class="easyui-linkbutton" iconCls="icon-redo" id="searchResetBtn">重置</a> <td>&nbsp;</td>
</td> <td>
</tr> <a href="javascript:void(0)" class="easyui-linkbutton" iconCls="icon-search" id="searchBtn">查询</a>&nbsp;
</table> <a href="javascript:void(0)" class="easyui-linkbutton" iconCls="icon-redo" id="searchResetBtn">重置</a>
</div> </td>
</tr>
<!-- 数据显示table --> </table>
<div id = "tablePanel" class="easyui-panel" style="padding:1px;top:300px;" title="收预付款列表" iconCls="icon-list" collapsible="true" closable="false"> </div>
<table id="tableData" style="top:300px;border-bottom-color:#FFFFFF"></table>
</div> <!-- 数据显示table -->
<div id="tablePanel" class="easyui-panel" style="padding:1px;top:300px;" title="收预付款列表" iconCls="icon-list"
<div id="accountHeadDlg" class="easyui-dialog" style="width:1200px;padding:10px 20px;top:20px" collapsible="true" closable="false">
closed="true" buttons="#dlg-buttons" modal="true" cache="false" collapsible="false" closable="true"> <table id="tableData" style="top:300px;border-bottom-color:#FFFFFF"></table>
<form id="accountHeadFM" method="post" novalidate> </div>
<table>
<tr> <div id="accountHeadDlg" class="easyui-dialog" style="width:1200px;padding:10px 20px;top:20px"
<td style="width:60px;">付款会员:</td> closed="true" buttons="#dlg-buttons" modal="true" cache="false" collapsible="false" closable="true">
<td style="padding:5px;width:170px;"> <form id="accountHeadFM" method="post" novalidate>
<select name="OrganId" id="OrganId" style="width:110px;"></select> <table>
</td> <tr>
<td style="width:70px;">经手人:</td> <td style="width:60px;">付款会员:</td>
<td style="padding:5px;width:170px;"> <td style="padding:5px;width:170px;">
<select name="HandsPersonId" id="HandsPersonId" style="width:110px;"></select> <select name="OrganId" id="OrganId" style="width:110px;"></select>
</td> </td>
<td style="width:70px;">单据日期:</td> <td style="width:70px;">经手人:</td>
<td style="padding:5px;width:170px;"> <td style="padding:5px;width:170px;">
<input type="text" name="BillTime" id="BillTime" onClick="WdatePicker({dateFmt:'yyyy-MM-dd HH:mm:ss'})" class="txt Wdate" style="width:140px;"/> <select name="HandsPersonId" id="HandsPersonId" style="width:110px;"></select>
</td> </td>
<td style="width:80px;">单据编号:</td> <td style="width:70px;">单据日期:</td>
<td style="padding:5px;width:170px;"> <td style="padding:5px;width:170px;">
<input name="BillNo" id="BillNo" class="easyui-validatebox" data-options="required:true,validType:'length[2,30]'" style="width: 140px;"/> <input type="text" name="BillTime" id="BillTime"
</td> onClick="WdatePicker({dateFmt:'yyyy-MM-dd HH:mm:ss'})" class="txt Wdate"
<td style="width:100px;"></td> style="width:140px;"/>
</tr> </td>
<tr> <td style="width:80px;">单据编号:</td>
<td colspan="9"> <td style="padding:5px;width:170px;">
<!-- 单据列表table --> <input name="BillNo" id="BillNo" class="easyui-validatebox"
<table id="accountData" style="top:100px;border-bottom-color:#FFFFFF"></table> data-options="required:true,validType:'length[2,30]'" style="width: 140px;"/>
</td> </td>
</tr> <td style="width:100px;"></td>
<tr> </tr>
<td colspan="9"> <tr>
<textarea name="Remark" id="Remark" rows="2" cols="2" placeholder="暂无备注信息" style="width: 1130px; height:35px;"></textarea> <td colspan="9">
</td> <!-- 单据列表table -->
</tr> <table id="accountData" style="top:100px;border-bottom-color:#FFFFFF"></table>
<tr> </td>
<td>优惠金额:</td> </tr>
<td style="padding:5px"> <tr>
<input type="text" name="ChangeAmount" id="ChangeAmount" class="easyui-numberbox" data-options="min:0,precision:2" style="width: 110px;" /> <td colspan="9">
</td> <textarea name="Remark" id="Remark" rows="2" cols="2" placeholder="暂无备注信息"
</tr> style="width: 1130px; height:35px;"></textarea>
</table> </td>
<input type="hidden" name="clientIp" id="clientIp" value="<%=clientIp %>"/> </tr>
</form> <tr>
</div> <td>优惠金额:</td>
<div id="dlg-buttons"> <td style="padding:5px">
<a href="javascript:void(0)" id="saveAccountHead" class="easyui-linkbutton" iconCls="icon-ok">保存</a> <input type="text" name="ChangeAmount" id="ChangeAmount" class="easyui-numberbox"
<a href="javascript:void(0)" id="cancelAccountHead" class="easyui-linkbutton" iconCls="icon-cancel" onclick="javascript:$('#accountHeadDlg').dialog('close')">取消</a> data-options="min:0,precision:2" style="width: 110px;"/>
</div> </td>
<div id="accountHeadDlgShow" class="easyui-dialog" style="width:1200px;padding:10px 20px;top:20px" </tr>
closed="true" modal="true" cache="false" collapsible="false" closable="true"> </table>
<table> <input type="hidden" name="clientIp" id="clientIp" value="<%=clientIp %>"/>
<tr> </form>
<td style="width:60px;">付款会员:</td> </div>
<td style="padding:5px;width:140px;"> <div id="dlg-buttons">
<span id="OrganIdShow"></span> <a href="javascript:void(0)" id="saveAccountHead" class="easyui-linkbutton" iconCls="icon-ok">保存</a>
</td> <a href="javascript:void(0)" id="cancelAccountHead" class="easyui-linkbutton" iconCls="icon-cancel"
<td style="width:70px;">经手人:</td> onclick="javascript:$('#accountHeadDlg').dialog('close')">取消</a>
<td style="padding:5px;width:130px;"> </div>
<span id="HandsPersonIdShow"></span> <div id="accountHeadDlgShow" class="easyui-dialog" style="width:1200px;padding:10px 20px;top:20px"
</td> closed="true" modal="true" cache="false" collapsible="false" closable="true">
<td style="width:70px;">单据日期:</td> <table>
<td style="padding:5px;width:130px;"> <tr>
<span id="BillTimeShow"></span> <td style="width:60px;">付款会员:</td>
</td> <td style="padding:5px;width:140px;">
<td style="width:80px;">单据编号:</td> <span id="OrganIdShow"></span>
<td style="padding:5px;width:130px;"> </td>
<span id="BillNoShow"></span> <td style="width:70px;">经手人:</td>
</td> <td style="padding:5px;width:130px;">
<td style="width:100px;"></td> <span id="HandsPersonIdShow"></span>
</tr> </td>
<tr> <td style="width:70px;">单据日期:</td>
<td colspan="9" style="width: 1130px;"> <td style="padding:5px;width:130px;">
<!-- 单据列表table --> <span id="BillTimeShow"></span>
<table id="accountDataShow" style="top:100px;border-bottom-color:#FFFFFF"></table> </td>
</td> <td style="width:80px;">单据编号:</td>
</tr> <td style="padding:5px;width:130px;">
<tr> <span id="BillNoShow"></span>
<td style="width:60px;">单据备注:</td> </td>
<td colspan="8" style="height:35px;"> <td style="width:100px;"></td>
<span id="RemarkShow" style="width: 1070px; height:35px;"></span> </tr>
</td> <tr>
</tr> <td colspan="9" style="width: 1130px;">
<tr> <!-- 单据列表table -->
<td>优惠金额:</td> <table id="accountDataShow" style="top:100px;border-bottom-color:#FFFFFF"></table>
<td style="padding:5px;width:120px;"> </td>
<span id="ChangeAmountShow"></span> </tr>
</td> <tr>
</tr> <td style="width:60px;">单据备注:</td>
</table> <td colspan="8" style="height:35px;">
</div> <span id="RemarkShow" style="width: 1070px; height:35px;"></span>
</body> </td>
</tr>
<tr>
<td>优惠金额:</td>
<td style="padding:5px;width:120px;">
<span id="ChangeAmountShow"></span>
</td>
</tr>
</table>
</div>
</body>
</html> </html>
<%@page import="com.jsh.util.Tools"%> <%@page import="com.jsh.util.Tools" %>
<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%> <%@ page language="java" pageEncoding="utf-8" %>
<% <%
String path = request.getContextPath(); String path = request.getContextPath();
String clientIp = Tools.getLocalIp(request); String clientIp = Tools.getLocalIp(request);
%> %>
<!DOCTYPE html> <!DOCTYPE html>
<html> <html>
<head> <head>
<title>转账单</title> <title>转账单</title>
<meta charset="utf-8"> <meta charset="utf-8">
<!-- 指定以IE8的方式来渲染 --> <!-- 指定以IE8的方式来渲染 -->
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE8"/> <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE8"/>
<link rel="shortcut icon" href="<%=path%>/images/favicon.ico" type="image/x-icon" /> <link rel="shortcut icon" href="<%=path%>/images/favicon.ico" type="image/x-icon"/>
<link rel="stylesheet" type="text/css" href="<%=path %>/js/easyui-1.3.5/themes/default/easyui.css"/> <link rel="stylesheet" type="text/css" href="<%=path %>/js/easyui-1.3.5/themes/default/easyui.css"/>
<link rel="stylesheet" type="text/css" href="<%=path %>/js/easyui-1.3.5/themes/icon.css"/> <link rel="stylesheet" type="text/css" href="<%=path %>/js/easyui-1.3.5/themes/icon.css"/>
<link type="text/css" rel="stylesheet" href="<%=path %>/css/common.css" /> <link type="text/css" rel="stylesheet" href="<%=path %>/css/common.css"/>
<script src="<%=path %>/js/jquery-1.8.0.min.js"></script> <script src="<%=path %>/js/jquery-1.8.0.min.js"></script>
<script src="<%=path %>/js/easyui-1.3.5/jquery.easyui.min.js"></script> <script src="<%=path %>/js/easyui-1.3.5/jquery.easyui.min.js"></script>
<script src="<%=path %>/js/easyui-1.3.5/locale/easyui-lang-zh_CN.js"></script> <script src="<%=path %>/js/easyui-1.3.5/locale/easyui-lang-zh_CN.js"></script>
<script src="<%=path %>/js/My97DatePicker/WdatePicker.js"></script> <script src="<%=path %>/js/My97DatePicker/WdatePicker.js"></script>
<script src="<%=path %>/js/common/common.js"></script> <script src="<%=path %>/js/common/common.js"></script>
<script src="<%=path %>/js/pages/financial/financial_base.js"></script> <script src="<%=path %>/js/pages/financial/financial_base.js"></script>
<script> <script>
var kid = ${sessionScope.user.id}; var kid = ${sessionScope.user.id};
var path = "<%=path%>"; var path = "<%=path%>";
var clientIp = "<%=clientIp%>"; var clientIp = "<%=clientIp%>";
</script> </script>
</head> </head>
<body> <body>
<!-- 查询 --> <!-- 查询 -->
<div id = "searchPanel" class="easyui-panel" style="padding:3px;" title="查询窗口" iconCls="icon-search" collapsible="true" closable="false"> <div id="searchPanel" class="easyui-panel" style="padding:3px;" title="查询窗口" iconCls="icon-search" collapsible="true"
<table id="searchTable"> closable="false">
<tr> <table id="searchTable">
<td>单据编号:</td> <tr>
<td> <td>单据编号:</td>
<input type="text" name="searchBillNo" id="searchBillNo" style="width:100px;"/> <td>
</td> <input type="text" name="searchBillNo" id="searchBillNo" style="width:100px;"/>
<td>单据日期:</td> </td>
<td> <td>单据日期:</td>
<input type="text" name="searchBeginTime" id="searchBeginTime" onClick="WdatePicker({dateFmt:'yyyy-MM-dd'})" class="txt Wdate" style="width:100px;"/> <td>
</td> <input type="text" name="searchBeginTime" id="searchBeginTime"
<td>-</td> onClick="WdatePicker({dateFmt:'yyyy-MM-dd'})" class="txt Wdate" style="width:100px;"/>
<td> </td>
<input type="text" name="searchEndTime" id="searchEndTime" onClick="WdatePicker({dateFmt:'yyyy-MM-dd'})" class="txt Wdate" style="width:100px;"/> <td>-</td>
</td> <td>
<td>&nbsp;</td> <input type="text" name="searchEndTime" id="searchEndTime" onClick="WdatePicker({dateFmt:'yyyy-MM-dd'})"
<td> class="txt Wdate" style="width:100px;"/>
<a href="javascript:void(0)" class="easyui-linkbutton" iconCls="icon-search" id="searchBtn">查询</a>&nbsp; </td>
<a href="javascript:void(0)" class="easyui-linkbutton" iconCls="icon-redo" id="searchResetBtn">重置</a> <td>&nbsp;</td>
</td> <td>
</tr> <a href="javascript:void(0)" class="easyui-linkbutton" iconCls="icon-search" id="searchBtn">查询</a>&nbsp;
</table> <a href="javascript:void(0)" class="easyui-linkbutton" iconCls="icon-redo" id="searchResetBtn">重置</a>
</div> </td>
</tr>
<!-- 数据显示table --> </table>
<div id = "tablePanel" class="easyui-panel" style="padding:1px;top:300px;" title="转账单列表" iconCls="icon-list" collapsible="true" closable="false"> </div>
<table id="tableData" style="top:300px;border-bottom-color:#FFFFFF"></table>
</div> <!-- 数据显示table -->
<div id="tablePanel" class="easyui-panel" style="padding:1px;top:300px;" title="转账单列表" iconCls="icon-list"
<div id="accountHeadDlg" class="easyui-dialog" style="width:1200px;padding:10px 20px;top:20px" collapsible="true" closable="false">
closed="true" buttons="#dlg-buttons" modal="true" cache="false" collapsible="false" closable="true"> <table id="tableData" style="top:300px;border-bottom-color:#FFFFFF"></table>
<form id="accountHeadFM" method="post" novalidate> </div>
<table>
<tr> <div id="accountHeadDlg" class="easyui-dialog" style="width:1200px;padding:10px 20px;top:20px"
<td style="width:60px;">经手人:</td> closed="true" buttons="#dlg-buttons" modal="true" cache="false" collapsible="false" closable="true">
<td style="padding:5px;width:170px;"> <form id="accountHeadFM" method="post" novalidate>
<select name="HandsPersonId" id="HandsPersonId" style="width:110px;"></select> <table>
</td> <tr>
<td style="width:70px;">单据日期:</td> <td style="width:60px;">经手人:</td>
<td style="padding:5px;width:170px;"> <td style="padding:5px;width:170px;">
<input type="text" name="BillTime" id="BillTime" onClick="WdatePicker({dateFmt:'yyyy-MM-dd HH:mm:ss'})" class="txt Wdate" style="width:140px;"/> <select name="HandsPersonId" id="HandsPersonId" style="width:110px;"></select>
</td> </td>
<td style="width:80px;">单据编号:</td> <td style="width:70px;">单据日期:</td>
<td style="padding:5px;width:170px;"> <td style="padding:5px;width:170px;">
<input name="BillNo" id="BillNo" class="easyui-validatebox" data-options="required:true,validType:'length[2,30]'" style="width: 140px;"/> <input type="text" name="BillTime" id="BillTime"
</td> onClick="WdatePicker({dateFmt:'yyyy-MM-dd HH:mm:ss'})" class="txt Wdate"
<td style="width:70px;"></td> style="width:140px;"/>
<td style="padding:5px"> </td>
</td> <td style="width:80px;">单据编号:</td>
<td style="width:100px;"></td> <td style="padding:5px;width:170px;">
</tr> <input name="BillNo" id="BillNo" class="easyui-validatebox"
<tr> data-options="required:true,validType:'length[2,30]'" style="width: 140px;"/>
<td colspan="9"> </td>
<!-- 单据列表table --> <td style="width:70px;"></td>
<table id="accountData" style="top:100px;border-bottom-color:#FFFFFF"></table> <td style="padding:5px">
</td> </td>
</tr> <td style="width:100px;"></td>
<tr> </tr>
<td colspan="9"> <tr>
<textarea name="Remark" id="Remark" rows="2" cols="2" placeholder="暂无备注信息" style="width: 1130px; height:35px;"></textarea> <td colspan="9">
</td> <!-- 单据列表table -->
</tr> <table id="accountData" style="top:100px;border-bottom-color:#FFFFFF"></table>
<tr> </td>
<td>付款账户:</td> </tr>
<td style="padding:5px"> <tr>
<select id="AccountId" name="AccountId" style="width:110px;"></select> <td colspan="9">
</td> <textarea name="Remark" id="Remark" rows="2" cols="2" placeholder="暂无备注信息"
<td>实付金额:</td> style="width: 1130px; height:35px;"></textarea>
<td style="padding:5px"> </td>
<input type="text" name="ChangeAmount" id="ChangeAmount" class="easyui-numberbox" data-options="min:0,precision:2" style="width: 110px;"></input> </tr>
</td> <tr>
</tr> <td>付款账户:</td>
</table> <td style="padding:5px">
<input type="hidden" name="clientIp" id="clientIp" value="<%=clientIp %>"/> <select id="AccountId" name="AccountId" style="width:110px;"></select>
</form> </td>
</div> <td>实付金额:</td>
<div id="dlg-buttons"> <td style="padding:5px">
<a href="javascript:void(0)" id="saveAccountHead" class="easyui-linkbutton" iconCls="icon-ok">保存</a> <input type="text" name="ChangeAmount" id="ChangeAmount" class="easyui-numberbox"
<a href="javascript:void(0)" id="cancelAccountHead" class="easyui-linkbutton" iconCls="icon-cancel" onclick="javascript:$('#accountHeadDlg').dialog('close')">取消</a> data-options="min:0,precision:2" style="width: 110px;"></input>
</div> </td>
<div id="accountHeadDlgShow" class="easyui-dialog" style="width:1200px;padding:10px 20px;top:20px" </tr>
closed="true" modal="true" cache="false" collapsible="false" closable="true"> </table>
<table> <input type="hidden" name="clientIp" id="clientIp" value="<%=clientIp %>"/>
<tr> </form>
<td style="width:60px;">经手人:</td> </div>
<td style="padding:5px;width:130px;"> <div id="dlg-buttons">
<span id="HandsPersonIdShow"></span> <a href="javascript:void(0)" id="saveAccountHead" class="easyui-linkbutton" iconCls="icon-ok">保存</a>
</td> <a href="javascript:void(0)" id="cancelAccountHead" class="easyui-linkbutton" iconCls="icon-cancel"
<td style="width:70px;">单据日期:</td> onclick="javascript:$('#accountHeadDlg').dialog('close')">取消</a>
<td style="padding:5px;width:130px;"> </div>
<span id="BillTimeShow"></span> <div id="accountHeadDlgShow" class="easyui-dialog" style="width:1200px;padding:10px 20px;top:20px"
</td> closed="true" modal="true" cache="false" collapsible="false" closable="true">
<td style="width:80px;">单据编号:</td> <table>
<td style="padding:5px;width:130px;"> <tr>
<span id="BillNoShow"></span> <td style="width:60px;">经手人:</td>
</td> <td style="padding:5px;width:130px;">
<td style="width:50px;"></td> <span id="HandsPersonIdShow"></span>
<td style="padding:5px;width:110px;"></td> </td>
<td style="width:100px;"></td> <td style="width:70px;">单据日期:</td>
</tr> <td style="padding:5px;width:130px;">
<tr> <span id="BillTimeShow"></span>
<td colspan="9" style="width: 1130px;"> </td>
<!-- 单据列表table --> <td style="width:80px;">单据编号:</td>
<table id="accountDataShow" style="top:100px;border-bottom-color:#FFFFFF"></table> <td style="padding:5px;width:130px;">
</td> <span id="BillNoShow"></span>
</tr> </td>
<tr> <td style="width:50px;"></td>
<td style="width:60px;">单据备注:</td> <td style="padding:5px;width:110px;"></td>
<td colspan="8" style="height:35px;"> <td style="width:100px;"></td>
<span id="RemarkShow" style="width: 1070px; height:35px;"></span> </tr>
</td> <tr>
</tr> <td colspan="9" style="width: 1130px;">
<tr> <!-- 单据列表table -->
<td>付款账户:</td> <table id="accountDataShow" style="top:100px;border-bottom-color:#FFFFFF"></table>
<td style="padding:5px"> </td>
<span id="AccountIdShow"></span> </tr>
</td> <tr>
<td>实付金额:</td> <td style="width:60px;">单据备注:</td>
<td style="padding:5px"> <td colspan="8" style="height:35px;">
<span id="ChangeAmountShow"></span> <span id="RemarkShow" style="width: 1070px; height:35px;"></span>
</td> </td>
</tr> </tr>
</table> <tr>
</div> <td>付款账户:</td>
</body> <td style="padding:5px">
<span id="AccountIdShow"></span>
</td>
<td>实付金额:</td>
<td style="padding:5px">
<span id="ChangeAmountShow"></span>
</td>
</tr>
</table>
</div>
</body>
</html> </html>
<%@page import="com.jsh.util.Tools"%> <%@page import="com.jsh.util.Tools" %>
<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%> <%@ page language="java" pageEncoding="utf-8" %>
<% <%
String path = request.getContextPath(); String path = request.getContextPath();
String clientIp = Tools.getLocalIp(request); String clientIp = Tools.getLocalIp(request);
%> %>
<!DOCTYPE html> <!DOCTYPE html>
<html> <html>
<head> <head>
<title>收入单</title> <title>收入单</title>
<meta charset="utf-8"> <meta charset="utf-8">
<!-- 指定以IE8的方式来渲染 --> <!-- 指定以IE8的方式来渲染 -->
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE8"/> <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE8"/>
<link rel="shortcut icon" href="<%=path%>/images/favicon.ico" type="image/x-icon" /> <link rel="shortcut icon" href="<%=path%>/images/favicon.ico" type="image/x-icon"/>
<link rel="stylesheet" type="text/css" href="<%=path %>/js/easyui-1.3.5/themes/default/easyui.css"/> <link rel="stylesheet" type="text/css" href="<%=path %>/js/easyui-1.3.5/themes/default/easyui.css"/>
<link rel="stylesheet" type="text/css" href="<%=path %>/js/easyui-1.3.5/themes/icon.css"/> <link rel="stylesheet" type="text/css" href="<%=path %>/js/easyui-1.3.5/themes/icon.css"/>
<link type="text/css" rel="stylesheet" href="<%=path %>/css/common.css" /> <link type="text/css" rel="stylesheet" href="<%=path %>/css/common.css"/>
<script src="<%=path %>/js/jquery-1.8.0.min.js"></script> <script src="<%=path %>/js/jquery-1.8.0.min.js"></script>
<script src="<%=path %>/js/easyui-1.3.5/jquery.easyui.min.js"></script> <script src="<%=path %>/js/easyui-1.3.5/jquery.easyui.min.js"></script>
<script src="<%=path %>/js/easyui-1.3.5/locale/easyui-lang-zh_CN.js"></script> <script src="<%=path %>/js/easyui-1.3.5/locale/easyui-lang-zh_CN.js"></script>
<script src="<%=path %>/js/My97DatePicker/WdatePicker.js"></script> <script src="<%=path %>/js/My97DatePicker/WdatePicker.js"></script>
<script src="<%=path %>/js/common/common.js"></script> <script src="<%=path %>/js/common/common.js"></script>
<script src="<%=path %>/js/pages/financial/financial_base.js"></script> <script src="<%=path %>/js/pages/financial/financial_base.js"></script>
<script> <script>
var kid = ${sessionScope.user.id}; var kid = ${sessionScope.user.id};
var path = "<%=path%>"; var path = "<%=path%>";
var clientIp = "<%=clientIp%>"; var clientIp = "<%=clientIp%>";
</script> </script>
</head> </head>
<body> <body>
<!-- 查询 --> <!-- 查询 -->
<div id = "searchPanel" class="easyui-panel" style="padding:3px;" title="查询窗口" iconCls="icon-search" collapsible="true" closable="false"> <div id="searchPanel" class="easyui-panel" style="padding:3px;" title="查询窗口" iconCls="icon-search" collapsible="true"
<table id="searchTable"> closable="false">
<tr> <table id="searchTable">
<td>单据编号:</td> <tr>
<td> <td>单据编号:</td>
<input type="text" name="searchBillNo" id="searchBillNo" style="width:100px;"/> <td>
</td> <input type="text" name="searchBillNo" id="searchBillNo" style="width:100px;"/>
<td>单据日期:</td> </td>
<td> <td>单据日期:</td>
<input type="text" name="searchBeginTime" id="searchBeginTime" onClick="WdatePicker({dateFmt:'yyyy-MM-dd'})" class="txt Wdate" style="width:100px;"/> <td>
</td> <input type="text" name="searchBeginTime" id="searchBeginTime"
<td>-</td> onClick="WdatePicker({dateFmt:'yyyy-MM-dd'})" class="txt Wdate" style="width:100px;"/>
<td> </td>
<input type="text" name="searchEndTime" id="searchEndTime" onClick="WdatePicker({dateFmt:'yyyy-MM-dd'})" class="txt Wdate" style="width:100px;"/> <td>-</td>
</td> <td>
<td>&nbsp;</td> <input type="text" name="searchEndTime" id="searchEndTime" onClick="WdatePicker({dateFmt:'yyyy-MM-dd'})"
<td> class="txt Wdate" style="width:100px;"/>
<a href="javascript:void(0)" class="easyui-linkbutton" iconCls="icon-search" id="searchBtn">查询</a>&nbsp; </td>
<a href="javascript:void(0)" class="easyui-linkbutton" iconCls="icon-redo" id="searchResetBtn">重置</a> <td>&nbsp;</td>
</td> <td>
</tr> <a href="javascript:void(0)" class="easyui-linkbutton" iconCls="icon-search" id="searchBtn">查询</a>&nbsp;
</table> <a href="javascript:void(0)" class="easyui-linkbutton" iconCls="icon-redo" id="searchResetBtn">重置</a>
</div> </td>
</tr>
<!-- 数据显示table --> </table>
<div id = "tablePanel" class="easyui-panel" style="padding:1px;top:300px;" title="收入单列表" iconCls="icon-list" collapsible="true" closable="false"> </div>
<table id="tableData" style="top:300px;border-bottom-color:#FFFFFF"></table>
</div> <!-- 数据显示table -->
<div id="tablePanel" class="easyui-panel" style="padding:1px;top:300px;" title="收入单列表" iconCls="icon-list"
<div id="accountHeadDlg" class="easyui-dialog" style="width:1200px;padding:10px 20px;top:20px" collapsible="true" closable="false">
closed="true" buttons="#dlg-buttons" modal="true" cache="false" collapsible="false" closable="true"> <table id="tableData" style="top:300px;border-bottom-color:#FFFFFF"></table>
<form id="accountHeadFM" method="post" novalidate> </div>
<table>
<tr> <div id="accountHeadDlg" class="easyui-dialog" style="width:1200px;padding:10px 20px;top:20px"
<td style="width:60px;">往来单位:</td> closed="true" buttons="#dlg-buttons" modal="true" cache="false" collapsible="false" closable="true">
<td style="padding:5px;width:170px;"> <form id="accountHeadFM" method="post" novalidate>
<select name="OrganId" id="OrganId" style="width:130px;"></select> <table>
</td> <tr>
<td style="width:70px;">经手人:</td> <td style="width:60px;">往来单位:</td>
<td style="padding:5px;width:170px;"> <td style="padding:5px;width:170px;">
<select name="HandsPersonId" id="HandsPersonId" style="width:110px;"></select> <select name="OrganId" id="OrganId" style="width:130px;"></select>
</td> </td>
<td style="width:70px;">单据日期:</td> <td style="width:70px;">经手人:</td>
<td style="padding:5px;width:170px;"> <td style="padding:5px;width:170px;">
<input type="text" name="BillTime" id="BillTime" onClick="WdatePicker({dateFmt:'yyyy-MM-dd HH:mm:ss'})" class="txt Wdate" style="width:140px;"/> <select name="HandsPersonId" id="HandsPersonId" style="width:110px;"></select>
</td> </td>
<td style="width:70px;">单据编号:</td> <td style="width:70px;">单据日期:</td>
<td style="padding:5px;width:170px;"> <td style="padding:5px;width:170px;">
<input name="BillNo" id="BillNo" class="easyui-validatebox" data-options="required:true,validType:'length[2,30]'" style="width: 140px;"/> <input type="text" name="BillTime" id="BillTime"
</td> onClick="WdatePicker({dateFmt:'yyyy-MM-dd HH:mm:ss'})" class="txt Wdate"
<td style="width:100px;"></td> style="width:140px;"/>
</tr> </td>
<tr> <td style="width:70px;">单据编号:</td>
<td colspan="9"> <td style="padding:5px;width:170px;">
<!-- 单据列表table --> <input name="BillNo" id="BillNo" class="easyui-validatebox"
<table id="accountData" style="top:100px;border-bottom-color:#FFFFFF"></table> data-options="required:true,validType:'length[2,30]'" style="width: 140px;"/>
</td> </td>
</tr> <td style="width:100px;"></td>
<tr> </tr>
<td colspan="9"> <tr>
<textarea name="Remark" id="Remark" rows="2" cols="2" placeholder="暂无备注信息" style="width: 1130px; height:35px;"></textarea> <td colspan="9">
</td> <!-- 单据列表table -->
</tr> <table id="accountData" style="top:100px;border-bottom-color:#FFFFFF"></table>
<tr> </td>
<td>收款账户:</td> </tr>
<td style="padding:5px"> <tr>
<select id="AccountId" name="AccountId" style="width:110px;"></select> <td colspan="9">
</td> <textarea name="Remark" id="Remark" rows="2" cols="2" placeholder="暂无备注信息"
<td>收款金额:</td> style="width: 1130px; height:35px;"></textarea>
<td> </td>
<input type="text" name="ChangeAmount" id="ChangeAmount" class="easyui-numberbox" data-options="min:0,precision:2" style="width: 120px;" /> </tr>
</td> <tr>
</tr> <td>收款账户:</td>
</table> <td style="padding:5px">
<input type="hidden" name="clientIp" id="clientIp" value="<%=clientIp %>"/> <select id="AccountId" name="AccountId" style="width:110px;"></select>
</form> </td>
</div> <td>收款金额:</td>
<div id="dlg-buttons"> <td>
<a href="javascript:void(0)" id="saveAccountHead" class="easyui-linkbutton" iconCls="icon-ok">保存</a> <input type="text" name="ChangeAmount" id="ChangeAmount" class="easyui-numberbox"
<a href="javascript:void(0)" id="cancelAccountHead" class="easyui-linkbutton" iconCls="icon-cancel" onclick="javascript:$('#accountHeadDlg').dialog('close')">取消</a> data-options="min:0,precision:2" style="width: 120px;"/>
</div> </td>
<div id="accountHeadDlgShow" class="easyui-dialog" style="width:1200px;padding:10px 20px;top:20px" </tr>
closed="true" modal="true" cache="false" collapsible="false" closable="true"> </table>
<table> <input type="hidden" name="clientIp" id="clientIp" value="<%=clientIp %>"/>
<tr> </form>
<td style="width:60px;">往来单位:</td> </div>
<td style="padding:5px;width:130px;"> <div id="dlg-buttons">
<span id="OrganIdShow"></span> <a href="javascript:void(0)" id="saveAccountHead" class="easyui-linkbutton" iconCls="icon-ok">保存</a>
</td> <a href="javascript:void(0)" id="cancelAccountHead" class="easyui-linkbutton" iconCls="icon-cancel"
<td style="width:70px;">经手人:</td> onclick="javascript:$('#accountHeadDlg').dialog('close')">取消</a>
<td style="padding:5px;width:130px;"> </div>
<span id="HandsPersonIdShow"></span> <div id="accountHeadDlgShow" class="easyui-dialog" style="width:1200px;padding:10px 20px;top:20px"
</td> closed="true" modal="true" cache="false" collapsible="false" closable="true">
<td style="width:70px;">单据日期:</td> <table>
<td style="padding:5px;width:130px;"> <tr>
<span id="BillTimeShow"></span> <td style="width:60px;">往来单位:</td>
</td> <td style="padding:5px;width:130px;">
<td style="width:80px;">单据编号:</td> <span id="OrganIdShow"></span>
<td style="padding:5px;width:140px;"> </td>
<span id="BillNoShow"></span> <td style="width:70px;">经手人:</td>
</td> <td style="padding:5px;width:130px;">
<td style="width:100px;"></td> <span id="HandsPersonIdShow"></span>
</tr> </td>
<tr> <td style="width:70px;">单据日期:</td>
<td colspan="9" style="width: 1130px;"> <td style="padding:5px;width:130px;">
<!-- 单据列表table --> <span id="BillTimeShow"></span>
<table id="accountDataShow" style="top:100px;border-bottom-color:#FFFFFF"></table> </td>
</td> <td style="width:80px;">单据编号:</td>
</tr> <td style="padding:5px;width:140px;">
<tr> <span id="BillNoShow"></span>
<td style="width:60px;">单据备注:</td> </td>
<td colspan="8" style="height:35px;"> <td style="width:100px;"></td>
<span id="RemarkShow" style="width: 1070px; height:35px;"></span> </tr>
</td> <tr>
</tr> <td colspan="9" style="width: 1130px;">
<tr> <!-- 单据列表table -->
<td>收款账户:</td> <table id="accountDataShow" style="top:100px;border-bottom-color:#FFFFFF"></table>
<td style="padding:5px;"> </td>
<span id="AccountIdShow"></span> </tr>
</td> <tr>
<td>收款金额:</td> <td style="width:60px;">单据备注:</td>
<td style="padding:5px;"> <td colspan="8" style="height:35px;">
<span id="ChangeAmountShow"></span> <span id="RemarkShow" style="width: 1070px; height:35px;"></span>
</td> </td>
</tr> </tr>
</table> <tr>
</div> <td>收款账户:</td>
</body> <td style="padding:5px;">
<span id="AccountIdShow"></span>
</td>
<td>收款金额:</td>
<td style="padding:5px;">
<span id="ChangeAmountShow"></span>
</td>
</tr>
</table>
</div>
</body>
</html> </html>
<%@page import="com.jsh.util.Tools"%> <%@page import="com.jsh.util.Tools" %>
<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%> <%@ page language="java" pageEncoding="utf-8" %>
<% <%
String path = request.getContextPath(); String path = request.getContextPath();
String clientIp = Tools.getLocalIp(request); String clientIp = Tools.getLocalIp(request);
%> %>
<!DOCTYPE html> <!DOCTYPE html>
<html> <html>
<head> <head>
<title>支出单</title> <title>支出单</title>
<meta charset="utf-8"> <meta charset="utf-8">
<!-- 指定以IE8的方式来渲染 --> <!-- 指定以IE8的方式来渲染 -->
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE8"/> <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE8"/>
<link rel="shortcut icon" href="<%=path%>/images/favicon.ico" type="image/x-icon" /> <link rel="shortcut icon" href="<%=path%>/images/favicon.ico" type="image/x-icon"/>
<link rel="stylesheet" type="text/css" href="<%=path %>/js/easyui-1.3.5/themes/default/easyui.css"/> <link rel="stylesheet" type="text/css" href="<%=path %>/js/easyui-1.3.5/themes/default/easyui.css"/>
<link rel="stylesheet" type="text/css" href="<%=path %>/js/easyui-1.3.5/themes/icon.css"/> <link rel="stylesheet" type="text/css" href="<%=path %>/js/easyui-1.3.5/themes/icon.css"/>
<link type="text/css" rel="stylesheet" href="<%=path %>/css/common.css" /> <link type="text/css" rel="stylesheet" href="<%=path %>/css/common.css"/>
<script src="<%=path %>/js/jquery-1.8.0.min.js"></script> <script src="<%=path %>/js/jquery-1.8.0.min.js"></script>
<script src="<%=path %>/js/easyui-1.3.5/jquery.easyui.min.js"></script> <script src="<%=path %>/js/easyui-1.3.5/jquery.easyui.min.js"></script>
<script src="<%=path %>/js/easyui-1.3.5/locale/easyui-lang-zh_CN.js"></script> <script src="<%=path %>/js/easyui-1.3.5/locale/easyui-lang-zh_CN.js"></script>
<script src="<%=path %>/js/My97DatePicker/WdatePicker.js"></script> <script src="<%=path %>/js/My97DatePicker/WdatePicker.js"></script>
<script src="<%=path %>/js/common/common.js"></script> <script src="<%=path %>/js/common/common.js"></script>
<script src="<%=path %>/js/pages/financial/financial_base.js"></script> <script src="<%=path %>/js/pages/financial/financial_base.js"></script>
<script> <script>
var kid = ${sessionScope.user.id}; var kid = ${sessionScope.user.id};
var path = "<%=path%>"; var path = "<%=path%>";
var clientIp = "<%=clientIp%>"; var clientIp = "<%=clientIp%>";
</script> </script>
</head> </head>
<body> <body>
<!-- 查询 --> <!-- 查询 -->
<div id = "searchPanel" class="easyui-panel" style="padding:3px;" title="查询窗口" iconCls="icon-search" collapsible="true" closable="false"> <div id="searchPanel" class="easyui-panel" style="padding:3px;" title="查询窗口" iconCls="icon-search" collapsible="true"
<table id="searchTable"> closable="false">
<tr> <table id="searchTable">
<td>单据编号:</td> <tr>
<td> <td>单据编号:</td>
<input type="text" name="searchBillNo" id="searchBillNo" style="width:100px;"/> <td>
</td> <input type="text" name="searchBillNo" id="searchBillNo" style="width:100px;"/>
<td>单据日期:</td> </td>
<td> <td>单据日期:</td>
<input type="text" name="searchBeginTime" id="searchBeginTime" onClick="WdatePicker({dateFmt:'yyyy-MM-dd'})" class="txt Wdate" style="width:100px;"/> <td>
</td> <input type="text" name="searchBeginTime" id="searchBeginTime"
<td>-</td> onClick="WdatePicker({dateFmt:'yyyy-MM-dd'})" class="txt Wdate" style="width:100px;"/>
<td> </td>
<input type="text" name="searchEndTime" id="searchEndTime" onClick="WdatePicker({dateFmt:'yyyy-MM-dd'})" class="txt Wdate" style="width:100px;"/> <td>-</td>
</td> <td>
<td>&nbsp;</td> <input type="text" name="searchEndTime" id="searchEndTime" onClick="WdatePicker({dateFmt:'yyyy-MM-dd'})"
<td> class="txt Wdate" style="width:100px;"/>
<a href="javascript:void(0)" class="easyui-linkbutton" iconCls="icon-search" id="searchBtn">查询</a>&nbsp; </td>
<a href="javascript:void(0)" class="easyui-linkbutton" iconCls="icon-redo" id="searchResetBtn">重置</a> <td>&nbsp;</td>
</td> <td>
</tr> <a href="javascript:void(0)" class="easyui-linkbutton" iconCls="icon-search" id="searchBtn">查询</a>&nbsp;
</table> <a href="javascript:void(0)" class="easyui-linkbutton" iconCls="icon-redo" id="searchResetBtn">重置</a>
</div> </td>
</tr>
<!-- 数据显示table --> </table>
<div id = "tablePanel" class="easyui-panel" style="padding:1px;top:300px;" title="支出单列表" iconCls="icon-list" collapsible="true" closable="false"> </div>
<table id="tableData" style="top:300px;border-bottom-color:#FFFFFF"></table>
</div> <!-- 数据显示table -->
<div id="tablePanel" class="easyui-panel" style="padding:1px;top:300px;" title="支出单列表" iconCls="icon-list"
<div id="accountHeadDlg" class="easyui-dialog" style="width:1200px;padding:10px 20px;top:20px" collapsible="true" closable="false">
closed="true" buttons="#dlg-buttons" modal="true" cache="false" collapsible="false" closable="true"> <table id="tableData" style="top:300px;border-bottom-color:#FFFFFF"></table>
<form id="accountHeadFM" method="post" novalidate> </div>
<table>
<tr> <div id="accountHeadDlg" class="easyui-dialog" style="width:1200px;padding:10px 20px;top:20px"
<td style="width:60px;">往来单位:</td> closed="true" buttons="#dlg-buttons" modal="true" cache="false" collapsible="false" closable="true">
<td style="padding:5px;width:170px;"> <form id="accountHeadFM" method="post" novalidate>
<select name="OrganId" id="OrganId" style="width:130px;"></select> <table>
</td> <tr>
<td style="width:70px;">单据日期:</td> <td style="width:60px;">往来单位:</td>
<td style="padding:5px;width:170px;"> <td style="padding:5px;width:170px;">
<input type="text" name="BillTime" id="BillTime" onClick="WdatePicker({dateFmt:'yyyy-MM-dd HH:mm:ss'})" class="txt Wdate" style="width:140px;"/> <select name="OrganId" id="OrganId" style="width:130px;"></select>
</td> </td>
<td style="width:70px;">单据编号:</td> <td style="width:70px;">单据日期:</td>
<td style="padding:5px;width:170px;"> <td style="padding:5px;width:170px;">
<input name="BillNo" id="BillNo" class="easyui-validatebox" data-options="required:true,validType:'length[2,30]'" style="width: 140px;"/> <input type="text" name="BillTime" id="BillTime"
</td> onClick="WdatePicker({dateFmt:'yyyy-MM-dd HH:mm:ss'})" class="txt Wdate"
<td style="width:70px;"></td> style="width:140px;"/>
<td style="padding:5px"> </td>
</td> <td style="width:70px;">单据编号:</td>
<td style="width:100px;"></td> <td style="padding:5px;width:170px;">
</tr> <input name="BillNo" id="BillNo" class="easyui-validatebox"
<tr> data-options="required:true,validType:'length[2,30]'" style="width: 140px;"/>
<td colspan="9"> </td>
<!-- 单据列表table --> <td style="width:70px;"></td>
<table id="accountData" style="top:100px;border-bottom-color:#FFFFFF"></table> <td style="padding:5px">
</td> </td>
</tr> <td style="width:100px;"></td>
<tr> </tr>
<td colspan="9"> <tr>
<textarea name="Remark" id="Remark" rows="2" cols="2" placeholder="暂无备注信息" style="width: 1130px; height:35px;"></textarea> <td colspan="9">
</td> <!-- 单据列表table -->
</tr> <table id="accountData" style="top:100px;border-bottom-color:#FFFFFF"></table>
<tr> </td>
<td>付款账户:</td> </tr>
<td style="padding:5px"> <tr>
<select id="AccountId" name="AccountId" style="width:110px;"></select> <td colspan="9">
</td> <textarea name="Remark" id="Remark" rows="2" cols="2" placeholder="暂无备注信息"
<td>付款金额:</td> style="width: 1130px; height:35px;"></textarea>
<td> </td>
<input type="text" name="ChangeAmount" id="ChangeAmount" class="easyui-numberbox" data-options="min:0,precision:2" style="width: 120px;" /> </tr>
</td> <tr>
</tr> <td>付款账户:</td>
</table> <td style="padding:5px">
<input type="hidden" name="clientIp" id="clientIp" value="<%=clientIp %>"/> <select id="AccountId" name="AccountId" style="width:110px;"></select>
</form> </td>
</div> <td>付款金额:</td>
<div id="dlg-buttons"> <td>
<a href="javascript:void(0)" id="saveAccountHead" class="easyui-linkbutton" iconCls="icon-ok">保存</a> <input type="text" name="ChangeAmount" id="ChangeAmount" class="easyui-numberbox"
<a href="javascript:void(0)" id="cancelAccountHead" class="easyui-linkbutton" iconCls="icon-cancel" onclick="javascript:$('#accountHeadDlg').dialog('close')">取消</a> data-options="min:0,precision:2" style="width: 120px;"/>
</div> </td>
<div id="accountHeadDlgShow" class="easyui-dialog" style="width:1200px;padding:10px 20px;top:20px" </tr>
closed="true" modal="true" cache="false" collapsible="false" closable="true"> </table>
<table> <input type="hidden" name="clientIp" id="clientIp" value="<%=clientIp %>"/>
<tr> </form>
<td style="width:60px;">往来单位:</td> </div>
<td style="padding:5px;width:130px;"> <div id="dlg-buttons">
<span id="OrganIdShow"></span> <a href="javascript:void(0)" id="saveAccountHead" class="easyui-linkbutton" iconCls="icon-ok">保存</a>
</td> <a href="javascript:void(0)" id="cancelAccountHead" class="easyui-linkbutton" iconCls="icon-cancel"
<td style="width:70px;">单据日期:</td> onclick="javascript:$('#accountHeadDlg').dialog('close')">取消</a>
<td style="padding:5px;width:130px;"> </div>
<span id="BillTimeShow"></span> <div id="accountHeadDlgShow" class="easyui-dialog" style="width:1200px;padding:10px 20px;top:20px"
</td> closed="true" modal="true" cache="false" collapsible="false" closable="true">
<td style="width:80px;">单据编号:</td> <table>
<td style="padding:5px;width:140px;"> <tr>
<span id="BillNoShow"></span> <td style="width:60px;">往来单位:</td>
</td> <td style="padding:5px;width:130px;">
<td style="width:70px;"></td> <span id="OrganIdShow"></span>
<td style="width:140px;"></td> </td>
<td style="width:100px;"></td> <td style="width:70px;">单据日期:</td>
</tr> <td style="padding:5px;width:130px;">
<tr> <span id="BillTimeShow"></span>
<td colspan="9" style="width: 1130px;"> </td>
<!-- 单据列表table --> <td style="width:80px;">单据编号:</td>
<table id="accountDataShow" style="top:100px;border-bottom-color:#FFFFFF"></table> <td style="padding:5px;width:140px;">
</td> <span id="BillNoShow"></span>
</tr> </td>
<tr> <td style="width:70px;"></td>
<td style="width:60px;">单据备注:</td> <td style="width:140px;"></td>
<td colspan="8" style="height:35px;"> <td style="width:100px;"></td>
<span id="RemarkShow" style="width: 1070px; height:35px;"></span> </tr>
</td> <tr>
</tr> <td colspan="9" style="width: 1130px;">
<tr> <!-- 单据列表table -->
<td>付款账户:</td> <table id="accountDataShow" style="top:100px;border-bottom-color:#FFFFFF"></table>
<td style="padding:5px;"> </td>
<span id="AccountIdShow"></span> </tr>
</td> <tr>
<td>付款金额:</td> <td style="width:60px;">单据备注:</td>
<td style="padding:5px;"> <td colspan="8" style="height:35px;">
<span id="ChangeAmountShow"></span> <span id="RemarkShow" style="width: 1070px; height:35px;"></span>
</td> </td>
</tr> </tr>
</table> <tr>
</div> <td>付款账户:</td>
</body> <td style="padding:5px;">
<span id="AccountIdShow"></span>
</td>
<td>付款金额:</td>
<td style="padding:5px;">
<span id="ChangeAmountShow"></span>
</td>
</tr>
</table>
</div>
</body>
</html> </html>
<%@page import="com.jsh.util.Tools"%> <%@page import="com.jsh.util.Tools" %>
<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%> <%@ page language="java" pageEncoding="utf-8" %>
<% <%
String path = request.getContextPath(); String path = request.getContextPath();
String clientIp = Tools.getLocalIp(request); String clientIp = Tools.getLocalIp(request);
%> %>
<!DOCTYPE html> <!DOCTYPE html>
<html> <html>
<head> <head>
<title>收款单</title> <title>收款单</title>
<meta charset="utf-8"> <meta charset="utf-8">
<!-- 指定以IE8的方式来渲染 --> <!-- 指定以IE8的方式来渲染 -->
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE8"/> <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE8"/>
<link rel="shortcut icon" href="<%=path%>/images/favicon.ico" type="image/x-icon" /> <link rel="shortcut icon" href="<%=path%>/images/favicon.ico" type="image/x-icon"/>
<link rel="stylesheet" type="text/css" href="<%=path %>/js/easyui-1.3.5/themes/default/easyui.css"/> <link rel="stylesheet" type="text/css" href="<%=path %>/js/easyui-1.3.5/themes/default/easyui.css"/>
<link rel="stylesheet" type="text/css" href="<%=path %>/js/easyui-1.3.5/themes/icon.css"/> <link rel="stylesheet" type="text/css" href="<%=path %>/js/easyui-1.3.5/themes/icon.css"/>
<link type="text/css" rel="stylesheet" href="<%=path %>/css/common.css" /> <link type="text/css" rel="stylesheet" href="<%=path %>/css/common.css"/>
<script src="<%=path %>/js/jquery-1.8.0.min.js"></script> <script src="<%=path %>/js/jquery-1.8.0.min.js"></script>
<script src="<%=path %>/js/easyui-1.3.5/jquery.easyui.min.js"></script> <script src="<%=path %>/js/easyui-1.3.5/jquery.easyui.min.js"></script>
<script src="<%=path %>/js/easyui-1.3.5/locale/easyui-lang-zh_CN.js"></script> <script src="<%=path %>/js/easyui-1.3.5/locale/easyui-lang-zh_CN.js"></script>
<script src="<%=path %>/js/My97DatePicker/WdatePicker.js"></script> <script src="<%=path %>/js/My97DatePicker/WdatePicker.js"></script>
<script src="<%=path %>/js/common/common.js"></script> <script src="<%=path %>/js/common/common.js"></script>
<script src="<%=path %>/js/pages/financial/financial_base.js"></script> <script src="<%=path %>/js/pages/financial/financial_base.js"></script>
<script> <script>
var kid = ${sessionScope.user.id}; var kid = ${sessionScope.user.id};
var path = "<%=path%>"; var path = "<%=path%>";
var clientIp = "<%=clientIp%>"; var clientIp = "<%=clientIp%>";
</script> </script>
</head> </head>
<body> <body>
<!-- 查询 --> <!-- 查询 -->
<div id = "searchPanel" class="easyui-panel" style="padding:3px;" title="查询窗口" iconCls="icon-search" collapsible="true" closable="false"> <div id="searchPanel" class="easyui-panel" style="padding:3px;" title="查询窗口" iconCls="icon-search" collapsible="true"
<table id="searchTable"> closable="false">
<tr> <table id="searchTable">
<td>单据编号:</td> <tr>
<td> <td>单据编号:</td>
<input type="text" name="searchBillNo" id="searchBillNo" style="width:100px;"/> <td>
</td> <input type="text" name="searchBillNo" id="searchBillNo" style="width:100px;"/>
<td>单据日期:</td> </td>
<td> <td>单据日期:</td>
<input type="text" name="searchBeginTime" id="searchBeginTime" onClick="WdatePicker({dateFmt:'yyyy-MM-dd'})" class="txt Wdate" style="width:100px;"/> <td>
</td> <input type="text" name="searchBeginTime" id="searchBeginTime"
<td>-</td> onClick="WdatePicker({dateFmt:'yyyy-MM-dd'})" class="txt Wdate" style="width:100px;"/>
<td> </td>
<input type="text" name="searchEndTime" id="searchEndTime" onClick="WdatePicker({dateFmt:'yyyy-MM-dd'})" class="txt Wdate" style="width:100px;"/> <td>-</td>
</td> <td>
<td>&nbsp;</td> <input type="text" name="searchEndTime" id="searchEndTime" onClick="WdatePicker({dateFmt:'yyyy-MM-dd'})"
<td> class="txt Wdate" style="width:100px;"/>
<a href="javascript:void(0)" class="easyui-linkbutton" iconCls="icon-search" id="searchBtn">查询</a>&nbsp; </td>
<a href="javascript:void(0)" class="easyui-linkbutton" iconCls="icon-redo" id="searchResetBtn">重置</a> <td>&nbsp;</td>
</td> <td>
</tr> <a href="javascript:void(0)" class="easyui-linkbutton" iconCls="icon-search" id="searchBtn">查询</a>&nbsp;
</table> <a href="javascript:void(0)" class="easyui-linkbutton" iconCls="icon-redo" id="searchResetBtn">重置</a>
</div> </td>
</tr>
<!-- 数据显示table --> </table>
<div id = "tablePanel" class="easyui-panel" style="padding:1px;top:300px;" title="收款单列表" iconCls="icon-list" collapsible="true" closable="false"> </div>
<table id="tableData" style="top:300px;border-bottom-color:#FFFFFF"></table>
</div> <!-- 数据显示table -->
<div id="tablePanel" class="easyui-panel" style="padding:1px;top:300px;" title="收款单列表" iconCls="icon-list"
<div id="accountHeadDlg" class="easyui-dialog" style="width:1200px;padding:10px 20px;top:20px" collapsible="true" closable="false">
closed="true" buttons="#dlg-buttons" modal="true" cache="false" collapsible="false" closable="true"> <table id="tableData" style="top:300px;border-bottom-color:#FFFFFF"></table>
<form id="accountHeadFM" method="post" novalidate> </div>
<table>
<tr> <div id="accountHeadDlg" class="easyui-dialog" style="width:1200px;padding:10px 20px;top:20px"
<td style="width:60px;">付款单位:</td> closed="true" buttons="#dlg-buttons" modal="true" cache="false" collapsible="false" closable="true">
<td style="padding:5px;width:170px;"> <form id="accountHeadFM" method="post" novalidate>
<select name="OrganId" id="OrganId" style="width:130px;"></select> <table>
</td> <tr>
<td style="width:70px;">经手人:</td> <td style="width:60px;">付款单位:</td>
<td style="padding:5px;width:170px;"> <td style="padding:5px;width:170px;">
<select name="HandsPersonId" id="HandsPersonId" style="width:110px;"></select> <select name="OrganId" id="OrganId" style="width:130px;"></select>
</td> </td>
<td style="width:70px;">单据日期:</td> <td style="width:70px;">经手人:</td>
<td style="padding:5px;width:170px;"> <td style="padding:5px;width:170px;">
<input type="text" name="BillTime" id="BillTime" onClick="WdatePicker({dateFmt:'yyyy-MM-dd HH:mm:ss'})" class="txt Wdate" style="width:140px;"/> <select name="HandsPersonId" id="HandsPersonId" style="width:110px;"></select>
</td> </td>
<td style="width:70px;">单据编号:</td> <td style="width:70px;">单据日期:</td>
<td style="padding:5px;width:170px;"> <td style="padding:5px;width:170px;">
<input name="BillNo" id="BillNo" class="easyui-validatebox" data-options="required:true,validType:'length[2,30]'" style="width: 140px;"/> <input type="text" name="BillTime" id="BillTime"
</td> onClick="WdatePicker({dateFmt:'yyyy-MM-dd HH:mm:ss'})" class="txt Wdate"
<td style="width:100px;"></td> style="width:140px;"/>
</tr> </td>
<tr> <td style="width:70px;">单据编号:</td>
<td colspan="9"> <td style="padding:5px;width:170px;">
<!-- 单据列表table --> <input name="BillNo" id="BillNo" class="easyui-validatebox"
<table id="accountData" style="top:100px;border-bottom-color:#FFFFFF"></table> data-options="required:true,validType:'length[2,30]'" style="width: 140px;"/>
</td> </td>
</tr> <td style="width:100px;"></td>
<tr> </tr>
<td colspan="9"> <tr>
<textarea name="Remark" id="Remark" rows="2" cols="2" placeholder="暂无备注信息" style="width: 1130px; height:35px;"></textarea> <td colspan="9">
</td> <!-- 单据列表table -->
</tr> <table id="accountData" style="top:100px;border-bottom-color:#FFFFFF"></table>
<tr> </td>
<td>优惠金额:</td> </tr>
<td style="padding:5px"> <tr>
<input type="text" name="ChangeAmount" id="ChangeAmount" class="easyui-numberbox" data-options="min:0,precision:2" style="width: 110px;" /> <td colspan="9">
</td> <textarea name="Remark" id="Remark" rows="2" cols="2" placeholder="暂无备注信息"
</tr> style="width: 1130px; height:35px;"></textarea>
</table> </td>
<input type="hidden" name="clientIp" id="clientIp" value="<%=clientIp %>"/> </tr>
</form> <tr>
</div> <td>优惠金额:</td>
<div id="dlg-buttons"> <td style="padding:5px">
<a href="javascript:void(0)" id="saveAccountHead" class="easyui-linkbutton" iconCls="icon-ok">保存</a> <input type="text" name="ChangeAmount" id="ChangeAmount" class="easyui-numberbox"
<a href="javascript:void(0)" id="cancelAccountHead" class="easyui-linkbutton" iconCls="icon-cancel" onclick="javascript:$('#accountHeadDlg').dialog('close')">取消</a> data-options="min:0,precision:2" style="width: 110px;"/>
</div> </td>
<div id="accountHeadDlgShow" class="easyui-dialog" style="width:1200px;padding:10px 20px;top:20px" </tr>
closed="true" modal="true" cache="false" collapsible="false" closable="true"> </table>
<table> <input type="hidden" name="clientIp" id="clientIp" value="<%=clientIp %>"/>
<tr> </form>
<td style="width:60px;">付款单位:</td> </div>
<td style="padding:5px;width:130px;"> <div id="dlg-buttons">
<span id="OrganIdShow"></span> <a href="javascript:void(0)" id="saveAccountHead" class="easyui-linkbutton" iconCls="icon-ok">保存</a>
</td> <a href="javascript:void(0)" id="cancelAccountHead" class="easyui-linkbutton" iconCls="icon-cancel"
<td style="width:70px;">经手人:</td> onclick="javascript:$('#accountHeadDlg').dialog('close')">取消</a>
<td style="padding:5px;width:130px;"> </div>
<span id="HandsPersonIdShow"></span> <div id="accountHeadDlgShow" class="easyui-dialog" style="width:1200px;padding:10px 20px;top:20px"
</td> closed="true" modal="true" cache="false" collapsible="false" closable="true">
<td style="width:70px;">单据日期:</td> <table>
<td style="padding:5px;width:130px;"> <tr>
<span id="BillTimeShow"></span> <td style="width:60px;">付款单位:</td>
</td> <td style="padding:5px;width:130px;">
<td style="width:80px;">单据编号:</td> <span id="OrganIdShow"></span>
<td style="padding:5px;width:140px;"> </td>
<span id="BillNoShow"></span> <td style="width:70px;">经手人:</td>
</td> <td style="padding:5px;width:130px;">
<td style="width:100px;"></td> <span id="HandsPersonIdShow"></span>
</tr> </td>
<tr> <td style="width:70px;">单据日期:</td>
<td colspan="9" style="width: 1130px;"> <td style="padding:5px;width:130px;">
<!-- 单据列表table --> <span id="BillTimeShow"></span>
<table id="accountDataShow" style="top:100px;border-bottom-color:#FFFFFF"></table> </td>
</td> <td style="width:80px;">单据编号:</td>
</tr> <td style="padding:5px;width:140px;">
<tr> <span id="BillNoShow"></span>
<td style="width:60px;">单据备注:</td> </td>
<td colspan="8" style="height:35px;"> <td style="width:100px;"></td>
<span id="RemarkShow" style="width: 1070px; height:35px;"></span> </tr>
</td> <tr>
</tr> <td colspan="9" style="width: 1130px;">
<tr> <!-- 单据列表table -->
<td>优惠金额:</td> <table id="accountDataShow" style="top:100px;border-bottom-color:#FFFFFF"></table>
<td style="padding:5px;width:120px;"> </td>
<span id="ChangeAmountShow"></span> </tr>
</td> <tr>
</tr> <td style="width:60px;">单据备注:</td>
</table> <td colspan="8" style="height:35px;">
</div> <span id="RemarkShow" style="width: 1070px; height:35px;"></span>
</body> </td>
</tr>
<tr>
<td>优惠金额:</td>
<td style="padding:5px;width:120px;">
<span id="ChangeAmountShow"></span>
</td>
</tr>
</table>
</div>
</body>
</html> </html>
<%@page import="com.jsh.util.Tools"%> <%@page import="com.jsh.util.Tools" %>
<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%> <%@ page language="java" pageEncoding="utf-8" %>
<% <%
String path = request.getContextPath(); String path = request.getContextPath();
String clientIp = Tools.getLocalIp(request); String clientIp = Tools.getLocalIp(request);
%> %>
<!DOCTYPE html> <!DOCTYPE html>
<html> <html>
<head> <head>
<title>付款单</title> <title>付款单</title>
<meta charset="utf-8"> <meta charset="utf-8">
<!-- 指定以IE8的方式来渲染 --> <!-- 指定以IE8的方式来渲染 -->
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE8"/> <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE8"/>
<link rel="shortcut icon" href="<%=path%>/images/favicon.ico" type="image/x-icon" /> <link rel="shortcut icon" href="<%=path%>/images/favicon.ico" type="image/x-icon"/>
<link rel="stylesheet" type="text/css" href="<%=path %>/js/easyui-1.3.5/themes/default/easyui.css"/> <link rel="stylesheet" type="text/css" href="<%=path %>/js/easyui-1.3.5/themes/default/easyui.css"/>
<link rel="stylesheet" type="text/css" href="<%=path %>/js/easyui-1.3.5/themes/icon.css"/> <link rel="stylesheet" type="text/css" href="<%=path %>/js/easyui-1.3.5/themes/icon.css"/>
<link type="text/css" rel="stylesheet" href="<%=path %>/css/common.css" /> <link type="text/css" rel="stylesheet" href="<%=path %>/css/common.css"/>
<script src="<%=path %>/js/jquery-1.8.0.min.js"></script> <script src="<%=path %>/js/jquery-1.8.0.min.js"></script>
<script src="<%=path %>/js/easyui-1.3.5/jquery.easyui.min.js"></script> <script src="<%=path %>/js/easyui-1.3.5/jquery.easyui.min.js"></script>
<script src="<%=path %>/js/easyui-1.3.5/locale/easyui-lang-zh_CN.js"></script> <script src="<%=path %>/js/easyui-1.3.5/locale/easyui-lang-zh_CN.js"></script>
<script src="<%=path %>/js/My97DatePicker/WdatePicker.js"></script> <script src="<%=path %>/js/My97DatePicker/WdatePicker.js"></script>
<script src="<%=path %>/js/common/common.js"></script> <script src="<%=path %>/js/common/common.js"></script>
<script src="<%=path %>/js/pages/financial/financial_base.js"></script> <script src="<%=path %>/js/pages/financial/financial_base.js"></script>
<script> <script>
var kid = ${sessionScope.user.id}; var kid = ${sessionScope.user.id};
var path = "<%=path%>"; var path = "<%=path%>";
var clientIp = "<%=clientIp%>"; var clientIp = "<%=clientIp%>";
</script> </script>
</head> </head>
<body> <body>
<!-- 查询 --> <!-- 查询 -->
<div id = "searchPanel" class="easyui-panel" style="padding:3px;" title="查询窗口" iconCls="icon-search" collapsible="true" closable="false"> <div id="searchPanel" class="easyui-panel" style="padding:3px;" title="查询窗口" iconCls="icon-search" collapsible="true"
<table id="searchTable"> closable="false">
<tr> <table id="searchTable">
<td>单据编号:</td> <tr>
<td> <td>单据编号:</td>
<input type="text" name="searchBillNo" id="searchBillNo" style="width:100px;"/> <td>
</td> <input type="text" name="searchBillNo" id="searchBillNo" style="width:100px;"/>
<td>单据日期:</td> </td>
<td> <td>单据日期:</td>
<input type="text" name="searchBeginTime" id="searchBeginTime" onClick="WdatePicker({dateFmt:'yyyy-MM-dd'})" class="txt Wdate" style="width:100px;"/> <td>
</td> <input type="text" name="searchBeginTime" id="searchBeginTime"
<td>-</td> onClick="WdatePicker({dateFmt:'yyyy-MM-dd'})" class="txt Wdate" style="width:100px;"/>
<td> </td>
<input type="text" name="searchEndTime" id="searchEndTime" onClick="WdatePicker({dateFmt:'yyyy-MM-dd'})" class="txt Wdate" style="width:100px;"/> <td>-</td>
</td> <td>
<td>&nbsp;</td> <input type="text" name="searchEndTime" id="searchEndTime" onClick="WdatePicker({dateFmt:'yyyy-MM-dd'})"
<td> class="txt Wdate" style="width:100px;"/>
<a href="javascript:void(0)" class="easyui-linkbutton" iconCls="icon-search" id="searchBtn">查询</a>&nbsp; </td>
<a href="javascript:void(0)" class="easyui-linkbutton" iconCls="icon-redo" id="searchResetBtn">重置</a> <td>&nbsp;</td>
</td> <td>
</tr> <a href="javascript:void(0)" class="easyui-linkbutton" iconCls="icon-search" id="searchBtn">查询</a>&nbsp;
</table> <a href="javascript:void(0)" class="easyui-linkbutton" iconCls="icon-redo" id="searchResetBtn">重置</a>
</div> </td>
</tr>
<!-- 数据显示table --> </table>
<div id = "tablePanel" class="easyui-panel" style="padding:1px;top:300px;" title="付款单列表" iconCls="icon-list" collapsible="true" closable="false"> </div>
<table id="tableData" style="top:300px;border-bottom-color:#FFFFFF"></table>
</div> <!-- 数据显示table -->
<div id="tablePanel" class="easyui-panel" style="padding:1px;top:300px;" title="付款单列表" iconCls="icon-list"
<div id="accountHeadDlg" class="easyui-dialog" style="width:1200px;padding:10px 20px;top:20px" collapsible="true" closable="false">
closed="true" buttons="#dlg-buttons" modal="true" cache="false" collapsible="false" closable="true"> <table id="tableData" style="top:300px;border-bottom-color:#FFFFFF"></table>
<form id="accountHeadFM" method="post" novalidate> </div>
<table>
<tr> <div id="accountHeadDlg" class="easyui-dialog" style="width:1200px;padding:10px 20px;top:20px"
<td style="width:60px;">收款单位:</td> closed="true" buttons="#dlg-buttons" modal="true" cache="false" collapsible="false" closable="true">
<td style="padding:5px;width:170px;"> <form id="accountHeadFM" method="post" novalidate>
<select name="OrganId" id="OrganId" style="width:130px;"></select> <table>
</td> <tr>
<td style="width:70px;">经手人:</td> <td style="width:60px;">收款单位:</td>
<td style="padding:5px;width:170px;"> <td style="padding:5px;width:170px;">
<select name="HandsPersonId" id="HandsPersonId" style="width:110px;"></select> <select name="OrganId" id="OrganId" style="width:130px;"></select>
</td> </td>
<td style="width:70px;">单据日期:</td> <td style="width:70px;">经手人:</td>
<td style="padding:5px;width:170px;"> <td style="padding:5px;width:170px;">
<input type="text" name="BillTime" id="BillTime" onClick="WdatePicker({dateFmt:'yyyy-MM-dd'})" class="txt Wdate" style="width:140px;"/> <select name="HandsPersonId" id="HandsPersonId" style="width:110px;"></select>
</td> </td>
<td style="width:70px;">单据编号:</td> <td style="width:70px;">单据日期:</td>
<td style="padding:5px;width:170px;"> <td style="padding:5px;width:170px;">
<input name="BillNo" id="BillNo" class="easyui-validatebox" data-options="required:true,validType:'length[2,30]'" style="width: 140px;"/> <input type="text" name="BillTime" id="BillTime" onClick="WdatePicker({dateFmt:'yyyy-MM-dd'})"
</td> class="txt Wdate" style="width:140px;"/>
<td style="width:100px;"></td> </td>
</tr> <td style="width:70px;">单据编号:</td>
<tr> <td style="padding:5px;width:170px;">
<td colspan="9"> <input name="BillNo" id="BillNo" class="easyui-validatebox"
<!-- 单据列表table --> data-options="required:true,validType:'length[2,30]'" style="width: 140px;"/>
<table id="accountData" style="top:100px;border-bottom-color:#FFFFFF"></table> </td>
</td> <td style="width:100px;"></td>
</tr> </tr>
<tr> <tr>
<td colspan="9"> <td colspan="9">
<textarea name="Remark" id="Remark" rows="2" cols="2" placeholder="暂无备注信息" style="width: 1130px; height:35px;"></textarea> <!-- 单据列表table -->
</td> <table id="accountData" style="top:100px;border-bottom-color:#FFFFFF"></table>
</tr> </td>
<tr> </tr>
<td>优惠金额:</td> <tr>
<td style="padding:5px"> <td colspan="9">
<input type="text" name="ChangeAmount" id="ChangeAmount" class="easyui-numberbox" data-options="min:0,precision:2" style="width: 110px;" /> <textarea name="Remark" id="Remark" rows="2" cols="2" placeholder="暂无备注信息"
</td> style="width: 1130px; height:35px;"></textarea>
</tr> </td>
</table> </tr>
<input type="hidden" name="clientIp" id="clientIp" value="<%=clientIp %>"/> <tr>
</form> <td>优惠金额:</td>
</div> <td style="padding:5px">
<div id="dlg-buttons"> <input type="text" name="ChangeAmount" id="ChangeAmount" class="easyui-numberbox"
<a href="javascript:void(0)" id="saveAccountHead" class="easyui-linkbutton" iconCls="icon-ok">保存</a> data-options="min:0,precision:2" style="width: 110px;"/>
<a href="javascript:void(0)" id="cancelAccountHead" class="easyui-linkbutton" iconCls="icon-cancel" onclick="javascript:$('#accountHeadDlg').dialog('close')">取消</a> </td>
</div> </tr>
<div id="accountHeadDlgShow" class="easyui-dialog" style="width:1200px;padding:10px 20px;top:20px" </table>
closed="true" modal="true" cache="false" collapsible="false" closable="true"> <input type="hidden" name="clientIp" id="clientIp" value="<%=clientIp %>"/>
<table> </form>
<tr> </div>
<td style="width:60px;">收款单位:</td> <div id="dlg-buttons">
<td style="padding:5px;width:130px;"> <a href="javascript:void(0)" id="saveAccountHead" class="easyui-linkbutton" iconCls="icon-ok">保存</a>
<span id="OrganIdShow"></span> <a href="javascript:void(0)" id="cancelAccountHead" class="easyui-linkbutton" iconCls="icon-cancel"
</td> onclick="javascript:$('#accountHeadDlg').dialog('close')">取消</a>
<td style="width:70px;">经手人:</td> </div>
<td style="padding:5px;width:130px;"> <div id="accountHeadDlgShow" class="easyui-dialog" style="width:1200px;padding:10px 20px;top:20px"
<span id="HandsPersonIdShow"></span> closed="true" modal="true" cache="false" collapsible="false" closable="true">
</td> <table>
<td style="width:70px;">单据日期:</td> <tr>
<td style="padding:5px;width:130px;"> <td style="width:60px;">收款单位:</td>
<span id="BillTimeShow"></span> <td style="padding:5px;width:130px;">
</td> <span id="OrganIdShow"></span>
<td style="width:80px;">单据编号:</td> </td>
<td style="padding:5px;width:140px;"> <td style="width:70px;">经手人:</td>
<span id="BillNoShow"></span> <td style="padding:5px;width:130px;">
</td> <span id="HandsPersonIdShow"></span>
<td style="width:100px;"></td> </td>
</tr> <td style="width:70px;">单据日期:</td>
<tr> <td style="padding:5px;width:130px;">
<td colspan="9" style="width: 1130px;"> <span id="BillTimeShow"></span>
<!-- 单据列表table --> </td>
<table id="accountDataShow" style="top:100px;border-bottom-color:#FFFFFF"></table> <td style="width:80px;">单据编号:</td>
</td> <td style="padding:5px;width:140px;">
</tr> <span id="BillNoShow"></span>
<tr> </td>
<td style="width:60px;">单据备注:</td> <td style="width:100px;"></td>
<td colspan="8" style="height:35px;"> </tr>
<span id="RemarkShow" style="width: 1070px; height:35px;"></span> <tr>
</td> <td colspan="9" style="width: 1130px;">
</tr> <!-- 单据列表table -->
<tr> <table id="accountDataShow" style="top:100px;border-bottom-color:#FFFFFF"></table>
<td>优惠金额:</td> </td>
<td style="padding:5px;width:120px;"> </tr>
<span id="ChangeAmountShow"></span> <tr>
</td> <td style="width:60px;">单据备注:</td>
</tr> <td colspan="8" style="height:35px;">
</table> <span id="RemarkShow" style="width: 1070px; height:35px;"></span>
</div> </td>
</body> </tr>
<tr>
<td>优惠金额:</td>
<td style="padding:5px;width:120px;">
<span id="ChangeAmountShow"></span>
</td>
</tr>
</table>
</div>
</body>
</html> </html>
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment