1.附件上传删除自动删除
This commit is contained in:
ljw 2024-11-13 20:48:07 +08:00
parent 1eb311e1fe
commit a5f7af3567

View File

@ -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());
}
}