SMRSO21001_입고등록설명서.xfdl 4.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SMRSO21001" position="absolute 0 0 840 804" titletext="입고등록(부서) 도움말" oninit="SMRSO21001_oninit" onload="SMRSO21001_onload">
  5. <Layouts>
  6. <Layout>
  7. <Div position="absolute 0 48 826 796" id="group2" scrollbars="autoboth">
  8. <Layouts>
  9. <Layout>
  10. <ImageViewer position="absolute 9 7 803 882" id="img1" image="URL('IMG::mis/in001.png')" anchor="default" imagealign="center top"/>
  11. <ImageViewer position="absolute 9 881 803 1756" id="img2" image="URL('IMG::mis/in002.png')" anchor="default" imagealign="center top"/>
  12. <ImageViewer position="absolute 8 1755 802 2810" id="img3" image="URL('IMG::mis/in003.png')" anchor="default" imagealign="center top"/>
  13. <ImageViewer position="absolute 8 2809 802 3924" id="img4" image="URL('IMG::mis/in004.png')" anchor="default" imagealign="center top"/>
  14. </Layout>
  15. </Layouts>
  16. </Div>
  17. <Static id="caption6" text="입고등록(부서) 도움말" class="tit_1" position="absolute 0 0 222 23"/>
  18. <Button id="btn_help" taborder="1" text="도움말다운로드" class="btn4" position="absolute 0 24 120 46" onclick="btn_help_onclick"/>
  19. </Layout>
  20. </Layouts>
  21. <Objects>
  22. <Dataset id="ds_filepath" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  23. <ColumnInfo>
  24. <Column id="filepath" type="STRING" size="256"/>
  25. </ColumnInfo>
  26. <Rows>
  27. <Row/>
  28. </Rows>
  29. </Dataset>
  30. <Dataset id="ds_filelist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  31. <ColumnInfo>
  32. <Column id="filedata" type="STRING" size="256"/>
  33. </ColumnInfo>
  34. </Dataset>
  35. </Objects>
  36. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  37. * System Name :
  38. * Job Name :
  39. * Creator :
  40. * Make Date : 2017-06-19
  41. * Description :
  42. *---------------------------------------------------------------------------------------
  43. * Modify Date Modifier Modify Description
  44. *---------------------------------------------------------------------------------------
  45. * 2017-06-19 Live Converter TF->XP
  46. *
  47. *---------------------------------------------------------------------------------------
  48. ****************************************************************************************/
  49. include "com_commonxp::comm_main.xjs";
  50. include "mis_miscommonxp::MIS.xjs";
  51. function SMRSO21001_oninit(obj:Form, e:InitEventInfo)
  52. {
  53. frmf_initForm(obj);
  54. }
  55. function SMRSO21001_onload(obj:Form, e:LoadEventInfo)
  56. {
  57. }
  58. function btn_help_onclick(obj:Button, e:ClickEventInfo)
  59. {
  60. var fd = new FileDialog;
  61. var filepath = "mis/rpv/req//20130104/20130104103314831111_MIS"; //운영
  62. var filenm = "입고등록 도움말.hwp";
  63. var objVFile = fd.open("FileSave", FileDialog.SAVE, "%MYDOCUMENT%", filenm);
  64. ds_filepath.setColumn(0, "filepath", filepath);
  65. var oParam = {};
  66. oParam.id = "TRRWC03003";
  67. oParam.service = "paybaseinfomngtapp.PayBaseInfoMngt";
  68. oParam.method = "reqGetManualAtt";
  69. oParam.inds = "req=ds_filepath";
  70. oParam.outds = "ds_filelist=attachfile";
  71. oParam.async = false;
  72. //oParam.callback = "cf_TRRWC03003";
  73. tranf_submit(oParam);
  74. dsf_readFileFromDs(objVFile.fullpath, ds_filelist, 0, "filedata"); // 파일저장
  75. if (sysf_messageBox("파일을", "Q004") == "6")
  76. {
  77. system.execShell("\"" + fileObj.fullpath + "\"");
  78. }
  79. // var localfile = window.fileDialog("save","|",false,filenm,"","All Files(*.*)|*.*");
  80. // if (localfile != "") {
  81. // model.download(getActionURL("TRRWC03003")+"&filepath="+filepath,localfile);
  82. // var rtn = messageBox("파일을", "Q004");
  83. // if( rtn == 6 ) {
  84. // window.exec(localfile);
  85. // }
  86. // }
  87. }
  88. ]]></Script>
  89. </Form>
  90. </FDL>