SPRSC02103_SERIAL NM 등록.xrw 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261
  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>SERIAL NO 등록</xhtml:title>
  6. <model id="model1">
  7. <instance id="instance1">
  8. <root xmlns="">
  9. <main>
  10. <eqmtplcepaylist1>
  11. <instcd/>
  12. <stdysubjno/>
  13. <stdysubjnm/>
  14. <stdypsn/>
  15. <stdypnm/>
  16. <cmt/>
  17. <fromdd/>
  18. <todd/>
  19. <goodflag/>
  20. <plceorddd/>
  21. <plceordseqno/>
  22. <costflag/>
  23. </eqmtplcepaylist1>
  24. </main>
  25. <send>
  26. <instcd/>
  27. <studylist/>
  28. <slipdeptcd/>
  29. <slipdeptcdnm/>
  30. <goodflag/>
  31. <plceorddd/>
  32. <plceordseqno/>
  33. <save>
  34. <eqmtplcepaylist1>
  35. <slipinstcd/>
  36. <acntcd/>
  37. <acntnm/>
  38. <acctdr/>
  39. <acctcr/>
  40. <dramt/>
  41. <sliprsvd/>
  42. <instcd/>
  43. <plceordseqno/>
  44. <goodflag/>
  45. <plceorddd/>
  46. <slipdeptcd/>
  47. <slipdeptcdnm/>
  48. <slipdate/>
  49. <slipno/>
  50. </eqmtplcepaylist1>
  51. </save>
  52. <slipdata>
  53. <sliplist/>
  54. <taxlist/>
  55. <plcelist/>
  56. </slipdata>
  57. <fixasetlist/>
  58. <tempfixasetlist/>
  59. </send>
  60. <init>
  61. <costflag>
  62. <label>L/C개설비</label>
  63. <value>A</value>
  64. <label>적하보험</label>
  65. <value>B</value>
  66. <label>항공(해운)운송료</label>
  67. <value>C</value>
  68. <label>통관비용</label>
  69. <value>D</value>
  70. <label>대금결재</label>
  71. <value>E</value>
  72. <label>기타</label>
  73. <value>F</value>G
  74. </costflag>
  75. <sumamt/>
  76. </init>
  77. <hidden/>
  78. <temp>
  79. <slipnodata>
  80. <slipno/>
  81. <sanctyn/>
  82. <slipnoyn/>
  83. </slipnodata>
  84. </temp>
  85. </root>
  86. </instance>
  87. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  88. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  89. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  90. <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
  91. <script type="javascript" src="../../../mis/miscommonweb/js/RSZ001.js"/>
  92. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  93. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  94. <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
  95. <script type="javascript" src="../../../mis/purcorderweb/js/SMRSC02102.js"/>
  96. <script type="javascript" ev:event="xforms-ready">
  97. <![CDATA[
  98. // misfGridInit(grd_eqmtplcepaylist);
  99. model.removeNodeset(grd_fixasetlist.nodeset);
  100. model.copyNode("/root/main","/root/temp");
  101. if(model.getValue("/root/temp/fixasetlist[1]/pggubun") == "SMRFC00300")
  102. {
  103. //grd_fixasetlist.colHidden("pggubun") = false;
  104. //이현민
  105. // grd_fixasetlist.colHidden("mngtdeptcd") = false;
  106. // grd_fixasetlist.colHidden("mngtdeptnm")= false;
  107. // grd_fixasetlist.colHidden("installplcecd")= false;
  108. // grd_fixasetlist.colHidden("installplcenm")= false;
  109. // grd_fixasetlist.colHidden("tempmngtdeptcd")= false;
  110. // grd_fixasetlist.colHidden("tempmngtdeptnm")= false;
  111. // grd_fixasetlist.colHidden(9) = true; //mngtdeptcd 사용부서코드
  112. // grd_fixasetlist.colHidden(10)= true; //mngtdeptnm 사용부서이름
  113. // grd_fixasetlist.colHidden(11)= true; //installplcecd 설치장소코드
  114. // grd_fixasetlist.colHidden(12)= true; //installplcenm 설치장소이름
  115. // grd_fixasetlist.colHidden(13)= true; //tempmngtdeptcd 관리부서코드
  116. // grd_fixasetlist.colHidden(14)= true; //tempmngtdeptnm 관리부서이름
  117. }
  118. // ipt_slipdate.value = getCurrentDate();
  119. // textarea1.value = model.getValue("/root/temp/eqmtplcepaylist/sliprsvd" );
  120. // cmb_instcd.value = model.getValue("/root/temp/eqmtplcepaylist/slipinstcd" );
  121. // misfComboComCdList("Z0007", cmb_instcd); //기관코드
  122. // fDispSumAmt();
  123. model.refresh();
  124. //fInit();
  125. ]]>
  126. </script>
  127. <submission id="TRRFC02201" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/eqmtplcepaylist1"/>
  128. <submission id="TXRSR02201" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/slipdata" resultref="/root/temp"/>
  129. <submission id="TXRFC00402" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/tempfixasetlist" resultref="/root/temp"/>
  130. </model>
  131. </xhtml:head>
  132. <xhtml:body pagewidth="860" pageheight="516" style="font-weight:bold; margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  133. <group id="grp_tle" style="left:0px; top:0px; width:835px; height:13px; ">
  134. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:186px; height:14px; ">SERIAL NO 등록</caption>
  135. </group>
  136. <group id="grp_biz" scroll="auto" style="left:0px; top:23px; width:835px; height:477px; ">
  137. <line id="line2" class="line_1" style="x1:0px; y1:39px; x2:821px; y2:39px; "/>
  138. <caption id="caption8" class="tit_2" style="left:5px; top:24px; width:170px; height:14px; ">자산코드 목록</caption>
  139. <datagrid id="grd_fixasetlist" nodeset="/root/main/fixasetlist" scroll="auto" caption="기관CODE^자산코드^자산한글명^자산영문명^모델명^제조회사^공급처명^메인장비^취득일자^사용부서^사용부서^설치장소^설치장소^관리부서^관리부서^S/N^구성품유무^부서변경^S/N변경^관리부서코드^공급처코드^gubun" colsep="^" colwidth="92, 95, 100, 155, 91, 95, 88, 99, 153, 95, 110, 95, 110, 95, 110, 100, 100, 100, 100, 100, 100, 100" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" style="left:0px; top:45px; width:820px; height:415px; ">
  140. <col ref="instcd" visibility="hidden"/>
  141. <col ref="fixasetcd"/>
  142. <col ref="goodflaghngnm"/>
  143. <col ref="goodflagengnm"/>
  144. <col ref="goodmodel"/>
  145. <col ref="prodcmpynm"/>
  146. <col ref="suplplcenm"/>
  147. <col ref="maineqmt" visibility="hidden" style="left:636px; top:23px; width:99px; height:23px; "/>
  148. <col ref="possndd" visibility="hidden" format="yyyy-mm-dd" style="text-align:center; "/>
  149. <col class="input_default" disabled="true" ref="mngtdeptcd" type="inputbutton" _key="true" style="text-align:center; "/>
  150. <col disabled="true" ref="mngtdeptnm" style="text-align:center; "/>
  151. <col class="input_default" disabled="true" ref="installplcecd" type="inputbutton" _key="true" style="text-align:center; "/>
  152. <col disabled="true" ref="installplcenm" style="text-align:center; "/>
  153. <col class="input_default" disabled="true" ref="tempmngtdeptcd" type="inputbutton" _key="true" style="text-align:center; "/>
  154. <col disabled="true" ref="tempmngtdeptnm" style="text-align:center; "/>
  155. <col ref="mngtno" type="input"/>
  156. <col ref="chkcnt" visibility="hidden" style="text-align:center; "/>
  157. <col checkvalue="Y,N" ref="chk" type="checkbox" visibility="hidden"/>
  158. <col checkvalue="Y,N" ref="serialchk" type="checkbox" visibility="hidden"/>
  159. <col ref="tempmngtdeptcd" visibility="hidden"/>
  160. <col ref="suplplcecd" visibility="hidden"/>
  161. <col ref="pggubun" visibility="hidden"/>
  162. <script type="javascript" ev:event="onbuttonclick">
  163. <![CDATA[
  164. //아래의 /* */ 부분 막음 20100408 이화면은 Serialno변경화면이므로 아래의 컬럼들이 control되면 안됨
  165. /*
  166. if (grd_fixasetlist.col == grd_fixasetlist.colRef("mngtdeptcd"))//사용부서 버튼을 눌렀을 때
  167. {
  168. misfOpenPopUpList("02", grd_fixasetlist,"","mngtdeptcd,mngtdeptnm");
  169. // rszfOpenPopUpListByWndName(grd_chgnhistlist,"","upddeptcd,upddeptnm","PPRAC00700","instcd","cmb_instcd");
  170. // model.refresh();
  171. grd_fixasetlist.valueMatrix(grd_fixasetlist.row, grd_fixasetlist.colRef("installplcecd")) = grd_fixasetlist.valueMatrix(grd_fixasetlist.row, grd_fixasetlist.colRef("mngtdeptcd"));
  172. grd_fixasetlist.valueMatrix(grd_fixasetlist.row, grd_fixasetlist.colRef("installplcenm")) = grd_fixasetlist.valueMatrix(grd_fixasetlist.row, grd_fixasetlist.colRef("mngtdeptnm"));
  173. grd_fixasetlist.refresh()
  174. }else if (grd_fixasetlist.col == grd_fixasetlist.colRef("installplcecd"))//설치장소 버튼을 눌렀을 때
  175. {
  176. rszfOpenPopUpListByWndName(grd_fixasetlist,"","installplcecd,installplcenm","PPRAC00700","instcd","instcd");
  177. model.refresh();
  178. }
  179. if (grd_fixasetlist.col == grd_fixasetlist.colRef("tempmngtdeptcd"))//관리부서 버튼을 눌렀을 때
  180. {
  181. misfOpenPopUpList("02", grd_fixasetlist,"","tempmngtdeptcd,tempmngtdeptnm");
  182. grd_fixasetlist.refresh()
  183. }
  184. // if (grd_studylist.col == grd_studylist.colRef("stdypsn")) {//책임자 버튼을 눌렀을 때
  185. // misfOpenPopUpList("12", grd_studylist, "", "stdypsn,stdypnm", "%", "instcd");
  186. // }
  187. */
  188. ]]>
  189. </script>
  190. <script type="javascript" ev:event="xforms-value-changed">
  191. <![CDATA[
  192. // if (grd_studylist.col == grd_studylist.colRef("stdypsn")) {//책임자 버튼을 눌렀을 때
  193. // misfValidationCheck("12", "", "stdypsn,stdypnm" );
  194. // }
  195. ]]>
  196. </script>
  197. </datagrid>
  198. <button id="button1" class="btn4_letter2" style="left:700px; top:10px; width:56px; height:22px; ">
  199. <caption>저장</caption>
  200. <script type="javascript" ev:event="DOMActivate">
  201. <![CDATA[
  202. //fDataSubmit(); // 전표저장처리
  203. // if(messageBox("", "Q002") == "6")
  204. // {
  205. // fSettingSaveInData();
  206. model.setValue("/root/send/tempfixasetlist", grd_fixasetlist.getUpdateData("update"));
  207. var updtdata = getGridUpdateData(grd_fixasetlist);
  208. submit("TXRFC00402");
  209. // grd_fixasetlist.gridToInstance();
  210. // }
  211. // model.removeNodeset(grd_fixasetlist.nodeset);
  212. // model.copyNode("/root/main","/root/temp");
  213. // model.refresh();
  214. // for(var i = 1; i < grd_fixasetlist.rows ; i++)
  215. // {
  216. // model.setValue(grd_fixasetlist.nodeset + "["+i+"]/chk", "N");
  217. // }
  218. // ipt_vFlag.value = "";
  219. // btn_search.dispatch("DOMActivate");
  220. ]]>
  221. </script>
  222. </button>
  223. <button id="button2" class="btn4_letter2" style="left:765px; top:10px; width:56px; height:22px; ">
  224. <caption>닫기</caption>
  225. <script type="javascript" ev:event="DOMActivate">
  226. <![CDATA[
  227. window.close()
  228. ]]>
  229. </script>
  230. </button>
  231. <output id="opt_plceordseqno" ref="/root/send/plceordseqno" visibility="hidden" appearance="minimal" style="left:359px; top:10px; width:60px; height:19px; "/>
  232. <output id="opt_goodflag" ref="/root/send/goodflag" visibility="hidden" appearance="minimal" style="left:609px; top:0px; width:60px; height:19px; "/>
  233. <output id="opt_instcd" ref="/root/send/instcd" visibility="hidden" appearance="minimal" style="left:159px; top:10px; width:60px; height:19px; "/>
  234. <output id="opt_plceorddd" ref="/root/send/plceorddd" visibility="hidden" appearance="minimal" style="left:289px; top:10px; width:60px; height:19px; "/>
  235. <line id="line8" class="line_3" style="x1:0px; y1:468px; x2:820px; y2:468px; "/>
  236. </group>
  237. </xhtml:body>
  238. </xhtml:html>