SMRSC08100_기관별구매시스템기본정보.xrw 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/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. </main>
  11. <init>
  12. <closecycle>
  13. <label>월</label>
  14. <value>4</value>
  15. <label>주</label>
  16. <value>2</value>
  17. <label>일</label>
  18. <value>1</value>
  19. </closecycle>
  20. <valueinven>
  21. <label>선입선출법</label>
  22. <value>1</value>
  23. <label>후입선출법</label>
  24. <value>2</value>
  25. <label>이동평균법</label>
  26. <value>3</value>
  27. <label>총평균법</label>
  28. <value>4</value>
  29. <label>개별법</label>
  30. <value>0</value>
  31. </valueinven>
  32. <purcflag/>
  33. </init>
  34. <send>
  35. <goodlist>
  36. <instcd/>
  37. </goodlist>
  38. <ordtlist>
  39. <instcd/>
  40. <instcdnm/>
  41. <purcdept/>
  42. <purcdeptnm/>
  43. <purcordid/>
  44. </ordtlist>
  45. </send>
  46. <temp/>
  47. </root>
  48. </instance>
  49. <script type="javascript" ev:event="xforms-ready">
  50. <![CDATA[
  51. //화면 Control을 초기화한다
  52. fInitForm();
  53. ]]>
  54. </script>
  55. <submission id="TRRSC08100" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" add="bottom" resultref="/root/main/RscifcustLists"/>
  56. <submission id="TXRSC08100" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/hidden/temp"/>
  57. <submission id="TRRSC08101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/ordtlist" add="bottom" resultref="/root/main/RscsysordtLists"/>
  58. <submission id="TXRSC08101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/hidden/temp"/>
  59. </model>
  60. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  61. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  62. <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
  63. <script type="javascript" src="../../../mis/miscommonweb/js/RSZ001.js"/>
  64. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  65. <script type="javascript" src="../../../mis/purcbaseweb/js/SMRSC08100.js"/>
  66. <script type="javascript" src="../../../mis/humtrafactmngtweb/js/RPB001.js"/>
  67. </xhtml:head>
  68. <xhtml:body guideline="2,775;" style="font-family:굴림체; font-size:8pt; margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  69. <group id="group1" style="left:0px; top:0px; width:1195px; height:13px; ">
  70. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:230px; height:14px; ">기관별 구매시스템 기본정보</caption>
  71. <caption id="caption4" class="patient_text_black" style="left:922px; top:0px; width:272px; "/>
  72. </group>
  73. <group id="group3" scroll="auto" style="left:0px; top:23px; width:1195px; height:744px; ">
  74. <group id="grp_title" style="left:0px; top:10px; width:1195px; height:37px; vertical-align:top; ">
  75. <shape id="roundrect2" class="roundrect_search" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1195px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
  76. <caption id="cap_instcd" class="search_name" style="left:15; top:8px; width:86px; height:17px; ">기관코드 :</caption>
  77. <select1 id="cmb_instcd" ref="/root/send/goodlist/instcd" class="combo_search" appearance="minimal" style="left:100px; top:8px; width:165px; height:19px; ">
  78. <choices>
  79. <itemset nodeset="/root/init/instcd">
  80. <label ref="cdnm"/>
  81. <value ref="cdid"/>
  82. </itemset>
  83. </choices>
  84. <script type="javascript" ev:event="xforms-value-changed">
  85. <![CDATA[
  86. misfGridInit(grd_rscsysinft);
  87. btn_search.dispatch("DOMActivate");
  88. ]]>
  89. </script>
  90. </select1>
  91. <button id="btn_search" class="btn1_letter2" style="left:940px; top:7px; width:56px; height:22px; ">
  92. <caption>조회</caption>
  93. <script type="javascript" ev:event="DOMActivate">
  94. <![CDATA[
  95. misfGridInit(grd_rscsysinft);
  96. misfMsterDetailRetrieve();
  97. ]]>
  98. </script>
  99. </button>
  100. <line id="line_title" class="line_4" style="x1:929px; y1:5px; x2:929px; y2:31px; border-color:#ffe4bb; border-left-style:solid; "/>
  101. <button id="btn_save" class="btn4_letter2" style="left:1050px; top:7px; width:56px; height:22px; ">
  102. <caption>저장</caption>
  103. <script type="javascript" ev:event="DOMActivate">
  104. <![CDATA[
  105. fSaveDataSetting("TXRSC08100");
  106. ]]>
  107. </script>
  108. </button>
  109. <button id="btn_clear" class="btn4_letter3" style="left:1108px; top:7px; width:68px; height:22px; ">
  110. <caption>초기화</caption>
  111. <script type="javascript" ev:event="DOMActivate">
  112. <![CDATA[
  113. fInitialize();
  114. ]]>
  115. </script>
  116. </button>
  117. </group>
  118. <datagrid id="grd_rscsysinft" nodeset="/root/main/RscsysinftLists/rscsysinftlist" caption="기관^기관명칭^기관명칭^VER^설치일^가동일^마감주기^우편번호^주소^구매담당부서^구매담당부서명^구매담당자ID^구매담당자명^구매부서장ID^구매부서장명^구매팀전화번호1^구매팀전화번호2^구매팀FAX^구매최종회계전송일^구매최종마감년월^약제담당부서^약제담당부서명^약제담당자ID^약제담당자명^약제부서장ID^약제부서장명^약제팀전화번호1^약제팀전화번호2^약제팀FAX^약제최종회계전송일^약제최종마감년월^영양담당부서^영양담당부서명^영양담당자ID^영양담당자명^영양부서장ID^영양부서장명^영양팀전화번호1^영양팀전화번호2^영양팀FAX^영양최종회계전송일^영양최종마감년월^수가위원회부서(보험)^수가위원회부서명^년간단가처리일자^년간단가선정여부^재고자산평가방법^최초등록자ID^최초등록일시^최종수정자ID^최종수정일시" colsep="^" colwidth="44, 1, 159, 50, 100, 90, 63, 68, 223, 90, 100, 89, 100, 87, 100, 100, 100, 100, 125, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 116, 100, 92, 100, 100, 100, 100, 100, 100, 100, 100, 118, 100, 120, 100, 100, 100, 100, 100, 100, 100, 100" ellipsis="true" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="23" rowsep="|" tooltip="true" style="left:0px; top:80px; width:1192px; height:305px; ">
  119. <col ref="instcd" type="input" style="text-align:center; "/>
  120. <col ref="instcdnm" visibility="hidden"/>
  121. <col ref="instnm"/>
  122. <col ref="version" type="input" style="text-align:center; "/>
  123. <col ref="installdt" type="inputdate" format="yyyy-mm-dd" style="text-align:center; "/>
  124. <col ref="operationdt" type="inputdate" format="yyyy-mm-dd" style="text-align:center; "/>
  125. <col ref="closecycle" type="combo" style="text-align:center; ">
  126. <choices>
  127. <itemset nodeset="/root/init/closecycle">
  128. <label ref="label"/>
  129. <value ref="value"/>
  130. </itemset>
  131. </choices>
  132. </col>
  133. <col ref="instzip" type="input" style="text-align:center; "/>
  134. <col ref="instaddr" type="input"/>
  135. <col ref="purcdept" type="inputbutton" visibility="hidden"/>
  136. <col ref="purcdeptnm" type="output" visibility="hidden"/>
  137. <col ref="purcdptjobid" type="inputbutton" visibility="hidden"/>
  138. <col ref="purcdptjobidnm" type="output" visibility="hidden"/>
  139. <col ref="purcdptmgrid" type="inputbutton" visibility="hidden"/>
  140. <col ref="purcdptmgridnm" type="output" visibility="hidden"/>
  141. <col ref="purcdepttel1" type="input" visibility="hidden"/>
  142. <col ref="purcdepttel2" type="input" visibility="hidden"/>
  143. <col ref="purcdeptfax" type="input" visibility="hidden"/>
  144. <col ref="purcacctdate" type="inputdate" visibility="hidden" format="yyyy-mm-dd"/>
  145. <col ref="purccloseyymm" type="inputdate" visibility="hidden" format="yyyy-mm"/>
  146. <col ref="drugdept" type="inputbutton" visibility="hidden"/>
  147. <col ref="drugdeptnm" type="output" visibility="hidden"/>
  148. <col ref="drugdptjobid" type="inputbutton" visibility="hidden"/>
  149. <col ref="drugdptjobidnm" type="output" visibility="hidden"/>
  150. <col ref="drugdptmgrid" type="inputbutton" visibility="hidden"/>
  151. <col ref="drugdptmgridnm" type="output" visibility="hidden"/>
  152. <col ref="drugdepttel1" type="input" visibility="hidden"/>
  153. <col ref="drugdepttel2" type="input" visibility="hidden"/>
  154. <col ref="drugdeptfax" type="input" visibility="hidden"/>
  155. <col ref="drugacctdate" type="inputdate" visibility="hidden" format="yyyy-mm-dd"/>
  156. <col ref="drugcloseyymm" type="inputdate" visibility="hidden" format="yyyy-mm"/>
  157. <col ref="nutrdept" type="inputbutton" visibility="hidden"/>
  158. <col ref="nutrdeptnm" type="output" visibility="hidden"/>
  159. <col ref="nutrdptjobid" type="inputbutton" visibility="hidden"/>
  160. <col ref="nutrdptjobidnm" type="output" visibility="hidden"/>
  161. <col ref="nutrdptmgrid" type="inputbutton" visibility="hidden"/>
  162. <col ref="nutrdptmgridnm" type="output" visibility="hidden"/>
  163. <col ref="nutrdepttel1" type="input" visibility="hidden"/>
  164. <col ref="nutrdepttel2" type="input" visibility="hidden"/>
  165. <col ref="nutrdeptfax" type="input" visibility="hidden"/>
  166. <col ref="nutracctdate" type="inputdate" visibility="hidden" format="yyyy-mm-dd"/>
  167. <col ref="nutrcloseyymm" type="inputdate" visibility="hidden" format="yyyy-mm"/>
  168. <col ref="insucdeptcd" type="inputbutton" visibility="hidden"/>
  169. <col ref="insucdeptcdnm" type="output" visibility="hidden"/>
  170. <col ref="yearcostdt" type="inputdate" visibility="hidden" format="yyyy-mm-dd"/>
  171. <col checkvalue="Y,N" ref="yearcostyn" type="checkbox" visibility="hidden"/>
  172. <col ref="valueinven" type="combo" visibility="hidden">
  173. <choices>
  174. <itemset nodeset="/root/init/valueinven">
  175. <label ref="label"/>
  176. <value ref="value"/>
  177. </itemset>
  178. </choices>
  179. </col>
  180. <col ref="fstrgstrid" visibility="hidden"/>
  181. <col ref="fstrgstdt" visibility="hidden"/>
  182. <col ref="lastupdtrid" visibility="hidden"/>
  183. <col ref="lastupdtdt" visibility="hidden"/>
  184. <script type="javascript" ev:event="onbuttonclick">
  185. <![CDATA[
  186. fOnButtonClick(grd_rscsysinft);
  187. ]]>
  188. </script>
  189. <script type="javascript" ev:event="xforms-value-changed">
  190. <![CDATA[
  191. fValueChanged(grd_rscsysinft);
  192. ]]>
  193. </script>
  194. <script type="javascript" ev:event="ondblclick">
  195. <![CDATA[
  196. if (grd_rscsysinft.row < 1) return;
  197. if (rdo_purcflag.value =="") {
  198. gPurcdept = "X";
  199. gPurcdeptnm = "X";
  200. } else {
  201. gPurcdept = gDeptCd[rdo_purcflag.value];
  202. gPurcdeptnm = gDeptNm[rdo_purcflag.value];
  203. }
  204. //
  205. fRscsysordtRead();
  206. ]]>
  207. </script>
  208. </datagrid>
  209. <line id="line3" class="line_1" style="x1:0px; y1:75px; x2:1192px; y2:75px; "/>
  210. <caption id="caption8" class="tit_2" style="left:0px; top:61px; width:183px; height:13px; ">기관별 구매시스템 기본정보</caption>
  211. <button id="button8" class="btn2_letter3" style="left:1080px; top:55px; width:53px; height:19px; ">
  212. <caption>행추가</caption>
  213. <script type="javascript" ev:event="DOMActivate">
  214. <![CDATA[
  215. misfGridIUD(grd_rscsysinft, "A");
  216. ]]>
  217. </script>
  218. </button>
  219. <button id="button9" class="btn2_letter3" visibility="hidden" style="left:1135px; top:55px; width:53px; height:19px; ">
  220. <caption>행삭제</caption>
  221. <script type="javascript" ev:event="DOMActivate">
  222. <![CDATA[
  223. misfGridIUD(grd_rscsysinft, "D");
  224. ]]>
  225. </script>
  226. </button>
  227. <line id="line1" class="line_1" style="x1:0px; y1:444px; x2:1192px; y2:444px; "/>
  228. <caption id="caption1" class="tit_2" style="left:0px; top:430px; width:183px; height:13px; ">기관별 구매발주자 정보</caption>
  229. <button id="bbt_insert" class="btn2_letter3" disabled="true" style="left:775px; top:423px; width:53px; height:19px; ">
  230. <caption>행추가</caption>
  231. <script type="javascript" ev:event="DOMActivate">
  232. <![CDATA[
  233. misfGridIUD(grd_rscsysordtlist, "A");
  234. grd_rscsysordtlist.row = grd_rscsysordtlist.rows - grd_rscsysordtlist.fixedRows ;
  235. model.setValue(grd_rscsysordtlist.nodeset +"[" + grd_rscsysordtlist.row + "]/instcd" , model.getValue(opt_instcd.attribute("ref") ));
  236. model.setValue(grd_rscsysordtlist.nodeset +"[" + grd_rscsysordtlist.row + "]/instcdnm" , model.getValue(opt_instcdnm.attribute("ref") ));
  237. model.setValue(grd_rscsysordtlist.nodeset +"[" + grd_rscsysordtlist.row + "]/purcdept" , model.getValue(opt_purcdept.attribute("ref") ));
  238. model.setValue(grd_rscsysordtlist.nodeset +"[" + grd_rscsysordtlist.row + "]/purcdeptnm", model.getValue(opt_purcdeptnm.attribute("ref")));
  239. grd_rscsysordtlist.col = grd_rscsysordtlist.colRef("purcordid");
  240. grd_rscsysordtlist.editCell();
  241. ]]>
  242. </script>
  243. </button>
  244. <button id="bbt_delete" class="btn2_letter3" disabled="true" style="left:830px; top:423px; width:53px; height:19px; ">
  245. <caption>행삭제</caption>
  246. <script type="javascript" ev:event="DOMActivate">
  247. <![CDATA[
  248. misfGridIUD(grd_rscsysordtlist,"D");
  249. ]]>
  250. </script>
  251. </button>
  252. <group id="group2" style="left:0px; top:450px; width:1192px; height:291px; ">
  253. <datagrid id="grd_rscsysordtlist" nodeset="/root/main/RscsysordtLists/rscsysordtlist" caption="기관코드^기관코드명칭^구매담당부서^구매담당부서명^구매담당자^구매담당자명^전화번호^FAX번호^휴대전화^E-MAIL^주관리물품구분^주관리물품구분명^비고^비고2^납품장소^최초등록자ID^최초등록일시^최종수정자ID^최종수정일시" colsep="^" colwidth="7, 15, 11, 10, 88, 79, 110, 110, 110, 142, 98, 11, 210, 192, 8, 9, 7, 7, 7" ellipsis="true" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="23" rowsep="|" tooltip="true" style="left:0px; top:0px; width:1192px; height:288px; ">
  254. <col ref="instcd" visibility="hidden"/>
  255. <col ref="instcdnm" visibility="hidden"/>
  256. <col ref="purcdept" visibility="hidden"/>
  257. <col ref="purcdeptnm" visibility="hidden"/>
  258. <col ref="purcordid" type="inputbutton"/>
  259. <col ref="purcordnm"/>
  260. <col ref="purctelno" type="input"/>
  261. <col ref="purcfaxno" type="input"/>
  262. <col ref="purchptel" type="input"/>
  263. <col ref="purcemail" type="input"/>
  264. <col ref="goodflag" type="combo">
  265. <choices>
  266. <itemset>
  267. <label/>
  268. <value/>
  269. </itemset>
  270. </choices>
  271. </col>
  272. <col ref="goodflagnm" visibility="hidden"/>
  273. <col ref="cmt" type="input"/>
  274. <col ref="cmt2" type="input"/>
  275. <col ref="valueinven" visibility="hidden"/>
  276. <col ref="fstrgstrid" visibility="hidden"/>
  277. <col ref="fstrgstdt" visibility="hidden"/>
  278. <col ref="lastupdtrid" visibility="hidden"/>
  279. <col ref="lastupdtdt" visibility="hidden"/>
  280. <script type="javascript" ev:event="onbuttonclick">
  281. <![CDATA[
  282. misfOpenPopUpList("01", grd_rscsysordtlist,"", "purcordid,purcordnm",grd_rscsysordtlist.valueMatrix(grd_rscsysordtlist.row, grd_rscsysordtlist.colRef("instcd")),"instcd" );
  283. ]]>
  284. </script>
  285. <script type="javascript" ev:event="xforms-value-changed">
  286. <![CDATA[
  287. if (grd_rscsysordtlist.col != grd_rscsysordtlist.colRef("purcordid")) {
  288. return;
  289. }
  290. // rpbfValidationCheck( "EMPLNO", "purcordid,purcordnm");
  291. misfValidationCheck("01" , "", "purcordid,purcordnm")
  292. ]]>
  293. </script>
  294. </datagrid>
  295. </group>
  296. <button id="bbt_save" class="btn4_letter2" disabled="true" style="left:890px; top:420px; width:56px; height:22px; ">
  297. <caption>저장</caption>
  298. <script type="javascript" ev:event="DOMActivate">
  299. <![CDATA[
  300. fSaveDataSetting("TXRSC08101", "2");
  301. ]]>
  302. </script>
  303. </button>
  304. <output id="opt_purcdeptnm" ref="/root/send/ordtlist/purcdeptnm" class="output_fix" appearance="output" style="left:640px; top:423px; width:120px; height:19px; "/>
  305. <output id="opt_purcdept" ref="/root/send/ordtlist/purcdept" class="output_fix" appearance="output" style="left:535px; top:423px; width:100px; height:19px; "/>
  306. <caption id="caption11" class="search_name" style="left:175px; top:423px; width:86px; height:17px; ">기관코드 :</caption>
  307. <output id="opt_instcdnm" ref="/root/send/ordtlist/instcdnm" class="output_fix" style="left:297px; top:423px; width:138px; height:19px; "/>
  308. <caption id="caption9" class="search_name" style="left:450px; top:423px; width:86px; height:17px; ">구매부서 :</caption>
  309. <output id="opt_instcd" ref="/root/send/ordtlist/instcd" class="output_fix" visibility="hidden" style="left:263px; top:423px; width:30px; height:19px; "/>
  310. <select1 id="rdo_purcflag" ref="/root/init/purcflag" appearance="full" cellspacing="10" cols="5" rows="1" overflow="visible" style="left:335px; top:56px; width:285px; height:15px; border-style:none; ">
  311. <choices>
  312. <item>
  313. <label>기관</label>
  314. <value/>
  315. </item>
  316. <item>
  317. <label>구매</label>
  318. <value>0</value>
  319. </item>
  320. <item>
  321. <label>약제</label>
  322. <value>1</value>
  323. </item>
  324. <item>
  325. <label>영양</label>
  326. <value>2</value>
  327. </item>
  328. <item>
  329. <label>보험</label>
  330. <value>3</value>
  331. </item>
  332. </choices>
  333. <script type="javascript" ev:event="xforms-value-changed">
  334. <![CDATA[
  335. fViewColumn();
  336. ]]>
  337. </script>
  338. </select1>
  339. <caption id="caption2" class="search_name" style="left:240px; top:55px; width:96px; height:17px; ">부서구분 :</caption>
  340. </group>
  341. </xhtml:body>
  342. </xhtml:html>