打印格式调整
parent
b2106bddda
commit
0b671a5a79
File diff suppressed because one or more lines are too long
|
@ -7,6 +7,7 @@ import com.zzjee.wm.page.WmNoticeImpPage;
|
||||||
import com.zzjee.wm.service.WmImNoticeHServiceI;
|
import com.zzjee.wm.service.WmImNoticeHServiceI;
|
||||||
import com.zzjee.wm.page.WmImNoticeHPage;
|
import com.zzjee.wm.page.WmImNoticeHPage;
|
||||||
|
|
||||||
|
import java.text.DecimalFormat;
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
import java.util.Calendar;
|
import java.util.Calendar;
|
||||||
import java.util.Date;
|
import java.util.Date;
|
||||||
|
@ -193,6 +194,8 @@ public class WmImNoticeHController extends BaseController {
|
||||||
//查询-产品
|
//查询-产品
|
||||||
Double tomsum = 0.00;
|
Double tomsum = 0.00;
|
||||||
Double noticesum = 0.00;
|
Double noticesum = 0.00;
|
||||||
|
DecimalFormat dfsum=new DecimalFormat(".##");
|
||||||
|
|
||||||
List<WmImNoticeIEntity> wmImNoticeIEntitynewList = new ArrayList<>();
|
List<WmImNoticeIEntity> wmImNoticeIEntitynewList = new ArrayList<>();
|
||||||
String hql0 = "from WmImNoticeIEntity where 1 = 1 AND iM_NOTICE_ID = ? ";
|
String hql0 = "from WmImNoticeIEntity where 1 = 1 AND iM_NOTICE_ID = ? ";
|
||||||
try {
|
try {
|
||||||
|
@ -217,6 +220,23 @@ public class WmImNoticeHController extends BaseController {
|
||||||
}catch (Exception e){
|
}catch (Exception e){
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
try{
|
||||||
|
|
||||||
|
wmImNoticeIEntity.setGoodsFvol(dfsum.format(Double.parseDouble(wmImNoticeIEntity.getGoodsFvol())));
|
||||||
|
}catch (Exception e){
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
try{
|
||||||
|
wmImNoticeIEntity.setGoodsWeight(dfsum.format(Double.parseDouble(wmImNoticeIEntity.getGoodsWeight())));
|
||||||
|
|
||||||
|
}catch (Exception e){
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
wmImNoticeIEntitynewList.add(wmImNoticeIEntity);
|
wmImNoticeIEntitynewList.add(wmImNoticeIEntity);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -118,7 +118,9 @@ public class WmImNoticeIEntity implements java.io.Serializable {
|
||||||
@Excel(name="商品条码")
|
@Excel(name="商品条码")
|
||||||
private java.lang.String barCode;
|
private java.lang.String barCode;
|
||||||
private java.lang.String shpGuiGe;
|
private java.lang.String shpGuiGe;
|
||||||
|
/**保质期*/
|
||||||
|
// @Excel(name="保质期")
|
||||||
|
private java.lang.String bzhiQi;
|
||||||
/**
|
/**
|
||||||
*方法: 取得java.lang.String
|
*方法: 取得java.lang.String
|
||||||
*@return: java.lang.String 主键
|
*@return: java.lang.String 主键
|
||||||
|
@ -679,4 +681,17 @@ public class WmImNoticeIEntity implements java.io.Serializable {
|
||||||
public void setShpGuiGe(java.lang.String shpGuiGe){
|
public void setShpGuiGe(java.lang.String shpGuiGe){
|
||||||
this.shpGuiGe = shpGuiGe;
|
this.shpGuiGe = shpGuiGe;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Column(name ="BZHI_QI",nullable=true,length=32)
|
||||||
|
public java.lang.String getBzhiQi(){
|
||||||
|
return this.bzhiQi;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
*方法: 设置java.lang.String
|
||||||
|
*@param: java.lang.String 保质期
|
||||||
|
*/
|
||||||
|
public void setBzhiQi(java.lang.String bzhiQi){
|
||||||
|
this.bzhiQi = bzhiQi;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -101,6 +101,7 @@ public class WvGiNoticeEntity implements java.io.Serializable {
|
||||||
/**任务接收人*/
|
/**任务接收人*/
|
||||||
@Excel(name="任务接收人")
|
@Excel(name="任务接收人")
|
||||||
private java.lang.String assignTo;
|
private java.lang.String assignTo;
|
||||||
|
private java.lang.String shpGuiGe;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*方法: 取得java.util.Date
|
*方法: 取得java.util.Date
|
||||||
|
@ -491,4 +492,22 @@ public class WvGiNoticeEntity implements java.io.Serializable {
|
||||||
public void setOmBeiZhu(String omBeiZhu){
|
public void setOmBeiZhu(String omBeiZhu){
|
||||||
this.omBeiZhu = omBeiZhu;
|
this.omBeiZhu = omBeiZhu;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
*方法: 取得java.lang.String
|
||||||
|
*@return: java.lang.String 商品规格
|
||||||
|
*/
|
||||||
|
@Column(name ="SHP_GUI_GE",nullable=true,length=32)
|
||||||
|
public java.lang.String getShpGuiGe(){
|
||||||
|
return this.shpGuiGe;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
*方法: 设置java.lang.String
|
||||||
|
*@param: java.lang.String 商品规格
|
||||||
|
*/
|
||||||
|
public void setShpGuiGe(java.lang.String shpGuiGe){
|
||||||
|
this.shpGuiGe = shpGuiGe;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -147,7 +147,7 @@ function printview(){
|
||||||
|
|
||||||
|
|
||||||
<tr height=33 style='mso-height-source:userset;height:25.05pt'>
|
<tr height=33 style='mso-height-source:userset;height:25.05pt'>
|
||||||
<td class=xl65 style='border:1.0pt solid black;text-align: center'>最近上架</td>
|
<td class=xl65 style='border:1.0pt solid black;text-align: center'>69码</td>
|
||||||
<%--<td class=xl65 style='border:1.0pt solid black;text-align: center'>商品编码</td>--%>
|
<%--<td class=xl65 style='border:1.0pt solid black;text-align: center'>商品编码</td>--%>
|
||||||
<td height=33 class=xl65 style='height:25.05pt;border:1.0pt solid black;text-align: center'>商品</td>
|
<td height=33 class=xl65 style='height:25.05pt;border:1.0pt solid black;text-align: center'>商品</td>
|
||||||
|
|
||||||
|
@ -169,7 +169,7 @@ function printview(){
|
||||||
<c:forEach items="${wmImNoticeIList}" var="poVal" varStatus="stuts">
|
<c:forEach items="${wmImNoticeIList}" var="poVal" varStatus="stuts">
|
||||||
|
|
||||||
<tr height=33 style='mso-height-source:userset;height:50px'>
|
<tr height=33 style='mso-height-source:userset;height:50px'>
|
||||||
<td class=xl65 style='border:1.0pt solid black;text-align: center'>${poVal.binPlan } </td>
|
<td class=xl65 style='border:1.0pt solid black;text-align: center'>${poVal.barCode } </td>
|
||||||
<%--<td height=33 class=xl65 style='height:25.05pt;border:1.0pt solid black;text-align: center'>${poVal.goodsCode }</td>--%>
|
<%--<td height=33 class=xl65 style='height:25.05pt;border:1.0pt solid black;text-align: center'>${poVal.goodsCode }</td>--%>
|
||||||
<td class=xl65 style='border:1.0pt solid black;text-align: center;word-break:break-all;'><span style='word-break:break-all;width: auto;font-size: 14pt'>${poVal.goodsName }</span></td>
|
<td class=xl65 style='border:1.0pt solid black;text-align: center;word-break:break-all;'><span style='word-break:break-all;width: auto;font-size: 14pt'>${poVal.goodsName }</span></td>
|
||||||
<td class=xl65 style='border:1.0pt solid black;text-align: center'>${poVal.goodsUnit }</td>
|
<td class=xl65 style='border:1.0pt solid black;text-align: center'>${poVal.goodsUnit }</td>
|
||||||
|
|
Loading…
Reference in New Issue