SPRAC00600_기타거래처관리.xrw 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <?xml-stylesheet type="text/css" href="../../../com/commonweb/css/common.css" ?>
  3. <xhtml:html xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.w3.org/2002/01/xforms" xmlns:ev="http://www.w3.org/2001/xml-events">
  4. <xhtml:head>
  5. <xhtml:title>거래처 관리</xhtml:title>
  6. <model id="model1">
  7. <instance id="instance1">
  8. <root xmlns="">
  9. <main>
  10. <racmcust>
  11. <entrregno/>
  12. <custnm/>
  13. <cmpynm/>
  14. <fromdd/>
  15. <todd>99991231</todd>
  16. <prsdnm/>
  17. <rrgstno/>
  18. <custstat>1</custstat>
  19. <bizcont/>
  20. <item/>
  21. <mainbizitem/>
  22. <oldentrregno/>
  23. <custflag>4</custflag>
  24. <instflag/>
  25. <zipcd/>
  26. <zipcd1/>
  27. <zipcd2/>
  28. <zipcdseqno/>
  29. <supaddr/>
  30. <infaddr/>
  31. <cntctel/>
  32. <faxno/>
  33. <emailaddr/>
  34. <homepgaddr/>
  35. <bankcd/>
  36. <banknm/>
  37. <depor/>
  38. <paycond/>
  39. <aactno/>
  40. <cmt/>
  41. <acntchrgnm/>
  42. <acntchrgtelno/>
  43. <acntchrgmpphonno/>
  44. <acntchrgemailaddr/>
  45. <statflag/>
  46. </racmcust>
  47. <racdcustlist/>
  48. </main>
  49. <send>
  50. <save>
  51. <racmcust/>
  52. <racdcustlist/>
  53. </save>
  54. <custlist>
  55. <entrregno/>
  56. <todd>99991231</todd>
  57. </custlist>
  58. <data2>
  59. <instcd/>
  60. <mngtcd>acntdept</mngtcd>
  61. </data2>
  62. </send>
  63. <init>
  64. <init_R0015list>
  65. <item>
  66. <label>법인사업자</label>
  67. <value>1</value>
  68. </item>
  69. <item>
  70. <label>일반과세자</label>
  71. <value>2</value>
  72. </item>
  73. <item>
  74. <label>간이과세자</label>
  75. <value>3</value>
  76. </item>
  77. <item>
  78. <label>과세특례자</label>
  79. <value>4</value>
  80. </item>
  81. </init_R0015list>
  82. <code>
  83. <codelist/>
  84. </code>
  85. </init>
  86. <hidden>
  87. <racmcust/>
  88. </hidden>
  89. <temp>
  90. <racdcustlist/>
  91. </temp>
  92. <target/>
  93. </root>
  94. </instance>
  95. <submission id="TRRAC00602" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/custlist" resultref="/root/main/racmcust"/>
  96. <submission id="TXRAC00601" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/save" resultref="/root/temp"/>
  97. <script type="javascript" ev:event="xforms-ready">
  98. <![CDATA[
  99. fInitialize();
  100. ]]>
  101. </script>
  102. <submission id="TRRAZ00001" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/data2" resultref="/root/init/code/codelist"/>
  103. </model>
  104. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  105. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  106. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  107. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  108. <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
  109. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  110. <script type="javascript" src="../../../mis/miscommonweb/js/RAC001.js"/>
  111. <script type="javascript" src="../../../mis/acntcommonweb/js/RAD001.js"/>
  112. <script type="javascript">
  113. <![CDATA[
  114. //========================================================================================
  115. //초기화
  116. //========================================================================================
  117. function fInitialize()
  118. {
  119. misfMsterDetailSet(grd_racdcustlist, null, "TRRAC00602", "Y");
  120. model.removeNodeset(grd_racdcustlist.nodeset);
  121. if(checkOpener() && ipt_entrregno.value != "")
  122. {
  123. ipt_entrregno.dispatch("xforms-value-changed");
  124. }
  125. else
  126. {
  127. model.makeValue("/root/main/racmcust/statflag","i");
  128. model.setValue("/root/main/racmcust/fromdd", getCurrentDate().toString());
  129. model.setValue("/root/main/racmcust/todd", '99991231');
  130. model.copyNode("/root/hidden/racmcust", "/root/main/racmcust");
  131. model.setValue("/root/properties/uid/opener", model.getValue("/root/target/opener"));
  132. model.refresh();
  133. }
  134. misfGridComboComCdList("R0025", grd_racdcustlist, "goodflag")
  135. var instcd = getUserInfo("dutplceinstcd");
  136. model.setValue("/root/send/data2/instcd", instcd);
  137. submit("TRRAZ00001");
  138. model.setFocus("ipt_entrregno");
  139. }
  140. //========================================================================================
  141. //우편번호 Help Open
  142. //========================================================================================
  143. function fOpenPopupZipHelp(pControl, pInstance)
  144. {
  145. //04 우편번호 Helper
  146. misfOpenPopUpList("04", pControl, "", pInstance);
  147. var sZipcd = model.getValue("/root/main/racmcust/zipcd1") + '-' + model.getValue("/root/main/racmcust/zipcd2");
  148. model.setValue("/root/main/racmcust/zipcd", sZipcd);
  149. model.refresh();
  150. }
  151. //========================================================================================
  152. //저장 click
  153. //========================================================================================
  154. function fSaveClick() {
  155. if(!fnotNullCheck())
  156. {
  157. return false;
  158. }
  159. if(model.getValue("/root/main/racmcust/statflag") == "u" && model.getValue("/root/init/code/code/codelist/cdid") != getUserInfo("dutplcecd"))
  160. {
  161. messageBox("수정 권한이 없습니다.\n" + model.getValue("/root/init/code/code/codelist/cdnm") +"에 문의하세요" ,"I000");
  162. return false;
  163. }
  164. //model.resetInstanceNode("/root/send/save/racmcust");
  165. model.copyNode("/root/send/save/racmcust", "/root/main/racmcust");
  166. model.setValue("/root/send/save/racdcustlist", grd_racdcustlist.getUpdateData());
  167. ret = messageBox("저장하시겠습니까?","Q999");
  168. if (ret == "6")
  169. {
  170. misfSave("TXRAC00601");
  171. //model.setValue("/root/main/racmcust/statflag","u");
  172. messageBox("저장되었습니다.","I000");
  173. btn_save.disabled = "true";
  174. model.refresh();
  175. }
  176. var receiveref = model.getValue("/root/target/recvref");
  177. var node = instance1.selectNodes("root/target/recvitem/*");
  178. var retlist = "entrregno,custnm";
  179. var recv_list = retlist.split(",");
  180. var mainViewer = getMainViewer();
  181. //
  182. // if(mainViewer.javascript.getScreenID() == "SMRAD00100" || mainViewer.javascript.getScreenID() == "SMRAT00100")
  183. // {
  184. // for (var i = 0; i < node.length; i++)
  185. // {
  186. // //mainViewer.model.setValue(receiveref + "/" + node.item(i).nodeName, model.getValue("/root/main/racmcust/"+recv_list[i]));
  187. // }
  188. if(mainViewer.javascript.getScreenID() == "SMRAT00100")
  189. {
  190. mainViewer.javascript.racfCustValidCheck("entrregno,custnm,custprsd,dummy,custaddr,custbizcond,custitem", "code");
  191. }
  192. // }
  193. // else
  194. // {
  195. // messageBox("상위화면이 변경되어 데이터를 전달할 수 ", "I004");
  196. // }
  197. // if ( checkOpener() ) {
  198. // for (var i = 0; i < node.length; i++) {
  199. // alert(receiveref + "/" + node.item(i).nodeName);
  200. // opener.model.setValue(receiveref + "/" + node.item(i).nodeName, model.getValue("/root/main/racmcust/"+recv_list[i]));
  201. // }
  202. // } else {
  203. // messageBox("상위화면이 변경되어 데이터를 전달할 수 ", "I004");
  204. // }
  205. }
  206. //========================================================================================
  207. // NOT NULL CHECK
  208. //========================================================================================
  209. function fnotNullCheck()
  210. {
  211. if(!isValidDateTime(ipt_todd.value, "YYYYMMDD"))
  212. {
  213. messageBox("날짜형식이 잘못되었습니다.", "I000");
  214. return false;
  215. }
  216. if(model.getValue(ipt_entrregno.attribute("ref")).length== 0)
  217. {
  218. messageBox("사업자등록번호는", "I003");
  219. return false;
  220. }
  221. if(model.getValue(ipt_custnm.attribute("ref")).length== 0)
  222. {
  223. messageBox("상호는", "I003");
  224. return false;
  225. }
  226. return true;
  227. }
  228. //========================================================================================
  229. //삭제 click
  230. //========================================================================================
  231. function fDeleteClick() {
  232. model.makeValue("/root/main/racmcust/statflag", "d");
  233. fSaveClick();
  234. model.removenode("/root/main/racmcust");
  235. model.makeNode("/root/main/racmcust");
  236. model.copyNode("/root/main/racmcust","/root/hidden/racmcust");
  237. model.makeValue("/root/main/racmcust/statflag","i");
  238. model.refresh();
  239. }
  240. //========================================================================================
  241. //조회
  242. //========================================================================================
  243. function fSearch() {
  244. var entrregno = model.getValue("/root/main/racmcust/entrregno");
  245. model.setValue("/root/send/custlist/entrregno",entrregno);
  246. model.refresh();
  247. if (entrregno != "")
  248. {
  249. submit("TRRAC00602");
  250. if(model.getValue("/root/main/racmcust/entrregno") == "")
  251. {
  252. model.makeNode("/root/main/racmcust");
  253. model.copyNode("/root/main/racmcust", "/root/hidden/racmcust");
  254. model.setValue("/root/main/racmcust/entrregno", model.getValue("/root/send/custlist/entrregno"));
  255. model.setValue("/root/main/racmcust/todd", "99991231");
  256. model.setValue("/root/main/racmcust/statflag","i");
  257. }
  258. else
  259. {
  260. model.makeValue("/root/main/racmcust/statflag","u");
  261. }
  262. btn_save.disabled = false;
  263. model.refresh();
  264. }
  265. else
  266. {
  267. model.makeValue("/root/main/racmcust/statflag","i");
  268. btn_save.disabled = false;
  269. model.refresh();
  270. }
  271. if(model.getValue("/root/main/racmcust/validflag") == "UNVALID")
  272. {
  273. messageBox("전표 거래상태가 유효하지 않습니다.\n거래가 종료된 거래처입니다.\n입력중인 전표의 증빙은 기타로 저장하시고 재무팀에 연락바랍니다.", "I000");
  274. model.setValue("/root/main/racmcust/validflag", "");
  275. //btn_save.disabled = true;
  276. return false;
  277. }
  278. else
  279. {
  280. //btn_save.disabled = false;
  281. return true;
  282. }
  283. }
  284. ]]>
  285. </script>
  286. </xhtml:head>
  287. <xhtml:body pagewidth="560" pageheight="520" style="margin-left:8; margin-top:8; margin-right:8; margin-bottom:8; ">
  288. <group id="group1" style="left:0px; top:0px; width:544; height:13px; ">
  289. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:190px; height:14px; ">거래처 관리</caption>
  290. </group>
  291. <group id="group2" scroll="auto" style="left:0px; top:12px; width:543px; height:263px; ">
  292. <line id="line7" class="line_2" style="x1:0px; y1:161px; x2:543px; y2:161px; "/>
  293. <line id="line6" class="line_2" style="x1:0px; y1:136px; x2:543px; y2:136px; "/>
  294. <line id="line4" class="line_2" style="x1:0px; y1:60px; x2:543px; y2:60px; "/>
  295. <line id="line3" class="line_2" style="x1:0px; y1:36px; x2:543px; y2:36px; "/>
  296. <line id="line9" class="line_3" style="x1:0px; y1:261px; x2:543px; y2:261px; "/>
  297. <line id="line8" class="line_2" style="x1:0px; y1:211px; x2:543px; y2:211px; "/>
  298. <caption id="caption47" class="cell_1" style="left:0px; top:14px; width:100px; height:23px; vertical-align:middle; ">사업자등록번호</caption>
  299. <line id="line2" class="line_1" style="x1:0px; y1:9px; x2:543px; y2:9px; "/>
  300. <caption id="caption2" class="cell_1" style="left:0px; top:38px; width:100px; height:23px; vertical-align:middle; ">상호</caption>
  301. <caption id="caption3" class="cell_1" style="left:0px; top:62px; width:100px; height:23px; vertical-align:middle; ">대표자</caption>
  302. <caption id="caption4" class="cell_1" style="left:0px; top:112px; width:100px; height:23px; vertical-align:middle; ">우편번호</caption>
  303. <caption id="caption5" class="cell_1" style="left:0px; top:137px; width:100px; height:23px; vertical-align:middle; ">주소</caption>
  304. <caption id="caption7" class="cell_1" style="left:0px; top:237px; width:100px; height:23px; vertical-align:middle; ">비고</caption>
  305. <caption id="caption10" class="cell_1" style="left:0px; top:162px; width:100px; height:23px; vertical-align:middle; ">상세주소</caption>
  306. <input id="ipt_entrregno" ref="/root/main/racmcust/entrregno" class="input_essential" navindex="1" format="999-99-99999" showmask="true" style="left:103px; top:15px; width:150px; height:19px; ">
  307. <script type="javascript" ev:event="xforms-value-changed">
  308. <![CDATA[
  309. fSearch();
  310. ]]>
  311. </script>
  312. <script type="javascript" ev:event="onkeypress">
  313. <![CDATA[
  314. if (event.keyCode == "13") {
  315. model.setFocus("ipt_custnm");
  316. }
  317. ]]>
  318. </script>
  319. </input>
  320. <input id="ipt_custnm" ref="/root/main/racmcust/custnm" class="input_essential" navindex="2" style="left:103px; top:39px; width:252px; height:19px; ">
  321. <script type="javascript" ev:event="xforms-value-changed">
  322. <![CDATA[
  323. model.setValue("/root/main/racmcust/cmpynm",model.getValue("/root/main/racmcust/custnm"));
  324. model.refresh();
  325. ]]>
  326. </script>
  327. <script type="javascript" ev:event="onkeypress">
  328. <![CDATA[
  329. if (event.keyCode == "13") {
  330. model.setFocus("ipt_prsdnm");
  331. }
  332. ]]>
  333. </script>
  334. </input>
  335. <input id="ipt_prsdnm" ref="/root/main/racmcust/prsdnm" class="input_default" navindex="3" style="left:103px; top:64px; width:150px; height:19px; ">
  336. <script type="javascript" ev:event="onkeypress">
  337. <![CDATA[
  338. if (event.keyCode == "13") {
  339. model.setFocus("ipt_rrgstno");
  340. }
  341. ]]>
  342. </script>
  343. </input>
  344. <input id="ipt_cmt" ref="/root/main/racmcust/cmt" class="input_default" navindex="9" style="left:103px; top:239px; width:440px; height:19px; ">
  345. <script type="javascript" ev:event="onkeypress">
  346. <![CDATA[
  347. if (event.keyCode == "13") {
  348. model.setFocus("btn_save");
  349. }
  350. ]]>
  351. </script>
  352. </input>
  353. <line id="line10" class="line_2" style="x1:0px; y1:211px; x2:543px; y2:211px; "/>
  354. <caption id="caption1" class="cell_1" style="left:0px; top:212px; width:100px; height:23px; vertical-align:middle; ">전화번호</caption>
  355. <input id="ipt_cntctel" ref="/root/main/racmcust/cntctel" class="input_default" navindex="8" style="left:103px; top:214px; width:150px; height:19px; ">
  356. <script type="javascript" ev:event="onkeypress">
  357. <![CDATA[
  358. if (event.keyCode == "13") {
  359. model.setFocus("ipt_cmt");
  360. }
  361. ]]>
  362. </script>
  363. </input>
  364. <line id="line11" class="line_2" style="x1:0px; y1:86px; x2:543px; y2:86px; "/>
  365. <line id="line12" class="line_2" style="x1:0px; y1:111px; x2:543px; y2:111px; "/>
  366. <caption id="caption8" class="cell_1" style="left:0px; top:87px; width:100px; height:23px; vertical-align:middle; ">주민등록번호</caption>
  367. <input id="ipt_rrgstno" ref="/root/main/racmcust/rrgstno" class="input_default" navindex="4" format="999999-9999999" style="left:103px; top:90px; width:150px; height:19px; ">
  368. <script type="javascript" ev:event="onkeypress">
  369. <![CDATA[
  370. if (event.keyCode == "13") {
  371. model.setFocus("btn_zipcode");
  372. }
  373. ]]>
  374. </script>
  375. </input>
  376. <button id="btn_zipcode" class="icon_search" style="left:222px; top:115px; width:16px; height:16px; ">
  377. <caption/>
  378. <script type="javascript" ev:event="DOMActivate">
  379. <![CDATA[
  380. fOpenPopupZipHelp(opt_zipcd1,"zipcd1,zipcd2,supaddr,zipcdseqno");
  381. ]]>
  382. </script>
  383. </button>
  384. <output id="opt_zipcd1" ref="/root/main/racmcust/zipcd1" visibility="hidden" style="left:266px; top:114px; width:35px; height:19px; text-align:left; "/>
  385. <output id="opt_zipcd2" ref="/root/main/racmcust/zipcd2" visibility="hidden" style="left:301px; top:114px; width:30px; height:19px; text-align:left; "/>
  386. <input id="ipt_supaddr" ref="/root/main/racmcust/supaddr" class="input_default" navindex="6" style="left:103px; top:140px; width:440px; height:19px; ">
  387. <script type="javascript" ev:event="onkeypress">
  388. <![CDATA[
  389. if (event.keyCode == "13") {
  390. model.setFocus("ipt_infaddr");
  391. }
  392. ]]>
  393. </script>
  394. </input>
  395. <input id="ipt_zipcd" ref="/root/main/racmcust/zipcd" class="input_default" navindex="5" editable="false" style="left:103px; top:115px; width:115px; height:19px; "/>
  396. <output id="opt_zipcdseqno" ref="/root/main/racmcust/zipcdseqno" visibility="hidden" style="left:331px; top:114px; width:25px; height:19px; text-align:left; "/>
  397. <input id="ipt_infaddr" ref="/root/main/racmcust/infaddr" class="input_default" navindex="7" style="left:103px; top:165px; width:340px; height:19px; ">
  398. <script type="javascript" ev:event="onkeypress">
  399. <![CDATA[
  400. if (event.keyCode == "13") {
  401. model.setFocus("ipt_cntctel");
  402. }
  403. ]]>
  404. </script>
  405. </input>
  406. <line id="line5" class="line_2" style="x1:0px; y1:186px; x2:543px; y2:186px; "/>
  407. <caption id="caption9" class="cell_1" style="left:0px; top:187px; width:100px; height:23px; vertical-align:middle; ">업태</caption>
  408. <input id="input1" ref="/root/main/racmcust/bizcont" class="input_default" navindex="8" style="left:103px; top:189px; width:150px; height:19px; ">
  409. <script type="javascript" ev:event="onkeypress">
  410. <![CDATA[
  411. if (event.keyCode == "13") {
  412. model.setFocus("ipt_cmt");
  413. }
  414. ]]>
  415. </script>
  416. </input>
  417. <input id="input2" ref="/root/main/racmcust/item" class="input_default" navindex="8" style="left:365px; top:189px; width:150px; height:19px; ">
  418. <script type="javascript" ev:event="onkeypress">
  419. <![CDATA[
  420. if (event.keyCode == "13") {
  421. model.setFocus("ipt_cmt");
  422. }
  423. ]]>
  424. </script>
  425. </input>
  426. <caption id="caption11" class="cell_1" style="left:262px; top:187px; width:100px; height:23px; vertical-align:middle; ">종목</caption>
  427. <line id="line13" class="line_2" style="x1:0px; y1:236px; x2:543px; y2:236px; "/>
  428. <caption id="caption12" class="cell_1" style="left:262px; top:14px; width:135px; height:23px; text-align:left; vertical-align:middle; ">종료일자</caption>
  429. <input id="ipt_todd" ref="/root/main/racmcust/todd" class="input_essential" disabled="true" navindex="24" inputtype="date" style="left:399px; top:15px; width:135px; height:19px; "/>
  430. <select1 id="cmb_instflag" ref="/root/main/racmcust/instflag" class="combo_essential" navindex="33" visibility="hidden" appearance="minimal" style="left:399px; top:64px; width:135px; height:19px; ">
  431. <choices>
  432. <itemset nodeset="/root/init/init_R0015list/item">
  433. <label ref="label"/>
  434. <value ref="value"/>
  435. </itemset>
  436. </choices>
  437. </select1>
  438. <caption id="cap_instflag" class="cell_1" visibility="hidden" style="left:262px; top:62px; width:135px; height:23px; text-align:left; vertical-align:middle; ">법인구분</caption>
  439. </group>
  440. <group id="grp_btn" scroll="auto" style="left:0px; top:460px; width:544px; height:27px; ">
  441. <button id="btn_close" class="btn4_letter2" style="left:488px; top:2; width:56px; height:22px; ">
  442. <caption>닫기</caption>
  443. <script type="javascript" ev:event="onclick">
  444. <![CDATA[
  445. window.close();
  446. ]]>
  447. </script>
  448. </button>
  449. <line id="line1" class="line_6" visibility="hidden" style="x1:0; y1:0; x2:543; y2:0; "/>
  450. <button id="btn_delete" class="btn4_letter2" visibility="hidden" style="left:305px; top:2px; width:56px; height:22px; ">
  451. <caption>삭제</caption>
  452. <script type="javascript" ev:event="DOMActivate">
  453. <![CDATA[
  454. fDeleteClick();
  455. ]]>
  456. </script>
  457. </button>
  458. <button id="btn_save" class="btn4_letter2" style="left:432px; top:2px; width:56px; height:22px; ">
  459. <caption>저장</caption>
  460. <script type="javascript" ev:event="DOMActivate">
  461. <![CDATA[
  462. sEntrregno = model.getValue(ipt_entrregno.attribute("ref"));
  463. if(!radfBizCheck(sEntrregno))
  464. {
  465. messageBox("틀린 사업자 번호 입니다.\n다시 확인하세요 ", "I000");
  466. return false;
  467. }
  468. fSaveClick();
  469. ]]>
  470. </script>
  471. </button>
  472. </group>
  473. <button id="but_grddel" class="btn2_letter3" navindex="55" style="left:489px; top:278px; width:53px; height:19px; ">
  474. <caption>행삭제</caption>
  475. <script type="javascript" ev:event="DOMActivate">
  476. <![CDATA[
  477. misfGridIUD(grd_racdcustlist, "D");
  478. ]]>
  479. </script>
  480. </button>
  481. <button id="but_grdinst" class="btn2_letter3" navindex="54" style="left:433px; top:278px; width:53px; height:19px; ">
  482. <caption>행삽입</caption>
  483. <script type="javascript" ev:event="DOMActivate">
  484. <![CDATA[
  485. if(ipt_entrregno.value.replace(" ", "") == "")
  486. {
  487. messageBox("사업자등록번호가 ", "I004");
  488. return;
  489. }
  490. misfGridIUD(grd_racdcustlist, "I");
  491. grd_racdcustlist.valueMatrix(grd_racdcustlist.row, grd_racdcustlist.colRef("entrregno")) = ipt_entrregno.value;
  492. model.refresh();
  493. ]]>
  494. </script>
  495. </button>
  496. <datagrid id="grd_racdcustlist" nodeset="/root/main/racdcustlist" caption="사업자등록번호^종료일자^물품 구분^담당종료^담당자명^담당자 전화번호^담당자 휴대폰^담당자 이메일주소^담당직위^담당업무^담당순번^비고" colsep="^" colwidth="0, 0, 118, 55, 73, 97, 110, 126, 63, 87, 0, 122" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" navindex="56" style="left:0px; top:300px; width:543px; height:155px; ">
  497. <col ref="entrregno"/>
  498. <col ref="todd"/>
  499. <col ref="goodflag" type="combo" _key="true" style="left:20px; top:23px; width:118px; height:23px; ">
  500. <choices>
  501. <itemset nodeset="/root/init/R0025list/R0025">
  502. <label ref="cdnm"/>
  503. <value ref="cdid"/>
  504. </itemset>
  505. </choices>
  506. </col>
  507. <col checkvalue="Y,N" ref="chrgtoyn" type="checkbox"/>
  508. <col ref="chrgnm" type="input"/>
  509. <col ref="chrgtel" type="input"/>
  510. <col ref="chrgmpphon" type="input"/>
  511. <col ref="chrgemailaddr" type="input"/>
  512. <col ref="chrgplce" type="input"/>
  513. <col ref="chrgbiz" type="input"/>
  514. <col ref="chrgseq"/>
  515. <col ref="cmt" type="input"/>
  516. </datagrid>
  517. </xhtml:body>
  518. </xhtml:html>