From 751c4c14eece1052c2e2bac8bfa7146ca5114701 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, 11 Dec 2016 23:01:42 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E8=B4=A2=E5=8A=A1=E7=9B=B8?= =?UTF-8?q?=E5=85=B3=E9=A1=B5=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- WebRoot/pages/asset/asset.jsp | 2 +- WebRoot/pages/asset/report.jsp | 2 +- WebRoot/pages/common/admin.jsp | 2 +- WebRoot/pages/common/head.jsp | 2 +- WebRoot/pages/common/home.jsp | 2 +- WebRoot/pages/common/main.jsp | 2 +- WebRoot/pages/common/menu.jsp | 44 +- WebRoot/pages/common/templateforjsp.jsp | 2 +- WebRoot/pages/financial/giro.jsp | 935 ++++++++++++ WebRoot/pages/financial/item_in.jsp | 935 ++++++++++++ WebRoot/pages/financial/item_out.jsp | 935 ++++++++++++ WebRoot/pages/financial/money_in.jsp | 935 ++++++++++++ WebRoot/pages/financial/money_out.jsp | 935 ++++++++++++ WebRoot/pages/manage/account.jsp | 2 +- WebRoot/pages/manage/app.jsp | 2 +- WebRoot/pages/manage/assetname.jsp | 2 +- WebRoot/pages/manage/category.jsp | 2 +- WebRoot/pages/manage/depot.jsp | 2 +- WebRoot/pages/manage/functions.jsp | 2 +- WebRoot/pages/manage/inOutItem.jsp | 2 +- .../{log/operatelog.jsp => manage/log.jsp} | 2 +- WebRoot/pages/manage/role.jsp | 2 +- WebRoot/pages/manage/roleApp.jsp | 2 +- WebRoot/pages/manage/roleFunctions.jsp | 2 +- WebRoot/pages/{user => manage}/user.jsp | 2 +- WebRoot/pages/manage/vendor.jsp | 2 +- .../pages/materials/allocation_in_list.jsp | 1157 --------------- .../pages/materials/allocation_out_list.jsp | 192 +-- .../materials/audit_allocation_out_list.jsp | 1179 ---------------- .../materials/audit_consuming_out_list.jsp | 1230 ---------------- .../pages/materials/audit_lease_in_list.jsp | 1180 ---------------- .../materials/audit_purchase_in_list.jsp | 1190 ---------------- .../pages/materials/audit_return_out_list.jsp | 1176 ---------------- .../pages/materials/audit_sale_out_list.jsp | 1230 ---------------- .../pages/materials/audit_supply_in_list.jsp | 1173 --------------- WebRoot/pages/materials/building.jsp | 447 ------ .../pages/materials/consuming_out_list.jsp | 1252 ----------------- .../materials/fix_allocation_out_list.jsp | 1112 --------------- WebRoot/pages/materials/fix_lease_in_list.jsp | 1111 --------------- .../pages/materials/fix_purchase_in_list.jsp | 1115 --------------- WebRoot/pages/materials/fix_sale_out_list.jsp | 1111 --------------- WebRoot/pages/materials/material.jsp | 10 +- WebRoot/pages/materials/materialcategory.jsp | 2 +- .../{supply_in_list.jsp => other_in_list.jsp} | 297 ++-- WebRoot/pages/materials/other_out_list.jsp | 245 +--- WebRoot/pages/materials/person.jsp | 10 +- ...ase_in_list.jsp => purchase_back_list.jsp} | 270 +--- WebRoot/pages/materials/purchase_in_list.jsp | 186 +-- WebRoot/pages/materials/return_out_list.jsp | 1198 ---------------- ...recover_in_list.jsp => sale_back_list.jsp} | 279 +--- WebRoot/pages/materials/sale_out_list.jsp | 194 +-- WebRoot/pages/other/clock.jsp | 2 +- WebRoot/pages/other/preview.jsp | 2 +- WebRoot/pages/reports/in_out_stock_report.jsp | 2 +- WebRoot/pages/user/password.jsp | 4 +- WebRoot/pages/user/userDepot.jsp | 2 +- WebRoot/pages/user/userRole.jsp | 2 +- WebRoot/pages/user/userinfo.jsp | 2 +- 58 files changed, 5044 insertions(+), 18277 deletions(-) create mode 100644 WebRoot/pages/financial/giro.jsp create mode 100644 WebRoot/pages/financial/item_in.jsp create mode 100644 WebRoot/pages/financial/item_out.jsp create mode 100644 WebRoot/pages/financial/money_in.jsp create mode 100644 WebRoot/pages/financial/money_out.jsp rename WebRoot/pages/{log/operatelog.jsp => manage/log.jsp} (96%) rename WebRoot/pages/{user => manage}/user.jsp (97%) delete mode 100644 WebRoot/pages/materials/allocation_in_list.jsp delete mode 100644 WebRoot/pages/materials/audit_allocation_out_list.jsp delete mode 100644 WebRoot/pages/materials/audit_consuming_out_list.jsp delete mode 100644 WebRoot/pages/materials/audit_lease_in_list.jsp delete mode 100644 WebRoot/pages/materials/audit_purchase_in_list.jsp delete mode 100644 WebRoot/pages/materials/audit_return_out_list.jsp delete mode 100644 WebRoot/pages/materials/audit_sale_out_list.jsp delete mode 100644 WebRoot/pages/materials/audit_supply_in_list.jsp delete mode 100644 WebRoot/pages/materials/building.jsp delete mode 100644 WebRoot/pages/materials/consuming_out_list.jsp delete mode 100644 WebRoot/pages/materials/fix_allocation_out_list.jsp delete mode 100644 WebRoot/pages/materials/fix_lease_in_list.jsp delete mode 100644 WebRoot/pages/materials/fix_purchase_in_list.jsp delete mode 100644 WebRoot/pages/materials/fix_sale_out_list.jsp rename WebRoot/pages/materials/{supply_in_list.jsp => other_in_list.jsp} (80%) rename WebRoot/pages/materials/{lease_in_list.jsp => purchase_back_list.jsp} (79%) delete mode 100644 WebRoot/pages/materials/return_out_list.jsp rename WebRoot/pages/materials/{recover_in_list.jsp => sale_back_list.jsp} (80%) diff --git a/WebRoot/pages/asset/asset.jsp b/WebRoot/pages/asset/asset.jsp index 255f0712..fff5574d 100644 --- a/WebRoot/pages/asset/asset.jsp +++ b/WebRoot/pages/asset/asset.jsp @@ -1,4 +1,4 @@ -<%@page import="com.jsh.util.common.Tools"%> +<%@page import="com.jsh.util.Tools"%> <%@ page language="java" import="java.util.*" pageEncoding="utf-8"%> <% String path = request.getContextPath(); diff --git a/WebRoot/pages/asset/report.jsp b/WebRoot/pages/asset/report.jsp index 9a85c906..4ef9031f 100644 --- a/WebRoot/pages/asset/report.jsp +++ b/WebRoot/pages/asset/report.jsp @@ -1,4 +1,4 @@ -<%@page import="com.jsh.util.common.Tools"%> +<%@page import="com.jsh.util.Tools"%> <%@ page language="java" import="java.util.*" pageEncoding="utf-8"%> <% String path = request.getContextPath(); diff --git a/WebRoot/pages/common/admin.jsp b/WebRoot/pages/common/admin.jsp index f63011c3..acf217aa 100644 --- a/WebRoot/pages/common/admin.jsp +++ b/WebRoot/pages/common/admin.jsp @@ -1,4 +1,4 @@ -<%@page import="com.jsh.util.common.Tools"%> +<%@page import="com.jsh.util.Tools"%> <%@ page language="java" import="java.util.*" pageEncoding="utf-8"%> <% String path = request.getContextPath(); diff --git a/WebRoot/pages/common/head.jsp b/WebRoot/pages/common/head.jsp index cd4f21e6..7d4d215c 100644 --- a/WebRoot/pages/common/head.jsp +++ b/WebRoot/pages/common/head.jsp @@ -1,4 +1,4 @@ -<%@page import="com.jsh.util.common.Tools"%> +<%@page import="com.jsh.util.Tools"%> <%@ page language="java" import="java.util.*" pageEncoding="utf-8"%> <% String path = request.getContextPath(); diff --git a/WebRoot/pages/common/home.jsp b/WebRoot/pages/common/home.jsp index d611f574..283ce99d 100644 --- a/WebRoot/pages/common/home.jsp +++ b/WebRoot/pages/common/home.jsp @@ -1,4 +1,4 @@ -<%@page import="com.jsh.util.common.Tools"%> +<%@page import="com.jsh.util.Tools"%> <%@ page language="java" import="java.util.*" pageEncoding="utf-8"%> <% String path = request.getContextPath(); diff --git a/WebRoot/pages/common/main.jsp b/WebRoot/pages/common/main.jsp index 59dac2d2..85f7bed3 100644 --- a/WebRoot/pages/common/main.jsp +++ b/WebRoot/pages/common/main.jsp @@ -1,4 +1,4 @@ -<%@page import="com.jsh.util.common.Tools"%> +<%@page import="com.jsh.util.Tools"%> <%@ page language="java" import="java.util.*" pageEncoding="utf-8"%> <% String path = request.getContextPath(); diff --git a/WebRoot/pages/common/menu.jsp b/WebRoot/pages/common/menu.jsp index e5bbd029..46800665 100644 --- a/WebRoot/pages/common/menu.jsp +++ b/WebRoot/pages/common/menu.jsp @@ -193,59 +193,53 @@ function ceshi() -
- +
-
- -
+
- 刷新 + 刷新
- 关闭 + 关闭
- 全部关闭 + 全部关闭
- 除此之外全部关闭 + 除此之外全部关闭
- 当前页右侧全部关闭 + 当前页右侧全部关闭
- 当前页左侧全部关闭 + 当前页左侧全部关闭
- 退出 + 退出
diff --git a/WebRoot/pages/common/templateforjsp.jsp b/WebRoot/pages/common/templateforjsp.jsp index 96d1bc7e..a17f253d 100644 --- a/WebRoot/pages/common/templateforjsp.jsp +++ b/WebRoot/pages/common/templateforjsp.jsp @@ -1,4 +1,4 @@ -<%@page import="com.jsh.util.common.Tools"%> +<%@page import="com.jsh.util.Tools"%> <%@ page language="java" import="java.util.*" pageEncoding="utf-8"%> <% String path = request.getContextPath(); diff --git a/WebRoot/pages/financial/giro.jsp b/WebRoot/pages/financial/giro.jsp new file mode 100644 index 00000000..3678a121 --- /dev/null +++ b/WebRoot/pages/financial/giro.jsp @@ -0,0 +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(); +%> + + + + 财务管理 + + + + + + + + + + + + + + + +
+ + + + + + + + + + + +
单据号: + + 单据时间: + + - + +   + 查询  + 重置 +
+
+ + +
+
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + +
单据编号: + 单据日期: + + 账户: + + 金额: + +
单位: + + 经手人: + + 备注: + +
单据明细: + +
+
+ +
+
+
+ 保存 + 取消 +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + +
单据编号: + + 单据日期: + + 账户: + + 金额: + +
单位: + + 经手人: + + 备注: + +
单据明细: + +
+
+
+ + + + diff --git a/WebRoot/pages/financial/item_in.jsp b/WebRoot/pages/financial/item_in.jsp new file mode 100644 index 00000000..c80f3ba0 --- /dev/null +++ b/WebRoot/pages/financial/item_in.jsp @@ -0,0 +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(); +%> + + + + 财务管理 + + + + + + + + + + + + + + + +
+ + + + + + + + + + + +
单据号: + + 单据时间: + + - + +   + 查询  + 重置 +
+
+ + +
+
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + +
单据编号: + 单据日期: + + 账户: + + 金额: + +
单位: + + 经手人: + + 备注: + +
单据明细: + +
+
+ +
+
+
+ 保存 + 取消 +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + +
单据编号: + + 单据日期: + + 账户: + + 金额: + +
单位: + + 经手人: + + 备注: + +
单据明细: + +
+
+
+ + + + diff --git a/WebRoot/pages/financial/item_out.jsp b/WebRoot/pages/financial/item_out.jsp new file mode 100644 index 00000000..9703b335 --- /dev/null +++ b/WebRoot/pages/financial/item_out.jsp @@ -0,0 +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(); +%> + + + + 财务管理 + + + + + + + + + + + + + + + +
+ + + + + + + + + + + +
单据号: + + 单据时间: + + - + +   + 查询  + 重置 +
+
+ + +
+
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + +
单据编号: + 单据日期: + + 账户: + + 金额: + +
单位: + + 经手人: + + 备注: + +
单据明细: + +
+
+ +
+
+
+ 保存 + 取消 +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + +
单据编号: + + 单据日期: + + 账户: + + 金额: + +
单位: + + 经手人: + + 备注: + +
单据明细: + +
+
+
+ + + + diff --git a/WebRoot/pages/financial/money_in.jsp b/WebRoot/pages/financial/money_in.jsp new file mode 100644 index 00000000..d2370a9c --- /dev/null +++ b/WebRoot/pages/financial/money_in.jsp @@ -0,0 +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(); +%> + + + + 财务管理 + + + + + + + + + + + + + + + +
+ + + + + + + + + + + +
单据号: + + 单据时间: + + - + +   + 查询  + 重置 +
+
+ + +
+
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + +
单据编号: + 单据日期: + + 账户: + + 金额: + +
单位: + + 经手人: + + 备注: + +
单据明细: + +
+
+ +
+
+
+ 保存 + 取消 +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + +
单据编号: + + 单据日期: + + 账户: + + 金额: + +
单位: + + 经手人: + + 备注: + +
单据明细: + +
+
+
+ + + + diff --git a/WebRoot/pages/financial/money_out.jsp b/WebRoot/pages/financial/money_out.jsp new file mode 100644 index 00000000..d3171173 --- /dev/null +++ b/WebRoot/pages/financial/money_out.jsp @@ -0,0 +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(); +%> + + + + 财务管理 + + + + + + + + + + + + + + + +
+ + + + + + + + + + + +
单据号: + + 单据时间: + + - + +   + 查询  + 重置 +
+
+ + +
+
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + +
单据编号: + 单据日期: + + 账户: + + 金额: + +
单位: + + 经手人: + + 备注: + +
单据明细: + +
+
+ +
+
+
+ 保存 + 取消 +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + +
单据编号: + + 单据日期: + + 账户: + + 金额: + +
单位: + + 经手人: + + 备注: + +
单据明细: + +
+
+
+ + + + diff --git a/WebRoot/pages/manage/account.jsp b/WebRoot/pages/manage/account.jsp index c83276fa..10eeac95 100644 --- a/WebRoot/pages/manage/account.jsp +++ b/WebRoot/pages/manage/account.jsp @@ -1,4 +1,4 @@ -<%@page import="com.jsh.util.common.Tools"%> +<%@page import="com.jsh.util.Tools"%> <%@ page language="java" import="java.util.*" pageEncoding="utf-8"%> <% String path = request.getContextPath(); diff --git a/WebRoot/pages/manage/app.jsp b/WebRoot/pages/manage/app.jsp index 60cf1af4..a1cdb19f 100644 --- a/WebRoot/pages/manage/app.jsp +++ b/WebRoot/pages/manage/app.jsp @@ -1,4 +1,4 @@ -<%@page import="com.jsh.util.common.Tools"%> +<%@page import="com.jsh.util.Tools"%> <%@ page language="java" import="java.util.*" pageEncoding="utf-8"%> <% String path = request.getContextPath(); diff --git a/WebRoot/pages/manage/assetname.jsp b/WebRoot/pages/manage/assetname.jsp index 6822125a..ae0fec60 100644 --- a/WebRoot/pages/manage/assetname.jsp +++ b/WebRoot/pages/manage/assetname.jsp @@ -1,4 +1,4 @@ -<%@page import="com.jsh.util.common.Tools"%> +<%@page import="com.jsh.util.Tools"%> <%@ page language="java" import="java.util.*" pageEncoding="utf-8"%> <% String path = request.getContextPath(); diff --git a/WebRoot/pages/manage/category.jsp b/WebRoot/pages/manage/category.jsp index ddcaae49..bcdada96 100644 --- a/WebRoot/pages/manage/category.jsp +++ b/WebRoot/pages/manage/category.jsp @@ -1,4 +1,4 @@ -<%@page import="com.jsh.util.common.Tools"%> +<%@page import="com.jsh.util.Tools"%> <%@ page language="java" import="java.util.*" pageEncoding="utf-8"%> <% String path = request.getContextPath(); diff --git a/WebRoot/pages/manage/depot.jsp b/WebRoot/pages/manage/depot.jsp index 06c45167..dd7a9975 100644 --- a/WebRoot/pages/manage/depot.jsp +++ b/WebRoot/pages/manage/depot.jsp @@ -1,4 +1,4 @@ -<%@page import="com.jsh.util.common.Tools"%> +<%@page import="com.jsh.util.Tools"%> <%@ page language="java" import="java.util.*" pageEncoding="utf-8"%> <% String path = request.getContextPath(); diff --git a/WebRoot/pages/manage/functions.jsp b/WebRoot/pages/manage/functions.jsp index 27f4ef82..118c248f 100644 --- a/WebRoot/pages/manage/functions.jsp +++ b/WebRoot/pages/manage/functions.jsp @@ -1,4 +1,4 @@ -<%@page import="com.jsh.util.common.Tools"%> +<%@page import="com.jsh.util.Tools"%> <%@ page language="java" import="java.util.*" pageEncoding="utf-8"%> <% String path = request.getContextPath(); diff --git a/WebRoot/pages/manage/inOutItem.jsp b/WebRoot/pages/manage/inOutItem.jsp index efd50b91..57cdf309 100644 --- a/WebRoot/pages/manage/inOutItem.jsp +++ b/WebRoot/pages/manage/inOutItem.jsp @@ -1,4 +1,4 @@ -<%@page import="com.jsh.util.common.Tools"%> +<%@page import="com.jsh.util.Tools"%> <%@ page language="java" import="java.util.*" pageEncoding="utf-8"%> <% String path = request.getContextPath(); diff --git a/WebRoot/pages/log/operatelog.jsp b/WebRoot/pages/manage/log.jsp similarity index 96% rename from WebRoot/pages/log/operatelog.jsp rename to WebRoot/pages/manage/log.jsp index 030cee10..ce9bea2c 100644 --- a/WebRoot/pages/log/operatelog.jsp +++ b/WebRoot/pages/manage/log.jsp @@ -1,4 +1,4 @@ -<%@page import="com.jsh.util.common.Tools"%> +<%@page import="com.jsh.util.Tools"%> <%@ page language="java" import="java.util.*" pageEncoding="utf-8"%> <% String path = request.getContextPath(); diff --git a/WebRoot/pages/manage/role.jsp b/WebRoot/pages/manage/role.jsp index 0c379e99..72833969 100644 --- a/WebRoot/pages/manage/role.jsp +++ b/WebRoot/pages/manage/role.jsp @@ -1,4 +1,4 @@ -<%@page import="com.jsh.util.common.Tools"%> +<%@page import="com.jsh.util.Tools"%> <%@ page language="java" import="java.util.*" pageEncoding="utf-8"%> <% String path = request.getContextPath(); diff --git a/WebRoot/pages/manage/roleApp.jsp b/WebRoot/pages/manage/roleApp.jsp index e4cc9380..94e78558 100644 --- a/WebRoot/pages/manage/roleApp.jsp +++ b/WebRoot/pages/manage/roleApp.jsp @@ -1,4 +1,4 @@ -<%@page import="com.jsh.util.common.Tools"%> +<%@page import="com.jsh.util.Tools"%> <%@ page language="java" import="java.util.*" pageEncoding="utf-8"%> <% String path = request.getContextPath(); diff --git a/WebRoot/pages/manage/roleFunctions.jsp b/WebRoot/pages/manage/roleFunctions.jsp index 9ac30fc8..03376f02 100644 --- a/WebRoot/pages/manage/roleFunctions.jsp +++ b/WebRoot/pages/manage/roleFunctions.jsp @@ -1,4 +1,4 @@ -<%@page import="com.jsh.util.common.Tools"%> +<%@page import="com.jsh.util.Tools"%> <%@ page language="java" import="java.util.*" pageEncoding="utf-8"%> <% String path = request.getContextPath(); diff --git a/WebRoot/pages/user/user.jsp b/WebRoot/pages/manage/user.jsp similarity index 97% rename from WebRoot/pages/user/user.jsp rename to WebRoot/pages/manage/user.jsp index 065858ea..50a11794 100644 --- a/WebRoot/pages/user/user.jsp +++ b/WebRoot/pages/manage/user.jsp @@ -1,4 +1,4 @@ -<%@page import="com.jsh.util.common.Tools"%> +<%@page import="com.jsh.util.Tools"%> <%@ page language="java" import="java.util.*" pageEncoding="utf-8"%> <% String path = request.getContextPath(); diff --git a/WebRoot/pages/manage/vendor.jsp b/WebRoot/pages/manage/vendor.jsp index 9f60eba7..4f9d3b69 100644 --- a/WebRoot/pages/manage/vendor.jsp +++ b/WebRoot/pages/manage/vendor.jsp @@ -1,4 +1,4 @@ -<%@page import="com.jsh.util.common.Tools"%> +<%@page import="com.jsh.util.Tools"%> <%@ page language="java" import="java.util.*" pageEncoding="utf-8"%> <% String path = request.getContextPath(); diff --git a/WebRoot/pages/materials/allocation_in_list.jsp b/WebRoot/pages/materials/allocation_in_list.jsp deleted file mode 100644 index 93482014..00000000 --- a/WebRoot/pages/materials/allocation_in_list.jsp +++ /dev/null @@ -1,1157 +0,0 @@ -<%@page import="com.jsh.util.common.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(); -%> - - - - 调拨入库 - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
仓库: - - 单据号: - - 入库时间: - - - - - 状态: - -   - 查询  - 重置 -
-
- - -
-
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - -
店 面: - - 入库时间时间: - - 对方仓库: - -
仓管员: - - 备注: - - 单据号: -
材料列表: - -
-
- -
-
-
- 保存 - 取消 -
-
- - - - - - - - - - - - - - - - - - - - - - - - - -
店 面: - - 入库时间: - - 对方仓库: - - -
仓管员: - - 备注: - - 单据号: - -
材料列表: - -
-
-
- - - - \ No newline at end of file diff --git a/WebRoot/pages/materials/allocation_out_list.jsp b/WebRoot/pages/materials/allocation_out_list.jsp index 8c22af32..09fb3900 100644 --- a/WebRoot/pages/materials/allocation_out_list.jsp +++ b/WebRoot/pages/materials/allocation_out_list.jsp @@ -1,4 +1,4 @@ -<%@page import="com.jsh.util.common.Tools"%> +<%@page import="com.jsh.util.Tools"%> <%@ page language="java" import="java.util.*" pageEncoding="utf-8"%> <% String path = request.getContextPath(); @@ -29,29 +29,19 @@ 仓库: - + 单据号: - + 出库时间: - + - - - - 状态: - - +   @@ -72,7 +62,7 @@
- + @@ -103,9 +93,9 @@ - + @@ -121,7 +111,7 @@ closed="true" modal="true" cache="false" collapsible="false" closable="true">
店 面:仓 库:
材料列表:商品列表: - +
- + @@ -154,9 +144,9 @@ - + @@ -400,8 +390,7 @@ { title: '出库时间 ',field: 'OperTime',width:100}, { title: '创建时间',field: 'CreateTime',width:100}, { title: '操作员',field: 'OperPersonName',width:100}, - { title: '备注',field: 'Remark',width:300}, - { title: '状态',field: 'State',width:100}, + { title: '备注',field: 'Remark',width:100}, { title: '操作',field: 'op',align:"center",width:180,formatter:function(value,rec) { var str = ''; @@ -439,25 +428,6 @@ { batDeleteDepotHead(); } - }, - "-", - { - id:'submitDepotHead', - text:'提交审核', - iconCls:'icon-ok', - handler:function() - { - submitDepotHead(); - } - }, - { - id:'cancelDepotHead', - text:'废弃', - iconCls:'icon-no', - handler:function() - { - cancelDepotHead(); - } } ], onLoadError:function() @@ -468,7 +438,7 @@ }); } - //初始化表格数据-材料列表-编辑状态 + //初始化表格数据-商品列表-编辑状态 function initTableData_material() { $('#materialData').datagrid({ @@ -549,7 +519,7 @@ } - //初始化表格数据-材料列表-查看状态 + //初始化表格数据-商品列表-查看状态 function initTableData_material_show() { $('#materialDataShow').datagrid({ @@ -745,8 +715,8 @@ orgDepotHead = ""; depotHeadID = 0; - initTableData_material(); //材料列表 - reject(); //撤销下、刷新材料列表 + initTableData_material(); //商品列表 + reject(); //撤销下、刷新商品列表 url = '<%=path %>/depotHead/create.action'; } @@ -840,8 +810,8 @@ $(".window-mask").css({ width: webW ,height: webH}); depotHeadID = depotHeadInfo[0]; - initTableData_material(); //材料列表 - reject(); //撤销下、刷新材料列表 + initTableData_material(); //商品列表 + reject(); //撤销下、刷新商品列表 url = '<%=path %>/depotHead/update.action?depotHeadID=' + depotHeadInfo[0]; } @@ -863,7 +833,7 @@ $(".window-mask").css({ width: webW ,height: webH}); depotHeadID = depotHeadInfo[0]; - initTableData_material_show(); //材料列表-查看状态 + initTableData_material_show(); //商品列表-查看状态 } //搜索处理 @@ -930,130 +900,6 @@ $("#searchBtn").click(); } }); - //提交审核 - function submitDepotHead() - { - var row = $("#tableData").datagrid("getChecked"); - if(row.length == 0) - { - $.messager.alert('提交审核提示','没有记录被选中!','info'); - return; - } - if(row.length > 0) - { - $.messager.confirm('提交审核确认','确定要提交选中的' + row.length + '条调拨出库信息吗?',function(r) - { - if (r) - { - var ids = ""; - for(var i = 0;i < row.length; i++) - { - if(i == row.length-1) - { - ids += row[i].Id; - break; - } - ids += row[i].Id + ","; - } - $.ajax({ - type:"post", - url: "<%=path %>/depotHead/submit.action", - dataType: "json", - async: false, - data: ({ - depotHeadIDs: ids, - State:"待审核", - clientIp:'<%=clientIp %>' - }), - success: function (tipInfo) - { - if(tipInfo) - { - $.messager.alert('提示',"提交审核成功!",'info'); - var opts = $("#tableData").datagrid('options'); - showDepotHeadDetails(opts.pageNumber,opts.pageSize); - } - else - { - $.messager.show({ - title: '错误提示', - msg: '提交审核失败,请稍后重试!' - }); - } - }, - //此处添加错误处理 - error:function() - { - $.messager.alert('提示','提交审核异常,请稍后再试!','error'); - return; - } - }); - } - }); - } - } - //废弃 - function cancelDepotHead() - { - var row = $("#tableData").datagrid("getChecked"); - if(row.length == 0) - { - $.messager.alert('废弃提示','没有记录被选中!','info'); - return; - } - if(row.length > 0) - { - $.messager.confirm('废弃确认','确定要废弃选中的' + row.length + '条调拨出库信息吗?',function(r) - { - if (r) - { - var ids = ""; - for(var i = 0;i < row.length; i++) - { - if(i == row.length-1) - { - ids += row[i].Id; - break; - } - ids += row[i].Id + ","; - } - $.ajax({ - type:"post", - url: "<%=path %>/depotHead/submit.action", - dataType: "json", - async: false, - data: ({ - depotHeadIDs: ids, - State:"废弃", - clientIp:'<%=clientIp %>' - }), - success: function (tipInfo) - { - if(tipInfo) - { - $.messager.alert('提示',"废弃成功!",'info'); - var opts = $("#tableData").datagrid('options'); - showDepotHeadDetails(opts.pageNumber,opts.pageSize); - } - else - { - $.messager.show({ - title: '错误提示', - msg: '废弃失败,请稍后重试!' - }); - } - }, - //此处添加错误处理 - error:function() - { - $.messager.alert('提示','废弃异常,请稍后再试!','error'); - return; - } - }); - } - }); - } - } //结束编辑 var editIndex = undefined; diff --git a/WebRoot/pages/materials/audit_allocation_out_list.jsp b/WebRoot/pages/materials/audit_allocation_out_list.jsp deleted file mode 100644 index 4bd55216..00000000 --- a/WebRoot/pages/materials/audit_allocation_out_list.jsp +++ /dev/null @@ -1,1179 +0,0 @@ -<%@page import="com.jsh.util.common.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(); -%> - - - - 调拨出库审核 - - - - - - - - - - - - - - - -
-
店 面:仓 库:
材料列表:商品列表: - +
- - - - - - - - - - - - - - -
仓库: - - 单据号: - - 出库时间: - - - - - 状态: - -   - 查询  - 重置 -
-
- - -
-
-
- -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
店 面: - - 出库时间: - - 对方仓库: - -
仓管员: - - 备注: - - 单据号: -
材料列表: - -
-
- - -
-
- 保存 - 取消 -
-
- - - - - - - - - - - - - - - - - - - - - - - - - -
店 面: - - 出库时间: - - 对方仓库: - - -
仓管员: - - 备注: - - 单据号: - -
材料列表: - -
-
-
-
-
- - - - - -
撤审原因: - -
-
-
-
- 保存 - 取消 -
- - - - \ No newline at end of file diff --git a/WebRoot/pages/materials/audit_consuming_out_list.jsp b/WebRoot/pages/materials/audit_consuming_out_list.jsp deleted file mode 100644 index 82743cbf..00000000 --- a/WebRoot/pages/materials/audit_consuming_out_list.jsp +++ /dev/null @@ -1,1230 +0,0 @@ -<%@page import="com.jsh.util.common.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(); -%> - - - - 领用出库审核 - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
仓库: - - 单据号: - - 出库时间: - - - - - 状态: - -   - 查询  - 重置 -
-
- - -
-
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - -
店 面: - - 出库时间: - - 领料人: - -
仓管员: - - 单元: - - 备注: - - 单据号: -
材料列表: - -
-
- -
-
-
- 保存 - 取消 -
-
- - - - - - - - - - - - - - - - - - - - - - - - - -
店 面: - - 出库时间: - - 领料人: - -
仓管员: - - 单元: - - 备注: - - 单据号: - -
材料列表: - -
-
-
-
-
- - - - - -
撤审原因: - -
-
-
-
- 保存 - 取消 -
- - - - \ No newline at end of file diff --git a/WebRoot/pages/materials/audit_lease_in_list.jsp b/WebRoot/pages/materials/audit_lease_in_list.jsp deleted file mode 100644 index cab1e9d2..00000000 --- a/WebRoot/pages/materials/audit_lease_in_list.jsp +++ /dev/null @@ -1,1180 +0,0 @@ -<%@page import="com.jsh.util.common.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(); -%> - - - - 租赁入库审核 - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
仓库: - - 单据号: - - 入库时间: - - - - - 状态: - -   - 查询  - 重置 -
-
- - -
-
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - -
店 面: - - 入库时间: - - 供应商: - -
仓管员: - - 备注: - - 单据号: -
材料列表: - -
-
- -
-
-
- 保存 - 取消 -
-
- - - - - - - - - - - - - - - - - - - - - - - - - -
店 面: - - 入库时间: - - 供应商: - - -
仓管员: - - 备注: - - 单据号: - -
材料列表: - -
-
-
-
-
- - - - - -
撤审原因: - -
-
-
-
- 保存 - 取消 -
- - - - \ No newline at end of file diff --git a/WebRoot/pages/materials/audit_purchase_in_list.jsp b/WebRoot/pages/materials/audit_purchase_in_list.jsp deleted file mode 100644 index 478a1ce7..00000000 --- a/WebRoot/pages/materials/audit_purchase_in_list.jsp +++ /dev/null @@ -1,1190 +0,0 @@ -<%@page import="com.jsh.util.common.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(); -%> - - - - 采购入库审核 - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
仓库: - - 单据号: - - 入库时间: - - - - - 状态: - -   - 查询  - 重置 -
-
- - -
-
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - -
店 面: - - 入库时间: - - 供应商: - - 采购人: - -
仓管员: - - 结算方式: - - 备注: - - 单据号: -
材料列表: - -
-
- -
-
-
- 保存 - 取消 -
-
- - - - - - - - - - - - - - - - - - - - - - - - - -
店 面: - - 入库时间: - - 供应商: - - 采购人: - -
仓管员: - - 结算方式: - - 备注: - - 单据号: - -
材料列表: - -
-
-
-
-
- - - - - -
撤审原因: - -
-
-
-
- 保存 - 取消 -
- - - - \ No newline at end of file diff --git a/WebRoot/pages/materials/audit_return_out_list.jsp b/WebRoot/pages/materials/audit_return_out_list.jsp deleted file mode 100644 index e2dd0d3b..00000000 --- a/WebRoot/pages/materials/audit_return_out_list.jsp +++ /dev/null @@ -1,1176 +0,0 @@ -<%@page import="com.jsh.util.common.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(); -%> - - - - 退还出库审核 - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
仓库: - - 单据号: - - 出库时间: - - - - - 状态: - -   - 查询  - 重置 -
-
- - -
-
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - -
店 面: - - 出库时间: - - 供应商: - -
仓管员: - - 备注: - - 单据号: -
材料列表: - -
-
- -
-
-
- 保存 - 取消 -
-
- - - - - - - - - - - - - - - - - - - - - - - - - -
店 面: - - 出库时间: - - 供应商: - - -
仓管员: - - 备注: - - 单据号: - -
材料列表: - -
-
-
-
-
- - - - - -
撤审原因: - -
-
-
-
- 保存 - 取消 -
- - - - \ No newline at end of file diff --git a/WebRoot/pages/materials/audit_sale_out_list.jsp b/WebRoot/pages/materials/audit_sale_out_list.jsp deleted file mode 100644 index dddb0dd3..00000000 --- a/WebRoot/pages/materials/audit_sale_out_list.jsp +++ /dev/null @@ -1,1230 +0,0 @@ -<%@page import="com.jsh.util.common.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(); -%> - - - - 销售出库审核 - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
仓库: - - 单据号: - - 出库时间: - - - - - 状态: - -   - 查询  - 重置 -
-
- - -
-
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - -
店 面: - - 出库时间: - - 领料人: - -
仓管员: - - 单元: - - 备注: - - 单据号: -
材料列表: - -
-
- -
-
-
- 保存 - 取消 -
-
- - - - - - - - - - - - - - - - - - - - - - - - - -
仓库: - - 出库时间: - - 领料人: - -
仓管员: - - 单元: - - 备注: - - 单据号: - -
材料列表: - -
-
-
-
-
- - - - - -
撤审原因: - -
-
-
-
- 保存 - 取消 -
- - - - \ No newline at end of file diff --git a/WebRoot/pages/materials/audit_supply_in_list.jsp b/WebRoot/pages/materials/audit_supply_in_list.jsp deleted file mode 100644 index b62291d9..00000000 --- a/WebRoot/pages/materials/audit_supply_in_list.jsp +++ /dev/null @@ -1,1173 +0,0 @@ -<%@page import="com.jsh.util.common.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(); -%> - - - - 甲供入库审核 - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
仓库: - - 单据号: - - 入库时间: - - - - - 状态: - -   - 查询  - 重置 -
-
- - -
-
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - -
店 面: - - 入库时间: - - 仓管员: - - -
备注: - - 单据号: - - -
材料列表: - -
-
- -
-
-
- 保存 - 取消 -
-
- - - - - - - - - - - - - - - - - - - - - - - - - -
店 面: - - 入库时间: - - 仓管员: - - -
备注: - - 单据号: - - - -
材料列表: - -
-
-
-
-
- - - - - -
撤审原因: - -
-
-
-
- 保存 - 取消 -
- - - - \ No newline at end of file diff --git a/WebRoot/pages/materials/building.jsp b/WebRoot/pages/materials/building.jsp deleted file mode 100644 index 2782ea72..00000000 --- a/WebRoot/pages/materials/building.jsp +++ /dev/null @@ -1,447 +0,0 @@ -<%@page import="com.jsh.util.common.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(); -%> - - - - 单元管理 - - - - - - - - - - - - - - -
- - - - - - - - - -
名称: - -     - 查询   - 重置 -
-
- -
-
-
- -
-
- - - - - - - - - - - - - -
名称
备注
启用
- -
-
-
- 保存 - 取消 -
- - - - \ No newline at end of file diff --git a/WebRoot/pages/materials/consuming_out_list.jsp b/WebRoot/pages/materials/consuming_out_list.jsp deleted file mode 100644 index 47fe08c9..00000000 --- a/WebRoot/pages/materials/consuming_out_list.jsp +++ /dev/null @@ -1,1252 +0,0 @@ -<%@page import="com.jsh.util.common.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(); -%> - - - - 领用出库 - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
仓库: - - 单据号: - - 出库时间: - - - - - 状态: - -   - 查询  - 重置 -
-
- - -
-
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - -
店 面: - - 出库时间: - - 领料人: - -
仓管员: - - 单元: - - 备注: - - 单据号: -
材料列表: - -
-
- -
-
-
- 保存 - 取消 -
-
- - - - - - - - - - - - - - - - - - - - - - - - - -
店 面: - - 出库时间: - - 领料人: - -
仓管员: - - 单元: - - 备注: - - 单据号: - -
材料列表: - -
-
-
- - - - \ No newline at end of file diff --git a/WebRoot/pages/materials/fix_allocation_out_list.jsp b/WebRoot/pages/materials/fix_allocation_out_list.jsp deleted file mode 100644 index 5aec70a1..00000000 --- a/WebRoot/pages/materials/fix_allocation_out_list.jsp +++ /dev/null @@ -1,1112 +0,0 @@ -<%@page import="com.jsh.util.common.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(); -%> - - - - 调拨定价 - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - -
仓库: - - 单据号: - - 入库时间: - - - - -   - 查询  - 重置 -
-
- - -
-
-
- -
- - - - - - - - - - - - - - - - - - - - - - - - - -
店 面: - - 入库时间: - - 供应商: - - 采购人: - -
仓管员: - - 结算方式: - - 备注: - - 单据号: -
材料列表: - -
-
- -
-
- 保存 - 取消 -
-
-
- - - - - - - - - - - - - - - - - - - - - - - - - -
店 面: - - 出库时间: - - 对方仓库: - - -
仓管员: - - 备注: - - 单据号: - -
材料列表: - -
-
-
-
-
-
- - - - - -
撤审原因: - -
-
-
-
- 保存 - 取消 -
- - - - \ No newline at end of file diff --git a/WebRoot/pages/materials/fix_lease_in_list.jsp b/WebRoot/pages/materials/fix_lease_in_list.jsp deleted file mode 100644 index 5fb837d2..00000000 --- a/WebRoot/pages/materials/fix_lease_in_list.jsp +++ /dev/null @@ -1,1111 +0,0 @@ -<%@page import="com.jsh.util.common.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(); -%> - - - - 租赁定价 - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - -
仓库: - - 单据号: - - 入库时间: - - - - -   - 查询  - 重置 -
-
- - -
-
-
- -
- - - - - - - - - - - - - - - - - - - - - - - - - -
店 面: - - 入库时间: - - 供应商: - - 采购人: - -
仓管员: - - 结算方式: - - 备注: - - 单据号: -
材料列表: - -
-
- -
-
- 保存 - 取消 -
-
-
- - - - - - - - - - - - - - - - - - - - - - - - - -
店 面: - - 入库时间: - - 供应商: - -
仓管员: - - 备注: - - 单据号: - -
材料列表: - -
-
-
-
-
-
- - - - - -
撤审原因: - -
-
-
-
- 保存 - 取消 -
- - - - \ No newline at end of file diff --git a/WebRoot/pages/materials/fix_purchase_in_list.jsp b/WebRoot/pages/materials/fix_purchase_in_list.jsp deleted file mode 100644 index c0fa631d..00000000 --- a/WebRoot/pages/materials/fix_purchase_in_list.jsp +++ /dev/null @@ -1,1115 +0,0 @@ -<%@page import="com.jsh.util.common.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(); -%> - - - - 采购定价 - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - -
仓库: - - 单据号: - - 入库时间: - - - - -   - 查询  - 重置 -
-
- - -
-
-
- -
- - - - - - - - - - - - - - - - - - - - - - - - - -
店 面: - - 入库时间: - - 供应商: - - 采购人: - -
仓管员: - - 结算方式: - - 备注: - - 单据号: -
材料列表: - -
-
- -
-
- 保存 - 取消 -
-
-
- - - - - - - - - - - - - - - - - - - - - - - - - -
店 面: - - 入库时间: - - 供应商: - - 采购人: - -
仓管员: - - 结算方式: - - 备注: - - 单据号: - -
材料列表: - -
-
-
-
-
-
- - - - - -
撤审原因: - -
-
-
-
- 保存 - 取消 -
- - - - \ No newline at end of file diff --git a/WebRoot/pages/materials/fix_sale_out_list.jsp b/WebRoot/pages/materials/fix_sale_out_list.jsp deleted file mode 100644 index 698cb1b2..00000000 --- a/WebRoot/pages/materials/fix_sale_out_list.jsp +++ /dev/null @@ -1,1111 +0,0 @@ -<%@page import="com.jsh.util.common.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(); -%> - - - - 销售定价 - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - -
仓库: - - 单据号: - - 入库时间: - - - - -   - 查询  - 重置 -
-
- - -
-
-
- -
- - - - - - - - - - - - - - - - - - - - - - - - - -
店 面: - - 入库时间: - - 供应商: - - 采购人: - -
仓管员: - - 结算方式: - - 备注: - - 单据号: -
材料列表: - -
-
- -
-
- 保存 - 取消 -
-
-
- - - - - - - - - - - - - - - - - - - - - - - - - -
店 面: - - 出库时间: - - 客户: - - -
仓管员: - - 备注: - - 单据号: - -
材料列表: - -
-
-
-
-
-
- - - - - -
撤审原因: - -
-
-
-
- 保存 - 取消 -
- - - - \ No newline at end of file diff --git a/WebRoot/pages/materials/material.jsp b/WebRoot/pages/materials/material.jsp index 7ebdfd52..c4c0412a 100644 --- a/WebRoot/pages/materials/material.jsp +++ b/WebRoot/pages/materials/material.jsp @@ -1,4 +1,4 @@ -<%@page import="com.jsh.util.common.Tools"%> +<%@page import="com.jsh.util.Tools"%> <%@ page language="java" import="java.util.*" pageEncoding="utf-8"%> <% String path = request.getContextPath(); @@ -320,10 +320,10 @@ { title: '颜色',field: 'Color',width:40}, { title: '单位',field: 'Unit',width:50}, { title: '零售价',field: 'RetailPrice',width:50}, - { title: '最低售价',field: 'LowPrice',width:50}, - { title: '预设售价一',field: 'PresetPriceOne',width:80}, - { title: '预设售价二',field: 'PresetPriceTwo',width:80}, - { title: '备注',field: 'Remark',width:120}, + { title: '最低售价',field: 'LowPrice',width:70}, + { title: '预设售价一',field: 'PresetPriceOne',width:70}, + { title: '预设售价二',field: 'PresetPriceTwo',width:70}, + { title: '备注',field: 'Remark',width:110}, { title: '操作',field: 'op',align:"center",width:120,formatter:function(value,rec) { var str = ''; diff --git a/WebRoot/pages/materials/materialcategory.jsp b/WebRoot/pages/materials/materialcategory.jsp index 91c383d5..738a3601 100644 --- a/WebRoot/pages/materials/materialcategory.jsp +++ b/WebRoot/pages/materials/materialcategory.jsp @@ -1,4 +1,4 @@ -<%@page import="com.jsh.util.common.Tools"%> +<%@page import="com.jsh.util.Tools"%> <%@ page language="java" import="java.util.*" pageEncoding="utf-8"%> <% String path = request.getContextPath(); diff --git a/WebRoot/pages/materials/supply_in_list.jsp b/WebRoot/pages/materials/other_in_list.jsp similarity index 80% rename from WebRoot/pages/materials/supply_in_list.jsp rename to WebRoot/pages/materials/other_in_list.jsp index d44e6841..edc889b6 100644 --- a/WebRoot/pages/materials/supply_in_list.jsp +++ b/WebRoot/pages/materials/other_in_list.jsp @@ -1,4 +1,4 @@ -<%@page import="com.jsh.util.common.Tools"%> +<%@page import="com.jsh.util.Tools"%> <%@ page language="java" import="java.util.*" pageEncoding="utf-8"%> <% String path = request.getContextPath(); @@ -6,9 +6,9 @@ String clientIp = Tools.getCurrentUserIP(); %> - + - 甲供入库 + 其它入库 @@ -29,29 +29,19 @@ 仓库: - + 单据号: - + 入库时间: - + - - - - 状态: - - +   @@ -63,7 +53,7 @@ -
+
@@ -72,7 +62,7 @@
- + @@ -80,15 +70,27 @@ + + + + + + - - - - + + - - - - - + @@ -122,7 +118,7 @@ closed="true" modal="true" cache="false" collapsible="false" closable="true">
店 面:仓 库: 供应商: + + 采购人: + +
仓管员: -
结算方式: + + 备注: @@ -96,17 +98,11 @@ 单据号: - -
材料列表:商品列表: - +
- + @@ -130,15 +126,24 @@ - + - + + + + + - - - - - + @@ -372,7 +371,7 @@ function initTableData() { $('#tableData').datagrid({ - //title:'甲供入库列表', + //title:'其它入库列表', //iconCls:'icon-save', //width:700, height:heightInfo, @@ -399,8 +398,7 @@ { title: '入库时间 ',field: 'OperTime',width:100}, { title: '创建时间',field: 'CreateTime',width:100}, { title: '操作员',field: 'OperPersonName',width:100}, - { title: '备注',field: 'Remark',width:300}, - { title: '状态',field: 'State',width:100}, + { title: '备注',field: 'Remark',width:100}, { title: '操作',field: 'op',align:"center",width:180,formatter:function(value,rec) { var str = ''; @@ -411,7 +409,7 @@ + 'AaBb' + rec.ReAuditPersonName+ 'AaBb' + rec.Reason; if(1 == value) { - str += ' 查看  '; + str += ' 查看  '; str += ' 编辑  '; str += ' 删除'; } @@ -437,25 +435,6 @@ { batDeleteDepotHead(); } - }, - "-", - { - id:'submitDepotHead', - text:'提交审核', - iconCls:'icon-ok', - handler:function() - { - submitDepotHead(); - } - }, - { - id:'cancelDepotHead', - text:'废弃', - iconCls:'icon-no', - handler:function() - { - cancelDepotHead(); - } } ], onLoadError:function() @@ -466,7 +445,7 @@ }); } - //初始化表格数据-材料列表-编辑状态 + //初始化表格数据-商品列表-编辑状态 function initTableData_material() { $('#materialData').datagrid({ @@ -487,8 +466,8 @@ striped : true, //loadFilter: pagerFilter, onClickRow: onClickRow, - pageSize: 5, - pageList: [5,10,15], + pageSize: 50, + pageList: [50,100,150], columns:[[ { field: 'Id',width:35,align:"center",checkbox:true}, { title: '名称',field: 'MaterialId',width:230, @@ -506,6 +485,7 @@ } }, { title: '数量',field: 'OperNumber',editor:'validatebox',width:50}, + { title: '单价',field: 'UnitPrice',editor:'validatebox',width:50}, { title: '备注',field: 'Remark',editor:'validatebox',width:150}, { title: '图片',field: 'Img',editor:'validatebox',width:110}, ]], @@ -547,7 +527,7 @@ } - //初始化表格数据-材料列表-查看状态 + //初始化表格数据-商品列表-查看状态 function initTableData_material_show() { $('#materialDataShow').datagrid({ @@ -568,12 +548,13 @@ striped : true, //loadFilter: pagerFilter, onClickRow: onClickRow, - pageSize: 5, - pageList: [5,10,15], + pageSize: 50, + pageList: [50,100,150], columns:[[ { field: 'Id',width:35,align:"center",checkbox:true}, { title: '名称',field: 'MaterialName',width:230}, { title: '数量',field: 'OperNumber',width:50}, + { title: '单价',field: 'UnitPrice',width:50}, { title: '备注',field: 'Remark',width:150}, { title: '图片',field: 'Img',width:110}, ]], @@ -631,10 +612,10 @@ } } - //删除甲供入库信息 + //删除其它入库信息 function deleteDepotHead(depotHeadID) { - $.messager.confirm('删除确认','确定要删除此甲供入库信息吗?',function(r) + $.messager.confirm('删除确认','确定要删除此其它入库信息吗?',function(r) { if (r) { @@ -655,12 +636,12 @@ $("#searchBtn").click(); } else - $.messager.alert('删除提示','删除甲供入库信息失败,请稍后再试!','error'); + $.messager.alert('删除提示','删除其它入库信息失败,请稍后再试!','error'); }, //此处添加错误处理 error:function() { - $.messager.alert('删除提示','删除甲供入库信息异常,请稍后再试!','error'); + $.messager.alert('删除提示','删除其它入库信息异常,请稍后再试!','error'); return; } }); @@ -668,7 +649,7 @@ }); } - //批量删除甲供入库 + //批量删除其它入库 function batDeleteDepotHead() { var row = $('#tableData').datagrid('getChecked'); @@ -679,7 +660,7 @@ } if(row.length > 0) { - $.messager.confirm('删除确认','确定要删除选中的' + row.length + '条甲供入库信息吗?',function(r) + $.messager.confirm('删除确认','确定要删除选中的' + row.length + '条其它入库信息吗?',function(r) { if (r) { @@ -713,12 +694,12 @@ $(":checkbox").attr("checked",false); } else - $.messager.alert('删除提示','删除甲供入库信息失败,请稍后再试!','error'); + $.messager.alert('删除提示','删除其它入库信息失败,请稍后再试!','error'); }, //此处添加错误处理 error:function() { - $.messager.alert('删除提示','删除甲供入库信息异常,请稍后再试!','error'); + $.messager.alert('删除提示','删除其它入库信息异常,请稍后再试!','error'); return; } }); @@ -737,14 +718,14 @@ { $("#clientIp").val('<%=clientIp %>'); $('#depotHeadFM').form('clear'); - $('#depotHeadDlg').dialog('open').dialog('setTitle',' 增加甲供入库信息'); + $('#depotHeadDlg').dialog('open').dialog('setTitle',' 增加其它入库信息'); $(".window-mask").css({ width: webW ,height: webH}); $("#Number").val("").focus(); orgDepotHead = ""; depotHeadID = 0; - initTableData_material(); //材料列表 - reject(); //撤销下、刷新材料列表 + initTableData_material(); //商品列表 + reject(); //撤销下、刷新商品列表 url = '<%=path %>/depotHead/create.action'; } @@ -763,11 +744,14 @@ async : false, data: ({ Type:"入库", - SubType:"甲供", + SubType:"其它", ProjectId : $.trim($("#ProjectId").val()), Number : $.trim($("#Number").val()), OperTime: $("#OperTime").val(), + OrganId: $('#OrganId').combobox('getValue'), + HandsPersonId: $.trim($("#HandsPersonId").val()), WareHousePersonId: $.trim($("#WareHousePersonId").val()), + SettlementWay: $.trim($("#SettlementWay").val()), Remark: $.trim($("#Remark").val()), clientIp:'<%=clientIp %>' }), @@ -786,6 +770,7 @@ accept(depotHeadID); //修改 } + $('#depotHeadDlg').dialog('close'); var opts = $("#tableData").datagrid('options'); showDepotHeadDetails(opts.pageNumber,opts.pageSize); @@ -794,14 +779,14 @@ { $.messager.show({ title: '错误提示', - msg: '保存甲供入库信息失败,请稍后重试!' + msg: '保存其它入库信息失败,请稍后重试!' }); } }, //此处添加错误处理 error:function() { - $.messager.alert('提示','保存甲供入库信息异常,请稍后再试!','error'); + $.messager.alert('提示','保存其它入库信息异常,请稍后再试!','error'); return; } }); @@ -830,12 +815,12 @@ $("#Remark").val(depotHeadInfo[9]); //orgDepotHead = depotHeadInfo[1]; - $('#depotHeadDlg').dialog('open').dialog('setTitle',' 编辑甲供入库信息'); + $('#depotHeadDlg').dialog('open').dialog('setTitle',' 编辑其它入库信息'); $(".window-mask").css({ width: webW ,height: webH}); depotHeadID = depotHeadInfo[0]; - initTableData_material(); //材料列表 - reject(); //撤销下、刷新材料列表 + initTableData_material(); //商品列表 + reject(); //撤销下、刷新商品列表 url = '<%=path %>/depotHead/update.action?depotHeadID=' + depotHeadInfo[0]; } @@ -853,11 +838,11 @@ $("#RemarkShow").text(depotHeadInfo[9]); var audit=(depotHeadInfo[14]!="undefined"&&depotHeadInfo[15]!="undefined"&&depotHeadInfo[14]!=""&&depotHeadInfo[15]!="")?" 撤审人:"+depotHeadInfo[14]+" 撤审原因:"+depotHeadInfo[15]:""; audit=""+audit+""; - $('#depotHeadDlgShow').dialog('open').dialog('setTitle',' 查看甲供入库信息'+audit); + $('#depotHeadDlgShow').dialog('open').dialog('setTitle',' 查看其它入库信息'+audit); $(".window-mask").css({ width: webW ,height: webH}); depotHeadID = depotHeadInfo[0]; - initTableData_material_show(); //材料列表-查看状态 + initTableData_material_show(); //商品列表-查看状态 } //搜索处理 @@ -893,7 +878,7 @@ data: ({ ProjectId:$.trim($("#searchProjectId").val()), Type:"入库", - SubType:"甲供", + SubType:"其它", State:$.trim($("#searchState").val()), Number:$.trim($("#searchNumber").val()), BeginTime:$("#searchBeginTime").val(), @@ -924,130 +909,6 @@ $("#searchBtn").click(); } }); - //提交审核 - function submitDepotHead() - { - var row = $("#tableData").datagrid("getChecked"); - if(row.length == 0) - { - $.messager.alert('提交审核提示','没有记录被选中!','info'); - return; - } - if(row.length > 0) - { - $.messager.confirm('提交审核确认','确定要提交选中的' + row.length + '条甲供入库信息吗?',function(r) - { - if (r) - { - var ids = ""; - for(var i = 0;i < row.length; i++) - { - if(i == row.length-1) - { - ids += row[i].Id; - break; - } - ids += row[i].Id + ","; - } - $.ajax({ - type:"post", - url: "<%=path %>/depotHead/submit.action", - dataType: "json", - async: false, - data: ({ - depotHeadIDs: ids, - State:"待审核", - clientIp:'<%=clientIp %>' - }), - success: function (tipInfo) - { - if(tipInfo) - { - $.messager.alert('提示',"提交审核成功!",'info'); - var opts = $("#tableData").datagrid('options'); - showDepotHeadDetails(opts.pageNumber,opts.pageSize); - } - else - { - $.messager.show({ - title: '错误提示', - msg: '提交审核失败,请稍后重试!' - }); - } - }, - //此处添加错误处理 - error:function() - { - $.messager.alert('提示','提交审核异常,请稍后再试!','error'); - return; - } - }); - } - }); - } - } - //废弃 - function cancelDepotHead() - { - var row = $("#tableData").datagrid("getChecked"); - if(row.length == 0) - { - $.messager.alert('废弃提示','没有记录被选中!','info'); - return; - } - if(row.length > 0) - { - $.messager.confirm('废弃确认','确定要废弃选中的' + row.length + '条甲供入库信息吗?',function(r) - { - if (r) - { - var ids = ""; - for(var i = 0;i < row.length; i++) - { - if(i == row.length-1) - { - ids += row[i].Id; - break; - } - ids += row[i].Id + ","; - } - $.ajax({ - type:"post", - url: "<%=path %>/depotHead/submit.action", - dataType: "json", - async: false, - data: ({ - depotHeadIDs: ids, - State:"废弃", - clientIp:'<%=clientIp %>' - }), - success: function (tipInfo) - { - if(tipInfo) - { - $.messager.alert('提示',"废弃成功!",'info'); - var opts = $("#tableData").datagrid('options'); - showDepotHeadDetails(opts.pageNumber,opts.pageSize); - } - else - { - $.messager.show({ - title: '错误提示', - msg: '废弃失败,请稍后重试!' - }); - } - }, - //此处添加错误处理 - error:function() - { - $.messager.alert('提示','废弃异常,请稍后再试!','error'); - return; - } - }); - } - }); - } - } //结束编辑 var editIndex = undefined; @@ -1192,4 +1053,4 @@ } - \ No newline at end of file + diff --git a/WebRoot/pages/materials/other_out_list.jsp b/WebRoot/pages/materials/other_out_list.jsp index e20bc147..c51c389b 100644 --- a/WebRoot/pages/materials/other_out_list.jsp +++ b/WebRoot/pages/materials/other_out_list.jsp @@ -1,4 +1,4 @@ -<%@page import="com.jsh.util.common.Tools"%> +<%@page import="com.jsh.util.Tools"%> <%@ page language="java" import="java.util.*" pageEncoding="utf-8"%> <% String path = request.getContextPath(); @@ -8,7 +8,7 @@ - 报废出库 + 其它出库 @@ -29,29 +29,19 @@ - -
店 面:仓 库: 仓管员:供应商: - + 采购人: +
仓管员: + + 结算方式: + + 备注: @@ -147,17 +152,11 @@ - -
材料列表:商品列表: - +
仓库: - + 单据号: - + 出库时间: - + - - - 状态: - +   @@ -63,7 +53,7 @@ -
+
@@ -72,7 +62,7 @@ - + @@ -80,8 +70,10 @@ - - + + @@ -101,9 +93,9 @@ - + @@ -119,7 +111,7 @@ closed="true" modal="true" cache="false" collapsible="false" closable="true">
店 面:仓 库: 客户: + +
材料列表:商品列表: - +
- + @@ -127,8 +119,10 @@ - + @@ -150,9 +144,9 @@ - + @@ -286,7 +280,7 @@ function initSupplier() { $('#OrganId').combobox({ - url: "<%=path%>/supplier/findBySelect_sup.action", + url: "<%=path%>/supplier/findBySelect_cus.action", valueField:'id', textField:'supplier' }); @@ -367,7 +361,7 @@ function initTableData() { $('#tableData').datagrid({ - //title:'报废出库列表', + //title:'其它出库列表', //iconCls:'icon-save', //width:700, height:heightInfo, @@ -394,8 +388,7 @@ { title: '出库时间 ',field: 'OperTime',width:100}, { title: '创建时间',field: 'CreateTime',width:100}, { title: '操作员',field: 'OperPersonName',width:100}, - { title: '备注',field: 'Remark',width:300}, - { title: '状态',field: 'State',width:100}, + { title: '备注',field: 'Remark',width:100}, { title: '操作',field: 'op',align:"center",width:180,formatter:function(value,rec) { var str = ''; @@ -431,25 +424,6 @@ { batDeleteDepotHead(); } - }, - "-", - { - id:'submitDepotHead', - text:'提交审核', - iconCls:'icon-ok', - handler:function() - { - submitDepotHead(); - } - }, - { - id:'cancelDepotHead', - text:'废弃', - iconCls:'icon-no', - handler:function() - { - cancelDepotHead(); - } } ], onLoadError:function() @@ -460,7 +434,7 @@ }); } - //初始化表格数据-材料列表-编辑状态 + //初始化表格数据-商品列表-编辑状态 function initTableData_material() { $('#materialData').datagrid({ @@ -500,6 +474,7 @@ } }, { title: '数量',field: 'OperNumber',editor:'validatebox',width:50}, + { title: '单价',field: 'UnitPrice',editor:'validatebox',width:50}, { title: '备注',field: 'Remark',editor:'validatebox',width:150}, { title: '图片',field: 'Img',editor:'validatebox',width:110}, ]], @@ -541,7 +516,7 @@ } - //初始化表格数据-材料列表-查看状态 + //初始化表格数据-商品列表-查看状态 function initTableData_material_show() { $('#materialDataShow').datagrid({ @@ -568,6 +543,7 @@ { field: 'Id',width:35,align:"center",checkbox:true}, { title: '名称',field: 'MaterialName',width:230}, { title: '数量',field: 'OperNumber',width:50}, + { title: '单价',field: 'UnitPrice',width:50}, { title: '备注',field: 'Remark',width:150}, { title: '图片',field: 'Img',width:110}, ]], @@ -625,10 +601,10 @@ } } - //删除报废出库信息 + //删除其它出库信息 function deleteDepotHead(depotHeadID) { - $.messager.confirm('删除确认','确定要删除此报废出库信息吗?',function(r) + $.messager.confirm('删除确认','确定要删除此其它出库信息吗?',function(r) { if (r) { @@ -649,12 +625,12 @@ $("#searchBtn").click(); } else - $.messager.alert('删除提示','删除报废出库信息失败,请稍后再试!','error'); + $.messager.alert('删除提示','删除其它出库信息失败,请稍后再试!','error'); }, //此处添加错误处理 error:function() { - $.messager.alert('删除提示','删除报废出库信息异常,请稍后再试!','error'); + $.messager.alert('删除提示','删除其它出库信息异常,请稍后再试!','error'); return; } }); @@ -662,7 +638,7 @@ }); } - //批量删除报废出库 + //批量删除其它出库 function batDeleteDepotHead() { var row = $('#tableData').datagrid('getChecked'); @@ -673,7 +649,7 @@ } if(row.length > 0) { - $.messager.confirm('删除确认','确定要删除选中的' + row.length + '条报废出库信息吗?',function(r) + $.messager.confirm('删除确认','确定要删除选中的' + row.length + '条其它出库信息吗?',function(r) { if (r) { @@ -707,12 +683,12 @@ $(":checkbox").attr("checked",false); } else - $.messager.alert('删除提示','删除报废出库信息失败,请稍后再试!','error'); + $.messager.alert('删除提示','删除其它出库信息失败,请稍后再试!','error'); }, //此处添加错误处理 error:function() { - $.messager.alert('删除提示','删除报废出库信息异常,请稍后再试!','error'); + $.messager.alert('删除提示','删除其它出库信息异常,请稍后再试!','error'); return; } }); @@ -731,14 +707,14 @@ { $("#clientIp").val('<%=clientIp %>'); $('#depotHeadFM').form('clear'); - $('#depotHeadDlg').dialog('open').dialog('setTitle',' 增加报废出库信息'); + $('#depotHeadDlg').dialog('open').dialog('setTitle',' 增加其它出库信息'); $(".window-mask").css({ width: webW ,height: webH}); $("#Number").val("").focus(); orgDepotHead = ""; depotHeadID = 0; - initTableData_material(); //材料列表 - reject(); //撤销下、刷新材料列表 + initTableData_material(); //商品列表 + reject(); //撤销下、刷新商品列表 url = '<%=path %>/depotHead/create.action'; } @@ -757,11 +733,14 @@ async : false, data: ({ Type:"出库", - SubType:"报废", + SubType:"其它", ProjectId : $.trim($("#ProjectId").val()), Number : $.trim($("#Number").val()), OperTime: $("#OperTime").val(), + OrganId: $('#OrganId').combobox('getValue'), + HandsPersonId: $.trim($("#HandsPersonId").val()), WareHousePersonId: $.trim($("#WareHousePersonId").val()), + SettlementWay: $.trim($("#SettlementWay").val()), Remark: $.trim($("#Remark").val()), clientIp:'<%=clientIp %>' }), @@ -789,14 +768,14 @@ { $.messager.show({ title: '错误提示', - msg: '保存报废出库信息失败,请稍后重试!' + msg: '保存其它出库信息失败,请稍后重试!' }); } }, //此处添加错误处理 error:function() { - $.messager.alert('提示','保存报废出库信息异常,请稍后再试!','error'); + $.messager.alert('提示','保存其它出库信息异常,请稍后再试!','error'); return; } }); @@ -825,12 +804,12 @@ $("#Remark").val(depotHeadInfo[9]); //orgDepotHead = depotHeadInfo[1]; - $('#depotHeadDlg').dialog('open').dialog('setTitle',' 编辑报废出库信息'); + $('#depotHeadDlg').dialog('open').dialog('setTitle',' 编辑其它出库信息'); $(".window-mask").css({ width: webW ,height: webH}); depotHeadID = depotHeadInfo[0]; - initTableData_material(); //材料列表 - reject(); //撤销下、刷新材料列表 + initTableData_material(); //商品列表 + reject(); //撤销下、刷新商品列表 url = '<%=path %>/depotHead/update.action?depotHeadID=' + depotHeadInfo[0]; } @@ -846,11 +825,11 @@ $("#WareHousePersonIdShow").text(depotHeadInfo[13]); $("#SettlementWayShow").text(depotHeadInfo[8]); $("#RemarkShow").text(depotHeadInfo[9]); - $('#depotHeadDlgShow').dialog('open').dialog('setTitle',' 查看报废出库信息'); + $('#depotHeadDlgShow').dialog('open').dialog('setTitle',' 查看其它出库信息'); $(".window-mask").css({ width: webW ,height: webH}); depotHeadID = depotHeadInfo[0]; - initTableData_material_show(); //材料列表-查看状态 + initTableData_material_show(); //商品列表-查看状态 } //搜索处理 @@ -886,7 +865,7 @@ data: ({ ProjectId:$.trim($("#searchProjectId").val()), Type:"出库", - SubType:"报废", + SubType:"其它", State:$.trim($("#searchState").val()), Number:$.trim($("#searchNumber").val()), BeginTime:$("#searchBeginTime").val(), @@ -917,130 +896,6 @@ $("#searchBtn").click(); } }); - //提交审核 - function submitDepotHead() - { - var row = $("#tableData").datagrid("getChecked"); - if(row.length == 0) - { - $.messager.alert('提交审核提示','没有记录被选中!','info'); - return; - } - if(row.length > 0) - { - $.messager.confirm('提交审核确认','确定要提交选中的' + row.length + '条报废出库信息吗?',function(r) - { - if (r) - { - var ids = ""; - for(var i = 0;i < row.length; i++) - { - if(i == row.length-1) - { - ids += row[i].Id; - break; - } - ids += row[i].Id + ","; - } - $.ajax({ - type:"post", - url: "<%=path %>/depotHead/submit.action", - dataType: "json", - async: false, - data: ({ - depotHeadIDs: ids, - State:"待审核", - clientIp:'<%=clientIp %>' - }), - success: function (tipInfo) - { - if(tipInfo) - { - $.messager.alert('提示',"提交审核成功!",'info'); - var opts = $("#tableData").datagrid('options'); - showDepotHeadDetails(opts.pageNumber,opts.pageSize); - } - else - { - $.messager.show({ - title: '错误提示', - msg: '提交审核失败,请稍后重试!' - }); - } - }, - //此处添加错误处理 - error:function() - { - $.messager.alert('提示','提交审核异常,请稍后再试!','error'); - return; - } - }); - } - }); - } - } - //废弃 - function cancelDepotHead() - { - var row = $("#tableData").datagrid("getChecked"); - if(row.length == 0) - { - $.messager.alert('废弃提示','没有记录被选中!','info'); - return; - } - if(row.length > 0) - { - $.messager.confirm('废弃确认','确定要废弃选中的' + row.length + '条报废出库信息吗?',function(r) - { - if (r) - { - var ids = ""; - for(var i = 0;i < row.length; i++) - { - if(i == row.length-1) - { - ids += row[i].Id; - break; - } - ids += row[i].Id + ","; - } - $.ajax({ - type:"post", - url: "<%=path %>/depotHead/submit.action", - dataType: "json", - async: false, - data: ({ - depotHeadIDs: ids, - State:"废弃", - clientIp:'<%=clientIp %>' - }), - success: function (tipInfo) - { - if(tipInfo) - { - $.messager.alert('提示',"废弃成功!",'info'); - var opts = $("#tableData").datagrid('options'); - showDepotHeadDetails(opts.pageNumber,opts.pageSize); - } - else - { - $.messager.show({ - title: '错误提示', - msg: '废弃失败,请稍后重试!' - }); - } - }, - //此处添加错误处理 - error:function() - { - $.messager.alert('提示','废弃异常,请稍后再试!','error'); - return; - } - }); - } - }); - } - } //结束编辑 var editIndex = undefined; diff --git a/WebRoot/pages/materials/person.jsp b/WebRoot/pages/materials/person.jsp index daffebea..42510c16 100644 --- a/WebRoot/pages/materials/person.jsp +++ b/WebRoot/pages/materials/person.jsp @@ -1,4 +1,4 @@ -<%@page import="com.jsh.util.common.Tools"%> +<%@page import="com.jsh.util.Tools"%> <%@ page language="java" import="java.util.*" pageEncoding="utf-8"%> <% String path = request.getContextPath(); @@ -35,8 +35,8 @@ @@ -71,8 +71,8 @@ diff --git a/WebRoot/pages/materials/lease_in_list.jsp b/WebRoot/pages/materials/purchase_back_list.jsp similarity index 79% rename from WebRoot/pages/materials/lease_in_list.jsp rename to WebRoot/pages/materials/purchase_back_list.jsp index ed1bd760..df0ea612 100644 --- a/WebRoot/pages/materials/lease_in_list.jsp +++ b/WebRoot/pages/materials/purchase_back_list.jsp @@ -1,4 +1,4 @@ -<%@page import="com.jsh.util.common.Tools"%> +<%@page import="com.jsh.util.Tools"%> <%@ page language="java" import="java.util.*" pageEncoding="utf-8"%> <% String path = request.getContextPath(); @@ -8,7 +8,7 @@ - 租赁入库 + 采购退货 @@ -29,29 +29,19 @@ - -
店 面:仓 库: 客户: + +
材料列表:商品列表: - +
 
仓库: - + 单据号: - + 入库时间: - + - - - 状态: - +   @@ -63,7 +53,7 @@ -
+
@@ -72,7 +62,7 @@ - + @@ -84,14 +74,23 @@ - - + + + + - - - + @@ -121,7 +118,7 @@ closed="true" modal="true" cache="false" collapsible="false" closable="true">
店 面:仓 库: 采购人: + +
仓管员: 结算方式: + + 备注: @@ -99,13 +98,11 @@ 单据号:
材料列表:商品列表: - +
- + @@ -133,8 +130,9 @@ - + @@ -142,6 +140,10 @@ + + - - - + @@ -371,7 +371,7 @@ function initTableData() { $('#tableData').datagrid({ - //title:'租赁入库列表', + //title:'采购退货列表', //iconCls:'icon-save', //width:700, height:heightInfo, @@ -398,8 +398,7 @@ { title: '入库时间 ',field: 'OperTime',width:100}, { title: '创建时间',field: 'CreateTime',width:100}, { title: '操作员',field: 'OperPersonName',width:100}, - { title: '备注',field: 'Remark',width:300}, - { title: '状态',field: 'State',width:100}, + { title: '备注',field: 'Remark',width:100}, { title: '操作',field: 'op',align:"center",width:180,formatter:function(value,rec) { var str = ''; @@ -410,7 +409,7 @@ + 'AaBb' + rec.ReAuditPersonName+ 'AaBb' + rec.Reason; if(1 == value) { - str += ' 查看  '; + str += ' 查看  '; str += ' 编辑  '; str += ' 删除'; } @@ -436,25 +435,6 @@ { batDeleteDepotHead(); } - }, - "-", - { - id:'submitDepotHead', - text:'提交审核', - iconCls:'icon-ok', - handler:function() - { - submitDepotHead(); - } - }, - { - id:'cancelDepotHead', - text:'废弃', - iconCls:'icon-no', - handler:function() - { - cancelDepotHead(); - } } ], onLoadError:function() @@ -465,7 +445,7 @@ }); } - //初始化表格数据-材料列表-编辑状态 + //初始化表格数据-商品列表-编辑状态 function initTableData_material() { $('#materialData').datagrid({ @@ -486,8 +466,8 @@ striped : true, //loadFilter: pagerFilter, onClickRow: onClickRow, - pageSize: 5, - pageList: [5,10,15], + pageSize: 50, + pageList: [50,100,150], columns:[[ { field: 'Id',width:35,align:"center",checkbox:true}, { title: '名称',field: 'MaterialId',width:230, @@ -506,7 +486,6 @@ }, { title: '数量',field: 'OperNumber',editor:'validatebox',width:50}, { title: '单价',field: 'UnitPrice',editor:'validatebox',width:50}, - { title: '运杂费',field: 'Incidentals',editor:'validatebox',width:50}, { title: '备注',field: 'Remark',editor:'validatebox',width:150}, { title: '图片',field: 'Img',editor:'validatebox',width:110}, ]], @@ -548,7 +527,7 @@ } - //初始化表格数据-材料列表-查看状态 + //初始化表格数据-商品列表-查看状态 function initTableData_material_show() { $('#materialDataShow').datagrid({ @@ -569,14 +548,13 @@ striped : true, //loadFilter: pagerFilter, onClickRow: onClickRow, - pageSize: 5, - pageList: [5,10,15], + pageSize: 50, + pageList: [50,100,150], columns:[[ { field: 'Id',width:35,align:"center",checkbox:true}, { title: '名称',field: 'MaterialName',width:230}, { title: '数量',field: 'OperNumber',width:50}, { title: '单价',field: 'UnitPrice',width:50}, - { title: '运杂费',field: 'Incidentals',width:50}, { title: '备注',field: 'Remark',width:150}, { title: '图片',field: 'Img',width:110}, ]], @@ -634,10 +612,10 @@ } } - //删除租赁入库信息 + //删除采购退货信息 function deleteDepotHead(depotHeadID) { - $.messager.confirm('删除确认','确定要删除此租赁入库信息吗?',function(r) + $.messager.confirm('删除确认','确定要删除此采购退货信息吗?',function(r) { if (r) { @@ -658,12 +636,12 @@ $("#searchBtn").click(); } else - $.messager.alert('删除提示','删除租赁入库信息失败,请稍后再试!','error'); + $.messager.alert('删除提示','删除采购退货信息失败,请稍后再试!','error'); }, //此处添加错误处理 error:function() { - $.messager.alert('删除提示','删除租赁入库信息异常,请稍后再试!','error'); + $.messager.alert('删除提示','删除采购退货信息异常,请稍后再试!','error'); return; } }); @@ -671,7 +649,7 @@ }); } - //批量删除租赁入库 + //批量删除采购退货 function batDeleteDepotHead() { var row = $('#tableData').datagrid('getChecked'); @@ -682,7 +660,7 @@ } if(row.length > 0) { - $.messager.confirm('删除确认','确定要删除选中的' + row.length + '条租赁入库信息吗?',function(r) + $.messager.confirm('删除确认','确定要删除选中的' + row.length + '条采购退货信息吗?',function(r) { if (r) { @@ -716,12 +694,12 @@ $(":checkbox").attr("checked",false); } else - $.messager.alert('删除提示','删除租赁入库信息失败,请稍后再试!','error'); + $.messager.alert('删除提示','删除采购退货信息失败,请稍后再试!','error'); }, //此处添加错误处理 error:function() { - $.messager.alert('删除提示','删除租赁入库信息异常,请稍后再试!','error'); + $.messager.alert('删除提示','删除采购退货信息异常,请稍后再试!','error'); return; } }); @@ -740,14 +718,14 @@ { $("#clientIp").val('<%=clientIp %>'); $('#depotHeadFM').form('clear'); - $('#depotHeadDlg').dialog('open').dialog('setTitle',' 增加租赁入库信息'); + $('#depotHeadDlg').dialog('open').dialog('setTitle',' 增加采购退货信息'); $(".window-mask").css({ width: webW ,height: webH}); $("#Number").val("").focus(); orgDepotHead = ""; depotHeadID = 0; - initTableData_material(); //材料列表 - reject(); //撤销下、刷新材料列表 + initTableData_material(); //商品列表 + reject(); //撤销下、刷新商品列表 url = '<%=path %>/depotHead/create.action'; } @@ -765,8 +743,8 @@ dataType: "json", async : false, data: ({ - Type:"入库", - SubType:"租赁", + Type:"出库", + SubType:"采购退货", ProjectId : $.trim($("#ProjectId").val()), Number : $.trim($("#Number").val()), OperTime: $("#OperTime").val(), @@ -801,14 +779,14 @@ { $.messager.show({ title: '错误提示', - msg: '保存租赁入库信息失败,请稍后重试!' + msg: '保存采购退货信息失败,请稍后重试!' }); } }, //此处添加错误处理 error:function() { - $.messager.alert('提示','保存租赁入库信息异常,请稍后再试!','error'); + $.messager.alert('提示','保存采购退货信息异常,请稍后再试!','error'); return; } }); @@ -837,12 +815,12 @@ $("#Remark").val(depotHeadInfo[9]); //orgDepotHead = depotHeadInfo[1]; - $('#depotHeadDlg').dialog('open').dialog('setTitle',' 编辑租赁入库信息'); + $('#depotHeadDlg').dialog('open').dialog('setTitle',' 编辑采购退货信息'); $(".window-mask").css({ width: webW ,height: webH}); depotHeadID = depotHeadInfo[0]; - initTableData_material(); //材料列表 - reject(); //撤销下、刷新材料列表 + initTableData_material(); //商品列表 + reject(); //撤销下、刷新商品列表 url = '<%=path %>/depotHead/update.action?depotHeadID=' + depotHeadInfo[0]; } @@ -860,11 +838,11 @@ $("#RemarkShow").text(depotHeadInfo[9]); var audit=(depotHeadInfo[14]!="undefined"&&depotHeadInfo[15]!="undefined"&&depotHeadInfo[14]!=""&&depotHeadInfo[15]!="")?" 撤审人:"+depotHeadInfo[14]+" 撤审原因:"+depotHeadInfo[15]:""; audit=""+audit+""; - $('#depotHeadDlgShow').dialog('open').dialog('setTitle',' 查看租赁入库信息'+audit); + $('#depotHeadDlgShow').dialog('open').dialog('setTitle',' 查看采购退货信息'+audit); $(".window-mask").css({ width: webW ,height: webH}); depotHeadID = depotHeadInfo[0]; - initTableData_material_show(); //材料列表-查看状态 + initTableData_material_show(); //商品列表-查看状态 } //搜索处理 @@ -899,8 +877,8 @@ dataType: "json", data: ({ ProjectId:$.trim($("#searchProjectId").val()), - Type:"入库", - SubType:"租赁", + Type:"出库", + SubType:"采购退货", State:$.trim($("#searchState").val()), Number:$.trim($("#searchNumber").val()), BeginTime:$("#searchBeginTime").val(), @@ -931,130 +909,6 @@ $("#searchBtn").click(); } }); - //提交审核 - function submitDepotHead() - { - var row = $("#tableData").datagrid("getChecked"); - if(row.length == 0) - { - $.messager.alert('提交审核提示','没有记录被选中!','info'); - return; - } - if(row.length > 0) - { - $.messager.confirm('提交审核确认','确定要提交选中的' + row.length + '条租赁入库信息吗?',function(r) - { - if (r) - { - var ids = ""; - for(var i = 0;i < row.length; i++) - { - if(i == row.length-1) - { - ids += row[i].Id; - break; - } - ids += row[i].Id + ","; - } - $.ajax({ - type:"post", - url: "<%=path %>/depotHead/submit.action", - dataType: "json", - async: false, - data: ({ - depotHeadIDs: ids, - State:"待审核", - clientIp:'<%=clientIp %>' - }), - success: function (tipInfo) - { - if(tipInfo) - { - $.messager.alert('提示',"提交审核成功!",'info'); - var opts = $("#tableData").datagrid('options'); - showDepotHeadDetails(opts.pageNumber,opts.pageSize); - } - else - { - $.messager.show({ - title: '错误提示', - msg: '提交审核失败,请稍后重试!' - }); - } - }, - //此处添加错误处理 - error:function() - { - $.messager.alert('提示','提交审核异常,请稍后再试!','error'); - return; - } - }); - } - }); - } - } - //废弃 - function cancelDepotHead() - { - var row = $("#tableData").datagrid("getChecked"); - if(row.length == 0) - { - $.messager.alert('废弃提示','没有记录被选中!','info'); - return; - } - if(row.length > 0) - { - $.messager.confirm('废弃确认','确定要废弃选中的' + row.length + '条租赁入库信息吗?',function(r) - { - if (r) - { - var ids = ""; - for(var i = 0;i < row.length; i++) - { - if(i == row.length-1) - { - ids += row[i].Id; - break; - } - ids += row[i].Id + ","; - } - $.ajax({ - type:"post", - url: "<%=path %>/depotHead/submit.action", - dataType: "json", - async: false, - data: ({ - depotHeadIDs: ids, - State:"废弃", - clientIp:'<%=clientIp %>' - }), - success: function (tipInfo) - { - if(tipInfo) - { - $.messager.alert('提示',"废弃成功!",'info'); - var opts = $("#tableData").datagrid('options'); - showDepotHeadDetails(opts.pageNumber,opts.pageSize); - } - else - { - $.messager.show({ - title: '错误提示', - msg: '废弃失败,请稍后重试!' - }); - } - }, - //此处添加错误处理 - error:function() - { - $.messager.alert('提示','废弃异常,请稍后再试!','error'); - return; - } - }); - } - }); - } - } //结束编辑 var editIndex = undefined; @@ -1199,4 +1053,4 @@ } - \ No newline at end of file + diff --git a/WebRoot/pages/materials/purchase_in_list.jsp b/WebRoot/pages/materials/purchase_in_list.jsp index 72a8d3a6..728a18eb 100644 --- a/WebRoot/pages/materials/purchase_in_list.jsp +++ b/WebRoot/pages/materials/purchase_in_list.jsp @@ -1,4 +1,4 @@ -<%@page import="com.jsh.util.common.Tools"%> +<%@page import="com.jsh.util.Tools"%> <%@ page language="java" import="java.util.*" pageEncoding="utf-8"%> <% String path = request.getContextPath(); @@ -43,16 +43,6 @@ - - - + - -
店 面:仓 库: 采购人: +
结算方式: + + 备注: @@ -150,13 +152,11 @@
材料列表:商品列表: - +
状态: - -   查询  @@ -63,7 +53,7 @@ -
+
@@ -72,7 +62,7 @@ - + @@ -110,9 +100,9 @@ - + @@ -128,7 +118,7 @@ closed="true" modal="true" cache="false" collapsible="false" closable="true">
店 面:仓 库:
材料列表:商品列表: - +
- + @@ -164,9 +154,9 @@ - + @@ -409,7 +399,6 @@ { title: '创建时间',field: 'CreateTime',width:100}, { title: '操作员',field: 'OperPersonName',width:100}, { title: '备注',field: 'Remark',width:100}, - { title: '状态',field: 'State',width:50}, { title: '操作',field: 'op',align:"center",width:180,formatter:function(value,rec) { var str = ''; @@ -446,25 +435,6 @@ { batDeleteDepotHead(); } - }, - "-", - { - id:'submitDepotHead', - text:'提交审核', - iconCls:'icon-ok', - handler:function() - { - submitDepotHead(); - } - }, - { - id:'cancelDepotHead', - text:'废弃', - iconCls:'icon-no', - handler:function() - { - cancelDepotHead(); - } } ], onLoadError:function() @@ -475,7 +445,7 @@ }); } - //初始化表格数据-材料列表-编辑状态 + //初始化表格数据-商品列表-编辑状态 function initTableData_material() { $('#materialData').datagrid({ @@ -557,7 +527,7 @@ } - //初始化表格数据-材料列表-查看状态 + //初始化表格数据-商品列表-查看状态 function initTableData_material_show() { $('#materialDataShow').datagrid({ @@ -754,8 +724,8 @@ orgDepotHead = ""; depotHeadID = 0; - initTableData_material(); //材料列表 - reject(); //撤销下、刷新材料列表 + initTableData_material(); //商品列表 + reject(); //撤销下、刷新商品列表 url = '<%=path %>/depotHead/create.action'; } @@ -849,8 +819,8 @@ $(".window-mask").css({ width: webW ,height: webH}); depotHeadID = depotHeadInfo[0]; - initTableData_material(); //材料列表 - reject(); //撤销下、刷新材料列表 + initTableData_material(); //商品列表 + reject(); //撤销下、刷新商品列表 url = '<%=path %>/depotHead/update.action?depotHeadID=' + depotHeadInfo[0]; } @@ -872,7 +842,7 @@ $(".window-mask").css({ width: webW ,height: webH}); depotHeadID = depotHeadInfo[0]; - initTableData_material_show(); //材料列表-查看状态 + initTableData_material_show(); //商品列表-查看状态 } //搜索处理 @@ -939,130 +909,6 @@ $("#searchBtn").click(); } }); - //提交审核 - function submitDepotHead() - { - var row = $("#tableData").datagrid("getChecked"); - if(row.length == 0) - { - $.messager.alert('提交审核提示','没有记录被选中!','info'); - return; - } - if(row.length > 0) - { - $.messager.confirm('提交审核确认','确定要提交选中的' + row.length + '条采购入库信息吗?',function(r) - { - if (r) - { - var ids = ""; - for(var i = 0;i < row.length; i++) - { - if(i == row.length-1) - { - ids += row[i].Id; - break; - } - ids += row[i].Id + ","; - } - $.ajax({ - type:"post", - url: "<%=path %>/depotHead/submit.action", - dataType: "json", - async: false, - data: ({ - depotHeadIDs: ids, - State:"待审核", - clientIp:'<%=clientIp %>' - }), - success: function (tipInfo) - { - if(tipInfo) - { - $.messager.alert('提示',"提交审核成功!",'info'); - var opts = $("#tableData").datagrid('options'); - showDepotHeadDetails(opts.pageNumber,opts.pageSize); - } - else - { - $.messager.show({ - title: '错误提示', - msg: '提交审核失败,请稍后重试!' - }); - } - }, - //此处添加错误处理 - error:function() - { - $.messager.alert('提示','提交审核异常,请稍后再试!','error'); - return; - } - }); - } - }); - } - } - //废弃 - function cancelDepotHead() - { - var row = $("#tableData").datagrid("getChecked"); - if(row.length == 0) - { - $.messager.alert('废弃提示','没有记录被选中!','info'); - return; - } - if(row.length > 0) - { - $.messager.confirm('废弃确认','确定要废弃选中的' + row.length + '条采购入库信息吗?',function(r) - { - if (r) - { - var ids = ""; - for(var i = 0;i < row.length; i++) - { - if(i == row.length-1) - { - ids += row[i].Id; - break; - } - ids += row[i].Id + ","; - } - $.ajax({ - type:"post", - url: "<%=path %>/depotHead/submit.action", - dataType: "json", - async: false, - data: ({ - depotHeadIDs: ids, - State:"废弃", - clientIp:'<%=clientIp %>' - }), - success: function (tipInfo) - { - if(tipInfo) - { - $.messager.alert('提示',"废弃成功!",'info'); - var opts = $("#tableData").datagrid('options'); - showDepotHeadDetails(opts.pageNumber,opts.pageSize); - } - else - { - $.messager.show({ - title: '错误提示', - msg: '废弃失败,请稍后重试!' - }); - } - }, - //此处添加错误处理 - error:function() - { - $.messager.alert('提示','废弃异常,请稍后再试!','error'); - return; - } - }); - } - }); - } - } //结束编辑 var editIndex = undefined; @@ -1207,4 +1053,4 @@ } - \ No newline at end of file + diff --git a/WebRoot/pages/materials/return_out_list.jsp b/WebRoot/pages/materials/return_out_list.jsp deleted file mode 100644 index 0217ac9e..00000000 --- a/WebRoot/pages/materials/return_out_list.jsp +++ /dev/null @@ -1,1198 +0,0 @@ -<%@page import="com.jsh.util.common.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(); -%> - - - - 退还出库 - - - - - - - - - - - - - - - -
-
店 面:仓 库:
材料列表:商品列表: - +
- - - - - - - - - - - - - - -
仓库: - - 单据号: - - 出库时间: - - - - - 状态: - -   - 查询  - 重置 -
-
- - -
-
-
- -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
店 面: - - 出库时间: - - 供应商: - -
仓管员: - - 备注: - - 单据号: -
材料列表: - -
-
- - -
-
- 保存 - 取消 -
-
- - - - - - - - - - - - - - - - - - - - - - - - - -
店 面: - - 出库时间: - - 供应商: - - -
仓管员: - - 备注: - - 单据号: - -
材料列表: - -
-
-
- - - - \ No newline at end of file diff --git a/WebRoot/pages/materials/recover_in_list.jsp b/WebRoot/pages/materials/sale_back_list.jsp similarity index 80% rename from WebRoot/pages/materials/recover_in_list.jsp rename to WebRoot/pages/materials/sale_back_list.jsp index 232b2b55..66d0a402 100644 --- a/WebRoot/pages/materials/recover_in_list.jsp +++ b/WebRoot/pages/materials/sale_back_list.jsp @@ -1,4 +1,4 @@ -<%@page import="com.jsh.util.common.Tools"%> +<%@page import="com.jsh.util.Tools"%> <%@ page language="java" import="java.util.*" pageEncoding="utf-8"%> <% String path = request.getContextPath(); @@ -6,9 +6,9 @@ String clientIp = Tools.getCurrentUserIP(); %> - + - 回收入库 + 销售退货 @@ -29,29 +29,19 @@
仓库: - + 单据号: - + 入库时间:出库时间: - + - - - 状态: - +   @@ -63,7 +53,7 @@ -
+
@@ -72,23 +62,26 @@
- + - + + + + + + + - - - - - - - + - + @@ -122,23 +111,27 @@ closed="true" modal="true" cache="false" collapsible="false" closable="true">
店 面:仓 库: 入库时间:出库时间: 客户: + +
仓管员: -
备注: @@ -97,16 +90,12 @@ - -
材料列表:商品列表: - +
- + - + - + + + - - - + - + @@ -291,7 +280,7 @@ function initSupplier() { $('#OrganId').combobox({ - url: "<%=path%>/supplier/findBySelect_sup.action", + url: "<%=path%>/supplier/findBySelect_cus.action", valueField:'id', textField:'supplier' }); @@ -372,7 +361,7 @@ function initTableData() { $('#tableData').datagrid({ - //title:'回收入库列表', + //title:'销售退货列表', //iconCls:'icon-save', //width:700, height:heightInfo, @@ -396,11 +385,10 @@ columns:[[ { field: 'Id',width:35,align:"center",checkbox:true}, { title: '单据号',field: 'Number',width:100}, - { title: '入库时间 ',field: 'OperTime',width:100}, + { title: '出库时间 ',field: 'OperTime',width:100}, { title: '创建时间',field: 'CreateTime',width:100}, { title: '操作员',field: 'OperPersonName',width:100}, - { title: '备注',field: 'Remark',width:300}, - { title: '状态',field: 'State',width:100}, + { title: '备注',field: 'Remark',width:100}, { title: '操作',field: 'op',align:"center",width:180,formatter:function(value,rec) { var str = ''; @@ -436,25 +424,6 @@ { batDeleteDepotHead(); } - }, - "-", - { - id:'submitDepotHead', - text:'提交审核', - iconCls:'icon-ok', - handler:function() - { - submitDepotHead(); - } - }, - { - id:'cancelDepotHead', - text:'废弃', - iconCls:'icon-no', - handler:function() - { - cancelDepotHead(); - } } ], onLoadError:function() @@ -465,7 +434,7 @@ }); } - //初始化表格数据-材料列表-编辑状态 + //初始化表格数据-商品列表-编辑状态 function initTableData_material() { $('#materialData').datagrid({ @@ -505,6 +474,7 @@ } }, { title: '数量',field: 'OperNumber',editor:'validatebox',width:50}, + { title: '单价',field: 'UnitPrice',editor:'validatebox',width:50}, { title: '备注',field: 'Remark',editor:'validatebox',width:150}, { title: '图片',field: 'Img',editor:'validatebox',width:110}, ]], @@ -546,7 +516,7 @@ } - //初始化表格数据-材料列表-查看状态 + //初始化表格数据-商品列表-查看状态 function initTableData_material_show() { $('#materialDataShow').datagrid({ @@ -573,6 +543,7 @@ { field: 'Id',width:35,align:"center",checkbox:true}, { title: '名称',field: 'MaterialName',width:230}, { title: '数量',field: 'OperNumber',width:50}, + { title: '单价',field: 'UnitPrice',width:50}, { title: '备注',field: 'Remark',width:150}, { title: '图片',field: 'Img',width:110}, ]], @@ -630,10 +601,10 @@ } } - //删除回收入库信息 + //删除销售退货信息 function deleteDepotHead(depotHeadID) { - $.messager.confirm('删除确认','确定要删除此回收入库信息吗?',function(r) + $.messager.confirm('删除确认','确定要删除此销售退货信息吗?',function(r) { if (r) { @@ -654,12 +625,12 @@ $("#searchBtn").click(); } else - $.messager.alert('删除提示','删除回收入库信息失败,请稍后再试!','error'); + $.messager.alert('删除提示','删除销售退货信息失败,请稍后再试!','error'); }, //此处添加错误处理 error:function() { - $.messager.alert('删除提示','删除回收入库信息异常,请稍后再试!','error'); + $.messager.alert('删除提示','删除销售退货信息异常,请稍后再试!','error'); return; } }); @@ -667,7 +638,7 @@ }); } - //批量删除回收入库 + //批量删除销售退货 function batDeleteDepotHead() { var row = $('#tableData').datagrid('getChecked'); @@ -678,7 +649,7 @@ } if(row.length > 0) { - $.messager.confirm('删除确认','确定要删除选中的' + row.length + '条回收入库信息吗?',function(r) + $.messager.confirm('删除确认','确定要删除选中的' + row.length + '条销售退货信息吗?',function(r) { if (r) { @@ -712,12 +683,12 @@ $(":checkbox").attr("checked",false); } else - $.messager.alert('删除提示','删除回收入库信息失败,请稍后再试!','error'); + $.messager.alert('删除提示','删除销售退货信息失败,请稍后再试!','error'); }, //此处添加错误处理 error:function() { - $.messager.alert('删除提示','删除回收入库信息异常,请稍后再试!','error'); + $.messager.alert('删除提示','删除销售退货信息异常,请稍后再试!','error'); return; } }); @@ -736,14 +707,14 @@ { $("#clientIp").val('<%=clientIp %>'); $('#depotHeadFM').form('clear'); - $('#depotHeadDlg').dialog('open').dialog('setTitle',' 增加回收入库信息'); + $('#depotHeadDlg').dialog('open').dialog('setTitle',' 增加销售退货信息'); $(".window-mask").css({ width: webW ,height: webH}); $("#Number").val("").focus(); orgDepotHead = ""; depotHeadID = 0; - initTableData_material(); //材料列表 - reject(); //撤销下、刷新材料列表 + initTableData_material(); //商品列表 + reject(); //撤销下、刷新商品列表 url = '<%=path %>/depotHead/create.action'; } @@ -762,11 +733,14 @@ async : false, data: ({ Type:"入库", - SubType:"回收", + SubType:"销售退货", ProjectId : $.trim($("#ProjectId").val()), Number : $.trim($("#Number").val()), OperTime: $("#OperTime").val(), + OrganId: $('#OrganId').combobox('getValue'), + HandsPersonId: $.trim($("#HandsPersonId").val()), WareHousePersonId: $.trim($("#WareHousePersonId").val()), + SettlementWay: $.trim($("#SettlementWay").val()), Remark: $.trim($("#Remark").val()), clientIp:'<%=clientIp %>' }), @@ -785,6 +759,7 @@ accept(depotHeadID); //修改 } + $('#depotHeadDlg').dialog('close'); var opts = $("#tableData").datagrid('options'); showDepotHeadDetails(opts.pageNumber,opts.pageSize); @@ -793,14 +768,14 @@ { $.messager.show({ title: '错误提示', - msg: '保存回收入库信息失败,请稍后重试!' + msg: '保存销售退货信息失败,请稍后重试!' }); } }, //此处添加错误处理 error:function() { - $.messager.alert('提示','保存回收入库信息异常,请稍后再试!','error'); + $.messager.alert('提示','保存销售退货信息异常,请稍后再试!','error'); return; } }); @@ -829,12 +804,12 @@ $("#Remark").val(depotHeadInfo[9]); //orgDepotHead = depotHeadInfo[1]; - $('#depotHeadDlg').dialog('open').dialog('setTitle',' 编辑回收入库信息'); + $('#depotHeadDlg').dialog('open').dialog('setTitle',' 编辑销售退货信息'); $(".window-mask").css({ width: webW ,height: webH}); depotHeadID = depotHeadInfo[0]; - initTableData_material(); //材料列表 - reject(); //撤销下、刷新材料列表 + initTableData_material(); //商品列表 + reject(); //撤销下、刷新商品列表 url = '<%=path %>/depotHead/update.action?depotHeadID=' + depotHeadInfo[0]; } @@ -850,11 +825,11 @@ $("#WareHousePersonIdShow").text(depotHeadInfo[13]); $("#SettlementWayShow").text(depotHeadInfo[8]); $("#RemarkShow").text(depotHeadInfo[9]); - $('#depotHeadDlgShow').dialog('open').dialog('setTitle',' 查看回收入库信息'); + $('#depotHeadDlgShow').dialog('open').dialog('setTitle',' 查看销售退货信息'); $(".window-mask").css({ width: webW ,height: webH}); depotHeadID = depotHeadInfo[0]; - initTableData_material_show(); //材料列表-查看状态 + initTableData_material_show(); //商品列表-查看状态 } //搜索处理 @@ -890,7 +865,7 @@ data: ({ ProjectId:$.trim($("#searchProjectId").val()), Type:"入库", - SubType:"回收", + SubType:"销售退货", State:$.trim($("#searchState").val()), Number:$.trim($("#searchNumber").val()), BeginTime:$("#searchBeginTime").val(), @@ -921,130 +896,6 @@ $("#searchBtn").click(); } }); - //提交审核 - function submitDepotHead() - { - var row = $("#tableData").datagrid("getChecked"); - if(row.length == 0) - { - $.messager.alert('提交审核提示','没有记录被选中!','info'); - return; - } - if(row.length > 0) - { - $.messager.confirm('提交审核确认','确定要提交选中的' + row.length + '条回收入库信息吗?',function(r) - { - if (r) - { - var ids = ""; - for(var i = 0;i < row.length; i++) - { - if(i == row.length-1) - { - ids += row[i].Id; - break; - } - ids += row[i].Id + ","; - } - $.ajax({ - type:"post", - url: "<%=path %>/depotHead/submit.action", - dataType: "json", - async: false, - data: ({ - depotHeadIDs: ids, - State:"待审核", - clientIp:'<%=clientIp %>' - }), - success: function (tipInfo) - { - if(tipInfo) - { - $.messager.alert('提示',"提交审核成功!",'info'); - var opts = $("#tableData").datagrid('options'); - showDepotHeadDetails(opts.pageNumber,opts.pageSize); - } - else - { - $.messager.show({ - title: '错误提示', - msg: '提交审核失败,请稍后重试!' - }); - } - }, - //此处添加错误处理 - error:function() - { - $.messager.alert('提示','提交审核异常,请稍后再试!','error'); - return; - } - }); - } - }); - } - } - //废弃 - function cancelDepotHead() - { - var row = $("#tableData").datagrid("getChecked"); - if(row.length == 0) - { - $.messager.alert('废弃提示','没有记录被选中!','info'); - return; - } - if(row.length > 0) - { - $.messager.confirm('废弃确认','确定要废弃选中的' + row.length + '条回收入库信息吗?',function(r) - { - if (r) - { - var ids = ""; - for(var i = 0;i < row.length; i++) - { - if(i == row.length-1) - { - ids += row[i].Id; - break; - } - ids += row[i].Id + ","; - } - $.ajax({ - type:"post", - url: "<%=path %>/depotHead/submit.action", - dataType: "json", - async: false, - data: ({ - depotHeadIDs: ids, - State:"废弃", - clientIp:'<%=clientIp %>' - }), - success: function (tipInfo) - { - if(tipInfo) - { - $.messager.alert('提示',"废弃成功!",'info'); - var opts = $("#tableData").datagrid('options'); - showDepotHeadDetails(opts.pageNumber,opts.pageSize); - } - else - { - $.messager.show({ - title: '错误提示', - msg: '废弃失败,请稍后重试!' - }); - } - }, - //此处添加错误处理 - error:function() - { - $.messager.alert('提示','废弃异常,请稍后再试!','error'); - return; - } - }); - } - }); - } - } //结束编辑 var editIndex = undefined; diff --git a/WebRoot/pages/materials/sale_out_list.jsp b/WebRoot/pages/materials/sale_out_list.jsp index 46782fed..1a34c47f 100644 --- a/WebRoot/pages/materials/sale_out_list.jsp +++ b/WebRoot/pages/materials/sale_out_list.jsp @@ -1,4 +1,4 @@ -<%@page import="com.jsh.util.common.Tools"%> +<%@page import="com.jsh.util.Tools"%> <%@ page language="java" import="java.util.*" pageEncoding="utf-8"%> <% String path = request.getContextPath(); @@ -29,29 +29,19 @@ - -
店 面:仓 库: 入库时间:出库时间: 仓管员:客户: - +
仓管员: + + 备注: @@ -148,16 +141,12 @@ - -
材料列表:商品列表: - +
仓库: - + 单据号: - + 出库时间: - + - - - 状态: - +   @@ -63,7 +53,7 @@ -
+
@@ -72,7 +62,7 @@ - + @@ -103,9 +93,9 @@ - + @@ -121,7 +111,7 @@ closed="true" modal="true" cache="false" collapsible="false" closable="true">
店 面:仓 库:
材料列表:商品列表: - +
- + @@ -154,9 +144,9 @@ - + @@ -398,8 +388,7 @@ { title: '出库时间 ',field: 'OperTime',width:100}, { title: '创建时间',field: 'CreateTime',width:100}, { title: '操作员',field: 'OperPersonName',width:100}, - { title: '备注',field: 'Remark',width:200}, - { title: '状态',field: 'State',width:100}, + { title: '备注',field: 'Remark',width:100}, { title: '操作',field: 'op',align:"center",width:180,formatter:function(value,rec) { var str = ''; @@ -435,25 +424,6 @@ { batDeleteDepotHead(); } - }, - "-", - { - id:'submitDepotHead', - text:'提交审核', - iconCls:'icon-ok', - handler:function() - { - submitDepotHead(); - } - }, - { - id:'cancelDepotHead', - text:'废弃', - iconCls:'icon-no', - handler:function() - { - cancelDepotHead(); - } } ], onLoadError:function() @@ -464,7 +434,7 @@ }); } - //初始化表格数据-材料列表-编辑状态 + //初始化表格数据-商品列表-编辑状态 function initTableData_material() { $('#materialData').datagrid({ @@ -546,7 +516,7 @@ } - //初始化表格数据-材料列表-查看状态 + //初始化表格数据-商品列表-查看状态 function initTableData_material_show() { $('#materialDataShow').datagrid({ @@ -743,8 +713,8 @@ orgDepotHead = ""; depotHeadID = 0; - initTableData_material(); //材料列表 - reject(); //撤销下、刷新材料列表 + initTableData_material(); //商品列表 + reject(); //撤销下、刷新商品列表 url = '<%=path %>/depotHead/create.action'; } @@ -838,8 +808,8 @@ $(".window-mask").css({ width: webW ,height: webH}); depotHeadID = depotHeadInfo[0]; - initTableData_material(); //材料列表 - reject(); //撤销下、刷新材料列表 + initTableData_material(); //商品列表 + reject(); //撤销下、刷新商品列表 url = '<%=path %>/depotHead/update.action?depotHeadID=' + depotHeadInfo[0]; } @@ -859,7 +829,7 @@ $(".window-mask").css({ width: webW ,height: webH}); depotHeadID = depotHeadInfo[0]; - initTableData_material_show(); //材料列表-查看状态 + initTableData_material_show(); //商品列表-查看状态 } //搜索处理 @@ -926,130 +896,6 @@ $("#searchBtn").click(); } }); - //提交审核 - function submitDepotHead() - { - var row = $("#tableData").datagrid("getChecked"); - if(row.length == 0) - { - $.messager.alert('提交审核提示','没有记录被选中!','info'); - return; - } - if(row.length > 0) - { - $.messager.confirm('提交审核确认','确定要提交选中的' + row.length + '条销售出库信息吗?',function(r) - { - if (r) - { - var ids = ""; - for(var i = 0;i < row.length; i++) - { - if(i == row.length-1) - { - ids += row[i].Id; - break; - } - ids += row[i].Id + ","; - } - $.ajax({ - type:"post", - url: "<%=path %>/depotHead/submit.action", - dataType: "json", - async: false, - data: ({ - depotHeadIDs: ids, - State:"待审核", - clientIp:'<%=clientIp %>' - }), - success: function (tipInfo) - { - if(tipInfo) - { - $.messager.alert('提示',"提交审核成功!",'info'); - var opts = $("#tableData").datagrid('options'); - showDepotHeadDetails(opts.pageNumber,opts.pageSize); - } - else - { - $.messager.show({ - title: '错误提示', - msg: '提交审核失败,请稍后重试!' - }); - } - }, - //此处添加错误处理 - error:function() - { - $.messager.alert('提示','提交审核异常,请稍后再试!','error'); - return; - } - }); - } - }); - } - } - //废弃 - function cancelDepotHead() - { - var row = $("#tableData").datagrid("getChecked"); - if(row.length == 0) - { - $.messager.alert('废弃提示','没有记录被选中!','info'); - return; - } - if(row.length > 0) - { - $.messager.confirm('废弃确认','确定要废弃选中的' + row.length + '条销售出库信息吗?',function(r) - { - if (r) - { - var ids = ""; - for(var i = 0;i < row.length; i++) - { - if(i == row.length-1) - { - ids += row[i].Id; - break; - } - ids += row[i].Id + ","; - } - $.ajax({ - type:"post", - url: "<%=path %>/depotHead/submit.action", - dataType: "json", - async: false, - data: ({ - depotHeadIDs: ids, - State:"废弃", - clientIp:'<%=clientIp %>' - }), - success: function (tipInfo) - { - if(tipInfo) - { - $.messager.alert('提示',"废弃成功!",'info'); - var opts = $("#tableData").datagrid('options'); - showDepotHeadDetails(opts.pageNumber,opts.pageSize); - } - else - { - $.messager.show({ - title: '错误提示', - msg: '废弃失败,请稍后重试!' - }); - } - }, - //此处添加错误处理 - error:function() - { - $.messager.alert('提示','废弃异常,请稍后再试!','error'); - return; - } - }); - } - }); - } - } //结束编辑 var editIndex = undefined; diff --git a/WebRoot/pages/other/clock.jsp b/WebRoot/pages/other/clock.jsp index 8b53545e..3f54cf5a 100644 --- a/WebRoot/pages/other/clock.jsp +++ b/WebRoot/pages/other/clock.jsp @@ -1,4 +1,4 @@ -<%@page import="com.jsh.util.common.Tools"%> +<%@page import="com.jsh.util.Tools"%> <%@ page language="java" import="java.util.*" pageEncoding="utf-8"%> <% String path = request.getContextPath(); diff --git a/WebRoot/pages/other/preview.jsp b/WebRoot/pages/other/preview.jsp index 58160ab8..312c9b28 100644 --- a/WebRoot/pages/other/preview.jsp +++ b/WebRoot/pages/other/preview.jsp @@ -1,4 +1,4 @@ -<%@page import="com.jsh.util.common.Tools"%> +<%@page import="com.jsh.util.Tools"%> <%@ page language="java" import="java.util.*" pageEncoding="utf-8"%> <% String path = request.getContextPath(); diff --git a/WebRoot/pages/reports/in_out_stock_report.jsp b/WebRoot/pages/reports/in_out_stock_report.jsp index 3f8f5827..d1c1f567 100644 --- a/WebRoot/pages/reports/in_out_stock_report.jsp +++ b/WebRoot/pages/reports/in_out_stock_report.jsp @@ -1,4 +1,4 @@ -<%@page import="com.jsh.util.common.Tools"%> +<%@page import="com.jsh.util.Tools"%> <%@ page language="java" import="java.util.*" pageEncoding="utf-8"%> <% String path = request.getContextPath(); diff --git a/WebRoot/pages/user/password.jsp b/WebRoot/pages/user/password.jsp index ff7ce302..8b35eaba 100644 --- a/WebRoot/pages/user/password.jsp +++ b/WebRoot/pages/user/password.jsp @@ -1,4 +1,4 @@ -<%@page import="com.jsh.util.common.Tools"%> +<%@page import="com.jsh.util.Tools"%> <%@ page language="java" import="java.util.*" pageEncoding="utf-8"%> <% String path = request.getContextPath(); @@ -74,7 +74,7 @@ else { $("#passwordLabel").empty().append("原始密码 "); - $("#newPassword").empty().append("密    码 "); + $("#newPassword").empty().append("密       码 "); $("#repasswordLabel").empty().append("确认密码 "); } } diff --git a/WebRoot/pages/user/userDepot.jsp b/WebRoot/pages/user/userDepot.jsp index 5e587278..f283e579 100644 --- a/WebRoot/pages/user/userDepot.jsp +++ b/WebRoot/pages/user/userDepot.jsp @@ -1,4 +1,4 @@ -<%@page import="com.jsh.util.common.Tools"%> +<%@page import="com.jsh.util.Tools"%> <%@ page language="java" import="java.util.*" pageEncoding="utf-8"%> <% String path = request.getContextPath(); diff --git a/WebRoot/pages/user/userRole.jsp b/WebRoot/pages/user/userRole.jsp index df00a517..9b71f555 100644 --- a/WebRoot/pages/user/userRole.jsp +++ b/WebRoot/pages/user/userRole.jsp @@ -1,4 +1,4 @@ -<%@page import="com.jsh.util.common.Tools"%> +<%@page import="com.jsh.util.Tools"%> <%@ page language="java" import="java.util.*" pageEncoding="utf-8"%> <% String path = request.getContextPath(); diff --git a/WebRoot/pages/user/userinfo.jsp b/WebRoot/pages/user/userinfo.jsp index d3c26e1a..ee6a314f 100644 --- a/WebRoot/pages/user/userinfo.jsp +++ b/WebRoot/pages/user/userinfo.jsp @@ -1,4 +1,4 @@ -<%@page import="com.jsh.util.common.Tools"%> +<%@page import="com.jsh.util.Tools"%> <%@ page language="java" import="java.util.*" pageEncoding="utf-8"%> <% String path = request.getContextPath();
店 面:仓 库:
材料列表:商品列表: - +