Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
jinli gu
JSH ERP
Commits
90de51bf
Commit
90de51bf
authored
Jan 08, 2017
by
季圣华
Browse files
入库出库单据的js相关调整
parent
17387fb0
Changes
13
Expand all
Hide whitespace changes
Inline
Side-by-side
.project
View file @
90de51bf
...
...
@@ -5,6 +5,11 @@
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>
org.eclipse.wst.jsdt.core.javascriptValidator
</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>
org.eclipse.wst.common.project.facet.core.builder
</name>
<arguments>
...
...
@@ -62,8 +67,8 @@
<nature>
org.eclipse.jem.workbench.JavaEMFNature
</nature>
<nature>
com.genuitec.eclipse.j2eedt.core.webnature
</nature>
<nature>
org.eclipse.jdt.core.javanature
</nature>
<nature>
org.eclipse.wst.jsdt.core.jsNature
</nature>
<nature>
org.eclipse.wst.common.project.facet.core.nature
</nature>
<nature>
org.eclipse.wst.common.modulecore.ModuleCoreNature
</nature>
<nature>
org.eclipse.wst.jsdt.core.jsNature
</nature>
</natures>
</projectDescription>
.settings/.jsdtscope
View file @
90de51bf
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry
kind=
"src"
path=
"WebRoot"
/>
<classpathentry
kind=
"con"
path=
"org.eclipse.wst.jsdt.launching.JRE_CONTAINER"
/>
<classpathentry
kind=
"con"
path=
"org.eclipse.wst.jsdt.launching.WebProject"
>
<attributes>
...
...
@@ -8,5 +7,6 @@
</attributes>
</classpathentry>
<classpathentry
kind=
"con"
path=
"org.eclipse.wst.jsdt.launching.baseBrowserLibrary"
/>
<classpathentry
kind=
"src"
path=
"WebRoot"
/>
<classpathentry
kind=
"output"
path=
""
/>
</classpath>
.settings/org.eclipse.wst.common.project.facet.core.xml
View file @
90de51bf
<?xml version="1.0" encoding="UTF-8"?>
<faceted-project>
<fixed
facet=
"wst.jsdt.web"
/>
<installed
facet=
"java"
version=
"1.6"
/>
<installed
facet=
"jst.web"
version=
"2.5"
/>
<installed
facet=
"wst.jsdt.web"
version=
"1.0"
/>
</faceted-project>
WebRoot/js/HoorayOS_mini/js/hros.zoom.js
View file @
90de51bf
...
...
@@ -16,7 +16,7 @@ HROS.zoom = (function(){
** 使用SWFObject.js插入flash
** http://www.cnblogs.com/wuxinxi007/archive/2009/10/27/1590709.html
*/
swfobject
.
embedSWF
(
'
js/zoom.swf?onchange=HROS.zoom.check
'
,
'
zoombox
'
,
'
10
'
,
'
10
'
,
'
6.0.0
'
,
'
expressInstall.swf
'
,
''
,
{
allowScriptAccess
:
'
always
'
,
wmode
:
'
transparent
'
,
scale
:
'
noScale
'
},
{
id
:
'
accessory_zoom
'
,
name
:
'
zoom_detect
'
});
//
swfobject.embedSWF('js/zoom.swf?onchange=HROS.zoom.check', 'zoombox', '10', '10', '6.0.0', 'expressInstall.swf', '', {allowScriptAccess : 'always', wmode : 'transparent', scale : 'noScale'}, {id : 'accessory_zoom', name : 'zoom_detect'});
},
/*
** 为什么会有个参数o?其实我也不知道
...
...
WebRoot/js/pages/materials/in_out.js
View file @
90de51bf
This diff is collapsed.
Click to expand it.
WebRoot/pages/materials/allocation_out_list.jsp
View file @
90de51bf
...
...
@@ -2,7 +2,6 @@
<%@ page
language=
"java"
import=
"java.util.*"
pageEncoding=
"utf-8"
%>
<%
String
path
=
request
.
getContextPath
();
String
basePath
=
request
.
getScheme
()+
"://"
+
request
.
getServerName
()+
":"
+
request
.
getServerPort
()+
path
+
"/"
;
String
clientIp
=
Tools
.
getCurrentUserIP
();
%>
<!DOCTYPE html>
...
...
@@ -13,14 +12,20 @@
<!-- 指定以IE8的方式来渲染 -->
<meta
http-equiv=
"X-UA-Compatible"
content=
"IE=EmulateIE8"
/>
<link
rel=
"shortcut icon"
href=
"
<%=
path
%>
/images/favicon.ico"
type=
"image/x-icon"
/>
<script
type=
"text/javascript"
src=
"
<%=
path
%>
/js/jquery-1.8.0.min.js"
></script>
<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
type=
"text/css"
rel=
"stylesheet"
href=
"
<%=
path
%>
/css/common.css"
/>
<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/My97DatePicker/WdatePicker.js"
></script>
<script
type=
"text/javascript"
src=
"
<%=
path
%>
/js/common/common.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/locale/easyui-lang-zh_CN.js"
></script>
<script
src=
"
<%=
path
%>
/js/My97DatePicker/WdatePicker.js"
></script>
<script
src=
"
<%=
path
%>
/js/common/common.js"
></script>
<script
src=
"
<%=
path
%>
/js/pages/materials/in_out.js"
></script>
<script>
var
kid
=
$
{
sessionScope
.
user
.
id
};
var
path
=
"
<%=
path
%>
"
;
var
clientIp
=
"
<%=
clientIp
%>
"
;
</script>
</head>
<body>
<!-- 查询 -->
...
...
@@ -31,11 +36,11 @@
<td>
<select
name=
"searchProjectId"
id=
"searchProjectId"
style=
"width:80px;"
></select>
</td>
<td>
单据号:
</td>
<td>
单据
编
号:
</td>
<td>
<input
type=
"text"
name=
"searchNumber"
id=
"searchNumber"
style=
"width:60px;"
/>
</td>
<td>
出库时间
:
</td>
<td>
单据日期
:
</td>
<td>
<input
type=
"text"
name=
"searchBeginTime"
id=
"searchBeginTime"
onClick=
"WdatePicker({dateFmt:'yyyy-MM-dd'})"
class=
"txt Wdate"
style=
"width:80px;"
/>
</td>
...
...
@@ -66,31 +71,31 @@
<td
style=
"padding:5px"
>
<select
name=
"ProjectId"
id=
"ProjectId"
style=
"width:120px;"
></select>
</td>
<td>
出库时间
:
</td>
<td>
单据日期
:
</td>
<td
style=
"padding:5px"
>
<input
type=
"text"
name=
"OperTime"
id=
"OperTime"
onClick=
"WdatePicker({dateFmt:'yyyy-MM-dd'})"
class=
"txt Wdate"
style=
"width:120px;"
/>
</td>
<td>
收货仓库
:
</td>
<td>
经手人
:
</td>
<td
style=
"padding:5px"
>
<select
name=
"
AllocationProjectId"
id=
"AllocationProject
Id"
style=
"width:120px;"
></select>
</td>
<select
name=
"
HandsPersonId"
id=
"HandsPerson
Id"
style=
"width:120px;"
></select>
</td>
<td
style=
"width:50px;"
></td>
<td
style=
"padding:5px;width:120px;"
></td>
</tr>
<tr>
<td>
经手人
:
</td>
<td>
收货仓库
:
</td>
<td
style=
"padding:5px"
>
<select
name=
"
WareHousePersonId"
id=
"WareHousePerson
Id"
style=
"width:120px;"
></select>
<select
name=
"
AllocationProjectId"
id=
"AllocationProject
Id"
style=
"width:120px;"
></select>
</td>
<td>
备注:
</td>
<td>
单据编号:
</td>
<td
style=
"padding:5px"
><input
name=
"Number"
id=
"Number"
class=
"easyui-validatebox"
data-options=
"required:true,validType:'length[2,30]'"
style=
"width: 120px;"
/>
</td>
<td>
单据备注:
</td>
<td
style=
"padding:5px"
>
<input
name=
"Remark"
id=
"Remark"
class=
"easyui-validatebox"
style=
"width: 120px;"
/>
</td>
<td>
单据号:
</td>
<td
style=
"padding:5px"
><input
name=
"Number"
id=
"Number"
class=
"easyui-validatebox"
data-options=
"required:true,validType:'length[2,30]'"
style=
"width: 120px;"
/>
</td>
<td></td>
<td
style=
"padding:5px"
></td>
<td></td>
</tr>
<tr>
<td>
商品列表:
</td>
...
...
@@ -115,33 +120,33 @@
<td
style=
"padding:5px;width:120px;"
>
<span
id=
"ProjectIdShow"
></span>
</td>
<td>
出库时间
:
</td>
<td>
单据日期
:
</td>
<td
style=
"padding:5px;width:120px;"
>
<span
id=
"OperTimeShow"
></span>
</td>
<td>
收货仓库
:
</td>
<td
style=
"padding:5px
;width:120px;
"
>
<span
id=
"
AllocationProject
IdShow"
></span>
</td>
<td>
经手人
:
</td>
<td
style=
"padding:5px"
>
<span
id=
"
HandsPerson
IdShow"
></span>
</td>
<td
style=
"width:50px;"
></td>
<td
style=
"padding:5px;width:120px;"
>
</td>
</tr>
<tr>
<td>
仓管员:
</td>
<td
style=
"padding:5px"
>
<span
id=
"WareHousePersonIdShow"
></span>
</td>
<td>
备注:
</td>
<td
style=
"padding:5px"
>
<span
id=
"RemarkShow"
></span>
<td>
收货仓库:
</td>
<td
style=
"padding:5px;width:120px;"
>
<span
id=
"AllocationProjectIdShow"
></span>
</td>
<td>
单据号:
</td>
<td>
单据
编
号:
</td>
<td
style=
"padding:5px"
>
<span
id=
"NumberShow"
></span>
</td>
<td>
单据备注:
</td>
<td
style=
"padding:5px"
>
<span
id=
"RemarkShow"
></span>
</td>
<td></td>
<td
style=
"padding:5px"
></td>
<td></td>
</tr>
<tr>
<td>
商品列表:
</td>
...
...
@@ -154,6 +159,7 @@
</div>
<script
type=
"text/javascript"
>
return
;
var
depotList
=
null
;
var
depotID
=
null
;
var
supplierList
=
null
;
...
...
WebRoot/pages/materials/other_in_list.jsp
View file @
90de51bf
...
...
@@ -2,7 +2,6 @@
<%@ page
language=
"java"
import=
"java.util.*"
pageEncoding=
"utf-8"
%>
<%
String
path
=
request
.
getContextPath
();
String
basePath
=
request
.
getScheme
()+
"://"
+
request
.
getServerName
()+
":"
+
request
.
getServerPort
()+
path
+
"/"
;
String
clientIp
=
Tools
.
getCurrentUserIP
();
%>
<!DOCTYPE html>
...
...
@@ -13,14 +12,20 @@
<!-- 指定以IE8的方式来渲染 -->
<meta
http-equiv=
"X-UA-Compatible"
content=
"IE=EmulateIE8"
/>
<link
rel=
"shortcut icon"
href=
"
<%=
path
%>
/images/favicon.ico"
type=
"image/x-icon"
/>
<script
type=
"text/javascript"
src=
"
<%=
path
%>
/js/jquery-1.8.0.min.js"
></script>
<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
type=
"text/css"
rel=
"stylesheet"
href=
"
<%=
path
%>
/css/common.css"
/>
<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/My97DatePicker/WdatePicker.js"
></script>
<script
type=
"text/javascript"
src=
"
<%=
path
%>
/js/common/common.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/locale/easyui-lang-zh_CN.js"
></script>
<script
src=
"
<%=
path
%>
/js/My97DatePicker/WdatePicker.js"
></script>
<script
src=
"
<%=
path
%>
/js/common/common.js"
></script>
<script
src=
"
<%=
path
%>
/js/pages/materials/in_out.js"
></script>
<script>
var
kid
=
$
{
sessionScope
.
user
.
id
};
var
path
=
"
<%=
path
%>
"
;
var
clientIp
=
"
<%=
clientIp
%>
"
;
</script>
</head>
<body>
<!-- 查询 -->
...
...
@@ -31,11 +36,11 @@
<td>
<select
name=
"searchProjectId"
id=
"searchProjectId"
style=
"width:80px;"
></select>
</td>
<td>
单据号:
</td>
<td>
单据
编
号:
</td>
<td>
<input
type=
"text"
name=
"searchNumber"
id=
"searchNumber"
style=
"width:60px;"
/>
</td>
<td>
入库时间
:
</td>
<td>
单据日期
:
</td>
<td>
<input
type=
"text"
name=
"searchBeginTime"
id=
"searchBeginTime"
onClick=
"WdatePicker({dateFmt:'yyyy-MM-dd'})"
class=
"txt Wdate"
style=
"width:80px;"
/>
</td>
...
...
@@ -66,38 +71,32 @@
<td
style=
"padding:5px"
>
<select
name=
"ProjectId"
id=
"ProjectId"
style=
"width:120px;"
></select>
</td>
<td>
入库时间
:
</td>
<td>
单据日期
:
</td>
<td
style=
"padding:5px"
>
<input
type=
"text"
name=
"OperTime"
id=
"OperTime"
onClick=
"WdatePicker({dateFmt:'yyyy-MM-dd'})"
class=
"txt Wdate"
style=
"width:120px;"
/>
</td>
<td>
供应商
:
</td>
<td>
往来单位
:
</td>
<td
style=
"padding:5px"
>
<input
id=
"OrganId"
name=
"OrganId"
style=
"width:120px;"
/>
</td>
<td>
采购人:
</td>
<td
style=
"padding:5px"
>
<select
name=
"HandsPersonId"
id=
"HandsPersonId"
style=
"width:120px;"
></select>
</td>
<td
style=
"width:50px;"
></td>
<td
style=
"padding:5px;width:120px;"
></td>
</tr>
<tr>
<td>
经手人:
</td>
<td
style=
"padding:5px"
>
<select
name=
"
WareHouse
PersonId"
id=
"
WareHouse
PersonId"
style=
"width:120px;"
></select>
<select
name=
"
Hands
PersonId"
id=
"
Hands
PersonId"
style=
"width:120px;"
></select>
</td>
<td>
结算方式:
</td>
<td
style=
"padding:5px"
>
<select
name=
"SettlementWay"
id=
"SettlementWay"
style=
"width:120px;"
>
<option
value=
"现金"
>
现金
</option>
<option
value=
"记账"
>
记账
</option>
</select>
</td>
<td>
备注:
</td>
<td>
单据编号:
</td>
<td
style=
"padding:5px"
>
<input
name=
"
Remark"
id=
"Remark
"
class=
"easyui-validatebox"
style=
"width: 120px;"
/>
<input
name=
"
Number"
id=
"Number
"
class=
"easyui-validatebox"
data-options=
"required:true,validType:'length[2,30]'"
style=
"width: 120px;"
/>
</td>
<td>
单据号:
</td>
<td
style=
"padding:5px"
><input
name=
"Number"
id=
"Number"
class=
"easyui-validatebox"
data-options=
"required:true,validType:'length[2,30]'"
style=
"width: 120px;"
/>
<td>
单据备注:
</td>
<td
style=
"padding:5px"
>
<input
name=
"Remark"
id=
"Remark"
class=
"easyui-validatebox"
style=
"width: 120px;"
/>
</td>
<td></td>
<td></td>
</tr>
<tr>
<td>
商品列表:
</td>
...
...
@@ -122,36 +121,32 @@
<td
style=
"padding:5px;width:120px;"
>
<span
id=
"ProjectIdShow"
></span>
</td>
<td>
入库时间
:
</td>
<td>
单据日期
:
</td>
<td
style=
"padding:5px;width:120px;"
>
<span
id=
"OperTimeShow"
></span>
</td>
<td>
供应商
:
</td>
<td>
往来单位
:
</td>
<td
style=
"padding:5px;width:120px;"
>
<span
id=
"OrganIdShow"
></span>
</td>
<td>
采购人:
</td>
<td
style=
"padding:5px;width:120px;"
>
<span
id=
"HandsPersonIdShow"
></span>
</td>
<td
style=
"width:50px;"
></td>
<td
style=
"padding:5px;width:120px;"
></td>
</tr>
<tr>
<td>
仓管员
:
</td>
<td>
经手人
:
</td>
<td
style=
"padding:5px"
>
<span
id=
"
WareHouse
PersonIdShow"
></span>
<span
id=
"
Hands
PersonIdShow"
></span>
</td>
<td>
结算方式:
</td>
<td
style=
"padding:5px"
>
<span
id=
"SettlementWayShow"
></span>
</td>
<td>
备注:
</td>
<td>
单据编号:
</td>
<td
style=
"padding:5px"
>
<span
id=
"
Remark
Show"
></span>
<span
id=
"
Number
Show"
></span>
</td>
<td>
单据
号
:
</td>
<td>
单据
备注
:
</td>
<td
style=
"padding:5px"
>
<span
id=
"
Number
Show"
></span>
<span
id=
"
Remark
Show"
></span>
</td>
<td></td>
<td></td>
</tr>
<tr>
<td>
商品列表:
</td>
...
...
@@ -164,6 +159,7 @@
</div>
<script
type=
"text/javascript"
>
return
;
var
depotList
=
null
;
var
depotID
=
null
;
var
supplierList
=
null
;
...
...
WebRoot/pages/materials/other_out_list.jsp
View file @
90de51bf
...
...
@@ -2,7 +2,6 @@
<%@ page
language=
"java"
import=
"java.util.*"
pageEncoding=
"utf-8"
%>
<%
String
path
=
request
.
getContextPath
();
String
basePath
=
request
.
getScheme
()+
"://"
+
request
.
getServerName
()+
":"
+
request
.
getServerPort
()+
path
+
"/"
;
String
clientIp
=
Tools
.
getCurrentUserIP
();
%>
<!DOCTYPE html>
...
...
@@ -13,14 +12,20 @@
<!-- 指定以IE8的方式来渲染 -->
<meta
http-equiv=
"X-UA-Compatible"
content=
"IE=EmulateIE8"
/>
<link
rel=
"shortcut icon"
href=
"
<%=
path
%>
/images/favicon.ico"
type=
"image/x-icon"
/>
<script
type=
"text/javascript"
src=
"
<%=
path
%>
/js/jquery-1.8.0.min.js"
></script>
<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
type=
"text/css"
rel=
"stylesheet"
href=
"
<%=
path
%>
/css/common.css"
/>
<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/My97DatePicker/WdatePicker.js"
></script>
<script
type=
"text/javascript"
src=
"
<%=
path
%>
/js/common/common.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/locale/easyui-lang-zh_CN.js"
></script>
<script
src=
"
<%=
path
%>
/js/My97DatePicker/WdatePicker.js"
></script>
<script
src=
"
<%=
path
%>
/js/common/common.js"
></script>
<script
src=
"
<%=
path
%>
/js/pages/materials/in_out.js"
></script>
<script>
var
kid
=
$
{
sessionScope
.
user
.
id
};
var
path
=
"
<%=
path
%>
"
;
var
clientIp
=
"
<%=
clientIp
%>
"
;
</script>
</head>
<body>
<!-- 查询 -->
...
...
@@ -31,11 +36,11 @@
<td>
<select
name=
"searchProjectId"
id=
"searchProjectId"
style=
"width:80px;"
></select>
</td>
<td>
单据号:
</td>
<td>
单据
编
号:
</td>
<td>
<input
type=
"text"
name=
"searchNumber"
id=
"searchNumber"
style=
"width:60px;"
/>
</td>
<td>
出库时间
:
</td>
<td>
单据日期
:
</td>
<td>
<input
type=
"text"
name=
"searchBeginTime"
id=
"searchBeginTime"
onClick=
"WdatePicker({dateFmt:'yyyy-MM-dd'})"
class=
"txt Wdate"
style=
"width:80px;"
/>
</td>
...
...
@@ -66,11 +71,11 @@
<td
style=
"padding:5px"
>
<select
name=
"ProjectId"
id=
"ProjectId"
style=
"width:120px;"
></select>
</td>
<td>
出库时间
:
</td>
<td>
单据日期
:
</td>
<td
style=
"padding:5px"
>
<input
type=
"text"
name=
"OperTime"
id=
"OperTime"
onClick=
"WdatePicker({dateFmt:'yyyy-MM-dd'})"
class=
"txt Wdate"
style=
"width:120px;"
/>
</td>
<td>
客户
:
</td>
<td>
往来单位
:
</td>
<td
style=
"padding:5px"
>
<input
id=
"OrganId"
name=
"OrganId"
style=
"width:120px;"
/>
</td>
...
...
@@ -80,15 +85,15 @@
<tr>
<td>
经手人:
</td>
<td
style=
"padding:5px"
>
<select
name=
"WareHousePersonId"
id=
"WareHousePersonId"
style=
"width:120px;"
></select>
</td>
<td>
备注:
</td>
<td
style=
"padding:5px"
>
<input
name=
"Remark"
id=
"Remark"
class=
"easyui-validatebox"
style=
"width: 120px;"
/>
<select
name=
"HandsPersonId"
id=
"HandsPersonId"
style=
"width:120px;"
></select>
</td>
<td>
单据号:
</td>
<td>
单据
编
号:
</td>
<td
style=
"padding:5px"
><input
name=
"Number"
id=
"Number"
class=
"easyui-validatebox"
data-options=
"required:true,validType:'length[2,30]'"
style=
"width: 120px;"
/>
</td>
<td>
单据备注:
</td>
<td
style=
"padding:5px"
>
<input
name=
"Remark"
id=
"Remark"
class=
"easyui-validatebox"
style=
"width: 120px;"
/>
</td>
<td></td>
<td></td>
</tr>
...
...
@@ -115,11 +120,11 @@
<td
style=
"padding:5px;width:120px;"
>
<span
id=
"ProjectIdShow"
></span>
</td>
<td>
出库时间
:
</td>
<td>
单据日期
:
</td>
<td
style=
"padding:5px;width:120px;"
>
<span
id=
"OperTimeShow"
></span>
</td>
<td>
客户
:
</td>
<td>
往来单位
:
</td>
<td
style=
"padding:5px;width:120px;"
>
<span
id=
"OrganIdShow"
></span>
</td>
...
...
@@ -128,20 +133,20 @@
</td>
</tr>
<tr>
<td>
仓管员:
</td>
<td
style=
"padding:5px"
>
<span
id=
"WareHousePersonIdShow"
></span>
</td>
<td>
备注:
</td>
<td>
经手人:
</td>
<td
style=
"padding:5px"
>
<span
id=
"
Remark
Show"
></span>
<span
id=
"
HandsPersonId
Show"
></span>
</td>
<td>
单据号:
</td>
<td>
单据
编
号:
</td>
<td
style=
"padding:5px"
>
<span
id=
"NumberShow"
></span>
</td>
<td>
单据备注:
</td>
<td
style=
"padding:5px"
>
<span
id=
"RemarkShow"
></span>
</td>
<td></td>
<td
style=
"padding:5px"
></td>
<td></td>
</tr>
<tr>
<td>
商品列表:
</td>
...
...
@@ -154,6 +159,7 @@
</div>
<script
type=
"text/javascript"
>
return
;
var
depotList
=
null
;
var
depotID
=
null
;
var
supplierList
=
null
;
...
...
WebRoot/pages/materials/purchase_back_list.jsp
View file @
90de51bf
...
...
@@ -2,7 +2,6 @@
<%@ page
language=
"java"
import=
"java.util.*"
pageEncoding=
"utf-8"
%>
<%
String
path
=
request
.
getContextPath
();
String
basePath
=
request
.
getScheme
()+
"://"
+
request
.
getServerName
()+
":"
+
request
.
getServerPort
()+
path
+
"/"
;
String
clientIp
=
Tools
.
getCurrentUserIP
();
%>
<!DOCTYPE html>
...
...
@@ -13,14 +12,20 @@
<!-- 指定以IE8的方式来渲染 -->
<meta
http-equiv=
"X-UA-Compatible"
content=
"IE=EmulateIE8"
/>
<link
rel=
"shortcut icon"
href=
"
<%=
path
%>
/images/favicon.ico"
type=
"image/x-icon"
/>
<script
type=
"text/javascript"
src=
"
<%=
path
%>
/js/jquery-1.8.0.min.js"
></script>
<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
type=
"text/css"
rel=
"stylesheet"
href=
"
<%=
path
%>
/css/common.css"
/>
<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/My97DatePicker/WdatePicker.js"
></script>
<script
type=
"text/javascript"
src=
"
<%=
path
%>
/js/common/common.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/locale/easyui-lang-zh_CN.js"
></script>
<script
src=
"
<%=
path
%>
/js/My97DatePicker/WdatePicker.js"
></script>
<script
src=
"
<%=
path
%>
/js/common/common.js"
></script>
<script
src=
"
<%=
path
%>
/js/pages/materials/in_out.js"
></script>
<script>
var
kid
=
$
{
sessionScope
.
user
.
id
};
var
path
=
"
<%=
path
%>
"
;
var
clientIp
=
"
<%=
clientIp
%>
"
;
</script>
</head>
<body>
<!-- 查询 -->
...
...
@@ -31,11 +36,11 @@
<td>
<select
name=
"searchProjectId"
id=
"searchProjectId"
style=
"width:80px;"
></select>
</td>
<td>
单据号:
</td>
<td>
单据
编
号:
</td>
<td>
<input
type=
"text"
name=
"searchNumber"
id=
"searchNumber"
style=
"width:60px;"
/>
</td>
<td>
入库时间
:
</td>
<td>
单据日期
:
</td>
<td>
<input
type=
"text"
name=
"searchBeginTime"
id=
"searchBeginTime"
onClick=
"WdatePicker({dateFmt:'yyyy-MM-dd'})"
class=
"txt Wdate"
style=
"width:80px;"
/>
</td>
...
...
@@ -64,39 +69,37 @@
<tr>
<td>
发货仓库:
</td>
<td
style=
"padding:5px"
>
<select
name=
"ProjectId"
id=
"ProjectId"
style=
"width:1
2
0px;"
></select>
<select
name=
"ProjectId"
id=
"ProjectId"
style=
"width:1
1
0px;"
></select>
</td>
<td>
入库时间
:
</td>
<td>
单据日期
:
</td>
<td
style=
"padding:5px"
>
<input
type=
"text"
name=
"OperTime"
id=
"OperTime"
onClick=
"WdatePicker({dateFmt:'yyyy-MM-dd'})"
class=
"txt Wdate"
style=
"width:1
2
0px;"
/>
<input
type=
"text"
name=
"OperTime"
id=
"OperTime"
onClick=
"WdatePicker({dateFmt:'yyyy-MM-dd'})"
class=
"txt Wdate"
style=
"width:1
1
0px;"
/>
</td>
<td>
供应商
:
</td>
<td>
收货单位
:
</td>
<td
style=
"padding:5px"
>
<input
id=
"OrganId"
name=
"OrganId"
style=
"width:1
2
0px;"
/>
<input
id=
"OrganId"
name=
"OrganId"
style=
"width:1
1
0px;"
/>
</td>
<td>
采购
人:
</td>
<td>
经手
人:
</td>
<td
style=
"padding:5px"
>
<select
name=
"HandsPersonId"
id=
"HandsPersonId"
style=
"width:1
2
0px;"
></select>
<select
name=
"HandsPersonId"
id=
"HandsPersonId"
style=
"width:1
1
0px;"
></select>
</td>
</tr>
<tr>
<td>
经手人
:
</td>
<td>
收款账户
:
</td>
<td
style=
"padding:5px"
>
<select
name=
"
WareHousePersonId"
id=
"WareHousePerson
Id"
style=
"width:1
2
0px;"
></select>
<select
name=
"
AccountId"
id=
"Account
Id"
style=
"width:1
1
0px;"
></select>
</td>
<td>
结算方式
:
</td>
<td>
收款金额
:
</td>
<td
style=
"padding:5px"
>
<select
name=
"SettlementWay"
id=
"SettlementWay"
style=
"width:120px;"
>
<option
value=
"现金"
>
现金
</option>
<option
value=
"记账"
>
记账
</option>
</select>
<input
id=
"ChangeAmount"
name=
"ChangeAmount"
data-changeamount=
"0"
style=
"width:110px;"
/>
</td>
<td>
备注
:
</td>
<td>
单据编号
:
</td>
<td
style=
"padding:5px"
>
<input
name=
"
Remark"
id=
"Remark
"
class=
"easyui-validatebox"
style=
"width: 1
2
0px;"
/>
<input
name=
"
Number"
id=
"Number
"
class=
"easyui-validatebox"
data-options=
"required:true,validType:'length[2,30]'"
style=
"width: 1
1
0px;"
/>
</td>
<td>
单据号:
</td>
<td
style=
"padding:5px"
><input
name=
"Number"
id=
"Number"
class=
"easyui-validatebox"
data-options=
"required:true,validType:'length[2,30]'"
style=
"width: 120px;"
/>
<td>
单据备注:
</td>
<td
style=
"padding:5px"
>
<input
name=
"Remark"
id=
"Remark"
class=
"easyui-validatebox"
style=
"width: 110px;"
/>
</td>
</tr>
<tr>
...
...
@@ -119,38 +122,38 @@
<table>
<tr>
<td>
发货仓库:
</td>
<td
style=
"padding:5px;width:1
2
0px;"
>
<td
style=
"padding:5px;width:1
1
0px;"
>
<span
id=
"ProjectIdShow"
></span>
</td>
<td>
入库时间
:
</td>
<td
style=
"padding:5px;width:1
2
0px;"
>
<td>
单据日期
:
</td>
<td
style=
"padding:5px;width:1
1
0px;"
>
<span
id=
"OperTimeShow"
></span>
</td>
<td>
供应商
:
</td>
<td
style=
"padding:5px;width:1
2
0px;"
>
<td>
收货单位
:
</td>
<td
style=
"padding:5px;width:1
1
0px;"
>
<span
id=
"OrganIdShow"
></span>
</td>
<td>
采购
人:
</td>
<td
style=
"padding:5px;width:1
2
0px;"
>
<td>
经手
人:
</td>
<td
style=
"padding:5px;width:1
1
0px;"
>
<span
id=
"HandsPersonIdShow"
></span>
</td>
</tr>
<tr>
<td>
仓管员
:
</td>
<td>
收款账户
:
</td>
<td
style=
"padding:5px"
>
<span
id=
"
WareHousePerson
IdShow"
></span>
<span
id=
"
Account
IdShow"
></span>
</td>
<td>
结算方式
:
</td>
<td>
收款金额
:
</td>
<td
style=
"padding:5px"
>
<span
id=
"SettlementWay
Show"
></span>
<span
id=
"ChangeAmount
Show"
></span>
</td>
<td>
备注:
</td>
<td
style=
"padding:5px"
>
<span
id=
"RemarkShow"
></span>
</td>
<td>
单据号:
</td>
<td>
单据编号:
</td>
<td
style=
"padding:5px"
>
<span
id=
"NumberShow"
></span>
</td>
<td>
单据备注:
</td>
<td
style=
"padding:5px"
>
<span
id=
"RemarkShow"
></span>
</td>
</tr>
<tr>
...
...
@@ -164,6 +167,7 @@
</div>
<script
type=
"text/javascript"
>
return
;
var
depotList
=
null
;
var
depotID
=
null
;
var
supplierList
=
null
;
...
...
WebRoot/pages/materials/purchase_in_list.jsp
View file @
90de51bf
This diff is collapsed.
Click to expand it.
WebRoot/pages/materials/sale_back_list.jsp
View file @
90de51bf
This diff is collapsed.
Click to expand it.
WebRoot/pages/materials/sale_out_list.jsp
View file @
90de51bf
...
...
@@ -2,7 +2,6 @@
<%@ page
language=
"java"
import=
"java.util.*"
pageEncoding=
"utf-8"
%>
<%
String
path
=
request
.
getContextPath
();
String
basePath
=
request
.
getScheme
()+
"://"
+
request
.
getServerName
()+
":"
+
request
.
getServerPort
()+
path
+
"/"
;
String
clientIp
=
Tools
.
getCurrentUserIP
();
%>
<!DOCTYPE html>
...
...
@@ -13,14 +12,20 @@
<!-- 指定以IE8的方式来渲染 -->
<meta
http-equiv=
"X-UA-Compatible"
content=
"IE=EmulateIE8"
/>
<link
rel=
"shortcut icon"
href=
"
<%=
path
%>
/images/favicon.ico"
type=
"image/x-icon"
/>
<script
type=
"text/javascript"
src=
"
<%=
path
%>
/js/jquery-1.8.0.min.js"
></script>
<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
type=
"text/css"
rel=
"stylesheet"
href=
"
<%=
path
%>
/css/common.css"
/>
<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/My97DatePicker/WdatePicker.js"
></script>
<script
type=
"text/javascript"
src=
"
<%=
path
%>
/js/common/common.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/locale/easyui-lang-zh_CN.js"
></script>
<script
src=
"
<%=
path
%>
/js/My97DatePicker/WdatePicker.js"
></script>
<script
src=
"
<%=
path
%>
/js/common/common.js"
></script>
<script
src=
"
<%=
path
%>
/js/pages/materials/in_out.js"
></script>
<script>
var
kid
=
$
{
sessionScope
.
user
.
id
};
var
path
=
"
<%=
path
%>
"
;
var
clientIp
=
"
<%=
clientIp
%>
"
;
</script>
</head>
<body>
<!-- 查询 -->
...
...
@@ -31,11 +36,11 @@
<td>
<select
name=
"searchProjectId"
id=
"searchProjectId"
style=
"width:80px;"
></select>
</td>
<td>
单据号:
</td>
<td>
单据
编
号:
</td>
<td>
<input
type=
"text"
name=
"searchNumber"
id=
"searchNumber"
style=
"width:60px;"
/>
</td>
<td>
出库时间
:
</td>
<td>
单据日期
:
</td>
<td>
<input
type=
"text"
name=
"searchBeginTime"
id=
"searchBeginTime"
onClick=
"WdatePicker({dateFmt:'yyyy-MM-dd'})"
class=
"txt Wdate"
style=
"width:80px;"
/>
</td>
...
...
@@ -64,33 +69,37 @@
<tr>
<td>
发货仓库:
</td>
<td
style=
"padding:5px"
>
<select
name=
"ProjectId"
id=
"ProjectId"
style=
"width:1
2
0px;"
></select>
<select
name=
"ProjectId"
id=
"ProjectId"
style=
"width:1
1
0px;"
></select>
</td>
<td>
出库时间
:
</td>
<td>
单据日期
:
</td>
<td
style=
"padding:5px"
>
<input
type=
"text"
name=
"OperTime"
id=
"OperTime"
onClick=
"WdatePicker({dateFmt:'yyyy-MM-dd'})"
class=
"txt Wdate"
style=
"width:1
2
0px;"
/>
<input
type=
"text"
name=
"OperTime"
id=
"OperTime"
onClick=
"WdatePicker({dateFmt:'yyyy-MM-dd'})"
class=
"txt Wdate"
style=
"width:1
1
0px;"
/>
</td>
<td>
客户
:
</td>
<td>
购买单位
:
</td>
<td
style=
"padding:5px"
>
<input
id=
"OrganId"
name=
"OrganId"
style=
"width:1
2
0px;"
/>
<input
id=
"OrganId"
name=
"OrganId"
style=
"width:1
1
0px;"
/>
</td>
<td
style=
"width:50px;"
></td>
<td
style=
"padding:5px;width:120px;"
></td>
</tr>
<tr>
<td>
经手人:
</td>
<td
style=
"padding:5px"
>
<select
name=
"
WareHouse
PersonId"
id=
"
WareHouse
PersonId"
style=
"width:1
2
0px;"
></select>
<select
name=
"
Hands
PersonId"
id=
"
Hands
PersonId"
style=
"width:1
1
0px;"
></select>
</td>
<td>
备注:
</td>
</tr>
<tr>
<td>
收款账户:
</td>
<td
style=
"padding:5px"
>
<input
name=
"Remark"
id=
"Remark"
class=
"easyui-validatebox"
style=
"width: 120px;"
/>
<select
name=
"AccountId"
id=
"AccountId"
style=
"width:110px;"
></select>
</td>
<td>
收款金额:
</td>
<td
style=
"padding:5px"
>
<input
id=
"ChangeAmount"
name=
"ChangeAmount"
data-changeamount=
"0"
style=
"width:110px;"
/>
</td>
<td>
单据编号:
</td>
<td
style=
"padding:5px"
><input
name=
"Number"
id=
"Number"
class=
"easyui-validatebox"
data-options=
"required:true,validType:'length[2,30]'"
style=
"width: 110px;"
/>
</td>
<td>
单据号:
</td>
<td
style=
"padding:5px"
><input
name=
"Number"
id=
"Number"
class=
"easyui-validatebox"
data-options=
"required:true,validType:'length[2,30]'"
style=
"width: 120px;"
/>
<td>
单据备注:
</td>
<td
style=
"padding:5px"
>
<input
name=
"Remark"
id=
"Remark"
class=
"easyui-validatebox"
style=
"width: 110px;"
/>
</td>
<td></td>
<td></td>
</tr>
<tr>
<td>
商品列表:
</td>
...
...
@@ -112,36 +121,39 @@
<table>
<tr>
<td>
发货仓库:
</td>
<td
style=
"padding:5px;width:1
2
0px;"
>
<td
style=
"padding:5px;width:1
1
0px;"
>
<span
id=
"ProjectIdShow"
></span>
</td>
<td>
出库时间
:
</td>
<td
style=
"padding:5px;width:1
2
0px;"
>
<td>
单据日期
:
</td>
<td
style=
"padding:5px;width:1
1
0px;"
>
<span
id=
"OperTimeShow"
></span>
</td>
<td>
客户
:
</td>
<td
style=
"padding:5px;width:1
2
0px;"
>
<td>
购买单位
:
</td>
<td
style=
"padding:5px;width:1
1
0px;"
>
<span
id=
"OrganIdShow"
></span>
</td>
<td
style=
"width:50px;"
></td>
<td
style=
"padding:5px;width:120px;"
>
<td>
经手人:
</td>
<td
style=
"padding:5px;width:110px;"
>
<span
id=
"HandsPersonIdShow"
></span>
</td>
</tr>
<tr>
<td>
仓管员:
</td>
<td
style=
"padding:5px"
>
<span
id=
"WareHousePersonIdShow"
></span>
</td>
<td>
备注:
</td>
<td>
收款账户:
</td>
<td
style=
"padding:5px"
>
<span
id=
"
Remark
Show"
></span>
<span
id=
"
AccountId
Show"
></span>
</td>
<td>
单据号:
</td>
<td>
收款金额:
</td>
<td
style=
"padding:5px"
>
<span
id=
"ChangeAmountShow"
></span>
</td>
<td>
单据编号:
</td>
<td
style=
"padding:5px"
>
<span
id=
"NumberShow"
></span>
</td>
<td>
单据备注:
</td>
<td
style=
"padding:5px"
>
<span
id=
"RemarkShow"
></span>
</td>
<td></td>
<td
style=
"padding:5px"
></td>
</tr>
<tr>
<td>
商品列表:
</td>
...
...
@@ -154,6 +166,7 @@
</div>
<script
type=
"text/javascript"
>
return
;
var
depotList
=
null
;
var
depotID
=
null
;
var
supplierList
=
null
;
...
...
src/com/jsh/action/basic/AccountAction.java
View file @
90de51bf
...
...
@@ -166,6 +166,46 @@ public class AccountAction extends BaseAction<AccountModel>
new
Timestamp
(
System
.
currentTimeMillis
())
,
tipType
,
"更新结算账户ID为 "
+
model
.
getAccountID
()
+
" "
+
tipMsg
+
"!"
,
"更新结算账户"
+
tipMsg
));
}
/**
* 更新结算账户金额
* @return
*/
public
void
updateAmount
()
{
Boolean
flag
=
false
;
try
{
Account
Account
=
accountService
.
get
(
model
.
getAccountID
());
Account
.
setCurrentAmount
(
model
.
getCurrentAmount
());
accountService
.
update
(
Account
);
flag
=
true
;
tipMsg
=
"成功"
;
tipType
=
0
;
}
catch
(
DataAccessException
e
)
{
Log
.
errorFileSync
(
">>>>>>>>>>>>>修改结算账户ID为 : "
+
model
.
getAccountID
()
+
"信息失败"
,
e
);
flag
=
false
;
tipMsg
=
"失败"
;
tipType
=
1
;
}
finally
{
try
{
toClient
(
flag
.
toString
());
}
catch
(
IOException
e
)
{
Log
.
errorFileSync
(
">>>>>>>>>>>>修改结算账户回写客户端结果异常"
,
e
);
}
}
logService
.
create
(
new
Logdetails
(
getUser
(),
"更新结算账户"
,
model
.
getClientIp
(),
new
Timestamp
(
System
.
currentTimeMillis
())
,
tipType
,
"更新结算账户ID为 "
+
model
.
getAccountID
()
+
" "
+
tipMsg
+
"!"
,
"更新结算账户"
+
tipMsg
));
}
/**
* 批量删除指定ID结算账户
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment