From 1e99ae91ca32ee3071fd4f8e309afd59cb1c98e4 Mon Sep 17 00:00:00 2001
From: erzhongxmu
Date: Sun, 26 Apr 2020 04:09:18 +0800
Subject: [PATCH] =?UTF-8?q?=E7=89=A9=E8=B5=84=E7=AE=A1=E7=90=86=EF=BC=9A?=
=?UTF-8?q?=E7=89=A9=E8=B5=84=E4=B8=9A=E5=8A=A1=E6=9B=B4=E6=96=B0?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/main/java/com/zzjee/wmutil/erpUtil.java | 81 +
.../wz/controller/TWzLocationController.java | 149 +-
.../wz/controller/TWzMaterialController.java | 178 +-
.../wz/controller/TWzSpConfController.java | 152 +-
.../zzjee/wz/entity/TWzLocationEntity.java | 25 +-
.../zzjee/wz/entity/TWzMaterialEntity.java | 66 +-
.../com/zzjee/wz/entity/TWzSpConfEntity.java | 25 +-
.../zzjee/wz/service/TWzLocationServiceI.java | 10 +-
.../zzjee/wz/service/TWzMaterialServiceI.java | 10 +-
.../zzjee/wz/service/TWzSpConfServiceI.java | 10 +-
.../service/impl/TWzMaterialServiceImpl.java | 26 +-
.../wzpo/controller/VWzPoWqController.java | 184 +-
.../com/zzjee/wzpo/entity/VWzPoWqEntity.java | 111 +-
.../zzjee/wzpo/service/VWzPoWqServiceI.java | 10 +-
.../wzpo/service/impl/VWzPoWqServiceImpl.java | 40 +-
.../controller/TWzRepairController.java | 385 +++++
.../wzrepair/entity/TWzRepairEntity.java | 474 +++++
.../wzrepair/service/TWzRepairServiceI.java | 15 +
.../service/impl/TWzRepairServiceImpl.java | 166 ++
.../com/zzjee/wzrepair/util/constant.java | 10 +
.../wzyw/controller/TWzCkHeadController.java | 300 ++--
.../wzyw/controller/TWzPoHeadController.java | 1525 +++++++++--------
.../wzyw/controller/TWzRkHeadController.java | 175 +-
.../zzjee/wzyw/entity/TWzCkHeadEntity.java | 125 +-
.../zzjee/wzyw/entity/TWzCkItemEntity.java | 125 +-
.../zzjee/wzyw/entity/TWzPoHeadEntity.java | 98 +-
.../zzjee/wzyw/entity/TWzPoItemEntity.java | 121 +-
.../zzjee/wzyw/entity/TWzRkHeadEntity.java | 106 +-
.../zzjee/wzyw/entity/TWzRkItemEntity.java | 130 +-
.../com/zzjee/wzyw/page/TWzCkHeadPage.java | 26 +-
.../com/zzjee/wzyw/page/TWzPoHeadPage.java | 26 +-
.../com/zzjee/wzyw/page/TWzRkHeadPage.java | 26 +-
.../zzjee/wzyw/service/TWzCkHeadServiceI.java | 14 +-
.../zzjee/wzyw/service/TWzPoHeadServiceI.java | 14 +-
.../zzjee/wzyw/service/TWzRkHeadServiceI.java | 14 +-
.../service/impl/TWzCkHeadServiceImpl.java | 41 +-
.../service/impl/TWzPoHeadServiceImpl.java | 34 +-
.../service/impl/TWzRkHeadServiceImpl.java | 40 +-
.../webpage/com/zzjee/wz/tWzLocationList.jsp | 2 +-
.../webpage/com/zzjee/wz/tWzMaterial-add.jsp | 155 +-
.../com/zzjee/wz/tWzMaterial-update.jsp | 161 +-
.../webpage/com/zzjee/wz/tWzMaterialList.jsp | 25 +-
.../webpage/com/zzjee/wz/tWzSpConfList.jsp | 2 +-
.../webpage/com/zzjee/wzpo/vWzPoWqList.jsp | 6 +-
.../com/zzjee/wzrepair/tWzRepair-add.jsp | 332 ++++
.../com/zzjee/wzrepair/tWzRepair-update.jsp | 332 ++++
.../webpage/com/zzjee/wzrepair/tWzRepair.js | 28 +
.../com/zzjee/wzrepair/tWzRepairList.js | 0
.../com/zzjee/wzrepair/tWzRepairList.jsp | 66 +
.../webpage/com/zzjee/wzyw/tWzCkHead-add.jsp | 80 +-
.../com/zzjee/wzyw/tWzCkHead-update.jsp | 298 ++--
.../webpage/com/zzjee/wzyw/tWzCkHeadList.jsp | 8 +-
.../com/zzjee/wzyw/tWzCkHeadspList.jsp | 6 +-
.../webpage/com/zzjee/wzyw/tWzCkItemList.jsp | 102 +-
.../com/zzjee/wzyw/tWzCkItemListUnEdit.jsp | 18 +-
.../webpage/com/zzjee/wzyw/tWzPoHead-add.jsp | 14 +-
.../com/zzjee/wzyw/tWzPoHead-update.jsp | 17 +-
.../webpage/com/zzjee/wzyw/tWzPoHeadList.jsp | 13 +-
.../com/zzjee/wzyw/tWzPoHeadspList.jsp | 6 +-
.../com/zzjee/wzyw/tWzRkHead-update.jsp | 2 +-
.../webpage/com/zzjee/wzyw/tWzRkHeadList.jsp | 10 +-
61 files changed, 4484 insertions(+), 2266 deletions(-)
create mode 100644 src/main/java/com/zzjee/wmutil/erpUtil.java
create mode 100644 src/main/java/com/zzjee/wzrepair/controller/TWzRepairController.java
create mode 100644 src/main/java/com/zzjee/wzrepair/entity/TWzRepairEntity.java
create mode 100644 src/main/java/com/zzjee/wzrepair/service/TWzRepairServiceI.java
create mode 100644 src/main/java/com/zzjee/wzrepair/service/impl/TWzRepairServiceImpl.java
create mode 100644 src/main/java/com/zzjee/wzrepair/util/constant.java
create mode 100644 src/main/webapp/webpage/com/zzjee/wzrepair/tWzRepair-add.jsp
create mode 100644 src/main/webapp/webpage/com/zzjee/wzrepair/tWzRepair-update.jsp
create mode 100644 src/main/webapp/webpage/com/zzjee/wzrepair/tWzRepair.js
create mode 100644 src/main/webapp/webpage/com/zzjee/wzrepair/tWzRepairList.js
create mode 100644 src/main/webapp/webpage/com/zzjee/wzrepair/tWzRepairList.jsp
diff --git a/src/main/java/com/zzjee/wmutil/erpUtil.java b/src/main/java/com/zzjee/wmutil/erpUtil.java
new file mode 100644
index 00000000..2a844769
--- /dev/null
+++ b/src/main/java/com/zzjee/wmutil/erpUtil.java
@@ -0,0 +1,81 @@
+package com.zzjee.wmutil;
+
+import org.jeecgframework.core.util.ApplicationContextUtil;
+import org.jeecgframework.web.system.service.SystemService;
+
+import java.util.HashMap;
+import java.util.List;
+import java.util.Map;
+
+/**
+ * User: caoez
+ * Date: 13-7-26
+ * Time: 下午2:07
+ */
+
+
+public class erpUtil {
+
+ public static List removeDuplicate(List list) {
+ for ( int i = 0 ; i < list.size() - 1 ; i ++ ) {
+ for ( int j = list.size() - 1 ; j > i; j -- ) {
+ if (list.get(j).equals(list.get(i))) {
+ list.remove(j);
+ }
+ }
+ }
+ return list;
+ }
+
+
+
+//通过客户商品编码,或者WMS商品编码和单位找到WMS编码
+ public static String geterpys(String poitemid,String matcode,String bcsl){
+ Map resultmap = new HashMap<>();
+ String yssl= "0.00";
+ String ddsl= "0.00";
+ String res = "";
+ SystemService systemService = ApplicationContextUtil.getContext().getBean(SystemService.class);
+ String tsql = "SELECT sum(mat_qty) as sumqty FROM t_wz_rk_item where by1 = ? and mat_code = ?" ;
+ List
-
+ <%----%>
<%-- 增加一个div,用于调节页面大小,否则默认太小 --%>
-
+
@@ -167,8 +189,8 @@
-
-
+
+
|
@@ -177,141 +199,141 @@
-
-
-
- --%>
+<%----%>
|