1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SMRSO21001" position="absolute 0 0 840 804" titletext="입고등록(부서) 도움말" oninit="SMRSO21001_oninit" onload="SMRSO21001_onload">
- <Layouts>
- <Layout>
- <Div position="absolute 0 48 826 796" id="group2" scrollbars="autoboth">
- <Layouts>
- <Layout>
- <ImageViewer position="absolute 9 7 803 882" id="img1" image="URL('IMG::mis/in001.png')" anchor="default" imagealign="center top"/>
- <ImageViewer position="absolute 9 881 803 1756" id="img2" image="URL('IMG::mis/in002.png')" anchor="default" imagealign="center top"/>
- <ImageViewer position="absolute 8 1755 802 2810" id="img3" image="URL('IMG::mis/in003.png')" anchor="default" imagealign="center top"/>
- <ImageViewer position="absolute 8 2809 802 3924" id="img4" image="URL('IMG::mis/in004.png')" anchor="default" imagealign="center top"/>
- </Layout>
- </Layouts>
- </Div>
- <Static id="caption6" text="입고등록(부서) 도움말" class="tit_1" position="absolute 0 0 222 23"/>
- <Button id="btn_help" taborder="1" text="도움말다운로드" class="btn4" position="absolute 0 24 120 46" onclick="btn_help_onclick"/>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_filepath" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="filepath" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_filelist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="filedata" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- </Objects>
- <Script type="xscript4.0"><![CDATA[/***************************************************************************************
- * System Name :
- * Job Name :
- * Creator :
- * Make Date : 2017-06-19
- * Description :
- *---------------------------------------------------------------------------------------
- * Modify Date Modifier Modify Description
- *---------------------------------------------------------------------------------------
- * 2017-06-19 Live Converter TF->XP
- *
- *---------------------------------------------------------------------------------------
- ****************************************************************************************/
- include "com_commonxp::comm_main.xjs";
- include "mis_miscommonxp::MIS.xjs";
- function SMRSO21001_oninit(obj:Form, e:InitEventInfo)
- {
- frmf_initForm(obj);
- }
- function SMRSO21001_onload(obj:Form, e:LoadEventInfo)
- {
-
- }
- function btn_help_onclick(obj:Button, e:ClickEventInfo)
- {
- var fd = new FileDialog;
- var filepath = "mis/rpv/req//20130104/20130104103314831111_MIS"; //운영
- var filenm = "입고등록 도움말.hwp";
- var objVFile = fd.open("FileSave", FileDialog.SAVE, "%MYDOCUMENT%", filenm);
- ds_filepath.setColumn(0, "filepath", filepath);
- var oParam = {};
- oParam.id = "TRRWC03003";
- oParam.service = "paybaseinfomngtapp.PayBaseInfoMngt";
- oParam.method = "reqGetManualAtt";
- oParam.inds = "req=ds_filepath";
- oParam.outds = "ds_filelist=attachfile";
- oParam.async = false;
- //oParam.callback = "cf_TRRWC03003";
- tranf_submit(oParam);
- dsf_readFileFromDs(objVFile.fullpath, ds_filelist, 0, "filedata"); // 파일저장
- if (sysf_messageBox("파일을", "Q004") == "6")
- {
- system.execShell("\"" + fileObj.fullpath + "\"");
- }
-
- // var localfile = window.fileDialog("save","|",false,filenm,"","All Files(*.*)|*.*");
- // if (localfile != "") {
- // model.download(getActionURL("TRRWC03003")+"&filepath="+filepath,localfile);
- // var rtn = messageBox("파일을", "Q004");
- // if( rtn == 6 ) {
- // window.exec(localfile);
- // }
- // }
- }
- ]]></Script>
- </Form>
- </FDL>
|