SMLPC10200_통합기본세부파트등록.xrw 44 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <!--
  3. * 제 목 : SMLPC00200_기본세부파트등록.xrw
  4. * 설 명 : 기본세부파트등록 화면
  5. * 설 계 자 : (주)에이씨케이 - 황상미
  6. * 작 성 자 : (주)에이씨케이 - 황상미
  7. * 작 성 일 : 2007.01.04
  8. * 수정이력 :
  9. * 기 타 :
  10. -->
  11. <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/css" ?>
  12. <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">
  13. <xhtml:head>
  14. <xhtml:title/>
  15. <model id="model1">
  16. <instance id="instance1">
  17. <root>
  18. <main>
  19. <basepartcnts>
  20. <basepartlist>
  21. <instcd/>
  22. <basepartcd/>
  23. <basepartnm/>
  24. <basepartabbr/>
  25. </basepartlist>
  26. </basepartcnts>
  27. <detlpartcnts>
  28. <detlpartlist>
  29. <instcd/>
  30. <detlpartcd/>
  31. <detlpartnm/>
  32. <detlpartabbr/>
  33. </detlpartlist>
  34. </detlpartcnts>
  35. <partinfo>
  36. <basepartinfo>
  37. <instcd/>
  38. <basepartcd/>
  39. <basepartnm/>
  40. <basepartabbr/>
  41. <delflagcd/>
  42. <orgdelflagcd/>
  43. <fstrgstdt/>
  44. <fstrgstrid/>
  45. <lastrgstdt/>
  46. <lastrgstrid/>
  47. </basepartinfo>
  48. <detlpartinfo>
  49. <instcd/>
  50. <detlpartcd/>
  51. <detlpartnm/>
  52. <detlpartabbr/>
  53. <delflagcd/>
  54. <fstrgstdt/>
  55. <fstrgstrid/>
  56. <lastrgstdt/>
  57. <lastrgstrid/>
  58. </detlpartinfo>
  59. </partinfo>
  60. </main>
  61. <send>
  62. <data1/>
  63. <data2/>
  64. <data3/>
  65. <data4/>
  66. <data5/>
  67. <data6/>
  68. <data7/>
  69. </send>
  70. <init>
  71. </init>
  72. <hidden>
  73. <userinfo>
  74. <instcd/>
  75. </userinfo>
  76. <basepartdelflagcd>0</basepartdelflagcd>
  77. <detlpartdelflagcd>0</detlpartdelflagcd>
  78. <refflag>1</refflag>
  79. <refval/>
  80. <basecdupdtflag>1</basecdupdtflag>
  81. <detlcdupdtflag>1</detlcdupdtflag>
  82. </hidden>
  83. </root>
  84. </instance>
  85. <submission id="TRLPC10201" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/basepartcnts/basepartlist"/>
  86. <submission id="TRLPC10202" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/detlpartcnts/detlpartlist"/>
  87. <submission id="TRLPC10203" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/partinfo/basepartinfo"/>
  88. <submission id="TRLPC10204" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/partinfo/detlpartinfo"/>
  89. <submission id="TXLPC10201" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/msg"/>
  90. <submission id="TXLPC10202" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/msg"/>
  91. <script src="../../../com/commonweb/js/common.js" type="javascript"/>
  92. <script src="../../../com/commonweb/js/tfHelper.js" type="javascript"/>
  93. <script src="../../../lis/commonweb/js/LPZ001.js" type="javascript"/>
  94. <script ev:event="xforms-ready" type="javascript">
  95. <![CDATA[
  96. fExeInitialize();
  97. ]]>
  98. </script>
  99. <!-- public Script Start -->
  100. <script type="javascript">
  101. <![CDATA[
  102. /* @group : 기본세부파트등록 화면
  103. * @ver : 2007.01.04 (CMCDEV-0001)
  104. * @by : 황상미(ACK)
  105. * @-----------------------------------
  106. * @type : function
  107. * @access : public
  108. * @desc : 화면초기화 함수
  109. */
  110. function fExeInitialize(){
  111. model.removeNodeset("/root/main/basepartcnts/basepartlist");
  112. model.removeNodeset("/root/main/detlpartcnts/detlpartlist");
  113. model.resetInstanceNode("/root/main/partinfo/basepartinfo");
  114. model.resetInstanceNode("/root/main/partinfo/detlpartinfo");
  115. model.setValue("/root/hidden/basepartdelflagcd", "0");
  116. model.setValue("/root/hidden/detlpartdelflagcd", "0");
  117. model.setValue("/root/hidden/basecdupdtflag", "1");
  118. model.setValue("/root/hidden/detlcdupdtflag", "1");
  119. model.setValue("/root/hidden/userinfo/instcd", getUserInfo("dutplceinstcd")); //instcd
  120. fExeControlChng("B", "false");
  121. fExeControlChng("D", "false");
  122. model.refresh();
  123. }
  124. /* @group : 기본세부파트등록 화면
  125. * @ver : 2007.01.04 (CMCDEV-0001)
  126. * @by : 황상미(ACK)
  127. * @-----------------------------------
  128. * @type : function
  129. * @access : public
  130. * @desc : 조회/수정/신규 컨트롤 사용여부 변경 함수
  131. * wGbn : 작업구분 - B(기본파트)/D(세부파트) iGbn : 입력구분 - true/false
  132. */
  133. function fExeControlChng(wGbn, iGbn){
  134. var vCtrIptArr = new Array();
  135. var sGbn = "";
  136. if(iGbn == "true"){
  137. sGbn = "false";
  138. }else{
  139. sGbn = "true";
  140. }
  141. var vCtrIptArr = new Array(); //입력 컨트롤
  142. var vCtrSelArr = new Array(); //선택 컨트롤
  143. if(wGbn == "B"){
  144. vCtrIptArr[0] = document.controls("ipt_basepartcd"); //기본파트코드 입력박스
  145. vCtrIptArr[1] = document.controls("ipt_basepartnm"); //기본파트명칭 입력박스
  146. vCtrIptArr[2] = document.controls("ipt_basepartabbr"); //기본파트약칭 입력박스
  147. vCtrSelArr[0] = document.controls("rdo_basepartdelflagcd"); //기본파트 사용여부 선택박스
  148. }else{
  149. vCtrIptArr[0] = document.controls("ipt_detlpartcd"); //세부파트코드 입력박스
  150. vCtrIptArr[1] = document.controls("ipt_detlpartnm"); //세부파트명칭 입력박스
  151. vCtrIptArr[2] = document.controls("ipt_detlpartabbr"); //세부파트약칭 입력박스
  152. vCtrSelArr[0] = document.controls("rdo_detlpartdelflagcd"); //세부파트 사용여부 선택박스
  153. }
  154. for(var idx = 0; idx < vCtrIptArr.length; idx++){
  155. vCtrIptArr[idx].attribute("editable") = iGbn;
  156. }
  157. for(var idx = 0; idx < vCtrSelArr.length; idx++){
  158. vCtrSelArr[idx].disabled = sGbn;
  159. }
  160. }
  161. /* @group : 기본세부파트등록 화면
  162. * @ver : 2007.01.04 (CMCDEV-0001)
  163. * @by : 황상미(ACK)
  164. * @-----------------------------------
  165. * @type : function
  166. * @access : public
  167. * @desc : 기본파트조회 함수
  168. * refWorkFlag : B_List(기본파트리스트조회), D_List(세부파트리스트조회),
  169. * B_Info(기본파트정보조회), D_Info(세부파트정보조회)
  170. */
  171. function fGetRefData(refWorkFlag){
  172. lpzfExeRemakeSendNode(8); //send data reset function
  173. var curBRow, curDRow = -1;
  174. var refFlag = model.getValue("/root/hidden/refflag");
  175. var refVal = model.getValue("/root/hidden/refval");
  176. switch(refWorkFlag){
  177. case "B_List": //기본파트 리스트조회
  178. model.resetInstanceNode("/root/main/basepartcnts"); //기존 기본파트리스트 노드 Reset
  179. model.removeNodeset("/root/main/detlpartcnts/detlpartlist");
  180. model.resetInstanceNode("/root/main/partinfo");
  181. model.setValue("/root/send/data1", refWorkFlag); //조회영역구분
  182. model.setValue("/root/send/data2", model.getValue("/root/hidden/refflag")); //조회조건 조회구분
  183. model.setValue("/root/send/data3", model.getValue("/root/hidden/refval")); //조회조건 조회값
  184. model.setValue("/root/send/data4", model.getValue("/root/hidden/basepartdelflagcd")); //기본파트 사용구분
  185. model.setValue("/root/send/data5", model.getValue("/root/hidden/detlpartdelflagcd")); //세부파트 사용구분
  186. model.setValue("/root/send/data6", ""); //기본파트 선택코드
  187. model.setValue("/root/send/data7", ""); //세부파트 선택코드
  188. model.setValue("/root/send/data8", model.getValue("/root/hidden/userinfo/instcd")); //병원코드
  189. submit("TRLPC10201")
  190. model.removenode("/root/main/basepartcnts/message");
  191. break;
  192. case "D_List": //세부파트 리스트조회
  193. model.resetInstanceNode("/root/main/detlpartcnts"); //기존 세부파트리스트 노드 Reset
  194. curBRow = grd_basepart.row; //기본파트에서 선택된 Row
  195. model.setValue("/root/send/data1", refWorkFlag); //조회영역구분
  196. model.setValue("/root/send/data2", ""); //기본파트 사용구분
  197. model.setValue("/root/send/data3", model.getValue("/root/hidden/detlpartdelflagcd")); //세부파트 사용구분
  198. model.setValue("/root/send/data4", model.getValue("/root/main/basepartcnts/basepartlist[" + curBRow + "]/basepartcd")); //기본파트 선택코드
  199. model.setValue("/root/send/data5", ""); //세부파트 선택코드
  200. model.setValue("/root/send/data6", model.getValue("/root/hidden/userinfo/instcd")); //병원코드
  201. submit("TRLPC10202");
  202. model.removenode("/root/main/detlpartcnts/message");
  203. //* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
  204. break;
  205. case "B_Info": //기본파트 정보조회
  206. model.resetInstanceNode("/root/main/partinfo"); //기존 기본파트/세부파트정보 노드 Reset
  207. curBRow = grd_basepart.row; //기본파트에서 선택된 Row
  208. model.setValue("/root/send/data1", refWorkFlag); //조회영역구분
  209. model.setValue("/root/send/data2", model.getValue("/root/hidden/basepartdelflagcd")); //기본파트 사용구분
  210. model.setValue("/root/send/data3", ""); //세부파트 사용구분
  211. model.setValue("/root/send/data4", model.getValue("/root/main/basepartcnts/basepartlist[" + curBRow + "]/basepartcd")); //기본파트 선택코드
  212. model.setValue("/root/send/data5", ""); //세부파트 선택코드
  213. model.setValue("/root/send/data6", model.getValue("/root/main/basepartcnts/basepartlist[" + curBRow + "]/instcd")); //병원코드
  214. submit("TRLPC10203");
  215. model.removenode("/root/main/partinfo/message");
  216. if(model.getValue("/root/hidden/basecdupdtflag") == "3"){
  217. model.setValue("/root/hidden/basecdupdtflag", "1");
  218. fExeControlChng("B", "false");
  219. }
  220. if(model.getValue("/root/hidden/detlcdupdtflag") != "1"){
  221. model.setValue("/root/hidden/detlcdupdtflag", "1");
  222. fExeControlChng("D", "false");
  223. }
  224. break;
  225. case "D_Info": //세부파트 정보조회
  226. model.resetInstanceNode("/root/main/partinfo/detlpartinfo"); //기존 세부파트정보 노드 Reset
  227. curBRow = grd_basepart.row;
  228. curDRow = grd_detlpart.row; //세부파트에서 선택된 Row
  229. model.setValue("/root/send/data1", refWorkFlag); //조회영역구분
  230. model.setValue("/root/send/data2", ""); //기본파트 사용구분
  231. model.setValue("/root/send/data3", model.getValue("/root/hidden/detlpartdelflagcd")); //세부파트 사용구분
  232. model.setValue("/root/send/data4", model.getValue("/root/main/partinfo/basepartinfo/basepartcd")); //기본파트 선택코드
  233. model.setValue("/root/send/data5", model.getValue("/root/main/detlpartcnts/detlpartlist[" + curDRow + "]/detlpartcd")); //세부파트 선택코드
  234. model.setValue("/root/send/data6", model.getValue("/root/main/partinfo/basepartinfo/instcd")); //병원코드
  235. submit("TRLPC10204");
  236. model.removenode("/root/main/partinfo/message");
  237. if(model.getValue("/root/hidden/detlcdupdtflag") == "3"){
  238. model.setValue("/root/hidden/detlcdupdtflag", "1");
  239. fExeControlChng("D", "false");
  240. }
  241. break;
  242. case "R_Val":
  243. break;
  244. default:
  245. return;
  246. }
  247. model.refresh();
  248. }
  249. /* @group : 기본세부파트등록 화면
  250. * @ver : 2007.01.04 (CMCDEV-0001)
  251. * @by : 황상미(ACK)
  252. * @-----------------------------------
  253. * @type : function
  254. * @access : public
  255. * @desc : 기본/세부파트 수정(신규) 함수
  256. */
  257. function fSetUpdtData(){
  258. var bsUpdtGbn = model.getValue("/root/hidden/basecdupdtflag"); //기본파트 처리부 조회(1)/수정(2)/입력(3) 구분
  259. var dtUpdtGbn = model.getValue("/root/hidden/detlcdupdtflag"); //세부파트 처리부 조회(1)/수정(2)/입력(3) 구분
  260. if (bsUpdtGbn == "1" && dtUpdtGbn == "1") {
  261. messageBox("조회작업 중", "E008");
  262. return;
  263. }
  264. lpzfExeRemakeSendNode(3); //send data reset function
  265. model.setValue("/root/main/partinfo/basepartinfo/instcd", model.getValue("/root/hidden/userinfo/instcd")); //instcd
  266. model.setValue("/root/main/partinfo/detlpartinfo/instcd", model.getValue("/root/hidden/userinfo/instcd")); //instcd
  267. //기본파트 신규/수정 작업
  268. if(bsUpdtGbn == "2" || bsUpdtGbn == "3"){
  269. //필수 입력부분 확인 * * * * * * * * * * * * * * * * * * * * * * * * * * * *
  270. if(model.getValue("/root/main/partinfo/basepartinfo/basepartcd") == ""){
  271. messageBox("기본파트 코드 항목을", "C001");
  272. model.setFocus("ipt_basepartcd");
  273. return;
  274. }else if(model.getValue("/root/main/partinfo/basepartinfo/basepartnm") == ""){
  275. messageBox("기본파트 명칭 항목을 ", "C001");
  276. model.setFocus("ipt_basepartnm");
  277. return;
  278. }else if(model.getValue("/root/main/partinfo/basepartinfo/basepartcd").length > 2){
  279. messageBox("기본파트코드를 2자리 이하로 입력하세요", "C");
  280. return;
  281. }
  282. //* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
  283. //저장여부 확인Message
  284. if(lpzfExeBfChkMsg("UI") == false){
  285. //6:예, 7:아니오, 2:취소
  286. return;
  287. }
  288. model.setValue("/root/send/data1", bsUpdtGbn); //수정/신규 구분
  289. model.setValue("/root/send/data2", "-"); //기본파트코드(세부파트에만해당)
  290. model.copyNode("/root/send/data3", "/root/main/partinfo/basepartinfo"); //기본파트 입력 Data
  291. if(submit("TXLPC10201") == true){
  292. messageBox("저장이", "I002");
  293. //저장이 완료된 경우 Data 화면에 반영***************************************************
  294. var prest_row;
  295. if(bsUpdtGbn == "3"){
  296. grd_basepart.addItem();
  297. prest_row = grd_basepart.rows - 1;
  298. }else{
  299. if(model.getValue("/root/main/partinfo/basepartinfo/delflagcd") ==
  300. model.getValue("/root/hidden/basepartdelflagcd")){
  301. prest_row = grd_basepart.row;
  302. }else{
  303. prest_row == -1;
  304. }
  305. }
  306. if(prest_row > 0){
  307. model.setValue("/root/main/basepartcnts/basepartlist[" + prest_row + "]/instcd",
  308. model.getValue("/root/main/partinfo/basepartinfo/instcd"));
  309. model.setValue("/root/main/basepartcnts/basepartlist[" + prest_row + "]/basepartcd",
  310. model.getValue("/root/main/partinfo/basepartinfo/basepartcd"));
  311. model.setValue("/root/main/basepartcnts/basepartlist[" + prest_row + "]/basepartnm",
  312. model.getValue("/root/main/partinfo/basepartinfo/basepartnm"));
  313. model.setValue("/root/main/basepartcnts/basepartlist[" + prest_row + "]/basepartabbr",
  314. model.getValue("/root/main/partinfo/basepartinfo/basepartabbr"));
  315. }else{
  316. for(var i = 1; i < grd_basepart.rows; i++){
  317. prest_row = grd_basepart.findRow(model.getValue("/root/main/partinfo/basepartinfo/basepartcd"), i, 2, true, true);
  318. grd_basepart.deleteItem(prest_row);
  319. break;
  320. }
  321. }
  322. model.removeNodeset("/root/main/detlpartcnts/detlpartlist");
  323. //************************************************************************************
  324. }else{
  325. messageBox("저장이", "E009");
  326. }
  327. model.removenode("/root/main/message")
  328. model.resetInstanceNode("/root/main/partinfo");
  329. }
  330. //세부파트 신규/수정 작업
  331. if(dtUpdtGbn == "2" || dtUpdtGbn == "3"){
  332. var b_cd = model.getValue("/root/main/partinfo/basepartinfo/basepartcd");
  333. var b_len = b_cd.length;
  334. //필수 입력부분 확인 * * * * * * * * * * * * * * * * * * * * * * * * * * * *
  335. if(model.getValue("/root/main/partinfo/detlpartinfo/detlpartcd") == ""){
  336. messageBox("세부파트 코드 항목을", "C001");
  337. model.setFocus("ipt_detlpartcd");
  338. return;
  339. }else if(model.getValue("/root/main/partinfo/detlpartinfo/detlpartnm") == ""){
  340. messageBox("세부파트 명칭 항목을", "C001");
  341. model.setFocus("ipt_detlpartnm");
  342. return;
  343. }else if(model.getValue("/root/main/partinfo/detlpartinfo/detlpartcd").length > 3){
  344. messageBox("세부파트코드를 3자리 이하로 입력하세요", "C");
  345. return;
  346. }
  347. //* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
  348. //저장여부 확인Message
  349. if(lpzfExeBfChkMsg("UI") == false){
  350. //6:예, 7:아니오, 2:취소
  351. return;
  352. }
  353. model.setValue("/root/send/data1", dtUpdtGbn); //수정/신규 구분
  354. model.setValue("/root/send/data2", model.getValue("/root/main/partinfo/basepartinfo/basepartcd")); //기본파트코드(세부파트에만해당)
  355. model.copyNode("/root/send/data3", "/root/main/partinfo/detlpartinfo"); //세부파트 입력 Data
  356. if(submit("TXLPC10202") == true){
  357. messageBox("저장이", "I002");
  358. //저장이 완료된 경우 Data 화면에 반영***************************************************
  359. var prest_row;
  360. if(dtUpdtGbn == "3"){
  361. grd_detlpart.addItem();
  362. prest_row = grd_detlpart.rows - 1;
  363. }else{
  364. if(model.getValue("/root/main/partinfo/detlpartinfo/delflagcd") ==
  365. model.getValue("/root/hidden/detlpartdelflagcd")){
  366. prest_row = grd_detlpart.row;
  367. }else{
  368. prest_row == -1;
  369. }
  370. }
  371. if(prest_row > 0){
  372. model.setValue("/root/main/detlpartcnts/detlpartlist[" + prest_row + "]/instcd",
  373. model.getValue("/root/main/partinfo/detlpartinfo/instcd"));
  374. model.setValue("/root/main/detlpartcnts/detlpartlist[" + prest_row + "]/detlpartcd",
  375. model.getValue("/root/main/partinfo/detlpartinfo/detlpartcd"));
  376. model.setValue("/root/main/detlpartcnts/detlpartlist[" + prest_row + "]/detlpartnm",
  377. model.getValue("/root/main/partinfo/detlpartinfo/detlpartnm"));
  378. model.setValue("/root/main/detlpartcnts/detlpartlist[" + prest_row + "]/detlpartabbr",
  379. model.getValue("/root/main/partinfo/detlpartinfo/detlpartabbr"));
  380. }else{
  381. for(var i = 1; i < grd_detlpart.rows; i++){
  382. prest_row = grd_detlpart.findRow(model.getValue("/root/main/partinfo/detlpartinfo/detlpartcd"), i, 2, true, true);
  383. grd_detlpart.deleteItem(prest_row);
  384. break;
  385. }
  386. }
  387. //************************************************************************************
  388. }else{
  389. messageBox("저장이", "E009");
  390. }
  391. model.removenode("/root/main/message");
  392. model.resetInstanceNode("/root/main/partinfo/detlpartinfo");
  393. }
  394. model.setValue("/root/hidden/basecdupdtflag", "1");
  395. model.setValue("/root/hidden/detlcdupdtflag", "1");
  396. fExeControlChng("B", "false");
  397. fExeControlChng("D", "false");
  398. model.refresh();
  399. }
  400. /* @group : 기본세부파트등록 화면
  401. * @ver : 2007.01.04 (CMCDEV-0001)
  402. * @by : 황상미(ACK)
  403. * @-----------------------------------
  404. * @type : function
  405. * @access : public
  406. * @desc : 조회, 수정, 신규 작업 구분 함수
  407. * wGbn : 작업구분 - B(기본파트)/D(세부파트)
  408. */
  409. function fExeCodeUpdtFlag(wGbn){
  410. var updtGbn = "";
  411. if(wGbn == "B"){
  412. updtGbn = model.getValue("/root/hidden/basecdupdtflag"); //기본파트 처리부 조회/수정/입력 구분
  413. //세부파트가 수정작업중일 경우는 alert!
  414. if(model.getValue("/root/hidden/detlcdupdtflag") != "1"){
  415. messageBox("세부파트 수정/신규작업 중", "E008");
  416. model.setValue("/root/hidden/basecdupdtflag", "1");
  417. fExeControlChng("B", "false");
  418. model.refresh();
  419. return;
  420. }
  421. if(updtGbn == "2" && grd_basepart.row < 1){
  422. messageBox("기본파트를", "C002");
  423. model.setValue("/root/hidden/basecdupdtflag", "1");
  424. fExeControlChng("B", "false");
  425. model.refresh();
  426. return;
  427. }
  428. }else{
  429. updtGbn = model.getValue("/root/hidden/detlcdupdtflag"); //세부파트 처리부 조회/수정/입력 구분
  430. //기본파트가 수정작업중일 경우는 alert!
  431. if(model.getValue("/root/hidden/basecdupdtflag") != "1"){
  432. messageBox("기본파트 수정/신규작업 중", "E008");
  433. model.setValue("/root/hidden/detlcdupdtflag", "1");
  434. fExeControlChng("D", "false");
  435. model.refresh();
  436. return;
  437. }
  438. if(updtGbn == "2" && model.getValue("/root/main/partinfo/detlpartinfo/detlpartcd") == ""){
  439. messageBox("세부파트를", "C002");
  440. model.setValue("/root/hidden/detlcdupdtflag", "1");
  441. fExeControlChng("D", "false");
  442. model.refresh();
  443. return;
  444. }
  445. if(model.getValue("/root/main/partinfo/basepartinfo/basepartcd") == ""){
  446. messageBox("기본파트 정보를 먼저", "C002");
  447. model.setValue("/root/hidden/detlcdupdtflag", "1");
  448. fExeControlChng("D", "false");
  449. model.refresh();
  450. return;
  451. }
  452. if(model.getValue("/root/hidden/basepartdelflagcd") == "1"){
  453. messageBox("기본파트가 미사용일 경우 \n세부파트 수정/신규를", "E001");
  454. model.setValue("/root/hidden/detlcdupdtflag", "1");
  455. fExeControlChng("D", "false");
  456. model.refresh();
  457. return;
  458. }
  459. }
  460. if(updtGbn == "1"){
  461. fExeControlChng(wGbn, "false");
  462. }else if(updtGbn == "2"){
  463. fExeControlChng(wGbn, "true");
  464. if(wGbn == "B"){
  465. document.controls("ipt_basepartcd").attribute("editable") = "false";
  466. model.setFocus("ipt_basepartnm");
  467. }else{
  468. document.controls("ipt_detlpartcd").attribute("editable") = "false";
  469. model.setFocus("ipt_detlpartnm");
  470. }
  471. }else{
  472. fExeControlChng(wGbn, "true");
  473. if(wGbn == "B"){
  474. model.resetInstanceNode("/root/main/partinfo/basepartinfo");
  475. model.resetInstanceNode("/root/main/partinfo/detlpartinfo");
  476. model.removeNodeset("/root/main/detlpartcnts/detlpartlist");
  477. model.setValue("/root/main/partinfo/basepartinfo/delflagcd", "0");
  478. rdo_basepartdelflagcd.disabled = "true";
  479. model.setFocus("ipt_basepartcd");
  480. }else{
  481. model.resetInstanceNode("/root/main/partinfo/detlpartinfo");
  482. model.setValue("/root/main/partinfo/detlpartinfo/delflagcd", "0");
  483. rdo_detlpartdelflagcd.disabled = "true";
  484. model.setFocus("ipt_detlpartcd");
  485. }
  486. }
  487. model.refresh();
  488. }
  489. /* @group : 병리번호코드등록관리 화면
  490. * @ver : 2007.01.04 (CMCDEV-0001)
  491. * @by : 황상미(ACK)
  492. * @-----------------------------------
  493. * @type : function
  494. * @access : public
  495. * @desc : 컨트롤 항목 처리 함수
  496. * gbn : 선택된 처리값
  497. */
  498. function fExeCheckItem(gbn){
  499. switch(gbn){
  500. case "refval": //파트코드 조회값 대문자로
  501. if(model.getValue("/root/hidden/refval") != ""){
  502. if(model.getValue("/root/hidden/refflag") == "1" || model.getValue("/root/hidden/refflag") == "3"){
  503. lpzfExeLrgChar("/root/hidden/refval");
  504. }
  505. }
  506. break;
  507. case "basecd": //기본파트코드 대문자로
  508. if(model.getValue("/root/main/partinfo/basepartinfo/basepartcd") != ""){
  509. lpzfExeLrgChar("/root/main/partinfo/basepartinfo/basepartcd");
  510. }
  511. break;
  512. case "detlcd": //세부파트코드 대문자로
  513. if(model.getValue("/root/main/partinfo/detlpartinfo/detlpartcd") != ""){
  514. lpzfExeLrgChar("/root/main/partinfo/detlpartinfo/detlpartcd");
  515. }
  516. break;
  517. case "bsptdelflag":
  518. if(model.getValue("/root/main/partinfo/basepartinfo/delflagcd") == "1"){
  519. if(grd_detlpart.rows > 1){
  520. if(messageBox("해당 기본파트를 미사용시 세부파트까지 미사용됩니다.\n미사용 하시겠습니까?", "Q") == "7"){
  521. model.setValue("/root/main/partinfo/basepartinfo/delflagcd", "0");
  522. model.refresh();
  523. return;
  524. }
  525. }
  526. }
  527. break;
  528. default:
  529. break;
  530. }
  531. model.refresh();
  532. }
  533. /* @group : 병리번호코드등록관리 화면
  534. * @ver : 2007.02.15 (CMCDEV-0001)
  535. * @by : 황상미(ACK)
  536. * @-----------------------------------
  537. * @type : function
  538. * @access : public
  539. * @desc : 기본/세부파트별 조회를 해오기 전 확인하는 작업
  540. * flag : 선택된 파트
  541. */
  542. function fExeChkBfRef(flag){
  543. //* 조회부 사용여부 ***********************************************
  544. if(flag == "base_delflag"){
  545. model.removeNodeset("/root/main/basepartcnts/basepartlist");
  546. model.removeNodeset("/root/main/detlpartcnts/detlpartlist");
  547. model.resetInstanceNode("/root/main/partinfo");
  548. model.refresh();
  549. return;
  550. }else if(flag == "detl_delflag"){
  551. model.removeNodeset("/root/main/detlpartcnts/detlpartlist");
  552. model.resetInstanceNode("/root/main/partinfo/detlpartinfo");
  553. model.refresh();
  554. return;
  555. }
  556. //****************************************************************
  557. if (flag == "base_info") {
  558. if(grd_basepart.row < 1){
  559. return;
  560. }
  561. } else if (flag == "detl_info") {
  562. if(grd_detlpart.row < 1){
  563. return;
  564. }
  565. }
  566. if(model.getValue("/root/hidden/basecdupdtflag") != "1"){
  567. if(messageBox("기본파트 [수정/신규]작업 중 입니다.\n무시하고 조회하시겠습니까?", "Q") == "6"){
  568. model.setValue("/root/hidden/basecdupdtflag", "1");
  569. fExeControlChng("B", "false");
  570. }else{
  571. return;
  572. }
  573. }else if(model.getValue("/root/hidden/detlcdupdtflag") != "1"){
  574. if(messageBox("세부파트 [수정/신규]작업 중 입니다.\n무시하고 조회하시겠습니까?", "Q") == "6"){
  575. model.setValue("/root/hidden/detlcdupdtflag", "1");
  576. fExeControlChng("D", "false");
  577. }else{
  578. return;
  579. }
  580. }
  581. if (flag == "base_list") {
  582. fGetRefData("B_List");
  583. } else if (flag == "base_info") {
  584. fGetRefData("B_Info"); //기본파트 정보조회
  585. fGetRefData("D_List"); //세부파트 리스트조회
  586. } else if (flag == "detl_info") {
  587. fGetRefData("D_Info"); //세부파트 정보조회
  588. } else {
  589. return;
  590. }
  591. model.refresh();
  592. }
  593. ]]>
  594. </script>
  595. <!-- public Script end -->
  596. </model>
  597. </xhtml:head>
  598. <xhtml:body guideline="1,1194;2,784;2,58;2,757;1,430;1,860;2,281;2,291;1,1093;1,968;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  599. <group id="grp_tle" style="left:0px; top:0px; width:1195px; height:13px; ">
  600. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:800px; height:14px; ">통합 기본/세부 파트등록</caption>
  601. </group>
  602. <group id="grp_biz" scroll="auto" style="left:0px; top:40px; width:1195px; height:744px; ">
  603. <group id="group1" style="left:0px; top:10px; width:1194px; height:35px; ">
  604. <shape id="roundrect1" class="roundrect_search" appearance="roundrect" style="left:0px; top:0px; width:1194px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
  605. <button id="button3" class="btn1_letter2" navindex="5" style="left:1123px; top:7px; width:56px; height:22px; background-image:../../../com/commonweb/images/btn1_letter2.gif; ">
  606. <caption>조회</caption>
  607. <script ev:event="onclick" type="javascript">
  608. <![CDATA[
  609. fExeChkBfRef("base_list");
  610. ]]>
  611. </script>
  612. </button>
  613. <line id="line14" class="line_4" style="x1:1108px; y1:6px; x2:1108px; y2:28px; border-color:#ffe4bb; border-left-style:solid; "/>
  614. <caption id="caption2" class="search_name" style="left:773px; top:9px; width:75px; height:17px; vertical-align:middle; background-image:../../../com/commonweb/images/search_bullet1.gif; ">조회값 :</caption>
  615. <input id="ipt_refval" ref="/root/hidden/refval" class="input_search" navindex="4" style="left:974px; top:8px; width:120px; height:19px; ">
  616. <script ev:event="DOMFocusOut" type="javascript">
  617. <![CDATA[
  618. fExeCheckItem("refval");
  619. ]]>
  620. </script>
  621. </input>
  622. <select1 id="cmb_refflag" ref="/root/hidden/refflag" class="combo_search" navindex="3" appearance="minimal" style="left:851px; top:8px; width:120px; height:19px; ">
  623. <choices>
  624. <item>
  625. <label>기본파트코드</label>
  626. <value>1</value>
  627. </item>
  628. <item>
  629. <label>기본파트명칭</label>
  630. <value>2</value>
  631. </item>
  632. <item>
  633. <label>세부파트코드</label>
  634. <value>3</value>
  635. </item>
  636. <item>
  637. <label>세부파트명칭</label>
  638. <value>4</value>
  639. </item>
  640. </choices>
  641. </select1>
  642. <caption id="caption23" class="search_name" style="left:15px; top:9px; width:143px; height:17px; vertical-align:middle; background-image:../../../com/commonweb/images/search_bullet1.gif; ">기본파트 사용여부 :</caption>
  643. <caption id="caption24" class="search_name" style="left:395px; top:9px; width:145px; height:17px; vertical-align:middle; background-image:../../../com/commonweb/images/search_bullet1.gif; ">세부파트 사용여부 :</caption>
  644. <select1 id="rdo_s_basepartdelflagcd" ref="/root/hidden/basepartdelflagcd" class="radio_search" navindex="1" overflow="visible" appearance="full" cellspacing="20" cols="3" style="left:162px; top:10px; width:122px; height:16px; border-style:none; ">
  645. <choices>
  646. <item>
  647. <label>사용</label>
  648. <value>0</value>
  649. </item>
  650. <item>
  651. <label>미사용</label>
  652. <value>1</value>
  653. </item>
  654. </choices>
  655. <script ev:event="xforms-value-changed" type="javascript">
  656. <![CDATA[
  657. fExeChkBfRef("base_delflag");
  658. ]]>
  659. </script>
  660. </select1>
  661. <select1 id="rdo_s_detlpartdelflagcd" ref="/root/hidden/detlpartdelflagcd" class="radio_search" navindex="2" overflow="visible" appearance="full" cellspacing="20" cols="3" style="left:542px; top:10px; width:122px; height:16px; border-style:none; ">
  662. <choices>
  663. <item>
  664. <label>사용</label>
  665. <value>0</value>
  666. </item>
  667. <item>
  668. <label>미사용</label>
  669. <value>1</value>
  670. </item>
  671. </choices>
  672. <script ev:event="xforms-value-changed" type="javascript">
  673. <![CDATA[
  674. fExeChkBfRef("detl_delflag");
  675. ]]>
  676. </script>
  677. </select1>
  678. </group>
  679. <group id="group2" style="left:0px; top:55px; width:425px; height:689px; ">
  680. <caption id="caption1" class="tit_2" style="left:5px; top:0px; width:131px; height:14px; background-image:../../../com/commonweb/images/tit_bullet2.gif; ">기본파트</caption>
  681. <line id="line1" class="line_1" style="x1:0px; y1:15px; x2:425px; y2:15px; "/>
  682. <datagrid id="grd_basepart" nodeset="/root/main/basepartcnts/basepartlist" caption="병원코드^코드^파트명칭^파트약칭" colsep="^" colwidth="0, 50, 200, 150" dataheight="23" defaultrows="1" explorerbar="sort" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="23" rowsep="|" navindex="6" fixed.background-image="../../../com/commonweb/images/grid_bg.gif" style="left:0px; top:20px; width:425px; height:660px; border-color:#c0c0c0; ">
  683. <col ref="instcd" type="output"/>
  684. <col ref="basepartcd" type="output"/>
  685. <col ref="basepartnm" type="output"/>
  686. <col ref="basepartabbr" type="output"/>
  687. <script ev:event="onclick" type="javascript">
  688. <![CDATA[
  689. fExeChkBfRef("base_info");
  690. ]]>
  691. </script>
  692. <script ev:event="onaftersort" type="javascript">
  693. <![CDATA[
  694. grd_basepart.gridToInstance();
  695. ]]>
  696. </script>
  697. </datagrid>
  698. </group>
  699. <group id="group5" style="left:430px; top:55px; width:425px; height:689px; ">
  700. <caption id="caption3" class="tit_2" style="left:5px; top:0px; width:131px; height:14px; background-image:../../../com/commonweb/images/tit_bullet2.gif; ">세부파트</caption>
  701. <line id="line2" class="line_1" style="x1:0px; y1:15px; x2:425px; y2:15px; "/>
  702. <datagrid id="grd_detlpart" nodeset="/root/main/detlpartcnts/detlpartlist" caption="병원코드^코드^파트명칭^파트약칭" colsep="^" colwidth="0, 50, 200, 150" dataheight="23" defaultrows="1" explorerbar="sort" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="23" rowsep="|" navindex="7" fixed.background-image="../../../com/commonweb/images/grid_bg.gif" style="left:0px; top:20px; width:425px; height:660px; border-color:#c0c0c0; ">
  703. <col ref="instcd" type="output"/>
  704. <col ref="detlpartcd" type="output"/>
  705. <col ref="detlpartnm" type="output"/>
  706. <col ref="detlpartabbr" type="output"/>
  707. <script ev:event="onclick" type="javascript">
  708. <![CDATA[
  709. fExeChkBfRef("detl_info");
  710. ]]>
  711. </script>
  712. <script ev:event="onaftersort" type="javascript">
  713. <![CDATA[
  714. grd_detlpart.gridToInstance();
  715. ]]>
  716. </script>
  717. </datagrid>
  718. </group>
  719. <group id="group6" style="left:860px; top:50px; width:334px; height:694px; ">
  720. <caption id="caption4" class="tit_2" style="left:5px; top:5px; width:100px; height:13px; background-image:../../../com/commonweb/images/tit_bullet2.gif; ">기본파트정보</caption>
  721. <line id="line3" class="line_1" style="x1:0px; y1:20px; x2:334px; y2:20px; "/>
  722. <caption id="caption5" class="tit_2" style="left:5px; top:228px; width:131px; height:13px; background-image:../../../com/commonweb/images/tit_bullet2.gif; ">세부파트정보</caption>
  723. <line id="line4" class="line_1" style="x1:0px; y1:243px; x2:334px; y2:243px; "/>
  724. <line id="line20" class="line_2" style="x1:0px; y1:123px; x2:333px; y2:123px; "/>
  725. <caption id="caption21" class="cell_1" style="left:0px; top:99px; width:130px; height:23px; text-align:left; vertical-align:middle; padding-left:10px; ">사용여부</caption>
  726. <caption id="caption12" class="cell_1" style="left:0px; top:195px; width:130px; height:23px; text-align:left; vertical-align:middle; padding-left:10px; ">최종등록자</caption>
  727. <line id="line16" class="line_2" style="x1:0px; y1:147px; x2:333px; y2:147px; "/>
  728. <caption id="caption15" class="cell_1" style="left:0px; top:123px; width:130px; height:23px; text-align:left; vertical-align:middle; padding-left:10px; ">최초등록일시</caption>
  729. <line id="line18" class="line_2" style="x1:0px; y1:171px; x2:333px; y2:171px; "/>
  730. <line id="line19" class="line_2" style="x1:0px; y1:195px; x2:333px; y2:195px; "/>
  731. <line id="line5" class="line_3" style="x1:0px; y1:218px; x2:333px; y2:218px; "/>
  732. <caption id="caption18" class="cell_1" style="left:0px; top:147px; width:130px; height:23px; text-align:left; vertical-align:middle; padding-left:10px; ">최초등록자</caption>
  733. <caption id="caption19" class="cell_1" style="left:0px; top:171px; width:130px; height:23px; text-align:left; vertical-align:middle; padding-left:10px; ">최종등록일시</caption>
  734. <line id="line6" class="line_2" style="x1:0px; y1:99px; x2:333px; y2:99px; "/>
  735. <caption id="caption7" class="cell_1" style="left:0px; top:75px; width:130px; height:23px; text-align:left; vertical-align:middle; padding-left:10px; ">기본파트약칭</caption>
  736. <caption id="caption8" class="cell_1" style="left:0px; top:50px; width:130px; height:23px; text-align:left; vertical-align:middle; padding-left:10px; ">기본파트명칭</caption>
  737. <line id="line7" class="line_2" style="x1:0px; y1:74px; x2:333px; y2:74px; "/>
  738. <caption id="caption9" class="cell_1" style="left:0px; top:25px; width:130px; height:23px; text-align:left; vertical-align:middle; padding-left:10px; ">기본파트코드</caption>
  739. <line id="line8" class="line_2" style="x1:0px; y1:49px; x2:333px; y2:49px; "/>
  740. <line id="line9" class="line_2" style="x1:0px; y1:272px; x2:333px; y2:272px; "/>
  741. <line id="line10" class="line_2" style="x1:0px; y1:346px; x2:333px; y2:346px; "/>
  742. <caption id="caption10" class="cell_1" style="left:0px; top:322px; width:130px; height:23px; text-align:left; vertical-align:middle; padding-left:10px; ">사용여부</caption>
  743. <caption id="caption11" class="cell_1" style="left:0px; top:418px; width:130px; height:23px; text-align:left; vertical-align:middle; padding-left:10px; ">최종등록자</caption>
  744. <line id="line11" class="line_2" style="x1:0px; y1:370px; x2:333px; y2:370px; "/>
  745. <line id="line12" class="line_2" style="x1:0px; y1:394px; x2:333px; y2:394px; "/>
  746. <caption id="caption13" class="cell_1" style="left:0px; top:346px; width:130px; height:23px; text-align:left; vertical-align:middle; padding-left:10px; ">최초등록일시</caption>
  747. <caption id="caption14" class="cell_1" style="left:0px; top:298px; width:130px; height:23px; text-align:left; vertical-align:middle; padding-left:10px; ">세부파트약칭</caption>
  748. <line id="line13" class="line_2" style="x1:0px; y1:418px; x2:333px; y2:418px; "/>
  749. <caption id="caption16" class="cell_1" style="left:0px; top:273px; width:130px; height:23px; text-align:left; vertical-align:middle; padding-left:10px; ">세부파트명칭</caption>
  750. <caption id="caption17" class="cell_1" style="left:0px; top:248px; width:130px; height:23px; text-align:left; vertical-align:middle; padding-left:10px; ">세부파트코드</caption>
  751. <caption id="caption20" class="cell_1" style="left:0px; top:370px; width:130px; height:23px; text-align:left; vertical-align:middle; padding-left:10px; ">최초등록자</caption>
  752. <line id="line15" class="line_3" style="x1:0px; y1:441px; x2:333px; y2:441px; "/>
  753. <line id="line21" class="line_2" style="x1:0px; y1:322px; x2:333px; y2:322px; "/>
  754. <caption id="caption22" class="cell_1" style="left:0px; top:394px; width:130px; height:23px; text-align:left; vertical-align:middle; padding-left:10px; ">최종등록일시</caption>
  755. <line id="line22" class="line_2" style="x1:0px; y1:297px; x2:333px; y2:297px; "/>
  756. <input id="ipt_basepartcd" ref="/root/main/partinfo/basepartinfo/basepartcd" class="input_essential" navindex="9" imemode="alpha" maxlength="2" appearance="input" style="left:133px; top:28px; width:200px; height:19px; border-color:#c0c0c0; ">
  757. <script ev:event="DOMFocusOut" type="javascript">
  758. <![CDATA[
  759. fExeCheckItem("basecd");
  760. ]]>
  761. </script>
  762. </input>
  763. <input id="ipt_basepartnm" ref="/root/main/partinfo/basepartinfo/basepartnm" class="input_essential" navindex="10" maxlength="50" appearance="input" style="left:133px; top:53px; width:200px; height:19px; border-color:#c0c0c0; "/>
  764. <input id="ipt_basepartabbr" ref="/root/main/partinfo/basepartinfo/basepartabbr" class="input_default" navindex="11" maxlength="20" appearance="input" style="left:133px; top:78px; width:200px; height:19px; border-color:#c0c0c0; "/>
  765. <output id="opt_basefstrgstdt" ref="/root/main/partinfo/basepartinfo/fstrgstdt" class="output_fix" format="yyyy-mm-dd hh:nn:ss" appearance="output" style="left:133px; top:126px; width:200px; height:19px; border-color:#c0c0c0; "/>
  766. <output id="opt_basefstrgstrid" ref="/root/main/partinfo/basepartinfo/fstrgstrid" class="output_fix" appearance="output" style="left:133px; top:150px; width:200px; height:19px; border-color:#c0c0c0; "/>
  767. <output id="opt_baselastrgstdt" ref="/root/main/partinfo/basepartinfo/lastrgstdt" class="output_fix" format="yyyy-mm-dd hh:nn:ss" appearance="output" style="left:133px; top:174px; width:200px; height:19px; border-color:#c0c0c0; "/>
  768. <output id="opt_baselastrgstrid" ref="/root/main/partinfo/basepartinfo/lastrgstrid" class="output_fix" appearance="output" style="left:133px; top:198px; width:200px; height:19px; border-color:#c0c0c0; "/>
  769. <select1 id="rdo_baseupdtflag" ref="/root/hidden/basecdupdtflag" navindex="8" overflow="visible" appearance="full" cellspacing="10" cols="3" style="left:108px; top:4px; width:155px; height:13px; border-style:none; ">
  770. <choices>
  771. <item>
  772. <label>조회</label>
  773. <value>1</value>
  774. </item>
  775. <item>
  776. <label>수정</label>
  777. <value>2</value>
  778. </item>
  779. <item>
  780. <label>신규</label>
  781. <value>3</value>
  782. </item>
  783. </choices>
  784. <script ev:event="xforms-value-changed" type="javascript">
  785. <![CDATA[
  786. fExeCodeUpdtFlag("B");
  787. ]]>
  788. </script>
  789. </select1>
  790. <select1 id="rdo_detlupdtflag" ref="/root/hidden/detlcdupdtflag" navindex="13" overflow="visible" appearance="full" cellspacing="10" cols="3" style="left:108px; top:227px; width:155px; height:13px; border-style:none; ">
  791. <choices>
  792. <item>
  793. <label>조회</label>
  794. <value>1</value>
  795. </item>
  796. <item>
  797. <label>수정</label>
  798. <value>2</value>
  799. </item>
  800. <item>
  801. <label>신규</label>
  802. <value>3</value>
  803. </item>
  804. </choices>
  805. <script ev:event="xforms-value-changed" type="javascript">
  806. <![CDATA[
  807. fExeCodeUpdtFlag("D");
  808. ]]>
  809. </script>
  810. </select1>
  811. <input id="ipt_detlpartcd" ref="/root/main/partinfo/detlpartinfo/detlpartcd" class="input_essential" navindex="14" imemode="alpha" maxlength="3" appearance="input" style="left:133px; top:251px; width:200px; height:19px; border-color:#c0c0c0; ">
  812. <script ev:event="DOMFocusOut" type="javascript">
  813. <![CDATA[
  814. fExeCheckItem("detlcd");
  815. ]]>
  816. </script>
  817. </input>
  818. <input id="ipt_detlpartnm" ref="/root/main/partinfo/detlpartinfo/detlpartnm" class="input_essential" navindex="15" maxlength="50" appearance="input" style="left:133px; top:276px; width:200px; height:19px; border-color:#c0c0c0; "/>
  819. <input id="ipt_detlpartabbr" ref="/root/main/partinfo/detlpartinfo/detlpartabbr" class="input_default" navindex="16" maxlength="20" appearance="input" style="left:133px; top:301px; width:200px; height:19px; border-color:#c0c0c0; "/>
  820. <output id="opt_detlfstrgstdt" ref="/root/main/partinfo/detlpartinfo/fstrgstdt" class="output_fix" format="yyyy-mm-dd hh:nn:ss" appearance="output" style="left:133px; top:349px; width:200px; height:19px; border-color:#c0c0c0; "/>
  821. <output id="opt_detlfstrgstrid" ref="/root/main/partinfo/detlpartinfo/fstrgstrid" class="output_fix" appearance="output" style="left:133px; top:373px; width:200px; height:19px; border-color:#c0c0c0; "/>
  822. <output id="opt_detllastrgstdt" ref="/root/main/partinfo/detlpartinfo/lastrgstdt" class="output_fix" format="yyyy-mm-dd hh:nn:ss" appearance="output" style="left:133px; top:397px; width:200px; height:19px; border-color:#c0c0c0; "/>
  823. <output id="opt_detllastrgstrid" ref="/root/main/partinfo/detlpartinfo/lastrgstrid" class="output_fix" appearance="output" style="left:133px; top:421px; width:200px; height:19px; border-color:#c0c0c0; "/>
  824. <select1 id="rdo_basepartdelflagcd" ref="/root/main/partinfo/basepartinfo/delflagcd" navindex="12" overflow="visible" appearance="full" cellspacing="30" cols="2" style="left:133px; top:104px; width:132px; height:13px; border-style:none; ">
  825. <choices>
  826. <item>
  827. <label>사용</label>
  828. <value>0</value>
  829. </item>
  830. <item>
  831. <label>미사용</label>
  832. <value>1</value>
  833. </item>
  834. </choices>
  835. <script ev:event="xforms-value-changed" type="javascript">
  836. <![CDATA[
  837. fExeCheckItem("bsptdelflag");
  838. ]]>
  839. </script>
  840. </select1>
  841. <select1 id="rdo_detlpartdelflagcd" ref="/root/main/partinfo/detlpartinfo/delflagcd" navindex="17" overflow="visible" appearance="full" cellspacing="30" cols="2" style="left:133px; top:326px; width:132px; height:13px; border-style:none; ">
  842. <choices>
  843. <item>
  844. <label>사용</label>
  845. <value>0</value>
  846. </item>
  847. <item>
  848. <label>미사용</label>
  849. <value>1</value>
  850. </item>
  851. </choices>
  852. </select1>
  853. <input id="ipt_orgdelflagcd" ref="/root/main/partinfo/basepartinfo/orgdelflagcd" visibility="hidden" style="left:319px; top:103px; width:10px; height:19px; "/>
  854. </group>
  855. </group>
  856. <group id="grp_btn" scroll="auto" style="left:0px; top:13px; width:1195px; height:27px; ">
  857. <button id="button11" class="btn4_letter2" navindex="18" style="left:1138px; top:3px; width:56px; height:22px; background-image:../../../com/commonweb/images/btn4_letter2.gif; ">
  858. <caption>저장</caption>
  859. <script ev:event="onclick" type="javascript">
  860. <![CDATA[
  861. fSetUpdtData();
  862. ]]>
  863. </script>
  864. </button>
  865. <line id="line17" class="line_6" style="x1:0px; y1:25px; x2:1194px; y2:25px; "/>
  866. </group>
  867. </xhtml:body>
  868. </xhtml:html>