SMRSG07900_입고대장(고정자산).xrw 27 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/css" ?>
  3. <xhtml:html xmlns:ex="http://www.comsquare.co.kr/xforms/excel" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:my="http://www.comsquare.co.kr/example" xmlns:ms="urn:schemas-microsoft-com:xslt" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.w3.org/2002/01/xforms" xmlns:ev="http://www.w3.org/2001/xml-events" xmlns:cs="http://www.comsquare.co.kr/xforms">
  4. <xhtml:head>
  5. <xhtml:title>(고정자산) 입고대장</xhtml:title>
  6. <model id="model1">
  7. <instance id="instance1">
  8. <root xmlns="">
  9. <main>
  10. <list>
  11. <fixwinregstinfo>
  12. <fixwinregstlist/>
  13. </fixwinregstinfo>
  14. <windd>
  15. <winfrdd/>
  16. <wintodd/>
  17. </windd>
  18. <instnm/>
  19. <chkpsnnm/>
  20. </list>
  21. </main>
  22. <send>
  23. <search>
  24. <instcd/>
  25. <goodflag>EQ</goodflag>
  26. <lrgcd/>
  27. <lrgnm/>
  28. <mdlcd/>
  29. <mdlnm/>
  30. <winfrdd/>
  31. <wintodd/>
  32. <fixasetcd/>
  33. <fixasetnm/>
  34. <calcdocufrdd/>
  35. <calcdocutodd/>
  36. <chkpsn/>
  37. <chkpsnnm/>
  38. <suplplcecd/>
  39. <suplplcenm/>
  40. <subsuplplcecd/>
  41. <subsuplplcenm/>
  42. </search>
  43. </send>
  44. <init>
  45. <goodflag>
  46. <label>비품</label>
  47. <value>G</value>
  48. <label>장비</label>
  49. <value>E</value>
  50. </goodflag>
  51. <options>
  52. <fixasetunit>Y</fixasetunit>
  53. <possnamt>Y</possnamt>
  54. <calcdocudd>Y</calcdocudd>
  55. <windd>Y</windd>
  56. <acntflagnm/>
  57. <chkpsnnm/>
  58. <suppcustcdnm/>
  59. </options>
  60. </init>
  61. <temp>
  62. </temp>
  63. </root>
  64. </instance>
  65. <submission id="TRRSG07901" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/search" resultref="/root/main/list/fixwinregstinfo"/>
  66. <submission id="TXRSG07901" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/fixwinregstlist" resultref="/root/temp"/>
  67. </model>
  68. <script type="javascript" ev:event="xforms-ready">
  69. <![CDATA[
  70. //화면 Control을 초기화한다
  71. fInitialize();
  72. ]]>
  73. </script>
  74. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  75. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  76. <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
  77. <script type="javascript" src="../../../mis/miscommonweb/js/RSZ001.js"/>
  78. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  79. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  80. <script type="javascript">
  81. <![CDATA[
  82. function fInitialize()
  83. {
  84. // 금일 날자 설정
  85. var curdate = getCurrentDate();
  86. var cvtdate = curdate.toDate("YYYYMMDD");
  87. model.setValue("/root/send/search/winfrdd", curdate.substr(0,6)+"01" );
  88. model.setValue("/root/send/search/wintodd", curdate.substr(0,6)+cvtdate.getMonthDay() );
  89. //model.setValue(ipt_windtfrom.attribute("ref") ,cvtdate.getAddDate(-10,"D").getDateFormat("YYYYMMDD"));
  90. //model.setValue(ipt_windtto.attribute("ref") , curdate);
  91. misfComboComCdListMulti("Z0007","cmb_instcd");
  92. model.setValue("/root/send/search/instcd", getUserInfo("dutplceinstcd")); // 기관 설정
  93. model.removeNodeset("/root/main/list/fixwinregstinfo/fixwinregstlist");
  94. //fViewOptionToggle("fixasetunit");
  95. //fViewOptionToggle("possnamt");
  96. //fViewOptionToggle("calcdocudd");
  97. //fViewOptionToggle("windd");
  98. fViewOptionToggle("suppcustcdnm");
  99. fViewOptionToggle("acntflagnm");
  100. fViewOptionToggle("chkpsnnm");
  101. model.refresh();
  102. }
  103. function fItemAllChoice( vFlag ) {
  104. if( fGridItemCheck()!=true ) return;
  105. for( cnt = grd_fixwinregst.fixedRows; cnt < grd_fixwinregst.rows ; cnt++ ) {
  106. grd_fixwinregst.valueMatrix( cnt, grd_fixwinregst.colRef("chk") ) = vFlag;
  107. }
  108. }
  109. function fGridItemCheck( choiceFlag ) {
  110. var choiceCnt = 0;
  111. if (grd_fixwinregst.rows - grd_fixwinregst.fixedRows <= 0 ) {
  112. messageBox("선택할 데이터가","I004");
  113. return false;
  114. }
  115. if ( choiceFlag == "chk" ) {
  116. model.resetInstanceNode("/root/copytemp");
  117. var varcopy = instance1.selectNodes(grd_fixwinregst.nodeset + "[chk='Y']");
  118. if ( varcopy.length == 0 ) {
  119. messageBox("선택한 데이터가","I004");
  120. return false;
  121. }
  122. }
  123. return true;
  124. }
  125. function freqlistprint() {
  126. var Path = "/root/send/fixwinregstprnt/fixwinregstprntlist";
  127. model.removenode(Path);
  128. model.makeNode(Path);
  129. copyNodesetType(Path, grd_fixwinregst.nodeset+ "[chk='Y']");
  130. exeReportPreview("RPRSG07901","XMLSTR");
  131. }
  132. // --------------------------------------------------
  133. // View Option 처리하는 함수
  134. // --------------------------------------------------
  135. function fViewOptionToggle(pColName) {
  136. grd_fixwinregst.colHidden(grd_fixwinregst.colRef(pColName)) = (eval("chk_"+pColName).value =="Y") ? false : true;
  137. }
  138. ]]>
  139. </script>
  140. </xhtml:head>
  141. <xhtml:body style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  142. <group id="group1" style="left:0px; top:0px; width:1195px; height:13px; ">
  143. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:230px; height:14px; ">(고정자산) 입고대장</caption>
  144. <caption id="caption4" class="patient_text_black" style="left:922px; top:0px; width:272px; "/>
  145. </group>
  146. <group id="group3" scroll="auto" style="left:0px; top:40; width:1195px; height:744px; ">
  147. <group id="grp_search" style="left:0px; top:17px; width:1195px; height:128px; vertical-align:top; ">
  148. <caption id="cap_allsizespecid" class="search_name" style="left:965px; top:10px; width:111px; height:17px; ">규격코드 :</caption>
  149. <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1195px; height:125px; background-color:#fffbf2; border-color:#ffd799; "/>
  150. <line id="line30" class="line_4" style="x1:1110px; y1:14px; x2:1110px; y2:110px; "/>
  151. <button id="btn_search" class="btn1_letter2" style="left:1125px; top:22px; width:56px; height:22px; ">
  152. <caption>조회</caption>
  153. <script type="javascript" ev:event="DOMActivate">
  154. <![CDATA[
  155. if (submit("TRRSG07901")){
  156. model.setValue("/root/main/list/windd/winfrdd", model.getValue(ipt_winfrdd.attribute("ref")));
  157. model.setValue("/root/main/list/windd/wintodd", model.getValue(ipt_wintodd.attribute("ref")));
  158. model.setValue("/root/main/list/instnm" , cmb_instcd.label);
  159. model.setValue("/root/main/list/chkpsnnm" , model.getValue(ipt_chkpsnnm.attribute("ref")));
  160. }
  161. ]]>
  162. </script>
  163. </button>
  164. <select1 id="cmb_instcd" ref="/root/send/search/instcd" class="combo_s_essential" appearance="minimal" style="left:114px; top:10px; width:241px; height:19px; ">
  165. <choices>
  166. <itemset nodeset="/root/main/init">
  167. <label ref="cnstnm"/>
  168. <value ref="cnstcd"/>
  169. </itemset>
  170. </choices>
  171. </select1>
  172. <caption id="cap_instcd" class="search_name" style="left:10px; top:10px; width:101px; height:17px; ">기관코드 :</caption>
  173. <caption id="caption20" class="search_name" style="left:9px; top:65px; width:96px; height:17px; vertical-align:middle; ">입고일자 :</caption>
  174. <caption id="caption26" style="left:229px; top:65px; width:15px; height:20px; font-weight:bold; ">~</caption>
  175. <input id="ipt_wintodd" ref="/root/send/search/wintodd" inputtype="date" style="left:250px; top:65px; width:105px; height:19px; ">
  176. <script type="javascript" ev:event="xforms-value-changed">
  177. <![CDATA[
  178. // btn_search.dispatch("DOMActivate");
  179. ]]>
  180. </script>
  181. </input>
  182. <input id="ipt_winfrdd" ref="/root/send/search/winfrdd" inputtype="date" style="left:114px; top:65px; width:105px; height:19px; ">
  183. <script type="javascript" ev:event="xforms-value-changed">
  184. <![CDATA[
  185. // btn_search.dispatch("DOMActivate");
  186. ]]>
  187. </script>
  188. </input>
  189. <caption id="caption2" class="search_name" style="left:735px; top:10px; width:89px; height:17px; ">자산코드 :</caption>
  190. <input id="ipt_fixasetcd" ref="/root/send/search/fixasetcd" class="input_search" visibility="visible" style="left:831px; top:10px; width:85px; height:19px; ">
  191. <script type="javascript" ev:event="xforms-value-changed">
  192. <![CDATA[
  193. if(ipt_fixasetcd.value != "")
  194. {
  195. rszfValidationCheck("TRRSD00241", "rfcmfacdlist", "instcd,requirementcd,requirementnm,goodflag",
  196. cmb_instcd.value +",fixasetcd," + ipt_fixasetcd.value +"," + cmb_goodflag.value,
  197. "", "fixasetcd,fixasetnm", ipt_fixasetcd, "SPRSD00240",
  198. "instcd,goodflag","cmb_instcd,cmb_goodflag");
  199. }else{
  200. ipt_fixasetnm.value = '';
  201. }
  202. ipt_fixasetcd.refresh();
  203. ipt_fixasetnm.refresh();
  204. ]]>
  205. </script>
  206. </input>
  207. <input id="ipt_fixasetnm" ref="/root/send/search/fixasetnm" class="output_search" navindex="3" style="left:945px; top:10px; width:145px; height:19px; ">
  208. <script type="javascript" ev:event="xforms-value-changed">
  209. <![CDATA[
  210. if(ipt_fixasetnm.value != '')
  211. {
  212. rszfValidationCheck("TRRSD00241", "rfcmfacdlist", "instcd,requirementcd,requirementnm,goodflag",
  213. cmb_instcd_search.value +",goodflaghngnm," + ipt_fixasetnm.value + "," + cmb_goodflag.value,
  214. "", "fixasetcd,fixasetnm", ipt_fixasetcd, "SPRSD00240",
  215. "instcd,goodflag","cmb_instcd,cmb_goodflag");
  216. }else
  217. {
  218. ipt_fixasetcd.value = '';
  219. }
  220. ipt_fixasetcd.refresh();
  221. ipt_fixasetnm.refresh();
  222. ]]>
  223. </script>
  224. </input>
  225. <button id="btn_fixasetcd_search" class="icon_search" style="left:921px; top:10px; width:16px; height:16px; ">
  226. <caption/>
  227. <script type="javascript" ev:event="DOMActivate">
  228. <![CDATA[
  229. rszfOpenPopUpListByWndName(ipt_fixasetcd, "", "fixasetcd,fixasetnm","SPRSD00240","instcd,goodflag","cmb_instcd,cmb_goodflag");
  230. ipt_fixasetcd.refresh();
  231. ipt_fixasetnm.refresh();
  232. ]]>
  233. </script>
  234. </button>
  235. <caption id="cap_goodflag" class="search_name" style="left:370px; top:10px; width:101px; height:17px; ">자산구분 :</caption>
  236. <select1 id="cmb_goodflag" ref="/root/send/search/goodflag" class="combo_s_essential" appearance="minimal" style="left:484px; top:10px; width:236px; height:19px; text-align:center; ">
  237. <choices>
  238. <itemset nodeset="/root/init/goodflag">
  239. <label ref="label"/>
  240. <value ref="value"/>
  241. </itemset>
  242. </choices>
  243. <script type="javascript" ev:event="xforms-value-changed">
  244. <![CDATA[
  245. ipt_lrgcd.value = '';
  246. ipt_mdlcd.value = '';
  247. ipt_lrgnm.value = '';
  248. ipt_mdlnm.value = '';
  249. ]]>
  250. </script>
  251. </select1>
  252. <button id="btn_mdlcd" class="icon_search" style="left:555px; top:37px; width:16px; height:16px; ">
  253. <caption/>
  254. <script type="javascript" ev:event="DOMActivate">
  255. <![CDATA[
  256. rszfOpenPopUpListByWndName(ipt_mdlcd,"","mdlcd,mdlnm","SPRSD00140" ,"goodflag,lrgcd,lrgnm","cmb_goodflag,ipt_lrgcd,ipt_lrgnm");
  257. model.refresh();
  258. ]]>
  259. </script>
  260. </button>
  261. <input id="ipt_mdlnm" ref="/root/send/search/mdlnm" class="output_search" appearance="input" style="left:580px; top:37px; width:140px; height:19px; ">
  262. <script type="javascript" ev:event="xforms-value-changed">
  263. <![CDATA[
  264. if(ipt_mdlnm.value != "")
  265. {
  266. rszfValidationCheck("TRRSD00141", "mdllist", "refcond,goodflag,lrgcd,mdlnm",
  267. "mdlnm," + model.getValue(cmb_goodflag.attribute("ref")) + "," + ipt_lrgcd.value + "," + ipt_mdlnm.value ,"","mdlcd,mdlnm" ,
  268. ipt_mdlnm,"SPRSD00140","goodflag,lrgcd,lrgnm","cmb_goodflag,ipt_lrgcd,ipt_lrgnm");
  269. }else{
  270. ipt_mdlcd.value = "";
  271. ipt_mdlnm.value = "";
  272. }
  273. model.refresh();
  274. ]]>
  275. </script>
  276. </input>
  277. <input id="ipt_mdlcd" ref="/root/send/search/mdlcd" class="input_default" style="left:485px; top:37px; width:60px; height:19px; ">
  278. <script type="javascript" ev:event="xforms-value-changed">
  279. <![CDATA[
  280. if(ipt_mdlcd.value != "")
  281. {
  282. rszfValidationCheck("TRRSD00141", "mdllist", "refcond,goodflag,lrgcd,mdlcd",
  283. "mdlcd," + model.getValue(cmb_goodflag.attribute("ref")) + "," + ipt_lrgcd.value + "," + ipt_mdlcd.value
  284. ,"","mdlcd,mdlnm" ,ipt_mdlcd,"SPRSD00140","goodflag,lrgcd,lrgnm","cmb_goodflag,ipt_lrgcd,ipt_lrgnm");
  285. }else{
  286. ipt_mdlcd.value = "";
  287. ipt_mdlnm.value = "";
  288. }
  289. model.refresh();
  290. ]]>
  291. </script>
  292. </input>
  293. <caption id="cap_mdlcd_search" class="search_name" style="left:370px; top:37px; width:113px; height:17px; ">중 분 류 :</caption>
  294. <input id="input1" ref="/root/send/search/calcdocutodd" inputtype="date" style="left:620px; top:65px; width:100px; height:19px; ">
  295. <script type="javascript" ev:event="xforms-value-changed">
  296. <![CDATA[
  297. // btn_search.dispatch("DOMActivate");
  298. ]]>
  299. </script>
  300. </input>
  301. <input id="input2" ref="/root/send/search/calcdocufrdd" inputtype="date" style="left:486px; top:65px; width:105px; height:19px; ">
  302. <script type="javascript" ev:event="xforms-value-changed">
  303. <![CDATA[
  304. // btn_search.dispatch("DOMActivate");
  305. ]]>
  306. </script>
  307. </input>
  308. <caption id="caption3" class="search_name" style="left:370px; top:65px; width:104px; height:17px; vertical-align:middle; ">계산서 일자 :</caption>
  309. <caption id="caption5" style="left:599px; top:65px; width:15px; height:20px; font-weight:bold; ">~</caption>
  310. <caption id="cap_reqpsn" class="search_name" style="left:735px; top:37px; width:88px; height:17px; ">검 수 자 :</caption>
  311. <input id="ipt_chkpsn" ref="/root/send/search/chkpsn" class="input_search" style="left:831px; top:37px; width:85px; height:19px; ">
  312. <script type="javascript" ev:event="xforms-value-changed">
  313. <![CDATA[
  314. if(ipt_chkpsn.value.length == 0)
  315. ipt_chkpsnnm.value = "";
  316. else
  317. misfValidationCheck("01-1", "", "chkpsn,chkpsnnm");
  318. model.refresh();
  319. //btn_search.dispatch("DOMActivate");
  320. ]]>
  321. </script>
  322. </input>
  323. <button id="btn_chkpsn" class="icon_search" style="left:921px; top:37px; width:16px; height:16px; ">
  324. <caption/>
  325. <script type="javascript" ev:event="DOMActivate">
  326. <![CDATA[
  327. misfOpenPopUpList("01", ipt_chkpsn, "", "chkpsn,chkpsnnm");
  328. model.refresh();
  329. // btn_search.dispatch("DOMActivate");
  330. ]]>
  331. </script>
  332. </button>
  333. <input id="ipt_chkpsnnm" ref="/root/send/search/chkpsnnm" class="output_search" appearance="input" style="left:945px; top:37px; width:145px; height:19px; ">
  334. <script type="javascript" ev:event="xforms-value-changed">
  335. <![CDATA[
  336. if(ipt_chkpsnnm.value.length == 0)
  337. ipt_chkpsn.value = "";
  338. else
  339. misfValidationCheck("01-2", "", "chkpsn,chkpsnnm");
  340. model.refresh();
  341. // btn_search.dispatch("DOMActivate");
  342. ]]>
  343. </script>
  344. </input>
  345. <input id="ipt_subsuplplcecd" ref="/root/send/search/subsuplplcecd" style="left:486px; top:93px; width:84px; height:19px; ">
  346. <script type="javascript" ev:event="xforms-value-changed">
  347. <![CDATA[
  348. if(ipt_subsuplplcecd.value != ""){
  349. rszfValidationCheck("TRRSD00221", "reqcustomlist", "instcd,refcond,retrnm",
  350. model.getValue(cmb_instcd.attribute("ref")) +",," + model.getValue(ipt_subsuplplcecd.attribute("ref"))
  351. ,"","subsuplplcecd,subsuplplcenm,prsdnm,cntctel" ,ipt_subsuplplcecd,"SPRSD00220","instcd","cmb_instcd", "Y");
  352. fValiDataCheckSetting();
  353. }else{
  354. ipt_subsuplplcenm.value = "";
  355. }
  356. model.refresh();
  357. ]]>
  358. </script>
  359. </input>
  360. <button id="btn_subsuplplcecd" class="icon_search" style="left:578px; top:95px; width:16px; height:16px; ">
  361. <caption/>
  362. <script type="javascript" ev:event="DOMActivate">
  363. <![CDATA[
  364. rszfOpenPopUpListByWndName(ipt_subsuplplcecd,"","subsuplplcecd,subsuplplcenm,prsdnm,cntctel","SPRSD00220","instcd","cmb_instcd", "Y");
  365. model.refresh();
  366. ]]>
  367. </script>
  368. </button>
  369. <input id="ipt_suplplcenm" ref="/root/send/search/suplplcenm" class="output_search" appearance="input" style="left:238px; top:93px; width:117px; height:19px; ">
  370. <script type="javascript" ev:event="xforms-value-changed">
  371. <![CDATA[
  372. if(ipt_suplplcenm.value.length == 0)
  373. ipt_suplplcecd.value = "";
  374. else
  375. rszfValidationCheck("TRRSD00221", "reqcustomlist", "instcd,refcond,retrnm",
  376. model.getValue(cmb_instcd.attribute("ref")) +",," + model.getValue(ipt_suplplcenm.attribute("ref")),"","suplplcecd,suplplcenm" ,
  377. ipt_suplplcenm,"SPRSD00220","instcd","cmb_instcd");
  378. model.refresh();
  379. //btn_search.dispatch("DOMActivate");
  380. ]]>
  381. </script>
  382. </input>
  383. <input id="ipt_suplplcecd" ref="/root/send/search/suplplcecd" style="left:114px; top:93px; width:86px; height:19px; ">
  384. <script type="javascript" ev:event="xforms-value-changed">
  385. <![CDATA[
  386. if(ipt_suplplcecd.value.length == 0)
  387. ipt_suplplcenm.value = "";
  388. else
  389. rszfValidationCheck("TRRSD00221", "reqcustomlist", "instcd,refcond,retrnm",
  390. model.getValue(cmb_instcd.attribute("ref")) +",," + model.getValue(ipt_suplplcecd.attribute("ref")),"","suplplcecd,suplplcenm" ,
  391. ipt_suplplcecd,"SPRSD00220","instcd","cmb_instcd");
  392. model.refresh();
  393. //btn_search.dispatch("DOMActivate");
  394. ]]>
  395. </script>
  396. </input>
  397. <caption id="caption14" class="search_name" style="left:370px; top:94px; width:109px; height:17px; ">보조거래처 :</caption>
  398. <button id="btn_suplplcecd" class="icon_search" style="left:208px; top:95px; width:16px; height:16px; ">
  399. <caption/>
  400. <script type="javascript" ev:event="DOMActivate">
  401. <![CDATA[
  402. rszfOpenPopUpListByWndName(ipt_suplplcecd,"","suplplcecd,suplplcenm","SPRSD00220","instcd","cmb_instcd");
  403. model.refresh();
  404. //btn_search.dispatch("DOMActivate");
  405. ]]>
  406. </script>
  407. </button>
  408. <caption id="caption18" class="search_name" style="left:9px; top:94px; width:99px; height:17px; ">주거래처 :</caption>
  409. <input id="ipt_subsuplplcenm" ref="/root/send/search/subsuplplcenm" class="output_search" style="left:603px; top:93px; width:117px; height:19px; ">
  410. <script type="javascript" ev:event="xforms-value-changed">
  411. <![CDATA[
  412. if(ipt_subsuplplcenm.value != ""){
  413. rszfValidationCheck("TRRSD00221", "reqcustomlist", "instcd,refcond,retrnm",
  414. model.getValue(cmb_instcd.attribute("ref")) +",custnm," + model.getValue(ipt_subsuplplcenm.attribute("ref"))
  415. ,"","subsuplplcecd,subsuplplcenm,prsdnm,cntctel" ,ipt_subsuplplcecd,"SPRSD00220","instcd","cmb_instcd", "Y");
  416. fValiDataCheckSetting()
  417. }else{
  418. ipt_subsuplplcecd.value = "";
  419. }
  420. model.refresh();
  421. ]]>
  422. </script>
  423. </input>
  424. </group>
  425. <line id="line1" class="line_1" style="x1:0px; y1:173px; x2:1188px; y2:173px; "/>
  426. <datagrid id="grd_fixwinregst" nodeset="/root/main/list/fixwinregstinfo/fixwinregstlist" caption="선택^자산 코드^물품명^규격^주 거래처명^보조 거래처명^단위^취득 금액^계산서일^입고일^계정명^검수자" colsep="^" colwidth="37, 84, 271, 167, 117, 100, 64, 117, 83, 81, 154, 63" explorerbar="sortshow" frozencols="3" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="24" rowsep="|" style="left:0px; top:180px; width:1190px; height:535px; font-weight:normal; text-align:center; ">
  427. <col checkvalue="Y,N" ref="chk" type="checkbox"/>
  428. <col ref="fixasetcd" style="text-align:center; "/>
  429. <col ref="fixasetnm" style="text-align:left; padding-left:10; "/>
  430. <col ref="goodspec" style="text-align:left; padding-left:10; "/>
  431. <col ref="suplplcecdnm" style="text-align:left; padding-left:10; "/>
  432. <col ref="suppcustcdnm" style="text-align:left; padding-left:10; "/>
  433. <col ref="fixasetunit" style="text-align:center; "/>
  434. <col ref="possnamt" format="#,###" style="text-align:right; "/>
  435. <col ref="calcdocudd" format="yyyy/mm/dd" style="text-align:center; "/>
  436. <col ref="windd" format="yyyy/mm/dd" style="text-align:center; "/>
  437. <col ref="acntflagnm" style="text-align:left; padding-left:10; "/>
  438. <col ref="chkpsnnm" style="text-align:center; "/>
  439. <script type="javascript" ev:event="onaftersort">
  440. <![CDATA[
  441. grd_fixwinregst.gridToInstance();
  442. ]]>
  443. </script>
  444. </datagrid>
  445. <caption id="caption1" class="tit_2" style="left:0px; top:154px; width:143px; height:13px; ">입고 대장 리스트</caption>
  446. <button id="btn_allchoice" class="btn2_letter4" style="left:999px; top:153px; width:64px; height:19px; ">
  447. <caption>전체선택</caption>
  448. <script type="javascript" ev:event="DOMActivate">
  449. <![CDATA[
  450. fItemAllChoice("Y");
  451. ]]>
  452. </script>
  453. </button>
  454. <button id="btn_allcancle" class="btn2_letter4" style="left:1064px; top:153px; width:64px; height:19px; ">
  455. <caption>선택해제</caption>
  456. <script type="javascript" ev:event="DOMActivate">
  457. <![CDATA[
  458. fItemAllChoice("N");
  459. ]]>
  460. </script>
  461. </button>
  462. <input id="ipt_lrgnm" ref="/root/send/search/lrgnm" class="output_search" appearance="input" style="left:200px; top:55px; width:155px; height:19px; ">
  463. <script type="javascript" ev:event="xforms-value-changed">
  464. <![CDATA[
  465. if(ipt_lrgnm.value.length == 0)
  466. ipt_lrgcd.value = "";
  467. else
  468. rszfValidationCheck("TRRSD00131", "lrglist", "refcond,lrgnm,goodflag",
  469. "lrgnm," + ipt_lrgnm.value + "," + cmb_goodflag.value, "", "lrgcd,lrgnm",
  470. ipt_lrgnm, "SPRSD00130", "goodflag","cmb_goodflag");
  471. model.refresh();
  472. ]]>
  473. </script>
  474. </input>
  475. <input id="ipt_lrgcd" ref="/root/send/search/lrgcd" class="input_default" style="left:115px; top:55px; width:55px; height:19px; ">
  476. <script type="javascript" ev:event="xforms-value-changed">
  477. <![CDATA[
  478. if(ipt_lrgcd.value.length == 0)
  479. ipt_lrgnm.value = "";
  480. else
  481. rszfValidationCheck("TRRSD00131", "lrglist", "refcond,lrgcd,goodflag",
  482. "lrgcd," + ipt_lrgcd.value + "," + cmb_goodflag.value, "", "lrgcd,lrgnm",
  483. ipt_lrgcd, "SPRSD00130", "goodflag","cmb_goodflag");
  484. model.refresh();
  485. ]]>
  486. </script>
  487. </input>
  488. <button id="btn_lrgcd" class="icon_search" style="left:180px; top:55px; width:16px; height:16px; ">
  489. <caption/>
  490. <script type="javascript" ev:event="DOMActivate">
  491. <![CDATA[
  492. rszfOpenPopUpListByWndName(ipt_lrgcd,"","lrgcd,lrgnm","SPRSD00130","goodflag","cmb_goodflag");
  493. model.refresh();
  494. ]]>
  495. </script>
  496. </button>
  497. <caption id="cap_lrgcd_search" class="search_name" style="left:10px; top:55px; width:98px; height:17px; ">대 분 류 :</caption>
  498. <select id="chk_possnamt" ref="/root/init/options/possnamt" overflow="visible" appearance="full" style="left:660px; top:155px; width:70px; height:15px; border-style:none; ">
  499. <choices>
  500. <item>
  501. <label>취득금액</label>
  502. <value>Y</value>
  503. </item>
  504. </choices>
  505. <script type="javascript" ev:event="xforms-value-changed">
  506. <![CDATA[
  507. fViewOptionToggle("possnamt");
  508. ]]>
  509. </script>
  510. </select>
  511. <select id="chk_windd" ref="/root/init/options/windd" overflow="visible" appearance="full" style="left:795px; top:155px; width:52px; height:15px; border-style:none; ">
  512. <choices>
  513. <item>
  514. <label>입고일</label>
  515. <value>Y</value>
  516. </item>
  517. </choices>
  518. <script type="javascript" ev:event="xforms-value-changed">
  519. <![CDATA[
  520. fViewOptionToggle("windd");
  521. ]]>
  522. </script>
  523. </select>
  524. <select id="chk_acntflagnm" ref="/root/init/options/acntflagnm" overflow="visible" appearance="full" style="left:849px; top:155px; width:52px; height:15px; border-style:none; ">
  525. <choices>
  526. <item>
  527. <label>계정명</label>
  528. <value>Y</value>
  529. </item>
  530. </choices>
  531. <script type="javascript" ev:event="xforms-value-changed">
  532. <![CDATA[
  533. fViewOptionToggle("acntflagnm");
  534. ]]>
  535. </script>
  536. </select>
  537. <select id="chk_fixasetunit" ref="/root/init/options/fixasetunit" overflow="visible" appearance="full" style="left:617px; top:155px; width:43px; height:15px; border-style:none; ">
  538. <choices>
  539. <item>
  540. <label>단위</label>
  541. <value>Y</value>
  542. </item>
  543. </choices>
  544. <script type="javascript" ev:event="xforms-value-changed">
  545. <![CDATA[
  546. fViewOptionToggle("fixasetunit");
  547. ]]>
  548. </script>
  549. </select>
  550. <select id="chk_chkpsnnm" ref="/root/init/options/chkpsnnm" overflow="visible" appearance="full" style="left:902px; top:155px; width:62px; height:15px; border-style:none; ">
  551. <choices>
  552. <item>
  553. <label>검수자</label>
  554. <value>Y</value>
  555. </item>
  556. </choices>
  557. <script type="javascript" ev:event="xforms-value-changed">
  558. <![CDATA[
  559. fViewOptionToggle("chkpsnnm");
  560. ]]>
  561. </script>
  562. </select>
  563. <select id="chk_calcdocudd" ref="/root/init/options/calcdocudd" overflow="visible" appearance="full" style="left:727px; top:155px; width:67px; height:15px; border-style:none; ">
  564. <choices>
  565. <item>
  566. <label>계산서일</label>
  567. <value>Y</value>
  568. </item>
  569. </choices>
  570. <script type="javascript" ev:event="xforms-value-changed">
  571. <![CDATA[
  572. fViewOptionToggle("calcdocudd");
  573. ]]>
  574. </script>
  575. </select>
  576. <button id="btn_excel" class="btn2_letter3" style="left:1130px; top:153px; width:53px; height:19px; ">
  577. <caption>Excel</caption>
  578. <script type="javascript" ev:event="DOMActivate">
  579. <![CDATA[
  580. misfSaveExcel(grd_fixwinregst);
  581. ]]>
  582. </script>
  583. </button>
  584. <select id="chk_suppcustcdnm" ref="/root/init/options/suppcustcdnm" overflow="visible" appearance="full" style="left:577px; top:155px; width:43px; height:15px; border-style:none; ">
  585. <choices>
  586. <item>
  587. <label>보조</label>
  588. <value>Y</value>
  589. </item>
  590. </choices>
  591. <script type="javascript" ev:event="xforms-value-changed">
  592. <![CDATA[
  593. fViewOptionToggle("suppcustcdnm");
  594. ]]>
  595. </script>
  596. </select>
  597. </group>
  598. <group id="group4" scroll="auto" style="left:0px; top:13; width:1195px; height:27px; ">
  599. <line id="line7" class="line_6" style="x1:0px; y1:25; x2:1194px; y2:25; "/>
  600. <button id="btn_init" class="btn4_letter3" style="left:1126; top:3; width:68px; height:22px; ">
  601. <caption>초기화</caption>
  602. <script type="javascript" ev:event="DOMActivate">
  603. <![CDATA[
  604. fInitialize();
  605. ]]>
  606. </script>
  607. </button>
  608. <button id="btn_prnt" class="btn6_letter2" style="left:0px; top:5px; width:56px; height:22px; ">
  609. <caption>출력</caption>
  610. <script type="javascript" ev:event="DOMActivate">
  611. <![CDATA[
  612. freqlistprint();
  613. ]]>
  614. </script>
  615. </button>
  616. </group>
  617. </xhtml:body>
  618. </xhtml:html>