KNUCP00030_원가부문등록.xrw 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/css" ?>
  3. <xhtml:html xmlns:ex="http://www.comsquare.co.kr/xforms/excel" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:ms="urn:schemas-microsoft-com:xslt" xmlns:my="http://www.comsquare.co.kr/example" 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" xmlns:cs="http://www.comsquare.co.kr/xforms">
  4. <xhtml:head>
  5. <xhtml:title>원가 배부코드 등록</xhtml:title>
  6. <model id="model1">
  7. <instance id="instance1">
  8. <root xmlns="">
  9. <main>
  10. <acntperchgrinfo>
  11. <acntperchgrlist/>
  12. </acntperchgrinfo>
  13. </main>
  14. <init>
  15. </init>
  16. <send>
  17. <reqdata/>
  18. <savedata/>
  19. </send>
  20. <hidden>
  21. <commoninfo>
  22. <perchgrlist1/>
  23. <perchgrlist2/>
  24. <perchgrlist3/>
  25. <perchgrlist4/>
  26. <perchgrlist5/>
  27. <acntlist/>
  28. </commoninfo>
  29. </hidden>
  30. </root>
  31. </instance>
  32. <script type="javascript" ev:event="xforms-ready">
  33. <![CDATA[
  34. model.removeNodeset("/root/main/acntperchgrinfo/acntperchgrlist");
  35. misfComboComCdList("030M0006" ,cmb_sanctflag);
  36. model.makeValue("/root/send/reqdata/instcd", getUserInfo("dutplceinstcd"));
  37. if(submit("TRRSA00101")){
  38. if(submit("TRRSA00102")){
  39. }
  40. }
  41. model.refresh();
  42. ]]>
  43. </script>
  44. <submission id="TRRSA00101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/hidden/commoninfo"/>
  45. <submission id="TRRSA00102" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/acntperchgrinfo"/>
  46. <submission id="TXRSA00101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/savedata" resultref="/root/main/acntperchgrinfo"/>
  47. </model>
  48. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  49. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  50. <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
  51. <script type="javascript" src="../../../mis/miscommonweb/js/RSZ001.js"/>
  52. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  53. </xhtml:head>
  54. <xhtml:body pagewidth="1200" pageheight="750" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  55. <group id="group3" scroll="auto" style="left:8px; top:0px; width:1197px; height:730px; ">
  56. <line id="line1" class="line_1" style="x1:0px; y1:41px; x2:1180px; y2:41px; "/>
  57. <datagrid id="grd_acntperchgrlist" nodeset="/root/main/acntperchgrinfo/acntperchgrlist" caption="부문코드^부문명칭^관리구분^처리순서^최종^시작부문^종료부문^배부코드^배부코드 명^배부코드(시행) ^배부코드 명(시행)^공통부문^부문분류^LeveL^상위부문^상위부문 명^일반관리_old^일반관리_new^Clinic ID^OCS 부서명^입/외^OCS 부서^참고사항^기관코드" colsep="^" colwidth="74, 258, 57, 112, 71, 132, 134, 50, 255, 100, 197, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 561, 100" ellipsis="true" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" tooltip="true" style="left:0px; top:45px; width:1185px; height:495px; ">
  58. <col ref="sanctflag" type="input" style="text-align:center; "/>
  59. <col editmode="inputsearch" itemcount="20" ref="acntcd" type="input" showmask="true" style="text-align:left; "/>
  60. <col editmode="inputsearch" itemcount="20" ref="perchgr_1" type="combo" showmask="true" style="text-align:left; ">
  61. <choices>
  62. <itemset nodeset="/root/hidden/commoninfo/perchgrlist1">
  63. <label ref="cdnm"/>
  64. <value ref="cdid"/>
  65. </itemset>
  66. </choices>
  67. </col>
  68. <col editmode="inputsearch" itemcount="20" ref="perchgr_2" type="input" format="yyyy/mm/dd" mask="include" showmask="true" style="text-align:center; "/>
  69. <col editmode="inputsearch" itemcount="20" ref="perchgr_3" type="combo" showmask="true" style="text-align:center; ">
  70. <choices>
  71. <itemset nodeset="/root/hidden/commoninfo/perchgrlist3">
  72. <label ref="cdnm"/>
  73. <value ref="cdid"/>
  74. </itemset>
  75. </choices>
  76. </col>
  77. <col editmode="inputsearch" itemcount="20" ref="perchgr_4" type="combo" showmask="true" style="text-align:left; ">
  78. <choices>
  79. <itemset nodeset="/root/hidden/commoninfo/perchgrlist4">
  80. <label ref="cdnm"/>
  81. <value ref="cdid"/>
  82. </itemset>
  83. </choices>
  84. </col>
  85. <col editmode="inputsearch" itemcount="20" ref="perchgr_5" type="combo" showmask="true" style="text-align:left; ">
  86. <choices>
  87. <itemset nodeset="/root/hidden/commoninfo/perchgrlist5">
  88. <label ref="cdnm"/>
  89. <value ref="cdid"/>
  90. </itemset>
  91. </choices>
  92. </col>
  93. <col ref="cmt" type="input"/>
  94. <col ref="bigo" type="input"/>
  95. <col ref="instcd" visibility="hidden"/>
  96. <col ref="seqno" visibility="hidden"/>
  97. <col ref="oldsanctflag" visibility="hidden"/>
  98. <col ref="oldacntcd" visibility="hidden"/>
  99. <col/>
  100. <col/>
  101. <col/>
  102. <col/>
  103. <col/>
  104. <col/>
  105. <col/>
  106. <col/>
  107. <col/>
  108. <col/>
  109. <col/>
  110. </datagrid>
  111. <group id="group2" style="left:0px; top:0px; width:465px; height:13px; ">
  112. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:255px; height:14px; color:#000000; ">원가 부문코드 등록 ( w_won0e030 )</caption>
  113. </group>
  114. <button id="btn_chrtdeptdel" class="btn2_letter3" style="left:1012px; top:20px; width:53px; height:19px; ">
  115. <caption>행삭제</caption>
  116. <script type="javascript" ev:event="DOMActivate">
  117. <![CDATA[
  118. var acntcd = grd_acntperchgrlist.valueMatrix(grd_acntperchgrlist.row,grd_acntperchgrlist.colRef("acntcd"));
  119. if((grd_acntperchgrlist.rowStatus(grd_acntperchgrlist.row)=="1")||(grd_acntperchgrlist.rowStatus(grd_acntperchgrlist.row)=="3")){
  120. grd_acntperchgrlist.deleteRow(grd_acntperchgrlist.row);
  121. }else{
  122. grd_acntperchgrlist.rowStatus(grd_acntperchgrlist.row) ="4";
  123. }
  124. ]]>
  125. </script>
  126. </button>
  127. <button id="btn_chrtdeptadd" class="btn2_letter3" style="left:955px; top:20px; width:53px; height:19px; ">
  128. <caption>행추가</caption>
  129. <script type="javascript" ev:event="DOMActivate">
  130. <![CDATA[
  131. grd_acntperchgrlist.addRow(false);
  132. model.setValue("/root/main/acntperchgrinfo/acntperchgrlist["+grd_acntperchgrlist.row+"]/instcd",getUserInfo("dutplceinstcd"));
  133. model.setFocus("grd_acntperchgrlist");
  134. grd_acntperchgrlist.col = grd_acntperchgrlist.colRef("sanctflag");
  135. grd_acntperchgrlist.editCell();
  136. ]]>
  137. </script>
  138. </button>
  139. <button id="btn_chrtdeptsave" class="btn4_letter2" style="left:1069px; top:17px; width:56px; height:22px; ">
  140. <caption>저장</caption>
  141. <script type="javascript" ev:event="DOMActivate">
  142. <![CDATA[
  143. model.makeValue("/root/send/savedata/acntperchgrlist",grd_acntperchgrlist.getUpdateData());
  144. if(submit("TXRSA00101")){
  145. btn_search.dispatch("DOMActivate");
  146. }
  147. ]]>
  148. </script>
  149. </button>
  150. <button id="btn_search" class="btn1_letter2" navindex="4" style="left:1129px; top:17px; width:56px; height:22px; text-align:left; ">
  151. <caption>조회</caption>
  152. <script type="javascript" ev:event="DOMActivate">
  153. <![CDATA[
  154. model.makeValue("/root/send/reqdata/instcd", getUserInfo("dutplceinstcd"));
  155. if(submit("TRRSA00102")){
  156. model.removeNodeset("/root/send/reqdata");
  157. }
  158. ]]>
  159. </script>
  160. </button>
  161. <group id="grp_title" style="left:5px; top:550px; width:1180px; height:170px; vertical-align:top; ">
  162. <shape id="roundrect1" class="roundrect_search" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:2px; width:1175px; height:161px; background-color:#fffbf2; border-color:#ffd799; "/>
  163. <caption id="cap_instcd" class="search_name" style="left:5px; top:9px; width:86px; height:17px; ">부문코드 :</caption>
  164. <select1 id="cmb_instcd" ref="/root/send/goodlist/instcd" class="combo_search" disabled="true" appearance="minimal" style="left:90px; top:9px; width:148px; height:19px; ">
  165. <choices>
  166. <itemset nodeset="/root/init/instcd">
  167. <label ref="cdnm"/>
  168. <value ref="cdid"/>
  169. </itemset>
  170. </choices>
  171. </select1>
  172. <caption id="caption22" class="search_name" style="left:340px; top:140px; width:80px; height:17px; ">LeveL :</caption>
  173. <caption id="caption23" class="search_name" style="left:610px; top:30px; width:104px; height:17px; ">상위부문 명 :</caption>
  174. <caption id="caption25" class="search_name" style="left:5px; top:140px; width:86px; height:17px; ">종료부문 :</caption>
  175. <caption id="caption27" class="search_name" style="left:630px; top:8px; width:113px; height:17px; ">상위부문 :</caption>
  176. <caption id="caption29" class="search_name" style="left:595px; top:74px; width:118px; height:17px; ">일반관리 new :</caption>
  177. <caption id="caption31" class="search_name" style="left:602px; top:52px; width:111px; height:17px; ">일반관리 old :</caption>
  178. <input id="ipt_goodnm" ref="/root/send/goodlist/goodnm" class="input_search" style="left:715px; top:8px; width:85px; height:19px; "/>
  179. <input id="ipt_prodcmpycd" ref="/root/send/goodlist/prodcmpycd" class="input_search" style="left:715px; top:74px; width:84px; height:19px; ">
  180. <script type="javascript" ev:event="xforms-value-changed">
  181. <![CDATA[
  182. if ( model.getValue(ipt_prodcmpycd.attribute("ref")).length == 0 ) model.setValue(ipt_prodcmpynm.attribute("ref"),"");
  183. else rszfValidationCheck("TRRSD00161", "prodcmpylist", "refcond,prodcmpynm"
  184. ,"prodcmpycd," + ipt_prodcmpycd.value ,"","prodcmpycd,prodcmpynm"
  185. ,ipt_prodcmpycd,"SPRSD00160","","");
  186. model.refresh();
  187. ]]>
  188. </script>
  189. </input>
  190. <input id="ipt_prodcmpynm" ref="/root/send/goodlist/prodcmpynm" class="output_fix" navindex="-1" editable="false" style="left:1020px; top:52px; width:143px; height:19px; "/>
  191. <input id="ipt_maincustlastsuplplcenm" ref="/root/send/goodlist/maincustlastsuplplcenm" class="output_fix" navindex="-1" editable="false" style="left:1020px; top:8px; width:143px; height:19px; "/>
  192. <input id="ipt_maincustlastsuplplce" ref="/root/send/goodlist/maincustlastsuplplce" class="input_search" style="left:715px; top:30px; width:210px; height:19px; ">
  193. <script type="javascript" ev:event="xforms-value-changed">
  194. <![CDATA[
  195. misfSearchCust(ipt_maincustlastsuplplcenm,cmb_instcd);
  196. ]]>
  197. </script>
  198. </input>
  199. <input id="ipt_suppcustnm" ref="/root/send/goodlist/suppcustnm" class="output_fix" navindex="-1" editable="false" style="left:1020px; top:30px; width:143px; height:19px; "/>
  200. <input id="ipt_suppcustcd" ref="/root/send/goodlist/suppcustcd" class="input_search" style="left:715px; top:52px; width:84px; height:19px; ">
  201. <script type="javascript" ev:event="xforms-value-changed">
  202. <![CDATA[
  203. misfSearchCust(ipt_suppcustnm,cmb_instcd);
  204. ]]>
  205. </script>
  206. </input>
  207. <input id="ipt_edicd" ref="/root/send/goodlist/edicd" class="input_search" style="left:411px; top:53px; width:148px; height:19px; "/>
  208. <input id="ipt_goodcd" ref="/root/send/goodlist/sch_goodcd" class="input_search" imemode="disabled" _chartype="upper" style="left:411px; top:9px; width:148px; height:19px; "/>
  209. <caption id="caption33" class="search_name" style="left:326px; top:9px; width:86px; height:17px; ">배부코드 :</caption>
  210. <caption id="caption34" class="search_name" style="left:283px; top:53px; width:129px; height:17px; ">배부코드 (시행) :</caption>
  211. <caption id="caption35" class="search_name" style="left:271px; top:75px; width:142px; height:17px; ">배부코드 명(시행) :</caption>
  212. <caption id="caption36" class="search_name" style="left:321px; top:97px; width:91px; height:17px; ">공통.부문 :</caption>
  213. <caption id="caption1" style="left:832px; top:146px; width:5px; height:20px; font-weight:bold; ">~</caption>
  214. <select1 id="cmb_purcflag" ref="/root/send/goodlist/purcflag" class="combo_search" appearance="minimal" style="left:90px; top:140px; width:148px; height:19px; ">
  215. <choices>
  216. <itemset nodeset="/root/init/purcflag">
  217. <label ref="cdnm"/>
  218. <value ref="cdid"/>
  219. </itemset>
  220. </choices>
  221. </select1>
  222. <select1 id="cmb_stocmngtflag" ref="/root/send/goodlist/stocmngtflag" class="combo_search" appearance="minimal" style="left:411px; top:140px; width:74px; height:19px; ">
  223. <choices>
  224. <itemset nodeset="/root/init/stocmngtflag">
  225. <label ref="cdnm"/>
  226. <value ref="cdid"/>
  227. </itemset>
  228. </choices>
  229. </select1>
  230. <select1 id="cmb_conflag" ref="/root/send/goodlist/conflag" class="combo_search" appearance="minimal" style="left:411px; top:75px; width:184px; height:19px; ">
  231. <choices>
  232. <itemset nodeset="/root/init/conflag">
  233. <label ref="cdnm"/>
  234. <value ref="cdid"/>
  235. </itemset>
  236. </choices>
  237. </select1>
  238. <select1 id="cmb_plceordbase" ref="/root/send/goodlist/plceordbase" class="combo_search" appearance="minimal" style="left:411px; top:97px; width:148px; height:19px; ">
  239. <choices>
  240. <itemset nodeset="/root/init/plceordbase">
  241. <label ref="cdnm"/>
  242. <value ref="cdid"/>
  243. </itemset>
  244. </choices>
  245. </select1>
  246. <caption id="cap_reqflag" class="search_name" style="left:326px; top:119px; width:86px; height:17px; ">부문분류 :</caption>
  247. <select1 id="cmb_reqflag" ref="/root/send/goodlist/reqflag" class="combo_search" appearance="minimal" style="left:411px; top:119px; width:148px; height:19px; ">
  248. <choices>
  249. <itemset nodeset="/root/init/reqflag">
  250. <label ref="cdnm"/>
  251. <value ref="cdid"/>
  252. </itemset>
  253. </choices>
  254. </select1>
  255. <caption id="caption3" class="search_name" style="left:5px; top:119px; width:86px; height:17px; ">시작부문 :</caption>
  256. <select1 id="cmb_reqmthd" ref="/root/send/goodlist/reqmthd" class="combo_search" appearance="minimal" style="left:90px; top:119px; width:148px; height:19px; ">
  257. <choices>
  258. <itemset nodeset="/root/init/reqmthd">
  259. <label ref="cdnm"/>
  260. <value ref="cdid"/>
  261. </itemset>
  262. </choices>
  263. </select1>
  264. <select1 id="rdo_allsizeyn" ref="/root/send/goodlist/allsizeyn" class="radio_search" visibility="visible" appearance="full" cols="2" overflow="visible" style="left:90px; top:100px; width:145px; height:20px; background-color:transparent; border-style:none; ">
  265. <choices>
  266. <item>
  267. <label>완료</label>
  268. <value>1</value>
  269. </item>
  270. <item>
  271. <label>진행중</label>
  272. <value>0</value>
  273. </item>
  274. </choices>
  275. </select1>
  276. <caption id="caption82" class="search_name" style="left:311px; top:31px; width:99px; height:17px; ">배부코드명 :</caption>
  277. <input id="ipt_oldcd_search" ref="/root/send/goodlist/oldcd" class="input_search" maxlength="12" style="left:411px; top:31px; width:189px; height:19px; "/>
  278. <caption id="caption94" class="search_name" style="left:5px; top:75px; width:86px; height:17px; ">처리순서 :</caption>
  279. <caption id="caption96" class="search_name" style="left:5px; top:97px; width:86px; height:17px; ">최종 :</caption>
  280. <select1 id="cmb_lrgcd_search" ref="/root/send/goodlist/lrgcd" class="combo_search" appearance="minimal" style="left:90px; top:53px; width:148px; height:19px; ">
  281. <choices>
  282. <itemset>
  283. <label/>
  284. <value/>
  285. </itemset>
  286. </choices>
  287. <script type="javascript" ev:event="xforms-value-changed">
  288. <![CDATA[
  289. rszfLMSComboList(model.getValue(cmb_goodflag.attribute("ref")), cmb_lrgcd_search.value, "", "cmb_mdlcd_search", "", "M", "Y", "Y");
  290. cmb_mdlcd_search.value="";
  291. cmb_mdlcd_search.refresh();
  292. cmb_mdlcd_search.dispatch("xforms-value-changed");
  293. //model.refresh();
  294. ]]>
  295. </script>
  296. </select1>
  297. <select1 id="cmb_goodflag" ref="/root/send/goodlist/goodflag" class="combo_s_essential" appearance="minimal" editmode="search" style="left:90px; top:31px; width:215px; height:19px; ">
  298. <choices>
  299. <itemset nodeset="/root/init/goodflag">
  300. <label ref="cdnm"/>
  301. <value ref="cdid"/>
  302. </itemset>
  303. </choices>
  304. <script type="javascript" ev:event="xforms-value-changed">
  305. <![CDATA[
  306. misfGridInit(grd_costlist);
  307. misfGridInit(grd_goodhistory);
  308. // rszfLMSComboList(model.getValue(cmb_goodflag.attribute("ref")), "", "", "cmb_lrgcd_search", "", "L", "", "Y");
  309. rszfLMSComboList(model.getValue(cmb_goodflag.attribute("ref")), "", "", "cmb_lrgcd_search", "", "L", "Y", "Y");
  310. cmb_mdlcd_search.value='';
  311. cmb_smlcd_search.value='';
  312. model.refresh();
  313. //misfGridInit(grd_gooddetlist);
  314. //btn_search.dispatch("DOMActivate");
  315. ]]>
  316. </script>
  317. </select1>
  318. <select1 id="cmb_mdlcd_search" ref="/root/send/goodlist/mdlcd" class="combo_search" appearance="minimal" style="left:90px; top:75px; width:148px; height:19px; ">
  319. <choices>
  320. <itemset>
  321. <label/>
  322. <value/>
  323. </itemset>
  324. </choices>
  325. <script type="javascript" ev:event="xforms-value-changed">
  326. <![CDATA[
  327. rszfLMSComboList(model.getValue(cmb_goodflag.attribute("ref")), cmb_lrgcd_search.value, cmb_mdlcd_search.value, "cmb_smlcd_search", "", "S", "Y", "Y");
  328. cmb_smlcd_search.value="";
  329. //model.refresh();
  330. cmb_smlcd_search.refresh();
  331. ]]>
  332. </script>
  333. </select1>
  334. <caption id="caption90" class="search_name" style="left:5px; top:31px; width:86px; height:17px; ">부문명칭 :</caption>
  335. <caption id="caption91" class="search_name" style="left:5px; top:53px; width:86px; height:17px; ">관리구분 :</caption>
  336. <input id="input2" ref="/root/send/goodlist/goodnm" class="input_search" style="left:715px; top:140px; width:445px; height:19px; "/>
  337. <caption id="caption4" class="search_name" style="left:625px; top:140px; width:113px; height:17px; ">참고사항 :</caption>
  338. <caption id="caption2" class="search_name" style="left:910px; top:10px; width:107px; height:17px; ">OCS 부서명 :</caption>
  339. <caption id="caption7" class="search_name" style="left:925px; top:35px; width:107px; height:17px; ">입원/외래 :</caption>
  340. <caption id="caption8" class="search_name" style="left:925px; top:55px; width:107px; height:17px; ">OCS 부서 :</caption>
  341. <input id="input1" ref="/root/send/goodlist/prodcmpynm" class="output_fix" navindex="-1" editable="false" style="left:1020px; top:74px; width:140px; height:19px; "/>
  342. <caption id="caption5" class="search_name" style="left:930px; top:74px; width:107px; height:17px; ">Clinic ID :</caption>
  343. <input id="input3" ref="/root/send/goodlist/prodcmpynm" class="output_fix" navindex="-1" editable="false" style="left:1020px; top:97px; width:140px; height:19px; "/>
  344. <input id="input4" ref="/root/send/goodlist/prodcmpynm" class="output_fix" navindex="-1" editable="false" style="left:1020px; top:119px; width:140px; height:19px; "/>
  345. </group>
  346. <select1 id="cmb_sanctflag" ref="/root/cond/sanctflag" class="combo_s_fix" visibility="hidden" appearance="minimal" style="left:520px; top:20px; width:135px; height:19px; text-align:center; ">
  347. <choices>
  348. <itemset nodeset="/root/init/sanctflag">
  349. <label ref="cdnm"/>
  350. <value ref="cdid"/>
  351. </itemset>
  352. </choices>
  353. </select1>
  354. </group>
  355. </xhtml:body>
  356. </xhtml:html>