diff --git a/WebRoot/WEB-INF/classes/com/jsh/action/basic/AccountAction.class b/WebRoot/WEB-INF/classes/com/jsh/action/basic/AccountAction.class index a9588a484..2c9601574 100644 Binary files a/WebRoot/WEB-INF/classes/com/jsh/action/basic/AccountAction.class and b/WebRoot/WEB-INF/classes/com/jsh/action/basic/AccountAction.class differ diff --git a/WebRoot/WEB-INF/classes/com/jsh/action/basic/InOutItemAction.class b/WebRoot/WEB-INF/classes/com/jsh/action/basic/InOutItemAction.class index 967d6eedb..1c3dcddcb 100644 Binary files a/WebRoot/WEB-INF/classes/com/jsh/action/basic/InOutItemAction.class and b/WebRoot/WEB-INF/classes/com/jsh/action/basic/InOutItemAction.class differ diff --git a/WebRoot/WEB-INF/classes/com/jsh/action/materials/PersonAction.class b/WebRoot/WEB-INF/classes/com/jsh/action/materials/PersonAction.class index 40b85e989..01a4b7580 100644 Binary files a/WebRoot/WEB-INF/classes/com/jsh/action/materials/PersonAction.class and b/WebRoot/WEB-INF/classes/com/jsh/action/materials/PersonAction.class differ diff --git a/WebRoot/pages/financial/giro.jsp b/WebRoot/pages/financial/giro.jsp index 3678a121b..5be78fb48 100644 --- a/WebRoot/pages/financial/giro.jsp +++ b/WebRoot/pages/financial/giro.jsp @@ -1,935 +1,935 @@ -<%@page import="com.jsh.util.Tools"%> -<%@ 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(); -%> - - - - 财务管理 - - - - - - - - - - - - - - - -
- - - - - - - - - - - -
单据号: - - 单据时间: - - - - -   - 查询  - 重置 -
-
- - -
-
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - -
单据编号: - 单据日期: - - 账户: - - 金额: - -
单位: - - 经手人: - - 备注: - -
单据明细: - -
-
- -
-
-
- 保存 - 取消 -
-
- - - - - - - - - - - - - - - - - - - - - - - - - -
单据编号: - - 单据日期: - - 账户: - - 金额: - -
单位: - - 经手人: - - 备注: - -
单据明细: - -
-
-
- - - - +<%@page import="com.jsh.util.Tools"%> +<%@ 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(); +%> + + + + 转账单 + + + + + + + + + + + + + + + +
+ + + + + + + + + + + +
单据号: + + 单据时间: + + - + +   + 查询  + 重置 +
+
+ + +
+
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + +
单据编号: + 单据日期: + + 账户: + + 金额: + +
单位: + + 经手人: + + 备注: + +
单据明细: + +
+
+ +
+
+
+ 保存 + 取消 +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + +
单据编号: + + 单据日期: + + 账户: + + 金额: + +
单位: + + 经手人: + + 备注: + +
单据明细: + +
+
+
+ + + + diff --git a/WebRoot/pages/financial/item_in.jsp b/WebRoot/pages/financial/item_in.jsp index c80f3ba0e..cf257664e 100644 --- a/WebRoot/pages/financial/item_in.jsp +++ b/WebRoot/pages/financial/item_in.jsp @@ -8,7 +8,7 @@ - 财务管理 + 收入单 @@ -49,7 +49,7 @@ -
+
@@ -389,7 +389,7 @@ valueField:'Id', textField:'InOutItemName', method:'get', - url: "<%=path%>/inOutItem/findBySelect.action" + url: "<%=path%>/inOutItem/findBySelect.action?type=in" } } }, diff --git a/WebRoot/pages/financial/item_out.jsp b/WebRoot/pages/financial/item_out.jsp index 9703b3351..8f2284c88 100644 --- a/WebRoot/pages/financial/item_out.jsp +++ b/WebRoot/pages/financial/item_out.jsp @@ -8,7 +8,7 @@ - 财务管理 + 支出单 @@ -49,7 +49,7 @@
-
+
@@ -379,7 +379,7 @@ pageList: [50,100,150], columns:[[ { field: 'Id',width:35,align:"center",checkbox:true}, - { title: '收入项目',field: 'InOutItemId',width:230, + { title: '支出项目',field: 'InOutItemId',width:230, formatter:function(value,row,index){ return row.InOutItemName; }, @@ -389,7 +389,7 @@ valueField:'Id', textField:'InOutItemName', method:'get', - url: "<%=path%>/inOutItem/findBySelect.action" + url: "<%=path%>/inOutItem/findBySelect.action?type=out" } } }, diff --git a/WebRoot/pages/financial/money_in.jsp b/WebRoot/pages/financial/money_in.jsp index d2370a9cc..b61ebf26f 100644 --- a/WebRoot/pages/financial/money_in.jsp +++ b/WebRoot/pages/financial/money_in.jsp @@ -1,935 +1,935 @@ -<%@page import="com.jsh.util.Tools"%> -<%@ 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(); -%> - - - - 财务管理 - - - - - - - - - - - - - - - -
- - - - - - - - - - - -
单据号: - - 单据时间: - - - - -   - 查询  - 重置 -
-
- - -
-
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - -
单据编号: - 单据日期: - - 账户: - - 金额: - -
单位: - - 经手人: - - 备注: - -
单据明细: - -
-
- -
-
-
- 保存 - 取消 -
-
- - - - - - - - - - - - - - - - - - - - - - - - - -
单据编号: - - 单据日期: - - 账户: - - 金额: - -
单位: - - 经手人: - - 备注: - -
单据明细: - -
-
-
- - - - +<%@page import="com.jsh.util.Tools"%> +<%@ 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(); +%> + + + + 收款单 + + + + + + + + + + + + + + + +
+ + + + + + + + + + + +
单据号: + + 单据时间: + + - + +   + 查询  + 重置 +
+
+ + +
+
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + +
单据编号: + 单据日期: + + 账户: + + 金额: + +
单位: + + 经手人: + + 备注: + +
单据明细: + +
+
+ +
+
+
+ 保存 + 取消 +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + +
单据编号: + + 单据日期: + + 账户: + + 金额: + +
单位: + + 经手人: + + 备注: + +
单据明细: + +
+
+
+ + + + diff --git a/WebRoot/pages/financial/money_out.jsp b/WebRoot/pages/financial/money_out.jsp index d31711730..8c199f610 100644 --- a/WebRoot/pages/financial/money_out.jsp +++ b/WebRoot/pages/financial/money_out.jsp @@ -1,935 +1,935 @@ -<%@page import="com.jsh.util.Tools"%> -<%@ 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(); -%> - - - - 财务管理 - - - - - - - - - - - - - - - -
- - - - - - - - - - - -
单据号: - - 单据时间: - - - - -   - 查询  - 重置 -
-
- - -
-
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - -
单据编号: - 单据日期: - - 账户: - - 金额: - -
单位: - - 经手人: - - 备注: - -
单据明细: - -
-
- -
-
-
- 保存 - 取消 -
-
- - - - - - - - - - - - - - - - - - - - - - - - - -
单据编号: - - 单据日期: - - 账户: - - 金额: - -
单位: - - 经手人: - - 备注: - -
单据明细: - -
-
-
- - - - +<%@page import="com.jsh.util.Tools"%> +<%@ 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(); +%> + + + + 付款单 + + + + + + + + + + + + + + + +
+ + + + + + + + + + + +
单据号: + + 单据时间: + + - + +   + 查询  + 重置 +
+
+ + +
+
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + +
单据编号: + 单据日期: + + 账户: + + 金额: + +
单位: + + 经手人: + + 备注: + +
单据明细: + +
+
+ +
+
+
+ 保存 + 取消 +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + +
单据编号: + + 单据日期: + + 账户: + + 金额: + +
单位: + + 经手人: + + 备注: + +
单据明细: + +
+
+
+ + + + diff --git a/WebRoot/pages/materials/allocation_out_list.jsp b/WebRoot/pages/materials/allocation_out_list.jsp index 09fb39000..784828b89 100644 --- a/WebRoot/pages/materials/allocation_out_list.jsp +++ b/WebRoot/pages/materials/allocation_out_list.jsp @@ -27,7 +27,7 @@
- + @@ -62,7 +62,7 @@
仓库:发货仓库:
- + @@ -70,7 +70,7 @@ - + @@ -111,7 +111,7 @@ closed="true" modal="true" cache="false" collapsible="false" closable="true">
仓 库:发货仓库: 对方仓库:收货仓库:
- + @@ -119,7 +119,7 @@ - + diff --git a/WebRoot/pages/materials/other_in_list.jsp b/WebRoot/pages/materials/other_in_list.jsp index edc889b62..de2dfa79e 100644 --- a/WebRoot/pages/materials/other_in_list.jsp +++ b/WebRoot/pages/materials/other_in_list.jsp @@ -27,7 +27,7 @@
仓 库:发货仓库: 对方仓库:收货仓库:
- + @@ -62,7 +62,7 @@
仓库:收货仓库:
- + @@ -118,7 +118,7 @@ closed="true" modal="true" cache="false" collapsible="false" closable="true">
仓 库:收货仓库:
- + diff --git a/WebRoot/pages/materials/other_out_list.jsp b/WebRoot/pages/materials/other_out_list.jsp index c51c389b1..40401ef5d 100644 --- a/WebRoot/pages/materials/other_out_list.jsp +++ b/WebRoot/pages/materials/other_out_list.jsp @@ -27,7 +27,7 @@
仓 库:收货仓库:
- + @@ -62,7 +62,7 @@
仓库:发货仓库:
- + @@ -111,7 +111,7 @@ closed="true" modal="true" cache="false" collapsible="false" closable="true">
仓 库:发货仓库:
- + diff --git a/WebRoot/pages/materials/purchase_back_list.jsp b/WebRoot/pages/materials/purchase_back_list.jsp index df0ea6129..1a38139e2 100644 --- a/WebRoot/pages/materials/purchase_back_list.jsp +++ b/WebRoot/pages/materials/purchase_back_list.jsp @@ -27,7 +27,7 @@
仓 库:发货仓库:
- + @@ -62,7 +62,7 @@
仓库:发货仓库:
- + @@ -118,7 +118,7 @@ closed="true" modal="true" cache="false" collapsible="false" closable="true">
仓 库:发货仓库:
- + diff --git a/WebRoot/pages/materials/purchase_in_list.jsp b/WebRoot/pages/materials/purchase_in_list.jsp index 728a18eb4..35c6ce991 100644 --- a/WebRoot/pages/materials/purchase_in_list.jsp +++ b/WebRoot/pages/materials/purchase_in_list.jsp @@ -27,7 +27,7 @@
仓 库:发货仓库:
- + @@ -62,7 +62,7 @@
仓库:收货仓库:
- + @@ -118,7 +118,7 @@ closed="true" modal="true" cache="false" collapsible="false" closable="true">
仓 库:收货仓库:
- + diff --git a/WebRoot/pages/materials/sale_back_list.jsp b/WebRoot/pages/materials/sale_back_list.jsp index 66d0a4024..834621547 100644 --- a/WebRoot/pages/materials/sale_back_list.jsp +++ b/WebRoot/pages/materials/sale_back_list.jsp @@ -27,7 +27,7 @@
仓 库:收货仓库:
- + @@ -35,7 +35,7 @@ - + @@ -62,7 +62,7 @@
仓库:收货仓库: 出库时间:入库时间:
- + @@ -70,7 +70,7 @@ - + @@ -119,7 +119,7 @@ - + diff --git a/WebRoot/pages/materials/sale_out_list.jsp b/WebRoot/pages/materials/sale_out_list.jsp index 1a34c47f4..d97706b0a 100644 --- a/WebRoot/pages/materials/sale_out_list.jsp +++ b/WebRoot/pages/materials/sale_out_list.jsp @@ -27,7 +27,7 @@
仓 库:收货仓库: 客户:退货单位: 客户:退货单位:
- + @@ -62,7 +62,7 @@
仓库:发货仓库:
- + @@ -111,7 +111,7 @@ closed="true" modal="true" cache="false" collapsible="false" closable="true">
仓 库:发货仓库:
- + diff --git a/src/com/jsh/action/basic/AccountAction.java b/src/com/jsh/action/basic/AccountAction.java index 73bd99181..c417675c8 100644 --- a/src/com/jsh/action/basic/AccountAction.java +++ b/src/com/jsh/action/basic/AccountAction.java @@ -291,9 +291,9 @@ public class AccountAction extends BaseAction for(Account account:dataList) { JSONObject item = new JSONObject(); - item.put("id", account.getId()); + item.put("Id", account.getId()); //结算账户名称 - item.put("name", account.getName()); + item.put("AccountName", account.getName()); dataArray.add(item); } } diff --git a/src/com/jsh/action/basic/InOutItemAction.java b/src/com/jsh/action/basic/InOutItemAction.java index 4da9f8340..f6f40a91f 100644 --- a/src/com/jsh/action/basic/InOutItemAction.java +++ b/src/com/jsh/action/basic/InOutItemAction.java @@ -308,6 +308,12 @@ public class InOutItemAction extends BaseAction * 拼接搜索条件 */ Map condition = new HashMap(); + if(model.getType().equals("in")) { + condition.put("type_s_eq", "收入"); + } + else if(model.getType().equals("out")) { + condition.put("type_s_eq", "支出"); + } condition.put("id_s_order", "desc"); return condition; } diff --git a/src/com/jsh/action/materials/AccountItemAction.java b/src/com/jsh/action/materials/AccountItemAction.java index 21f62ae74..ba7e1954c 100644 --- a/src/com/jsh/action/materials/AccountItemAction.java +++ b/src/com/jsh/action/materials/AccountItemAction.java @@ -1,30 +1,23 @@ package com.jsh.action.materials; -import java.io.File; import java.io.IOException; import java.sql.Timestamp; import java.util.HashMap; import java.util.List; import java.util.Map; -import javax.servlet.http.HttpServletResponse; import net.sf.json.JSONArray; import net.sf.json.JSONObject; import org.springframework.dao.DataAccessException; import com.jsh.base.BaseAction; import com.jsh.base.Log; -import com.jsh.util.AssetConstants; -import com.jsh.util.JshException; -import com.jsh.model.po.Asset; import com.jsh.model.po.AccountHead; import com.jsh.model.po.AccountItem; import com.jsh.model.po.Logdetails; import com.jsh.model.po.Account; import com.jsh.model.po.InOutItem; import com.jsh.model.vo.materials.AccountItemModel; -import com.jsh.service.materials.AccountHeadIService; import com.jsh.service.materials.AccountItemIService; import com.jsh.util.PageUtil; -import com.jsh.util.Tools; /* * 财务明细管理(收支|收付款|转账) * @author jishenghua qq:752718920 diff --git a/src/com/jsh/action/materials/PersonAction.java b/src/com/jsh/action/materials/PersonAction.java index 66531d0c2..962cd0382 100644 --- a/src/com/jsh/action/materials/PersonAction.java +++ b/src/com/jsh/action/materials/PersonAction.java @@ -232,10 +232,6 @@ public class PersonAction extends BaseAction personService.find(pageUtil); List dataList = pageUtil.getPageList(); - //开始拼接json数据 -// {"total":28,"rows":[ -// {"productid":"AV-CB-01","attr1":"Adult Male","itemid":"EST-18"} -// ]} JSONObject outer = new JSONObject(); outer.put("total", pageUtil.getTotalCount()); //存放数据json数组 diff --git a/src/com/jsh/base/Log.java b/src/com/jsh/base/Log.java index 3befc3f7d..1a665d308 100644 --- a/src/com/jsh/base/Log.java +++ b/src/com/jsh/base/Log.java @@ -4,7 +4,7 @@ import org.apache.log4j.Logger; /** * 封装log4j日志信息,打印日志信息类 - * @author ji/sheng/hua qq_752718920 + * @author ji/sheng/hua qq_7527.18920 * @since 2014-01-22 */ public class Log
仓 库:发货仓库: