From d565fa3a84b009849abe0a1b1280ff7ede0f2688 Mon Sep 17 00:00:00 2001 From: erzhongxmu Date: Mon, 20 Apr 2020 22:40:28 +0800 Subject: [PATCH] =?UTF-8?q?=E5=87=BA=E5=BA=93=E6=98=8E=E7=BB=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../controller/TmsYwDingdanController.java | 26 +++ .../webpage/com/zzjee/tms/chukumingxi.jsp | 220 ++++++++++++++++++ .../com/zzjee/tms/tmsYwDingdanpcList.jsp | 24 +- 3 files changed, 266 insertions(+), 4 deletions(-) create mode 100644 src/main/webapp/webpage/com/zzjee/tms/chukumingxi.jsp diff --git a/src/main/java/com/zzjee/tms/controller/TmsYwDingdanController.java b/src/main/java/com/zzjee/tms/controller/TmsYwDingdanController.java index 0d065b18..150b272f 100644 --- a/src/main/java/com/zzjee/tms/controller/TmsYwDingdanController.java +++ b/src/main/java/com/zzjee/tms/controller/TmsYwDingdanController.java @@ -364,6 +364,29 @@ public class TmsYwDingdanController extends BaseController { return j; } + @RequestMapping(params = "doPrintpage") + public ModelAndView doPrint(String ids,HttpServletRequest request) { + List arrayoutlist = new ArrayList<>(); + for(String id1:ids.split(",")) { + TmsYwDingdanEntity tmsYwDingdan = systemService.getEntity(TmsYwDingdanEntity.class, + id1 + ); + + try{ + String omnoticeid = tmsYwDingdan.getFadh(); + List listtemp = systemService.findByProperty(WmTmsNoticeIEntity.class,"omNoticeId",omnoticeid); + for(WmTmsNoticeIEntity t: listtemp){ + arrayoutlist.add(t); + } + }catch (Exception e){ + + } + + } + request.setAttribute("arrayoutlist",arrayoutlist); + return new ModelAndView("com/zzjee/tms/chukumingxi"); + + } /** * 删除运输订单 * @@ -390,6 +413,8 @@ public class TmsYwDingdanController extends BaseController { } + + @RequestMapping(params = "dopc") @ResponseBody public AjaxJson dopc(String id, String siji, String chehao, HttpServletRequest request) { @@ -401,6 +426,7 @@ public class TmsYwDingdanController extends BaseController { TmsYwDingdanEntity tmsYwDingdan = systemService.getEntity(TmsYwDingdanEntity.class, id1 ); + tmsYwDingdan.setZhuangtai("已派车"); tmsYwDingdan.setSiji(siji); tmsYwDingdan.setChehao(chehao); diff --git a/src/main/webapp/webpage/com/zzjee/tms/chukumingxi.jsp b/src/main/webapp/webpage/com/zzjee/tms/chukumingxi.jsp new file mode 100644 index 00000000..e5755f05 --- /dev/null +++ b/src/main/webapp/webpage/com/zzjee/tms/chukumingxi.jsp @@ -0,0 +1,220 @@ +<%@ page language="java" import="java.util.*" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> +<%@include file="/context/mytags.jsp"%> + + + +订单明细 + + + + + + + + + +打印 + +
+ + + + + + <%----%> + + + + + + + + + + + + + + + + + + + + <%----%> + + + + + + + + + + + + + + + + + + + + + <%----%> + + + + + + + + + + + + + + + + + + + + +
单号商品编码商品单位生产日期数量重量体积规格拣货托盘/保质期二维码
${poVal.binId } ${poVal.goodsId }${poVal.goodsName }${poVal.baseUnit }${poVal.proData }${poVal.baseGoodscount }${poVal.tinZhl }${poVal.tinTj }${poVal.shpGuiGe }${poVal.pickNotice }${poVal.tinId }/${poVal.baoZhiq }${poVal.goodsId } 
主管:                      + 制单: ${wmOmNoticeHPage.createBy}                      + 仓管:                        + 叉车:
+
+ diff --git a/src/main/webapp/webpage/com/zzjee/tms/tmsYwDingdanpcList.jsp b/src/main/webapp/webpage/com/zzjee/tms/tmsYwDingdanpcList.jsp index 91edd9d3..c7391341 100644 --- a/src/main/webapp/webpage/com/zzjee/tms/tmsYwDingdanpcList.jsp +++ b/src/main/webapp/webpage/com/zzjee/tms/tmsYwDingdanpcList.jsp @@ -49,6 +49,7 @@ <%----%> <%----%> + <%----%> @@ -63,10 +64,25 @@ - + \ No newline at end of file +