SMRAS11000_거래처관리.xrw 47 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021
  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. <custlist>
  11. </custlist>
  12. <racmcust>
  13. <entrregno/>
  14. <custnm/>
  15. <cmpynm/>
  16. <fromdd/>
  17. <todd/>
  18. <prsdnm/>
  19. <rrgstno/>
  20. <custstat/>
  21. <bizcont/>
  22. <item/>
  23. <mainbizitem/>
  24. <oldentrregno/>
  25. <custflag/>
  26. <instflag/>
  27. <zipcd/>
  28. <zipcd1/>
  29. <zipcd2/>
  30. <zipcdseqno/>
  31. <supaddr/>
  32. <infaddr/>
  33. <cntctel/>
  34. <faxno/>
  35. <emailaddr/>
  36. <homepgaddr/>
  37. <bankcd/>
  38. <banknm/>
  39. <depor/>
  40. <paycond/>
  41. <aactno/>
  42. <cmt/>
  43. <acntchrgnm/>
  44. <acntchrgtelno/>
  45. <acntchrgmpphonno/>
  46. <acntchrgemailaddr/>
  47. <statflag/>
  48. <modifytodd/>
  49. <fstrgstrid/>
  50. <fstrgstrnm/>
  51. <fstrgstdt/>
  52. <lastupdtrid/>
  53. <lastupdtrnm/>
  54. <lastupdtdt/>
  55. <prntseqno/>
  56. <seizureyn/>
  57. <purcuseyn/>
  58. <nutruseyn/>
  59. <pharmuseyn/>
  60. <ctmsuseyn/>
  61. <seizurecmt/>
  62. <seizurepaydd/>
  63. </racmcust>
  64. <racdcustlist>
  65. </racdcustlist>
  66. </main>
  67. <send>
  68. <custlist>
  69. <entrregno/>
  70. <todd/>
  71. </custlist>
  72. <save>
  73. <racmcust/>
  74. <racdcustlist/>
  75. </save>
  76. <retrlist>
  77. <entrregno/>
  78. <custnm/>
  79. <custflag/>
  80. <custstat/>
  81. <todd/>
  82. <insertfromdd>20080301</insertfromdd>
  83. <inserttodd/>
  84. <purcuseyn/>
  85. <nutruseyn/>
  86. <pharmuseyn/>
  87. </retrlist>
  88. <data3>
  89. <instcd/>
  90. <mngtcd/>
  91. </data3>
  92. </send>
  93. <init>
  94. <init_R0015list>
  95. <item>
  96. <label>법인사업자</label>
  97. <value>1</value>
  98. </item>
  99. <item>
  100. <label>일반과세자</label>
  101. <value>2</value>
  102. </item>
  103. <item>
  104. <label>간이과세자</label>
  105. <value>3</value>
  106. </item>
  107. <item>
  108. <label>과세특례자</label>
  109. <value>4</value>
  110. </item>
  111. </init_R0015list>
  112. <R0015list>
  113. <R0015>
  114. <cdnm/>
  115. <cdid/>
  116. </R0015>
  117. </R0015list>
  118. <R0025list>
  119. <R0025>
  120. <cdnm/>
  121. <cdid/>
  122. </R0025>
  123. </R0025list>
  124. <custflaglist>
  125. <custflag>
  126. <cdid/>
  127. <cdnm/>
  128. </custflag>
  129. <custflag>
  130. <cdid>1</cdid>
  131. <cdnm>매입처</cdnm>
  132. </custflag>
  133. <custflag>
  134. <cdid>2</cdid>
  135. <cdnm>매출처</cdnm>
  136. </custflag>
  137. <custflag>
  138. <cdid>3</cdid>
  139. <cdnm>매입/매출처</cdnm>
  140. </custflag>
  141. <custflag>
  142. <cdid>4</cdid>
  143. <cdnm>기타</cdnm>
  144. </custflag>
  145. </custflaglist>
  146. <code>
  147. <codelist/>
  148. </code>
  149. <R0001list>
  150. <R0001/>
  151. </R0001list>
  152. </init>
  153. <hidden>
  154. <return>
  155. <custcnt/>
  156. </return>
  157. </hidden>
  158. <temp>
  159. <racdcustlist/>
  160. <condition>
  161. <tempcreate/>
  162. </condition>
  163. </temp>
  164. </root>
  165. </instance>
  166. <submission id="TRZBC00101" method="urlencoded-post" replace="instance"/>
  167. <submission id="TRRAS00160" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/retrlist" resultref="/root/main/custlist"/>
  168. <submission id="TRRAS00170" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/custlist" resultref="/root/main/racmcust"/>
  169. <submission id="TXRAS00150" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/save" resultref="/root/hidden"/>
  170. <submission id="TRRAS00110" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/data3" resultref="/root/init/code/codelist"/>
  171. <script type="javascript" ev:event="xforms-ready">
  172. <![CDATA[
  173. fCheckAuth();
  174. fInitialize();
  175. ]]>
  176. </script>
  177. </model>
  178. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  179. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  180. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  181. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  182. <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
  183. <script type="javascript" src="../../../mis/miscommonweb/js/RAC001.js"/>
  184. <script type="javascript" src="../../../mis/acntcommonweb/js/RAD001.js"/>
  185. <script type="javascript">
  186. <![CDATA[
  187. var acntdept = "";
  188. //========================================================================================
  189. //화면 권한 체크
  190. //========================================================================================
  191. function fCheckAuth() {
  192. btn_search.disabled = !checkAuth("R") ;
  193. btn_save.disabled = !checkAuth("X") ;
  194. }
  195. //========================================================================================
  196. //초기화
  197. //========================================================================================
  198. function fInitialize() {
  199. var instcd = getUserInfo("dutplceinstcd");
  200. var deptcd = getUserInfo("dutplcecd");
  201. model.setValue(ipt_inserttodd.attribute("ref"), getCurrentDate().toString());
  202. chk_ctmsuseyn
  203. // 은행코드 조회
  204. zbcfGetCodeList(new Array("R0001"), new Array("/root/init/R0001list"));
  205. model.refresh();
  206. model.setValue("/root/send/data3/instcd", instcd);
  207. model.setValue("/root/send/data3/mngtcd", "acntdept");
  208. submit("TRRAS00110");
  209. var acntdept = model.getValue("/root/init/code/code/codelist[1]/cdid");
  210. model.removenode("/root/init/code/code/codelist[1]/cdid")
  211. model.setValue("/root/send/data3/mngtcd", "custaactnomodifydeptcd");
  212. submit("TRRAS00110");
  213. var purchasedept = model.getValue("/root/init/code/code/codelist[1]/cdid");
  214. model.removenode("/root/init/code/code/codelist[1]/cdid")
  215. if (instance1.selectNodes("root/init/code/code/codelist").length != 0)
  216. {
  217. if (deptcd != acntdept && deptcd != purchasedept)
  218. {
  219. ipt_bankcd.disabled = true;
  220. btn_bankhelp.disabled = true;
  221. ipt_banknm.disabled = true;
  222. ipt_depor.disabled = true;
  223. ipt_paycond.disabled = true;
  224. ipt_aactno.disabled = true;
  225. chk_seizureyn.disabled = true;
  226. chk_tempcreate.disabled = true;
  227. }
  228. }
  229. // model.setValue("/root/send/retrlist/custflag","1");
  230. model.setValue("/root/send/retrlist/custstat","1");
  231. model.removenode("/root/main/custlist");
  232. model.copyNode("/root/temp/racdcustlist", "/root/main/racdcustlist");
  233. model.removenode("/root/main/racdcustlist");
  234. //콩통코드 자료
  235. zbcfGetCodeList(new Array("R0015"), new Array("/root/init/R0015list"));
  236. zbcfGetCodeList(new Array("R0025"), new Array("/root/init/R0025list"));
  237. model.setValue("/root/main/racmcust/custstat", "1");
  238. model.setValue("/root/main/racmcust/statflag","u");
  239. ipt_entrregno2.disabled = true;
  240. //ipt_todd.disabled = true;
  241. misfMsterDetailSet(grd_custlist, null, "TRRAS00160", "N");
  242. misfMsterDetailSet(grd_racdcustlist, grd_custlist, "TRRAS00170", "Y");
  243. misfMsterDetailRetrieve();
  244. model.refresh();
  245. }
  246. //========================================================================================
  247. //우편번호 Help Open
  248. //========================================================================================
  249. function fOpenPopupZipHelp(pControl, pInstance)
  250. {
  251. //04 우편번호 Helper
  252. misfOpenPopUpList("04", pControl, "", pInstance);
  253. var sZipcd = model.getValue("/root/main/racmcust/zipcd1") + '-' + model.getValue("/root/main/racmcust/zipcd2");
  254. model.setValue("/root/main/racmcust/zipcd", sZipcd);
  255. model.refresh();
  256. }
  257. ]]>
  258. </script>
  259. </xhtml:head>
  260. <xhtml:body guideline="1,1195;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  261. <group id="group1" style="left:0px; top:0px; width:1195px; height:13px; ">
  262. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:230px; height:14px; ">거래처 관리</caption>
  263. <caption id="caption4" class="patient_text_black" style="left:922px; top:0px; width:272px; "/>
  264. </group>
  265. <group id="group3" scroll="auto" style="left:0px; top:40; width:1195px; height:744px; ">
  266. <datagrid id="grd_custlist" nodeset="/root/main/custlist" caption="사업자등록번호^거래처명^시작일자^종료일자^상호명^대표자명^업태^종목^우편번호^주소1^주소2^전화번호^팩스번호^은행명^계좌번호^예금주^거래처번호유효성" colsep="^" colwidth="118, 208, 90, 90, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100" ellipsis="true" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="23" rowsep="|" style="left:1px; top:144px; width:558px; height:574px; ">
  267. <col class="text_center" ref="entrregno" format="999-99-99999"/>
  268. <col ref="custnm"/>
  269. <col class="text_center" ref="fromdd" format="yyyy-mm-dd"/>
  270. <col class="text_center" ref="todd" format="yyyy-mm-dd"/>
  271. <col ref="custnm" visibility="hidden"/>
  272. <col ref="prsdnm" visibility="hidden"/>
  273. <col ref="bizcont" visibility="hidden"/>
  274. <col ref="item" visibility="hidden"/>
  275. <col ref="zipcd1" visibility="hidden"/>
  276. <col ref="supaddr" visibility="hidden"/>
  277. <col ref="infaddr" visibility="hidden"/>
  278. <col ref="cntctel" visibility="hidden"/>
  279. <col ref="faxno" visibility="hidden"/>
  280. <col disabled="true" ref="bankcd" type="combo">
  281. <choices>
  282. <itemset nodeset="/root/init/R0001list/R0001">
  283. <label ref="cdnm"/>
  284. <value ref="cdid"/>
  285. </itemset>
  286. </choices>
  287. </col>
  288. <col ref="aactno"/>
  289. <col ref="depor"/>
  290. <col ref="validyn" visibility="hidden"/>
  291. <script type="javascript" ev:event="onrowchanged">
  292. <![CDATA[
  293. model.removeNodeset("/root/main/racdcustlist");
  294. model.setValue("/root/send/custlist/entrregno", grd_custlist.valueMatrix(grd_custlist.row, grd_custlist.colRef("entrregno")));
  295. model.setValue("/root/send/custlist/todd", grd_custlist.valueMatrix(grd_custlist.row, grd_custlist.colRef("todd")));
  296. misfMsterDetailRetrieve();
  297. model.makeNode("/root/main/racmcust/statflag");
  298. model.setValue("/root/main/racmcust/statflag", "u");
  299. misfSetReadOnlyCol(grd_racdcustlist, "goodflag");
  300. ipt_entrregno2.disabled = true;
  301. //ipt_todd.disabled = true;
  302. model.refresh();
  303. grd_racdcustlist.rebuild();
  304. ]]>
  305. </script>
  306. <script type="javascript" ev:event="onaftersort">
  307. <![CDATA[
  308. grd_custlist.gridToInstance();
  309. ]]>
  310. </script>
  311. </datagrid>
  312. <line id="line1" class="line_1" style="x1:0px; y1:138px; x2:558px; y2:138px; "/>
  313. <group id="group4" style="left:0px; top:7px; width:558px; height:107px; vertical-align:top; ">
  314. <shape id="roundrect2" class="roundrect_search" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:558px; height:107px; background-color:#fffbf2; border-color:#ffd799; "/>
  315. <caption id="caption5" class="search_name" style="left:6px; top:9px; width:125px; height:17px; ">사업자등록번호 :</caption>
  316. <caption id="caption1" class="search_name" style="left:6px; top:34px; width:126px; height:17px; ">거래 상태 :</caption>
  317. <button id="btn_regnohelp" class="icon_search" style="left:246px; top:10px; width:16px; height:16px; text-align:center; ">
  318. <caption/>
  319. <script type="javascript" ev:event="DOMActivate">
  320. <![CDATA[
  321. misfOpenPopUpList("14", ipt_entrregno, "", "entrregno,custnm", cmb_custstat.value, "custuseyn");
  322. model.refresh();
  323. ]]>
  324. </script>
  325. </button>
  326. <input id="ipt_entrregno" ref="/root/send/retrlist/entrregno" class="input_s_essential" navindex="1" format="999-99-99999" style="left:135px; top:8px; width:105px; height:19px; text-align:center; ">
  327. <script type="javascript" ev:event="onkeypress">
  328. <![CDATA[
  329. if(event.keyCode == 13)
  330. {
  331. // racfCustValidCheck("entrregno,custnm", "code");
  332. ipt_entrregno.value = ipt_entrregno.currentText;
  333. btn_search.dispatch("DOMActivate");
  334. }
  335. ]]>
  336. </script>
  337. <script type="javascript" ev:event="xforms-value-changed">
  338. <![CDATA[
  339. // racfCustValidCheck("entrregno,custnm", "code");
  340. btn_search.dispatch("DOMActivate");
  341. ]]>
  342. </script>
  343. </input>
  344. <input id="ipt_custnm" ref="/root/send/retrlist/custnm" class="input_s_essential" navindex="2" style="left:266px; top:8px; width:194px; height:19px; ">
  345. <script type="javascript" ev:event="onkeypress">
  346. <![CDATA[
  347. if(event.keyCode == 13)
  348. {
  349. // racfCustValidCheck("entrregno,custnm", "name");
  350. ipt_custnm.value = ipt_custnm.currentText;
  351. btn_search.dispatch("DOMActivate");
  352. }
  353. ]]>
  354. </script>
  355. <script type="javascript" ev:event="xforms-value-changed">
  356. <![CDATA[
  357. // racfCustValidCheck("entrregno,custnm", "name");
  358. btn_search.dispatch("DOMActivate");
  359. ]]>
  360. </script>
  361. </input>
  362. <select1 id="cmb_custstat" ref="/root/send/retrlist/custstat" class="combo_s_essential" navindex="4" appearance="minimal" style="left:135px; top:33px; width:105px; height:19px; text-align:center; ">
  363. <choices>
  364. <item>
  365. <label>거래중</label>
  366. <value>1</value>
  367. </item>
  368. <item>
  369. <label>거래종료</label>
  370. <value>2</value>
  371. </item>
  372. </choices>
  373. </select1>
  374. <button id="btn_search" class="btn1_letter2" navindex="3" style="left:487px; top:19px; width:56px; height:22px; ">
  375. <caption>조회</caption>
  376. <script type="javascript" ev:event="DOMActivate">
  377. <![CDATA[
  378. model.removeNodeset(grd_custlist.nodeset);
  379. grd_custlist.refresh();
  380. misfMsterDetailRetrieve();
  381. for(var i = grd_custlist.fixedRows ; i <= grd_custlist.rows ; i ++)
  382. {
  383. if(grd_custlist.valueMatrix(i, grd_custlist.colRef("fromdd")) >= grd_custlist.valueMatrix(i, grd_custlist.colRef("todd")))
  384. {
  385. grd_custlist.rowStyle(i, "data", "background-color") = "#00ffff";
  386. }
  387. }
  388. model.refresh();
  389. ]]>
  390. </script>
  391. </button>
  392. <line id="line30" class="line_4" style="x1:471px; y1:8px; x2:471px; y2:51px; "/>
  393. <caption id="caption9" class="search_name" style="left:250px; top:34px; width:95px; height:17px; ">종료일자 :</caption>
  394. <input id="ipt_unsldd" ref="/root/send/retrlist/todd" class="input_s_essential" navindex="5" inputtype="date" style="left:340px; top:33px; width:120px; height:19px; "/>
  395. <input id="ipt_insertfromdd" ref="/root/send/retrlist/insertfromdd" class="input_s_essential" navindex="6" inputtype="date" style="left:135px; top:58px; width:105px; height:19px; "/>
  396. <caption id="caption12" class="search_name" style="left:6px; top:59px; width:134px; height:17px; ">최초입력일자 :</caption>
  397. <input id="ipt_inserttodd" ref="/root/send/retrlist/inserttodd" class="input_s_essential" navindex="7" inputtype="date" style="left:266px; top:58px; width:105px; height:19px; "/>
  398. <caption id="caption13" style="left:247px; top:63px; width:20px; height:15px; ">~</caption>
  399. <caption id="caption15" class="search_name" style="left:6px; top:84px; width:134px; height:17px; ">업무구분 :</caption>
  400. <select1 id="combo1" ref="/root/send/retrlist/purcuseyn" class="combo_s_essential" navindex="8" appearance="minimal" style="left:190px; top:83px; width:70px; height:19px; text-align:center; ">
  401. <choices>
  402. <item>
  403. <label>전체</label>
  404. <value/>
  405. </item>
  406. <item>
  407. <label>사용</label>
  408. <value>Y</value>
  409. </item>
  410. <item>
  411. <label>사용않함</label>
  412. <value>N</value>
  413. </item>
  414. </choices>
  415. </select1>
  416. <caption id="caption16" style="left:150px; top:85px; width:40px; height:15px; font-weight:bold; text-align:center; ">구매</caption>
  417. <caption id="caption17" style="left:279px; top:85px; width:40px; height:15px; font-weight:bold; text-align:center; ">영양</caption>
  418. <caption id="caption18" style="left:408px; top:85px; width:40px; height:15px; font-weight:bold; text-align:center; ">약국</caption>
  419. <select1 id="combo2" ref="/root/send/retrlist/pharmuseyn" class="combo_s_essential" navindex="10" appearance="minimal" style="left:450px; top:83px; width:70px; height:19px; text-align:center; ">
  420. <choices>
  421. <item>
  422. <label>전체</label>
  423. <value/>
  424. </item>
  425. <item>
  426. <label>사용</label>
  427. <value>Y</value>
  428. </item>
  429. <item>
  430. <label>사용않함</label>
  431. <value>N</value>
  432. </item>
  433. </choices>
  434. </select1>
  435. <select1 id="combo3" ref="/root/send/retrlist/nutruseyn" class="combo_s_essential" navindex="9" appearance="minimal" style="left:320px; top:83px; width:70px; height:19px; text-align:center; ">
  436. <choices>
  437. <item>
  438. <label>전체</label>
  439. <value/>
  440. </item>
  441. <item>
  442. <label>사용</label>
  443. <value>Y</value>
  444. </item>
  445. <item>
  446. <label>사용않함</label>
  447. <value>N</value>
  448. </item>
  449. </choices>
  450. </select1>
  451. </group>
  452. <line id="line4" class="line_1" style="x1:561px; y1:25px; x2:1188px; y2:25px; "/>
  453. <line id="line13" class="line_2" style="x1:562px; y1:52px; x2:1194px; y2:52px; "/>
  454. <input id="ipt_entrregno2" ref="/root/main/racmcust/entrregno" class="input_essential" navindex="14" format="999-99-99999" style="left:698px; top:31px; width:175px; height:19px; ">
  455. <script type="javascript" ev:event="xforms-value-changed">
  456. <![CDATA[
  457. if(radfcheckCustExist(getUserInfo("dutplceinstcd"), ipt_entrregno2.value, "Y") != "")
  458. {
  459. model.setValue("/root/send/custlist/entrregno", ipt_entrregno2.value);
  460. submit("TRRAS00170");
  461. model.setValue("/root/main/racmcust/statflag", "u");
  462. ipt_entrregno2.disabled = false;
  463. }
  464. ]]>
  465. </script>
  466. </input>
  467. <caption id="cap_entrregno" class="cell_1" style="left:561px; top:29px; width:135px; height:23px; text-align:left; vertical-align:middle; ">사업자등록번호</caption>
  468. <line id="line5" class="line_2" style="x1:563px; y1:77px; x2:1195px; y2:77px; "/>
  469. <input id="ipt_custnm2" ref="/root/main/racmcust/custnm" class="input_essential" navindex="15" style="left:698px; top:56px; width:315px; height:19px; "/>
  470. <caption id="cap_custnm" class="cell_1" style="left:561px; top:54px; width:135px; height:23px; text-align:left; vertical-align:middle; ">거래처명</caption>
  471. <caption id="cap_fromdd" class="cell_1" style="left:561px; top:79px; width:135px; height:23px; text-align:left; vertical-align:middle; ">상호명</caption>
  472. <line id="line6" class="line_2" style="x1:562px; y1:102px; x2:1194px; y2:102px; "/>
  473. <caption id="cap_prsdnm" class="cell_1" style="left:561px; top:128px; width:135px; height:23px; text-align:left; vertical-align:middle; ">대표자명</caption>
  474. <line id="line8" class="line_2" style="x1:562px; y1:151px; x2:1194px; y2:151px; "/>
  475. <input id="ipt_prsdnm" ref="/root/main/racmcust/prsdnm" class="input_default" navindex="19" style="left:698px; top:130px; width:175px; height:19px; "/>
  476. <line id="line9" class="line_2" style="x1:563px; y1:176px; x2:1195px; y2:176px; "/>
  477. <input id="ipt_rrgstno" ref="/root/main/racmcust/rrgstno" class="input_default" navindex="20" format="999999-9999999" style="left:1014px; top:130px; width:175px; height:19px; "/>
  478. <caption id="cap_rrgstno" class="cell_1" style="left:877px; top:128px; width:135px; height:23px; text-align:left; vertical-align:middle; ">주민등록번호</caption>
  479. <line id="line10" class="line_3" style="x1:561px; y1:201px; x2:1193px; y2:201px; "/>
  480. <caption id="cap_custstat" class="cell_1" style="left:561px; top:153px; width:135px; height:23px; text-align:left; vertical-align:middle; ">거래상태</caption>
  481. <line id="line11" class="line_3" style="x1:561px; y1:179px; x2:1193px; y2:179px; "/>
  482. <line id="line14" class="line_3" style="x1:561px; y1:277px; x2:1193px; y2:277px; "/>
  483. <input id="ipt_mainbizitem" ref="/root/main/racmcust/mainbizitem" class="input_default" navindex="25" style="left:698px; top:207px; width:175px; height:19px; "/>
  484. <caption id="cap_bizcont" class="cell_1" style="left:561px; top:180px; width:135px; height:23px; text-align:left; vertical-align:middle; ">업태</caption>
  485. <line id="line15" class="line_2" style="x1:560px; y1:227px; x2:1192px; y2:227px; "/>
  486. <input id="ipt_item" ref="/root/main/racmcust/item" class="input_default" navindex="24" style="left:1014px; top:182px; width:175px; height:19px; "/>
  487. <line id="line16" class="line_2" style="x1:559px; y1:252px; x2:1190px; y2:252px; "/>
  488. <line id="line17" class="line_3" style="x1:561px; y1:280px; x2:1193px; y2:280px; "/>
  489. <input id="ipt_supaddr" ref="/root/main/racmcust/supaddr" class="input_default" navindex="34" style="left:698px; top:308px; width:491px; height:19px; "/>
  490. <line id="line18" class="line_2" style="x1:560px; y1:354px; x2:1192px; y2:354px; "/>
  491. <line id="line19" class="line_2" style="x1:560px; y1:379px; x2:1192px; y2:379px; "/>
  492. <line id="line20" class="line_2" style="x1:560px; y1:304px; x2:1192px; y2:304px; "/>
  493. <line id="line21" class="line_2" style="x1:561px; y1:329px; x2:1193px; y2:329px; "/>
  494. <caption id="cap_zipcd" class="cell_1" style="left:561px; top:281px; width:135px; height:23px; text-align:left; vertical-align:middle; ">우편번호</caption>
  495. <input id="ipt_cntctel" ref="/root/main/racmcust/infaddr" class="input_default" navindex="35" style="left:698px; top:333px; width:340px; height:19px; "/>
  496. <input id="ipt_faxno" ref="/root/main/racmcust/faxno" class="input_default" navindex="37" style="left:1014px; top:358px; width:175px; height:19px; "/>
  497. <line id="line22" class="line_2" style="x1:560px; y1:532px; x2:1192px; y2:532px; "/>
  498. <line id="line23" class="line_2" style="x1:560px; y1:557px; x2:1192px; y2:557px; "/>
  499. <line id="line24" class="line_3" style="x1:561px; y1:480px; x2:1193px; y2:480px; "/>
  500. <caption id="cap_aactno" class="cell_1" style="left:561px; top:535px; width:135px; height:23px; text-align:left; vertical-align:middle; ">계좌번호</caption>
  501. <caption id="cap_cmt" class="cell_1" style="left:876px; top:535px; width:135px; height:23px; text-align:left; vertical-align:middle; ">비고</caption>
  502. <input id="ipt_cmt" ref="/root/main/racmcust/cmt" class="input_default" navindex="50" style="left:1014px; top:535px; width:175px; height:19px; "/>
  503. <caption id="cap_bankcd" class="cell_1" style="left:561px; top:484px; width:135px; height:23px; text-align:left; vertical-align:middle; ">은행</caption>
  504. <line id="line26" class="line_3" style="x1:561px; y1:483px; x2:1193px; y2:483px; "/>
  505. <caption id="cap_depor" class="cell_1" style="left:561px; top:509px; width:135px; height:23px; text-align:left; vertical-align:middle; ">예금주</caption>
  506. <line id="line29" class="line_2" style="x1:560px; y1:507px; x2:1192px; y2:507px; "/>
  507. <button id="btn_init" class="btn2_letter2" style="left:1147px; top:5px; width:42px; height:19px; ">
  508. <caption>신규</caption>
  509. <script type="javascript" ev:event="DOMActivate">
  510. <![CDATA[
  511. model.resetInstanceNode("/root/main/racmcust");
  512. for(var i=0; i<grd_racdcustlist.rows; i++)
  513. {
  514. model.removenode("/root/main/racdcustlist");
  515. }
  516. model.setValue("/root/main/racmcust/custstat", "1");
  517. model.setValue("/root/main/racmcust/statflag", "i");
  518. model.setValue("/root/main/racmcust/fromdd", getCurrentDate().toString());
  519. model.setValue("/root/main/racmcust/todd","99991231");
  520. model.setValue("/root/main/racmcust/modifytodd","99991231");
  521. ipt_entrregno2.disabled = false;
  522. ipt_todd.disabled = false;
  523. model.setFocus("ipt_entrregno2");
  524. model.refresh();
  525. ]]>
  526. </script>
  527. </button>
  528. <caption id="cap_mainbizitem" class="cell_1" style="left:561px; top:204px; width:135px; height:23px; text-align:left; vertical-align:middle; ">주거래종목</caption>
  529. <caption id="cap_custflag" class="cell_1" style="left:561px; top:229px; width:135px; height:23px; text-align:left; vertical-align:middle; ">거래처구분</caption>
  530. <caption id="cap_item" class="cell_1" style="left:877px; top:180px; width:135px; height:23px; text-align:left; vertical-align:middle; ">종목</caption>
  531. <caption id="cap_supaddr" class="cell_1" style="left:561px; top:306px; width:135px; height:23px; text-align:left; vertical-align:middle; ">주소</caption>
  532. <caption id="cap_infaddr" class="cell_1" style="left:561px; top:331px; width:135px; height:23px; text-align:left; vertical-align:middle; ">상세주소</caption>
  533. <caption id="cap_faxno" class="cell_1" style="left:877px; top:356px; width:135px; height:23px; text-align:left; vertical-align:middle; ">팩스번호</caption>
  534. <caption id="cap_emailaddr" class="cell_1" style="left:561px; top:381px; width:135px; height:23px; text-align:left; vertical-align:middle; ">이메일주소</caption>
  535. <line id="line3" class="line_2" style="x1:560px; y1:403px; x2:1192px; y2:403px; "/>
  536. <caption id="cap_homepgaddr" class="cell_1" style="left:561px; top:405px; width:135px; height:23px; text-align:left; vertical-align:middle; ">홈페이지주소</caption>
  537. <line id="line31" class="line_3" style="x1:561px; y1:428px; x2:1193px; y2:428px; "/>
  538. <caption id="cap_acntchrgemailaddr" class="cell_1" style="left:877px; top:457px; width:135px; height:23px; text-align:left; vertical-align:middle; ">거래담당자이메일</caption>
  539. <input id="ipt_acntchrgemailaddr" ref="/root/main/racmcust/acntchrgemailaddr" class="input_default" navindex="44" style="left:1014px; top:459px; width:175px; height:19px; "/>
  540. <line id="line32" class="line_3" style="x1:561px; y1:582px; x2:1193px; y2:582px; "/>
  541. <caption id="cap_acntchrgnm" class="cell_1" style="left:561px; top:432px; width:135px; height:23px; text-align:left; vertical-align:middle; ">거래담당자명</caption>
  542. <caption id="cap_acntchrgtelno" class="cell_1" style="left:877px; top:432px; width:135px; height:23px; text-align:left; vertical-align:middle; ">거래담당자전화번호</caption>
  543. <line id="line33" class="line_2" style="x1:560px; y1:455px; x2:1192px; y2:455px; "/>
  544. <caption id="cap_acntchrgmpphonno" class="cell_1" style="left:561px; top:457px; width:135px; height:23px; text-align:left; vertical-align:middle; ">거래담당자휴대폰</caption>
  545. <input id="ipt_acntchrgmpphonno" ref="/root/main/racmcust/acntchrgmpphonno" class="input_default" navindex="43" style="left:698px; top:459px; width:175px; height:19px; "/>
  546. <input id="ipt_acntchrgtelno" ref="/root/main/racmcust/acntchrgtelno" class="input_default" navindex="42" style="left:1014px; top:434px; width:175px; height:19px; "/>
  547. <input id="ipt_acntchrgnm" ref="/root/main/racmcust/acntchrgnm" class="input_default" navindex="41" style="left:698px; top:434px; width:175px; height:19px; "/>
  548. <input id="ipt_aactno" ref="/root/main/racmcust/aactno" class="input_default" navindex="49" style="left:698px; top:535px; width:172px; height:19px; "/>
  549. <input id="ipt_depor" ref="/root/main/racmcust/depor" class="input_default" navindex="47" style="left:698px; top:511px; width:172px; height:19px; "/>
  550. <input id="ipt_bankcd" ref="/root/main/racmcust/bankcd" class="input_default" navindex="45" style="left:698px; top:486px; width:115px; height:19px; ">
  551. <script type="javascript" ev:event="onkeypress">
  552. <![CDATA[
  553. if(event.keyCode == 13)
  554. {
  555. ipt_bankcd.value = ipt_bankcd.currentText.substr(0, 2);
  556. misfValidationCheck("03", "R0001", "bankcd,banknm");
  557. model.refresh();
  558. }
  559. ]]>
  560. </script>
  561. </input>
  562. <input id="ipt_banknm" ref="/root/main/racmcust/banknm" class="input_default" navindex="46" style="left:835px; top:486px; width:180px; height:19px; ">
  563. <script type="javascript" ev:event="onkeypress">
  564. <![CDATA[
  565. if(event.keyCode == 13)
  566. {
  567. ipt_banknm.value = ipt_banknm.currentText.substr(0, 2);
  568. misfValidationCheck("03", "R0001", "bankcd,banknm");
  569. model.refresh();
  570. }
  571. ]]>
  572. </script>
  573. </input>
  574. <input id="ipt_emailaddr" ref="/root/main/racmcust/emailaddr" class="input_default" navindex="38" style="left:698px; top:383px; width:175px; height:19px; "/>
  575. <input id="ipt_homepgaddr" ref="/root/main/racmcust/homepgaddr" class="input_default" navindex="40" style="left:698px; top:407px; width:317px; height:19px; "/>
  576. <button id="button1" class="icon_search" style="left:816px; top:285px; width:16px; height:16px; ">
  577. <caption/>
  578. <script type="javascript" ev:event="DOMActivate">
  579. <![CDATA[
  580. fOpenPopupZipHelp(opt_zipcd1,"zipcd1,zipcd2,supaddr,zipcdseqno");
  581. ]]>
  582. </script>
  583. </button>
  584. <input id="ipt_zipcd" ref="/root/main/racmcust/zipcd" class="input_default" navindex="33" style="left:698px; top:283px; width:115px; height:19px; "/>
  585. <select1 id="cmb_custflag2" ref="/root/main/racmcust/custflag" class="combo_essential" navindex="27" appearance="minimal" style="left:698px; top:231px; width:175px; height:19px; ">
  586. <choices>
  587. <item>
  588. <label/>
  589. <value/>
  590. </item>
  591. <item>
  592. <label>매입처</label>
  593. <value>1</value>
  594. </item>
  595. <item>
  596. <label>매출처</label>
  597. <value>2</value>
  598. </item>
  599. <item>
  600. <label>매입/매출처</label>
  601. <value>3</value>
  602. </item>
  603. <item>
  604. <label>기타</label>
  605. <value>4</value>
  606. </item>
  607. </choices>
  608. </select1>
  609. <input id="ipt_bizcont" ref="/root/main/racmcust/bizcont" class="input_default" navindex="23" style="left:698px; top:182px; width:175px; height:19px; "/>
  610. <input id="ipt_fromdd" ref="/root/main/racmcust/fromdd" class="input_essential" navindex="17" inputtype="date" style="left:698px; top:105px; width:135px; height:19px; "/>
  611. <select1 id="rdo_custstat2" ref="/root/main/racmcust/custstat" navindex="21" overflow="visible" appearance="full" cellspacing="50" cols="2" style="left:698px; top:155px; width:182px; height:20px; border-style:none; ">
  612. <choices>
  613. <item>
  614. <label>거래중</label>
  615. <value>1</value>
  616. </item>
  617. <item>
  618. <label>거래종료</label>
  619. <value>2</value>
  620. </item>
  621. </choices>
  622. <script type="javascript" ev:event="xforms-value-changed">
  623. <![CDATA[
  624. // if(rdo_custstat2.value == "1")
  625. // {
  626. // ipt_todd.disabled = true;
  627. // }
  628. // else
  629. // {
  630. // ipt_todd.disabled = false;
  631. // }
  632. ]]>
  633. </script>
  634. </select1>
  635. <caption id="caption35" class="tit_2" style="left:5px; top:121px; width:118px; height:13px; ">거래처 목록</caption>
  636. <caption id="caption36" class="tit_2" style="left:567px; top:10px; width:118px; height:13px; ">거래처 정보</caption>
  637. <button id="button3" class="btn2_letter4" navindex="13" style="left:495px; top:117px; width:64px; height:19px; text-align:left; ">
  638. <caption>엑셀출력</caption>
  639. <script type="javascript" ev:event="DOMActivate">
  640. <![CDATA[
  641. misfSaveExcel(grd_custlist);
  642. ]]>
  643. </script>
  644. </button>
  645. <line id="line28" class="line_3" style="x1:561px; y1:431px; x2:1193px; y2:431px; "/>
  646. <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:561px; top:635px; width:632px; height:84px; ">
  647. <col ref="entrregno"/>
  648. <col ref="todd"/>
  649. <col ref="goodflag" type="combo" _key="true" style="left:20px; top:23px; width:118px; height:23px; ">
  650. <choices>
  651. <itemset nodeset="/root/init/R0025list/R0025">
  652. <label ref="cdnm"/>
  653. <value ref="cdid"/>
  654. </itemset>
  655. </choices>
  656. </col>
  657. <col checkvalue="Y,N" ref="chrgtoyn" type="checkbox"/>
  658. <col ref="chrgnm" type="input"/>
  659. <col ref="chrgtel" type="input"/>
  660. <col ref="chrgmpphon" type="input"/>
  661. <col ref="chrgemailaddr" type="input"/>
  662. <col ref="chrgplce" type="input"/>
  663. <col ref="chrgbiz" type="input"/>
  664. <col ref="chrgseq"/>
  665. <col ref="cmt" type="input"/>
  666. </datagrid>
  667. <caption id="cap_todd" class="cell_1" style="left:561px; top:104px; width:135px; height:23px; text-align:left; vertical-align:middle; ">시작일자</caption>
  668. <line id="line7" class="line_2" style="x1:562px; y1:126px; x2:1194px; y2:126px; "/>
  669. <input id="ipt_todd" ref="/root/main/racmcust/modifytodd" class="input_essential" navindex="18" inputtype="date" style="left:1014px; top:105px; width:135px; height:19px; "/>
  670. <caption id="cap_instflag" class="cell_1" style="left:877px; top:229px; width:135px; height:23px; text-align:left; vertical-align:middle; ">법인구분</caption>
  671. <select1 id="cmb_instflag" ref="/root/main/racmcust/instflag" class="combo_essential" navindex="28" appearance="minimal" style="left:1014px; top:231px; width:175px; height:19px; ">
  672. <choices>
  673. <itemset nodeset="/root/init/init_R0015list/item">
  674. <label ref="label"/>
  675. <value ref="value"/>
  676. </itemset>
  677. </choices>
  678. </select1>
  679. <caption id="cap_oldentrregno" class="cell_1" style="left:877px; top:204px; width:135px; height:23px; text-align:left; vertical-align:middle; ">승계구거래처번호</caption>
  680. <input id="ipt_oldentrregno" ref="/root/main/racmcust/oldentrregno" class="input_default" navindex="26" style="left:1014px; top:206px; width:175px; height:19px; "/>
  681. <caption id="cap_cntctel" class="cell_1" style="left:561px; top:356px; width:135px; height:23px; text-align:left; vertical-align:middle; ">전화번호</caption>
  682. <input id="input1" ref="/root/main/racmcust/cntctel" class="input_default" navindex="36" style="left:698px; top:358px; width:175px; height:19px; "/>
  683. <button id="but_grddel" class="btn2_letter3" navindex="55" style="left:1137px; top:613px; width:53px; height:19px; ">
  684. <caption>행삭제</caption>
  685. <script type="javascript" ev:event="DOMActivate">
  686. <![CDATA[
  687. misfGridIUD(grd_racdcustlist, "D");
  688. ]]>
  689. </script>
  690. </button>
  691. <button id="but_grdinst" class="btn2_letter3" navindex="54" style="left:1081px; top:613px; width:53px; height:19px; ">
  692. <caption>행삽입</caption>
  693. <script type="javascript" ev:event="DOMActivate">
  694. <![CDATA[
  695. if(ipt_entrregno2.value.replace(" ", "") == "")
  696. {
  697. messageBox("사업자등록번호가 ", "I004");
  698. return;
  699. }
  700. misfGridIUD(grd_racdcustlist, "I");
  701. grd_racdcustlist.valueMatrix(grd_racdcustlist.row, grd_racdcustlist.colRef("entrregno")) = ipt_entrregno2.value;
  702. model.refresh();
  703. ]]>
  704. </script>
  705. </button>
  706. <output id="opt_zipcdseqno" ref="/root/main/racmcust/zipcdseqno" visibility="hidden" style="left:860px; top:284px; width:10px; height:19px; text-align:left; "/>
  707. <output id="opt_zipcd1" ref="/root/main/racmcust/zipcd1" visibility="hidden" style="left:840px; top:284px; width:10px; height:19px; text-align:left; "/>
  708. <output id="opt_zipcd2" ref="/root/main/racmcust/zipcd2" visibility="hidden" style="left:850px; top:284px; width:10px; height:19px; text-align:left; "/>
  709. <caption id="cap_paycond" class="cell_1" style="left:876px; top:509px; width:135px; height:23px; text-align:left; vertical-align:middle; ">지불조건</caption>
  710. <input id="ipt_paycond" ref="/root/main/racmcust/paycond" class="input_default" navindex="48" format="9" style="left:1014px; top:511px; width:121px; height:19px; text-align:right; "/>
  711. <button id="btn_bankhelp" class="icon_search" style="left:816px; top:487px; width:16px; height:16px; ">
  712. <caption/>
  713. <script type="javascript" ev:event="DOMActivate">
  714. <![CDATA[
  715. misfOpenPopUpList("03", ipt_bankcd, "R0001", "bankcd,banknm");
  716. model.refresh()
  717. ]]>
  718. </script>
  719. </button>
  720. <caption id="caption2" class="cell_1" style="left:877px; top:104px; width:135px; height:23px; text-align:left; vertical-align:middle; ">종료일자</caption>
  721. <input id="ipt_cmpynm" ref="/root/main/racmcust/cmpynm" class="input_essential" navindex="16" style="left:698px; top:80px; width:315px; height:19px; "/>
  722. <caption id="caption8" class="cell_1" visibility="hidden" style="left:877px; top:153px; width:135px; height:23px; text-align:left; vertical-align:middle; ">기존종료일자</caption>
  723. <input id="input2" ref="/root/main/racmcust/todd" class="input_essential" navindex="22" visibility="hidden" inputtype="date" style="left:1014px; top:154px; width:135px; height:19px; "/>
  724. <button id="button2" class="btn2_letter4" navindex="12" style="left:425px; top:117px; width:64px; height:19px; text-align:left; ">
  725. <caption>엑셀입력</caption>
  726. <script type="javascript" ev:event="DOMActivate">
  727. <![CDATA[
  728. modal("SPRAC00610");
  729. ]]>
  730. </script>
  731. </button>
  732. <button id="btn_del" class="btn4_letter2" visibility="hidden" style="left:1139px; top:485px; width:56px; height:22px; ">
  733. <caption>삭제</caption>
  734. <script type="javascript" ev:event="DOMActivate">
  735. <![CDATA[
  736. // 1개일때도 삭제됨 검증 필요
  737. if(ipt_entrregno2.value != "" && ipt_todd.value != "" && model.getValue("/root/main/racmcust/statflag") != "i")
  738. {
  739. ret = messageBox("삭제하시겠습니까?","Q999");
  740. if (ret == "6")
  741. {
  742. model.setValue("/root/main/racmcust/statflag", "d");
  743. model.copyNode("/root/send/save/racmcust", "/root/main/racmcust");
  744. for(var i = grd_racdcustlist.fixedRows ; i < grd_racdcustlist.rows ; i++)
  745. {
  746. grd_racdcustlist.rowStatus(i) = 4;
  747. }
  748. model.setValue("/root/send/save/racdcustlist", grd_racdcustlist.getUpdateData());
  749. misfSave("TXRAS00150");
  750. if(model.getValue("/root/hidden/return/custcnt") == "1")
  751. {
  752. messageBox("거래처가 1개 존재합니다.\n삭제할 수 없습니다.","I000");
  753. }
  754. else
  755. {
  756. btn_search.dispatch("DOMActivate");
  757. }
  758. //btn_search.dispatch("DOMActivate");
  759. }
  760. }
  761. ]]>
  762. </script>
  763. </button>
  764. <input id="input3" ref="/root/main/racmcust/fstrgstrid" class="input_default" editable="false" style="left:697px; top:587px; width:98px; height:19px; text-align:center; vertical-align:middle; "/>
  765. <caption id="caption7" class="cell_1" style="left:560px; top:585px; width:135px; height:23px; text-align:left; vertical-align:middle; ">최초작성자</caption>
  766. <caption id="caption10" class="cell_1" style="left:560px; top:610px; width:135px; height:23px; text-align:left; vertical-align:middle; ">최종작성자</caption>
  767. <input id="input4" ref="/root/main/racmcust/lastupdtrid" class="input_default" editable="false" style="left:697px; top:612px; width:98px; height:19px; text-align:center; vertical-align:middle; "/>
  768. <input id="input5" ref="/root/main/racmcust/fstrgstrnm" class="input_default" editable="false" style="left:800px; top:587px; width:98px; height:19px; text-align:center; vertical-align:middle; "/>
  769. <input id="input6" ref="/root/main/racmcust/lastupdtrnm" class="input_default" editable="false" style="left:800px; top:612px; width:98px; height:19px; text-align:center; vertical-align:middle; "/>
  770. <input id="input7" ref="/root/main/racmcust/fstrgstdt" class="input_default" editable="false" style="left:903px; top:587px; width:168px; height:19px; text-align:center; vertical-align:middle; "/>
  771. <input id="input8" ref="/root/main/racmcust/lastupdtdt" class="input_default" editable="false" style="left:903px; top:612px; width:168px; height:19px; text-align:center; vertical-align:middle; "/>
  772. <input id="ipt_prntseqno" ref="/root/main/racmcust/prntseqno" class="input_default" navindex="39" format="9999999999" style="left:1014px; top:383px; width:175px; height:19px; "/>
  773. <caption id="caption11" class="cell_1" style="left:877px; top:381px; width:135px; height:23px; text-align:left; vertical-align:middle; ">출력순서</caption>
  774. <select id="chk_seizureyn" ref="/root/main/racmcust/seizureyn" navindex="51" visibility="visible" overflow="visible" appearance="full" cellspacing="70" cols="4" style="left:700px; top:560px; width:75px; height:19px; border-style:none; ">
  775. <choices>
  776. <item>
  777. <label>압류여부</label>
  778. <value>Y</value>
  779. </item>
  780. </choices>
  781. <script type="javascript" ev:event="xforms-select">
  782. <![CDATA[
  783. model.setValue("/root/main/racmcust/seizureyn", 'Y');
  784. ]]>
  785. </script>
  786. </select>
  787. <button id="button4" class="btn2_letter10" navindex="11" style="left:105px; top:117px; width:130px; height:19px; text-align:left; ">
  788. <caption>사업자등록번호 검사</caption>
  789. <script type="javascript" ev:event="DOMActivate">
  790. <![CDATA[
  791. openLoadingBar("작업중");
  792. for(var i = grd_custlist.fixedRows ; i <= grd_custlist.rows ; i++)
  793. {
  794. sEntrregno = grd_custlist.valueMatrix(i, grd_custlist.colRef("entrregno"));
  795. if(!radfBizCheck(sEntrregno))
  796. {
  797. grd_custlist.rowStyle(i, "data", "background-color") = "#ff99cc";
  798. model.setValue(grd_custlist.nodeset + "[" + i + "]/validyn", "N");
  799. }
  800. grd_custlist.refresh();
  801. }
  802. closeLoadingBar();
  803. ]]>
  804. </script>
  805. </button>
  806. <select id="chk_purcuseyn" ref="/root/main/racmcust/purcuseyn" navindex="29" overflow="visible" appearance="full" cellspacing="0" cols="4" style="left:700px; top:256px; width:95px; height:20px; border-style:none; ">
  807. <choices>
  808. <item>
  809. <label>구매 사용여부</label>
  810. <value>Y</value>
  811. </item>
  812. </choices>
  813. <script type="javascript" ev:event="xforms-select">
  814. <![CDATA[
  815. model.setValue(chk_purcuseyn.attribute("ref"), 'Y');
  816. ]]>
  817. </script>
  818. </select>
  819. <select id="chk_nutruseyn" ref="/root/main/racmcust/nutruseyn" navindex="30" overflow="visible" appearance="full" cellspacing="0" cols="4" style="left:805px; top:256px; width:95px; height:20px; border-style:none; ">
  820. <choices>
  821. <item>
  822. <label>영양 사용여부</label>
  823. <value>Y</value>
  824. </item>
  825. </choices>
  826. <script type="javascript" ev:event="xforms-select">
  827. <![CDATA[
  828. model.setValue(chk_nutruseyn.attribute("ref"), 'Y');
  829. ]]>
  830. </script>
  831. </select>
  832. <caption id="caption14" class="cell_1" style="left:561px; top:254px; width:135px; height:23px; text-align:left; vertical-align:middle; ">업무구분</caption>
  833. <select id="chk_pharmuseyn" ref="/root/main/racmcust/pharmuseyn" navindex="31" overflow="visible" appearance="full" cellspacing="0" cols="4" style="left:910px; top:256px; width:100px; height:20px; border-style:none; ">
  834. <choices>
  835. <item>
  836. <label>약국 사용여부</label>
  837. <value>Y</value>
  838. </item>
  839. </choices>
  840. <script type="javascript" ev:event="xforms-select">
  841. <![CDATA[
  842. model.setValue(chk_pharmuseyn.attribute("ref"), 'Y');
  843. ]]>
  844. </script>
  845. </select>
  846. <caption id="caption19" class="cell_1" style="left:561px; top:560px; width:135px; height:19px; text-align:left; vertical-align:middle; ">압류</caption>
  847. <caption id="caption20" class="cell_1" style="left:785px; top:560px; width:85px; height:19px; text-align:left; vertical-align:middle; ">압류내용</caption>
  848. <input id="ipt_seizurecmt" ref="/root/main/racmcust/seizurecmt" class="input_default" navindex="52" style="left:875px; top:560px; width:140px; height:19px; "/>
  849. <caption id="caption21" class="cell_1" style="left:1020px; top:560px; width:70px; height:19px; text-align:left; vertical-align:middle; ">압류지급일</caption>
  850. <input id="ipt_seizurepaydd" ref="/root/main/racmcust/seizurepaydd" class="input_essential" navindex="53" inputtype="date" style="left:1090px; top:560px; width:99px; height:19px; "/>
  851. <button id="button5" class="icon_search" visibility="hidden" style="left:1017px; top:57px; width:16px; height:16px; text-align:center; ">
  852. <caption/>
  853. <script type="javascript" ev:event="DOMActivate">
  854. <![CDATA[
  855. setParameter("PPRAC00600_custnm", model.getValue("/root/main/racmcust/custnm") );
  856. modalUrl("../../../mis/miscommonweb/xrw/PPRAC00600_거래처코드HELP.xrw", 1, 0, 0, "", "", "");
  857. ]]>
  858. </script>
  859. </button>
  860. <select id="chk_tempcreate" ref="/root/temp/condition/tempcreate" overflow="visible" appearance="full" cellspacing="0" cols="4" style="left:1100px; top:488px; width:95px; height:20px; border-style:none; ">
  861. <choices>
  862. <item>
  863. <label>임시 생성</label>
  864. <value>Y</value>
  865. </item>
  866. </choices>
  867. <script type="javascript" ev:event="xforms-select">
  868. <![CDATA[
  869. model.setValue(chk_purcuseyn.attribute("ref"), 'Y');
  870. ]]>
  871. </script>
  872. </select>
  873. <select id="chk_ctmsuseyn" ref="/root/main/racmcust/ctmsuseyn" navindex="32" overflow="visible" appearance="full" cellspacing="0" cols="4" style="left:1020px; top:256px; width:115px; height:20px; border-style:none; ">
  874. <choices>
  875. <item>
  876. <label>CTMS 사용여부</label>
  877. <value>Y</value>
  878. </item>
  879. </choices>
  880. <script type="javascript" ev:event="xforms-select">
  881. <![CDATA[
  882. model.setValue(chk_ctmsuseyn.attribute("ref"), 'Y');
  883. ]]>
  884. </script>
  885. </select>
  886. <caption id="caption3" style="left:1129px; top:513px; width:40px; height:15px; text-align:center; ">개월</caption>
  887. </group>
  888. <group id="group2" scroll="auto" style="left:0px; top:13; width:1195px; height:27px; ">
  889. <button id="btn_save" class="btn4_letter2" navindex="57" style="left:1136px; top:3; width:56px; height:22px; ">
  890. <caption>저장</caption>
  891. <script type="javascript" ev:event="DOMActivate">
  892. <![CDATA[
  893. if(!isRequiredControls("ipt_entrregno2","ipt_custnm2","ipt_fromdd","ipt_todd","cmb_custflag2"))
  894. {
  895. return false;
  896. }
  897. sEntrregno = model.getValue("/root/main/racmcust/entrregno");
  898. /*if(!radfBizCheck(sEntrregno) && model.getValue("/root/temp/condition/tempcreate") != "Y")
  899. {
  900. messageBox("틀린 사업자 번호 입니다.\n다시 확인하세요 ", "I000");
  901. return false;
  902. }*/
  903. model.copyNode("/root/send/save/racmcust", "/root/main/racmcust");
  904. // model.copyNode("/root/send/save/racdcustlist", "/root/main/racdcustlist");
  905. model.setValue("/root/send/save/racdcustlist", grd_racdcustlist.getUpdateData());
  906. if(misfSave("TXRAS00150"))
  907. {
  908. if(model.getValue("/root/main/racmcust/statflag") == "i")
  909. {
  910. messageBox("저장되었습니다.", "I000");
  911. }
  912. else if(model.getValue("/root/main/racmcust/statflag") == "u")
  913. {
  914. messageBox("수정되었습니다.", "I000");
  915. }
  916. }
  917. model.setValue("/root/main/racmcust/statflag", "u");
  918. ipt_entrregno2.disabled = true;
  919. ]]>
  920. </script>
  921. </button>
  922. <line id="line2" class="line_6" style="x1:0px; y1:25px; x2:1194px; y2:25px; "/>
  923. <button id="button23" class="btn6_letter2" style="left:2; top:3; width:56px; height:22px; ">
  924. <caption>출력</caption>
  925. </button>
  926. </group>
  927. </xhtml:body>
  928. </xhtml:html>