|
@@ -68,7 +68,10 @@ public class PayBillSearchListPlugin extends AbstractListPlugin implements Plugi
|
|
|
if(EmptyUtil.isNoEmpty(payBillIdList)){
|
|
|
String billId = payBillIdList.get(0).toString();
|
|
|
Map<String,Object> fileMap = getElecreceiptByFile(billId);
|
|
|
- if (fileMap == null) return ;
|
|
|
+ if (fileMap == null) {
|
|
|
+ this.getView().showSuccessNotification("没有相应的电子回单!");
|
|
|
+ return ;
|
|
|
+ }
|
|
|
this.getView().previewAttachment(fileMap);
|
|
|
}
|
|
|
}
|
|
@@ -130,17 +133,6 @@ public class PayBillSearchListPlugin extends AbstractListPlugin implements Plugi
|
|
|
attMap.put("status","success");
|
|
|
attMap.put("visible","1000");
|
|
|
|
|
|
-// attMap.put("downloadUrl", previewUrl);
|
|
|
-// attMap.put("fileExt", attachmentMap.get("type"));
|
|
|
-// attMap.put("fileId", attachmentMap.get("uid"));
|
|
|
-// attMap.put("fileName", attachmentMap.get("name"));
|
|
|
-// attMap.put("fileSize", attachmentMap.get("size"));
|
|
|
-// attMap.put("fileTime", attachmentMap.get("createdate"));
|
|
|
-// attMap.put("filesource", "1");
|
|
|
-// attMap.put("previewType", "0");
|
|
|
-// attMap.put("previewUrl", previewUrl);
|
|
|
-// attMap.put("status", "success");
|
|
|
-
|
|
|
return attMap;
|
|
|
}
|
|
|
|