SPAGA05400_전송Comment관리.xrw 4.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <?xml-stylesheet type="text/css" href="../../../com/commonweb/css/common.css" ?>
  3. <xhtml:html xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.w3.org/2002/01/xforms" xmlns:ev="http://www.w3.org/2001/xml-events">
  4. <xhtml:head>
  5. <xhtml:title>코드조회</xhtml:title>
  6. <model id="model1">
  7. <instance id="instance1">
  8. <root xmlns="">
  9. <main>
  10. <cnclcodelist>
  11. <cnclcode>
  12. <cdnm/>
  13. <cntlcd1/>
  14. <suppdeptcd/>
  15. <cdgrupid/>
  16. <cdid/>
  17. </cnclcode>
  18. </cnclcodelist>
  19. </main>
  20. <send>
  21. <cnclcd/>
  22. <basecdflag/>
  23. <globalinstance>
  24. <instance1/>
  25. </globalinstance>
  26. <req>
  27. <data/>
  28. </req>
  29. </send>
  30. <init/>
  31. <hidden>
  32. <count/>
  33. <receivedata/>
  34. </hidden>
  35. </root>
  36. </instance>
  37. <script type="javascript" ev:event="xforms-ready">
  38. <![CDATA[
  39. aezfSetSuppDeptcd();
  40. model.removeNodeset("/root/main/cnclcodelist/cnclcode");
  41. submit("TRAGA05401");
  42. if (grd_basecd.rows < 2){
  43. grd_basecd.addRow();
  44. model.setValue("/root/main/cnclcodelist/cnclcode[" + 1 + "]/suppdeptcd", model.getValue("/root/send/globalinstance/instance1"));
  45. model.setValue("/root/main/cnclcodelist/cnclcode[" + 1 + "]/cdgrupid", "A010");
  46. model.setValue("/root/main/cnclcodelist/cnclcode[" + 1 + "]/cdid", "01");
  47. }
  48. model.refresh();
  49. ]]>
  50. </script>
  51. <submission id="TRAGA05401" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/cnclcodelist"/>
  52. <submission id="TXAGA05401" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/hidden"/>
  53. </model>
  54. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  55. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  56. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  57. <script type="javascript" src="../../../ast/examcureweb/js/AEZ0001.js"/>
  58. </xhtml:head>
  59. <xhtml:body pagewidth="490" pageheight="390" guideline="1,1194;2,383;1,434;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  60. <group id="group3" scroll="auto" style="left:0px; top:0px; width:435px; height:350px; ">
  61. <caption id="caption1" class="tit_2" style="left:5px; top:6px; width:101px; height:14px; ">전송Comment</caption>
  62. <line id="line1" class="line_1" style="x1:0px; y1:21px; x2:432px; y2:21px; "/>
  63. <datagrid id="grd_basecd" nodeset="/root/main/cnclcodelist/cnclcode" autoresize="true" caption="내 용^전화번호^caption2^caption3^caption4" colsep="^" colwidth="303, 100, 100, 100, 100" mergecellsfixedrows="bycolrec" rowsep="|" style="left:0px; top:25px; width:434px; height:324px; ">
  64. <col ref="cdnm" type="input"/>
  65. <col ref="cntlcd1" type="input" maxlength="11"/>
  66. <col ref="suppdeptcd" visibility="hidden"/>
  67. <col ref="cdgrupid" visibility="hidden"/>
  68. <col ref="cdid" visibility="hidden"/>
  69. </datagrid>
  70. </group>
  71. <group id="group1" scroll="auto" style="left:0px; top:355px; width:448px; height:27px; ">
  72. <button id="btn_cfm" class="btn4_letter2" style="left:327px; top:5px; width:56px; height:22px; ">
  73. <caption>저장</caption>
  74. <script type="javascript" ev:event="DOMActivate">
  75. <![CDATA[
  76. if (model.getValue("/root/main/cnclcodelist/cnclcode[" + 1 + "]/cdnm") == ""){
  77. messageBox("업체에 전송할 Comment는 필수 입력항목입니다.", "E999", "");
  78. return;
  79. }
  80. var update = getGridUpdateData(grd_basecd);
  81. if(update == ""){
  82. messageBox("업데이트 정보가 없습니다.", "I");
  83. } else {
  84. model.setValue("/root/send/req/data",update);
  85. if (submit("TXAGA05401")){
  86. window.close();
  87. }
  88. }
  89. ]]>
  90. </script>
  91. </button>
  92. <button id="btn_cls" class="btn4_letter2" style="left:386px; top:5px; width:56px; height:22px; ">
  93. <caption>닫기</caption>
  94. <close ev:event="DOMActivate"/>
  95. </button>
  96. </group>
  97. </xhtml:body>
  98. </xhtml:html>