master
e 2019-04-09 23:08:15 +08:00
parent d4be7b299c
commit 0765fd1f28
2 changed files with 2 additions and 5 deletions

View File

@ -597,7 +597,7 @@ public class WmOmNoticeHController extends BaseController {
List<WmImNoticeHEntity> WmImNoticeHEntityList = systemService.findHql(hql1, imnoticeid);//获取行项目 List<WmImNoticeHEntity> WmImNoticeHEntityList = systemService.findHql(hql1, imnoticeid);//获取行项目
if(WmInQmIEntityList!=null&&WmInQmIEntityList.size()>0) { if(WmInQmIEntityList!=null&&WmInQmIEntityList.size()>0) {
WmImNoticeHEntity wmImNoticeHEntity = WmImNoticeHEntityList.get(0); WmImNoticeHEntity wmImNoticeHEntity = WmImNoticeHEntityList.get(0);
wmImNoticeHEntity.setFuJian(wmImNoticeHEntity.getFuJian().replace(",","")); // wmImNoticeHEntity.setFuJian(wmImNoticeHEntity.getFuJian().replace(",",""));
try{ try{
String arr[] = wmImNoticeHEntity.getFuJian().split(","); String arr[] = wmImNoticeHEntity.getFuJian().split(",");
for(int si=0;si<arr.length;si++){ for(int si=0;si<arr.length;si++){
@ -924,6 +924,7 @@ public class WmOmNoticeHController extends BaseController {
String datecuso[]= wmOmNoticeH.getOcusCode().split("-"); String datecuso[]= wmOmNoticeH.getOcusCode().split("-");
MdCusOtherEntity mdcusother = systemService.findUniqueByProperty(MdCusOtherEntity.class, "keHuBianMa", datecuso[0]); MdCusOtherEntity mdcusother = systemService.findUniqueByProperty(MdCusOtherEntity.class, "keHuBianMa", datecuso[0]);
if (mdcusother != null) { if (mdcusother != null) {
wmOmNoticeH.setOcusCode(datecuso[0]);
wmOmNoticeH.setOcusName(mdcusother.getZhongWenQch()); wmOmNoticeH.setOcusName(mdcusother.getZhongWenQch());
} }
} }

View File

@ -161,16 +161,12 @@ function printview(){
<tr height=40 style='mso-height-source:userset;height:30.0pt'> <tr height=40 style='mso-height-source:userset;height:30.0pt'>
<th colspan=3 height=400 class=xl67 style='height:30.0pt' ><span style="font-size: 18pt">收货附件</th> <th colspan=3 height=400 class=xl67 style='height:30.0pt' ><span style="font-size: 18pt">收货附件</th>
</tr> </tr>
<c:if test="${fujian0 }">
<tr height=40 style='mso-height-source:userset;height:30.0pt'> <tr height=40 style='mso-height-source:userset;height:30.0pt'>
<th colspan=3 height=400 class=xl67 style='height:30.0pt' ><span style="font-size: 18pt"><img src="systemController/showOrDownByurl.do?dbPath=${fujian0}" ></span></th> <th colspan=3 height=400 class=xl67 style='height:30.0pt' ><span style="font-size: 18pt"><img src="systemController/showOrDownByurl.do?dbPath=${fujian0}" ></span></th>
</tr> </tr>
</c:if>
<c:if test="${fujian1 }">
<tr height=40 style='mso-height-source:userset;height:30.0pt'> <tr height=40 style='mso-height-source:userset;height:30.0pt'>
<th colspan=3 height=400 class=xl67 style='height:30.0pt' ><span style="font-size: 18pt"><img src="systemController/showOrDownByurl.do?dbPath=${fujian1}" ></span></th> <th colspan=3 height=400 class=xl67 style='height:30.0pt' ><span style="font-size: 18pt"><img src="systemController/showOrDownByurl.do?dbPath=${fujian1}" ></span></th>
</tr> </tr>
</c:if>
</table> </table>