From 77e30a07c852abcb2a07882b3d885d83dc2f3e2b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AD=A3=E5=9C=A3=E5=8D=8E?= <752718920@qq.com> Date: Sun, 18 Dec 2016 22:02:59 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E5=85=A5=E5=BA=93=E3=80=81?= =?UTF-8?q?=E5=87=BA=E5=BA=93=E7=9A=84=E5=89=8D=E7=AB=AFUI=EF=BC=8C?= =?UTF-8?q?=E5=B9=B6=E4=BF=AE=E5=A4=8D=E7=9B=B8=E5=85=B3BUG?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/jsh/action/basic/AccountAction.class | Bin 10547 -> 10572 bytes .../jsh/action/basic/InOutItemAction.class | Bin 9644 -> 9833 bytes .../jsh/action/materials/PersonAction.class | Bin 9170 -> 9170 bytes WebRoot/pages/financial/giro.jsp | 1870 ++++++++--------- WebRoot/pages/financial/item_in.jsp | 6 +- WebRoot/pages/financial/item_out.jsp | 8 +- WebRoot/pages/financial/money_in.jsp | 1870 ++++++++--------- WebRoot/pages/financial/money_out.jsp | 1870 ++++++++--------- .../pages/materials/allocation_out_list.jsp | 10 +- WebRoot/pages/materials/other_in_list.jsp | 6 +- WebRoot/pages/materials/other_out_list.jsp | 6 +- .../pages/materials/purchase_back_list.jsp | 6 +- WebRoot/pages/materials/purchase_in_list.jsp | 6 +- WebRoot/pages/materials/sale_back_list.jsp | 10 +- WebRoot/pages/materials/sale_out_list.jsp | 6 +- src/com/jsh/action/basic/AccountAction.java | 4 +- src/com/jsh/action/basic/InOutItemAction.java | 6 + .../action/materials/AccountItemAction.java | 7 - .../jsh/action/materials/PersonAction.java | 4 - src/com/jsh/base/Log.java | 2 +- 20 files changed, 2846 insertions(+), 2851 deletions(-) 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 a9588a4844a4868456bad25f4e0bb67b8480d24d..2c96015747ec259d8be89833fa243977c539c2f1 100644 GIT binary patch delta 413 zcmYk2OG^TA6vgiuQ-(1S5tRWKEt1SIAzHO-r;$P~l2$V4NRzJ^HG+*b56Dtvsuyb;j^9-BhKA@bM(aiJuSJ&<`ik;s>F z#fX%ZwX7qYIt1C4q!lSpDk_;kP%12jrDXvXvhX-z`5X(z3-OGSmU*0ktOZ$Bq)a5= zgH@14m9vtX?x9PNpd^{it4UeqQP+l?8>YKKG;r0bIo;OrZE-+HO2>RmG}*D+aZ1Pe zMU#%zm}qQc9aR2#_xW|~x4t|<#L8?GhXXP*t&)K_rZcaoEIi|AcFc}r-xJw%Dz$0S zKrseRyI`#c&bwf<2QKWWXpgQE9?&gs{sQu8Zd?EW delta 351 zcmX>Tv^j|D)W2Q(7#J9g7}ss&N*0~mChDsR%^%D8Ov0WleVer-vXZH#H#7{kIP*@PK2C%;yeW1KqqkFxw`O*Ku% z@M%D2F)>bO;0Dr57?>HDfV9_c#u<^@8E5%u3p38v+QJ~XjiGcWg9$T3I8b0NM4%cj zFdrh&4;NS{%(!^+O7&zFWV2JDW{V@44OVEN5y%X5?Bo^=E9T{lD<&V*@DyLln92YQ h0-#e=fixqKX4TrpxN@?hrVRgTAdiW04I{+xwE*MvTQL9t 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 967d6eedb2170d8cbd13a7a154cfc28691710c90..1c3dcddcb705e8b3400b785b5aa828965c105726 100644 GIT binary patch delta 425 zcmX|*+be@{9LAq#GkZ6a>77%_p}e)YSX{7(J2mVIkqha)SenBao0`*{<}~NmjZ&`U zMj@I|%B{b_E#+?@`P!DN=lgq}@9*<{F1tSc_Sc`sX8;X6zOnmVy21s*6b#uJ=dzVc zgmXln(LG~&XxP&enF@x69bBQ0$PI*}`q;F>HNqB&O$LUhhXP@R>k@q&r`{9i3O5P! zL^PssJ8fRQZ#)`(uBF@q2b0{neRG`__+DU!NgDJ%adhCG@*$gjR(9TwLvkflUDbCzP zkxYOBKVzH)IVdj&n04l4IupkR(>L5!hRbC|nv0z$wnvnrmcL5Zfbmt6U)G-H|1l)U r^2uH98P%F*>41fuMweDul9Xl{jP{R7ao zcE(&EZDGbzVaD>Ej0MaL;o2L3Qp^m(K#~tgGccMla4?!Ph%#C*hycaJAX*tjfh-0F z4hDY4O2#S%M#fkmkB5N~DpCz(F@kKIyiip|(jKf6B+J0S3f0NTSjSjD`JSpOt1|;D sqswFtHF@zGpdE}1+(1>TApIcKTH6>KCfljW@HYW@OpMKpnP9pF0P>3@kpKVy 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 40b85e989b932c734ce722a7ec56df8bc42f8cad..01a4b7580aeeac75e2d126146303fb0c7e52b4ff 100644 GIT binary patch delta 128 zcmccQe#w19m}1~-23v+V3_c9+7(yA|Gek0cWGGM93Gb0NlD-g0X@-T94UaqLb$ScCY!6?cg f!6?R{!6-iYno`bF?UiP%y=>q|kPw*t9Te+i5iU0jx43wg3PC diff --git a/WebRoot/pages/financial/giro.jsp b/WebRoot/pages/financial/giro.jsp index 3678a121..5be78fb4 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 c80f3ba0..cf257664 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 9703b335..8f2284c8 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 d2370a9c..b61ebf26 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 d3171173..8c199f61 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 09fb3900..784828b8 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 edc889b6..de2dfa79 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 c51c389b..40401ef5 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 df0ea612..1a38139e 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 728a18eb..35c6ce99 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 66d0a402..83462154 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 1a34c47f..d97706b0 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 73bd9918..c417675c 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 4da9f834..f6f40a91 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 21f62ae7..ba7e1954 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 66531d0c..962cd038 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 3befc3f7..1a665d30 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
仓 库:发货仓库: