diff --git a/src/main/java/com/zzjee/wm/controller/WmOmNoticeHController.java b/src/main/java/com/zzjee/wm/controller/WmOmNoticeHController.java index 04d50367..ac202b09 100644 --- a/src/main/java/com/zzjee/wm/controller/WmOmNoticeHController.java +++ b/src/main/java/com/zzjee/wm/controller/WmOmNoticeHController.java @@ -2095,38 +2095,38 @@ public class WmOmNoticeHController extends BaseController { id);//获取抬头 - printHeader.setHeader01("配送单"); + printHeader.setHeader01("桥路易购签收单"); - printHeader.setHeader02("公司地址:"+ResourceUtil.getConfigByName("comaddr") ); + printHeader.setHeader02("司机电话:"); - printHeader.setHeader03("电话:"+ ResourceUtil.getConfigByName("comtel")); + printHeader.setHeader03("车牌号:"); - printHeader.setHeader04("送货日期: " +(wmOmNoticeH.getDelvData() == null ?"":DateUtils.date2Str(wmOmNoticeH.getDelvData(), DateUtils.date_sdf))); + printHeader.setHeader04("司机: " ); printHeader.setHeader05("出库单号: " +wmOmNoticeH.getOmNoticeId()); - printHeader.setHeader06("参考单号: " +wmOmNoticeH.getImCusCode()); + printHeader.setHeader06("订单号: " +wmOmNoticeH.getImCusCode()); - printHeader.setHeader07("车号: " +wmOmNoticeH.getReCarno()); + printHeader.setHeader07("快递单号: " ); MdCusEntity md = systemService.findUniqueByProperty(MdCusEntity.class, "keHuBianMa", wmOmNoticeH.getCusCode()); printHeader.setHeader08("客户名称: " +wmOmNoticeH.getCusCode()+md.getZhongWenQch()); - printHeader.setHeader09("联系人: "+wmOmNoticeH.getDelvMember()); + printHeader.setHeader09("收件人: "+wmOmNoticeH.getDelvMember()); - printHeader.setHeader10("送货地址: " +wmOmNoticeH.getDelvAddr()); + printHeader.setHeader10("发货地址: " ); - printHeader.setHeader11("打印时间: "+DateUtils.date2Str(DateUtils.getDate(), DateUtils.datetimeFormat) ); - printHeader.setHeader14("销售部门: " ); - printHeader.setHeader15("送货方式: "+(StringUtils.isEmpty(wmOmNoticeH.getDelvMethod())?"":wmOmNoticeH.getDelvMethod()) ); + printHeader.setHeader11("送货日期: " +(wmOmNoticeH.getDelvData() == null ?"":DateUtils.date2Str(wmOmNoticeH.getDelvData(), DateUtils.date_sdf))); + printHeader.setHeader14("收货地址: " +wmOmNoticeH.getDelvAddr()); + printHeader.setHeader15("发货方式: "+(StringUtils.isEmpty(wmOmNoticeH.getDelvMethod())?"":wmOmNoticeH.getDelvMethod()) ); printHeader.setHeader16("备注: " +wmOmNoticeH.getOmBeizhu()); - printHeader.setHeader17("销售员: "); - printHeader.setHeader18("销售员电话: "); - printHeader.setHeader19("销售日期: "); - printHeader.setHeader20("客户电话: "+wmOmNoticeH.getDelvMobile()); + printHeader.setHeader17("收货单位: "); + printHeader.setHeader18("运输方式: "+(StringUtils.isEmpty(wmOmNoticeH.getDelvMethod())?"":wmOmNoticeH.getDelvMethod()) ); + printHeader.setHeader19("揽件人电话: "); + printHeader.setHeader20("收件人电话: "+wmOmNoticeH.getDelvMobile()); BaStoreEntity baStoreEntity = systemService.findUniqueByProperty(BaStoreEntity.class,"storeCode",wmOmNoticeH.getStoreCode()); if (baStoreEntity != null){ @@ -2138,7 +2138,7 @@ public class WmOmNoticeHController extends BaseController { List listitem = new ArrayList<>(); - String tsql = "SELECT wq.goods_pro_data as pro_data,wq.base_goodscount,wq.base_unit,mg.gao_dan_pin, mg.goods_code,mg.shp_gui_ge, mg.goods_id,mg.shp_ming_cheng,cast(sum(wq.base_goodscount) as signed) as goods_count,mg.chl_shl,cast(mg.ti_ji_cm/mg.chl_shl as signed) tin_tj ,(mg.zhl_kg/mg.chl_shl ) as tin_zhl " + String tsql = "SELECT wq.goods_pro_data as pro_data,mg.sku,wq.base_goodscount,wq.base_unit,mg.gao_dan_pin, mg.goods_code,mg.shp_gui_ge, mg.goods_id,mg.shp_ming_cheng,cast(sum(wq.base_goodscount) as signed) as goods_count,mg.chl_shl,cast(mg.ti_ji_cm/mg.chl_shl as signed) tin_tj ,(mg.zhl_kg/mg.chl_shl ) as tin_zhl " +" FROM wm_to_down_goods wq,mv_goods mg where wq.id in (?) " +" and wq.goods_id = mg.goods_id group by wq.order_id, mg.goods_code,wq.goods_pro_data"; @@ -2148,7 +2148,7 @@ public class WmOmNoticeHController extends BaseController { int size = result.size(); if(size<1){ - tsql = "SELECT wq.pro_data,wq.base_unit,wq.base_goodscount,mg.shp_gui_ge,mg.gao_dan_pin, mg.goods_code, mg.goods_id,mg.shp_ming_cheng,cast(sum(wq.base_goodscount) as signed) as goods_count,mg.chl_shl,cast(mg.ti_ji_cm/mg.chl_shl as signed) tin_tj , (mg.zhl_kg/mg.chl_shl) as tin_zhl " + tsql = "SELECT wq.pro_data,mg.sku,wq.base_unit,wq.base_goodscount,mg.shp_gui_ge,mg.gao_dan_pin, mg.goods_code, mg.goods_id,mg.shp_ming_cheng,cast(sum(wq.base_goodscount) as signed) as goods_count,mg.chl_shl,cast(mg.ti_ji_cm/mg.chl_shl as signed) tin_tj , (mg.zhl_kg/mg.chl_shl) as tin_zhl " +" FROM wm_om_qm_i wq,mv_goods mg where wq.om_notice_id = ? " +" and wq.goods_id = mg.goods_id group by wq.om_notice_id, mg.goods_code,wq.pro_data"; result = systemService @@ -2226,12 +2226,12 @@ public class WmOmNoticeHController extends BaseController { printItem.setItem10(result.get(i).get("shp_gui_ge") .toString()); try{ - printItem.setItem11(result.get(i).get("gao_dan_pin") - .toString()); + printItem.setItem11(result.get(i).get("gao_dan_pin") == null ?"":result.get(i).get("gao_dan_pin").toString()); }catch (Exception e){ logger.error(ExceptionUtil.getExceptionMessage(e)); } - + printItem.setItem12(result.get(i).get("sku") == null ?"":result.get(i).get("sku").toString()); + printItem.setItem13(result.get(i).get("base_unit") == null ?"":result.get(i).get("base_unit").toString()); listitem.add(printItem); } diff --git a/src/main/webapp/webpage/com/zzjee/wm/print/imnoticeckd-print.jsp b/src/main/webapp/webpage/com/zzjee/wm/print/imnoticeckd-print.jsp index 9b6bbb03..6e8db126 100644 --- a/src/main/webapp/webpage/com/zzjee/wm/print/imnoticeckd-print.jsp +++ b/src/main/webapp/webpage/com/zzjee/wm/print/imnoticeckd-print.jsp @@ -73,22 +73,22 @@ .xl65 {mso-style-parent:style0; color:black; - font-size:22pt; + font-size:16pt; text-align:center; border:1.0pt solid black;} .xl66 {mso-style-parent:style0; color:black; - font-size:22pt;} + font-size:16pt;} .xl67 {mso-style-parent:style0; color:black; - font-size:25pt; + font-size:18pt; text-align:center;} .xl68 {mso-style-parent:style0; color:black; - font-size:22pt; + font-size:16pt; white-space:normal;} .xl69 {mso-style-parent:style0; @@ -102,8 +102,8 @@
- +
<%----%> @@ -121,147 +121,180 @@ + + + + + + + + - - - - - - + + + + - - - - + + + - - - - + + + - - - - + + + + + + + + + + + + -<%-- --%> + <%-- --%> -<%-- --%> -<%-- <%––%>--%> -<%-- --%> -<%-- --%> + <%-- --%> + <%-- <%––%>--%> + <%-- --%> + <%-- --%> -<%-- --%> -<%-- --%> -<%-- --%> + <%-- --%> + <%-- --%> + <%-- --%> -<%-- --%> -<%-- --%> + <%-- --%> + <%-- --%> - - + + + <%----%> - - + + - - - + + + + - - -<%-- --%> + + <%-- --%> - + + + <%----%> - - + + + + + + + - - - - - - - - - - -<%-- --%> -<%-- --%> + + + + + + + <%-- --%> + <%-- --%> -<%-- --%> -<%-- --%> - + <%-- --%> + <%-- --%> + - - + + + -<%-- --%> + <%-- --%> - - - - + + + + + <%-- --%> + <%-- --%> + <%-- --%> - + <%-- --%> - + <%-- --%> - - - + + - - + + + + + + + + + + + + + + - - - - - - --%> + <%-- --%> + diff --git a/src/main/webapp/webpage/com/zzjee/wm/print/imnoticerkd-print.jsp b/src/main/webapp/webpage/com/zzjee/wm/print/imnoticerkd-print.jsp old mode 100644 new mode 100755 index a2bf8ad4..1a5393cd --- a/src/main/webapp/webpage/com/zzjee/wm/print/imnoticerkd-print.jsp +++ b/src/main/webapp/webpage/com/zzjee/wm/print/imnoticerkd-print.jsp @@ -73,20 +73,26 @@ .xl65 {mso-style-parent:style0; color:black; - font-size:22pt; + font-size:16pt; text-align:center; border:1.0pt solid black;} .xl66 {mso-style-parent:style0; color:black; - font-size:22pt;} - + font-size:16pt;} + .xl67 + {mso-style-parent:style0; + color:black; + font-size:18pt; + text-align:center;} .xl68 {mso-style-parent:style0; color:black; - font-size:25pt; + font-size:16pt; white-space:normal;} - + .xl69 + {mso-style-parent:style0; + text-align:center;} @@ -100,8 +106,9 @@ collapse;table-layout:fixed;width:800pt;margin-left: 30px;margin-top: -30px'> - - + <%----%> + + @@ -115,7 +122,7 @@ - + <%-- --%> <%-- --%> @@ -124,33 +131,30 @@ <%--<%– –%>--%> <%-- --%> -<%-- --%> - - - + + - - - + + - - + + - + - + <%----%> - - + + <%-- --%> - - + + <%-- --%> <%-- --%> @@ -165,16 +169,16 @@ - + <%-- --%> - - + + - + <%-- --%> - + - + <%-- --%> <%-- --%> @@ -187,12 +191,15 @@ - --%>
+ + ${printHeader.header01}
${printHeader.header06}${printHeader.header05} 出库单
${printHeader.header14}${printHeader.header15} ${printHeader.header04} - -
${printHeader.header10}${printHeader.header15}
${printHeader.header17} ${printHeader.header18}${printHeader.header19}
${printHeader.header17} ${printHeader.header14}
${printHeader.header06}${printHeader.header05}${printHeader.header21}
${printHeader.header09}${printHeader.header20}
${printHeader.header10}${printHeader.header20}${printHeader.header09}
${printHeader.header18}${printHeader.header19}${printHeader.header07}
${printHeader.header02}${printHeader.header03}${printHeader.header04}
${printHeader.header11}
序号序号商品编码商品编码商品生产日期商品编码商品编码商品生产日期箱数数量重量箱数数量重量体积库存体积库存商品名称序号订单编号SKU商品编码单价批次物品名称规格规格数量重量单位数量单价/元金额/元库区备注备注备注备注
${poVal.item01 } ${poVal.item20}${poVal.item01 } ${poVal.goodsCode }${poVal.item02 }${poVal.item11}${poVal.item12}${poVal.item02 }${poVal.item10 }${poVal.item13 }${poVal.item06 }${poVal.item11 } ${poVal.item10 }${poVal.item06 }${poVal.item07 }成品区
合计:合计:${printHeader.header12}${printHeader.header13}
收货人产品有无破损有           无
签收承诺: + 签收单寄回地址;山西省晋中市寿阳县平头镇东村富韩村山西字化交通产业园
联系方式16636431909 +
收货人产品有无破损有           无 收货人签字:收货人签字:意见栏:意见栏:
注意事项
我方已与货运公司当场清点验收完毕。货物数量正确,包装完好!
- 重要提示:尊敬的客户,因您购买的商品为贵重易碎物品,请你认真确认送达产品的完好性以及产品的型号、颜色、数量是否与您购买时一致,配件是否齐全。验收并核对无误后请当面签字确认,若有发现破损或缺件商品,可对该商品予以拒收。客户签收后,我们对产品质量以外的问题可予以积极协助,但不作退货处理或承担相关损失。 - -
签收人(代收人):签收人(代收人):
日期:日期:
温馨提示
+ 请与运输公司当场清点签收。收货时发现异常,请务必在3日内与我司客服联系。并要求运输公司当场书面核实确认,同时保留异常货物照片备查,逾期未联系将视同货品完好。 + 服务电话:03543063066 + 签收单寄回地址:山西省晋中市寿阳县平头镇东韩村富韩村 山西数字化交通产业园 16636431909 +
- 拣货员: + 供货单位:山西数字化交通产业园 + + 复核员: - 复核员: - - 司机: + 制单员:
- 白联:存根 + + 白联:存根 - 红联:回执 + + 粉联:财务联 - 蓝联: - - 绿联:财务 - - 黄联:客户 + <%-- --%> + <%-- 蓝联:--%> + <%-- --%> + <%-- 绿联:财务--%> + <%-- + 黄联:客户
${printHeader.header01}${printHeader.header01}
${printHeader.header04}${printHeader.header05}${printHeader.header16}${printHeader.header04}${printHeader.header05}
${printHeader.header09}${printHeader.header14}${printHeader.header08}${printHeader.header09}
${printHeader.header08}${printHeader.header14}${printHeader.header16}
序号序号商品编码商品编码商品编码商品生产日期商品生产日期收货温度单位数量单位数量重量容积
${poVal.item20 } ${poVal.item20 } ${poVal.goodsCode }${poVal.item01 }${poVal.item02 }${poVal.item01 }${poVal.item02 }${poVal.item03 }${poVal.item03 }${poVal.item04 }${poVal.item05 }${poVal.item05 }${poVal.item06 }${poVal.item06 }${poVal.item07 }${poVal.item08 }
主管:主管:                      - 制单人:${printHeader.header15}     仓管签字(盖章):制单人:${printHeader.header15}                       + 仓管签字(盖章):                        - 合计数量:${printHeader.header12} - + 合计数量:${printHeader.header12}