SPRAD00400_품의내역조회.xfdl 5.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SPRAD00400" position="absolute 0 0 705 313" titletext="품의내역조회" oninit="SPRAD00400_oninit" onload="SPRAD00400_onload">
  5. <Layouts>
  6. <Layout>
  7. <Static id="caption6" text="품의내역조회" class="tit_1" position="absolute 0 0 190 23"/>
  8. <Grid id="datagrid1" taborder="1" binddataset="ds_main_list_pumlist" useinputpanel="false" position="absolute 0 25 698 285" autoenter="select" autofittype="col" autosizingtype="col" oncelldblclick="datagrid1_oncelldblclick">
  9. <Formats>
  10. <Format id="default">
  11. <Columns>
  12. <Column size="138"/>
  13. <Column size="321"/>
  14. <Column size="128"/>
  15. <Column size="87"/>
  16. <Column size="0"/>
  17. </Columns>
  18. <Rows>
  19. <Row size="24" band="head"/>
  20. <Row size="24"/>
  21. </Rows>
  22. <Band id="head">
  23. <Cell text="품의번호"/>
  24. <Cell col="1" text="건명"/>
  25. <Cell col="2" text="품의총액"/>
  26. <Cell col="3" text="작성자"/>
  27. <Cell col="4"/>
  28. </Band>
  29. <Band id="body">
  30. <Cell text="bind:pumno"/>
  31. <Cell col="1" text="bind:naeyong"/>
  32. <Cell col="2" text="bind:pumtot" mask="(-)#,###"/>
  33. <Cell col="3" text="bind:pumemplnm"/>
  34. <Cell col="4" text="bind:chulseq"/>
  35. </Band>
  36. </Format>
  37. </Formats>
  38. </Grid>
  39. <Button id="button1" taborder="2" text="확인" class="btn4" position="absolute 582 286 638 308" onclick="button1_onclick"/>
  40. <Button id="btn_close" taborder="3" text="닫기" class="btn4" position="absolute 642 286 698 308" onclick="btn_close_onclick"/>
  41. </Layout>
  42. </Layouts>
  43. <Objects>
  44. <Dataset id="ds_main_list_pumlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  45. <ColumnInfo>
  46. <Column id="pumno" type="STRING"/>
  47. <Column id="naeyong" type="STRING"/>
  48. <Column id="pumtot" type="STRING"/>
  49. <Column id="pumemplnm" type="STRING"/>
  50. <Column id="chulseq" type="STRING"/>
  51. </ColumnInfo>
  52. </Dataset>
  53. <Dataset id="ds_popdata" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  54. <ColumnInfo>
  55. <Column id="junpyodate" type="STRING" size="256"/>
  56. <Column id="makedeptcd" type="STRING" size="256"/>
  57. <Column id="yogudeptcd" type="STRING" size="256"/>
  58. <Column id="pumgubun" type="STRING" size="256"/>
  59. <Column id="instcd" type="STRING" size="256"/>
  60. </ColumnInfo>
  61. <Rows>
  62. <Row>
  63. <Col id="junpyodate"/>
  64. <Col id="makedeptcd"/>
  65. <Col id="yogudeptcd"/>
  66. <Col id="pumgubun"/>
  67. <Col id="instcd"/>
  68. </Row>
  69. </Rows>
  70. </Dataset>
  71. </Objects>
  72. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  73. * System Name :
  74. * Job Name :
  75. * Creator :
  76. * Make Date : 2017-06-19
  77. * Description :
  78. *---------------------------------------------------------------------------------------
  79. * Modify Date Modifier Modify Description
  80. *---------------------------------------------------------------------------------------
  81. * 2017-06-19 Live Converter TF->XP
  82. *
  83. *---------------------------------------------------------------------------------------
  84. ****************************************************************************************/
  85. include "com_commonxp::comm_main.xjs";
  86. include "mis_miscommonxp::MIS.xjs";
  87. function SPRAD00400_oninit(obj:Form, e:InitEventInfo)
  88. {
  89. frmf_initForm(obj);
  90. }
  91. function SPRAD00400_onload(obj:Form, e:LoadEventInfo)
  92. {
  93. fInitialize();
  94. }
  95. function fInitialize()
  96. {
  97. ds_main_list_pumlist.clearData();
  98. var instcd = sysf_getUserInfo("dutplceinstcd");
  99. try
  100. {
  101. ds_popdata.copyData(arg_ds_popdata);
  102. }
  103. catch(e)
  104. {
  105. }
  106. dsf_makeValue(ds_popdata, "instcd", "string", instcd, 0);
  107. var oParam = {};
  108. oParam.id = "TRRAD01507";
  109. oParam.service = "slipapp.AccBook";
  110. oParam.method = "reqGetPumPopupList";
  111. oParam.inds = "req=ds_popdata";
  112. oParam.outds = "ds_main_list_pumlist=pumlist";
  113. oParam.async = false;
  114. //oParam.callback = "cf_TRRAD01507";
  115. tranf_submit(oParam);
  116. }
  117. function datagrid1_oncelldblclick(obj:Grid, e:GridClickEventInfo)
  118. {
  119. button1.click();
  120. }
  121. function button1_onclick(obj:Button, e:ClickEventInfo)
  122. {
  123. if (ds_main_list_pumlist.rowposition < 0)
  124. {
  125. sysf_messageBox("조회할 품의내역을 선택한 후 처리하시기 바랍니다.", "E999", "");
  126. return;
  127. }
  128. opener.ds_send_paydedu.setColumn(0, "pumno", ds_main_list_pumlist.getColumn(ds_main_list_pumlist.rowposition, "pumno"));
  129. opener.ds_send_paydedu.setColumn(0, "chulseq", ds_main_list_pumlist.getColumn(ds_main_list_pumlist.rowposition, "chulseq"));
  130. opener.group4.btn_search.click();
  131. this.close();
  132. }
  133. function btn_close_onclick(obj:Button, e:ClickEventInfo)
  134. {
  135. this.close();
  136. }
  137. ]]></Script>
  138. </Form>
  139. </FDL>