fix:
1.附件上传删除自动删除
This commit is contained in:
parent
1eb311e1fe
commit
a5f7af3567
@ -241,14 +241,7 @@ public class TrackplaceFormPlugIn extends AbstractBillPlugIn implements Plugin,
|
||||
public void clientCallBack(ClientCallBackEvent e) {
|
||||
super.clientCallBack(e);
|
||||
if (e.getName().equals("auto_save")) {
|
||||
AttachmentPanel attachmentPanel = getControl("attachmentpanel");
|
||||
List<Map<String, Object>> data = attachmentPanel.getAttachmentData();
|
||||
if (data != null & !data.isEmpty()) {
|
||||
// String billstatus = (String) this.getView().getModel().getValue("billstatus");
|
||||
// if (!"A".equals(billstatus)) {
|
||||
OperationResult saveResult = this.getView().invokeOperation("save", YEM.getOptionNoMsg());
|
||||
//}
|
||||
}
|
||||
this.getView().invokeOperation("save", YEM.getOptionNoMsg());
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user