SMRSI00400_입고내역조회.xrw 26 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553
  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. <list>
  11. <goodwin>
  12. <goodwinlist/>
  13. </goodwin>
  14. <gooddmndreq>
  15. <gooddmndreqlist/>
  16. </gooddmndreq>
  17. </list>
  18. <item/>
  19. </main>
  20. <init>
  21. <sumdeliveqty/>
  22. <sumwinqty/>
  23. <sumwinamt/>
  24. <winchecklist>
  25. <instcd/>
  26. <goodflag/>
  27. <windd/>
  28. <winno/>
  29. <winseqno/>
  30. <windeptcd/>
  31. <chkdd/>
  32. <chkpsn/>
  33. <chkyn/>
  34. </winchecklist>
  35. <chkyn>
  36. <label>전체</label>
  37. <value/>
  38. <label>검수</label>
  39. <value>Y</value>
  40. <label>미검수</label>
  41. <value>N</value>
  42. </chkyn>
  43. </init>
  44. <send>
  45. <goodwin>
  46. <instcd/>
  47. <goodflag/>
  48. <lrgcd/>
  49. <lrgnm/>
  50. <windeptcd/>
  51. <windeptnm/>
  52. <suplplcecd/>
  53. <suplplcenm/>
  54. <goodcd/>
  55. <goodnm/>
  56. <winfrdd/>
  57. <wintodd/>
  58. <winpsn/>
  59. <winpsnnm/>
  60. <suppcustcd/>
  61. <suppcustcdnm/>
  62. <purcflag/>
  63. <chkyn/>
  64. <gawinviewyn/>
  65. </goodwin>
  66. <gooddmndreq>
  67. <instcd/>
  68. <goodflag/>
  69. <purcdmnddd/>
  70. <purcdmndno/>
  71. <purcdmndseq/>
  72. <reqdeptcd/>
  73. <delivedeptcd/>
  74. <iokind/>
  75. <windd/>
  76. <winno/>
  77. <winseqno/>
  78. <windeptcd/>
  79. <outdataflag>Y</outdataflag>
  80. </gooddmndreq>
  81. <winchecklists>
  82. <winchecklist/>
  83. </winchecklists>
  84. </send>
  85. </root>
  86. </instance>
  87. <script type="javascript" ev:event="xforms-ready">
  88. <![CDATA[
  89. //화면 Control을 초기화한다
  90. fInit();
  91. //grd_goodwin.rows
  92. // <submission id="TRRSD00403" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/gooddmndreq" resultref="/root/main/list/gooddmndreq"/>
  93. ]]>
  94. </script>
  95. <submission id="TRRSI00401" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/goodwin" resultref="/root/main/list/goodwin"/>
  96. <submission id="TRRSI00403" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/gooddmndreq" resultref="/root/main/list/gooddmndreq"/>
  97. <submission id="TXRSI00103" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/winchecklists" resultref="/root/hidden/temp"/>
  98. </model>
  99. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  100. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  101. <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
  102. <script type="javascript" src="../../../mis/miscommonweb/js/RSZ001.js"/>
  103. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  104. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  105. <script type="javascript" src="../../../mis/winweb/js/SMRSI00400.js"/>
  106. </xhtml:head>
  107. <xhtml:body style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  108. <group id="group1" style="left:0px; top:0px; width:1195px; height:13px; ">
  109. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:189px; height:14px; ">입고현황조회</caption>
  110. </group>
  111. <group id="group5" scroll="auto" style="left:0px; top:38; width:1195px; height:744px; ">
  112. <caption id="caption35" class="tit_2" style="left:5px; top:105px; width:95px; height:13px; ">입고내역</caption>
  113. <line id="line15" class="line_1" style="x1:0px; y1:120px; x2:1195px; y2:120px; "/>
  114. <button id="btn_excel" class="btn5_letter3" style="left:955px; top:99px; width:53px; height:19px; ">
  115. <caption>Excel</caption>
  116. <script type="javascript" ev:event="DOMActivate">
  117. <![CDATA[
  118. misfSaveExcel(grd_goodwin);
  119. ]]>
  120. </script>
  121. </button>
  122. <group id="group7" style="left:0px; top:10px; width:1195px; height:87px; vertical-align:top; ">
  123. <shape id="roundrect4" class="roundrect_search" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1195px; height:85px; "/>
  124. <caption id="caption39" class="search_name" style="left:350px; top:9px; width:101px; height:17px; ">물품구분 :</caption>
  125. <input id="ipt_windeptcd" ref="/root/send/goodwin/windeptcd" class="input_s_essential" navindex="6" style="left:95px; top:36px; width:86px; height:19px; ">
  126. <script type="javascript" ev:event="xforms-value-changed">
  127. <![CDATA[
  128. if(ipt_windeptcd.value.length == 0)
  129. ipt_windeptnm.value = "";
  130. else
  131. rszfValidationCheck("TRRPZ00201", "deptcodelist", "refcond,deptcd",
  132. "deptcd," + ipt_windeptcd.value, "", "windeptcd,windeptnm",
  133. ipt_windeptcd, "SPRPZ00200", "","");
  134. model.refresh();
  135. ]]>
  136. </script>
  137. </input>
  138. <select1 id="cmb_goodflag" ref="/root/send/goodwin/goodflag" class="combo_s_essential" appearance="minimal" style="left:440px; top:9px; width:114px; height:19px; ">
  139. <choices>
  140. <itemset nodeset="/root/init/goodflag">
  141. <label ref="cdnm"/>
  142. <value ref="cdid"/>
  143. </itemset>
  144. </choices>
  145. </select1>
  146. <caption id="caption41" class="search_name" style="left:685px; top:36px; width:101px; height:17px; ">입 고 일 자 :</caption>
  147. <caption id="caption42" class="search_name" style="left:10px; top:36px; width:86px; height:17px; ">입고부서 :</caption>
  148. <caption id="caption44" class="search_name" style="left:349px; top:36px; width:88px; height:17px; ">거 래 처 :</caption>
  149. <caption id="caption45" class="search_name" style="left:10px; top:61px; width:86px; height:17px; ">물품코드 :</caption>
  150. <button id="button5" class="icon_search" style="left:185px; top:37px; width:16px; height:16px; ">
  151. <caption/>
  152. <script type="javascript" ev:event="DOMActivate">
  153. <![CDATA[
  154. var recv_list = "windeptcd,windeptnm";
  155. misfOpenPopUpList("02", ipt_windeptcd,"", recv_list) ;
  156. model.refresh();
  157. ]]>
  158. </script>
  159. </button>
  160. <input id="ipt_windeptnm" ref="/root/send/goodwin/windeptnm" class="input_s_essential" navindex="6" appearance="input" style="left:206px; top:36px; width:130px; height:19px; ">
  161. <script type="javascript" ev:event="xforms-value-changed">
  162. <![CDATA[
  163. if(ipt_windeptnm.value.length == 0)
  164. ipt_windeptcd.value = "";
  165. else
  166. rszfValidationCheck("TRRPZ00201", "deptcodelist", "refcond,deptnm",
  167. "deptnm," + ipt_windeptnm.value, "", "windeptcd,windeptnm",
  168. ipt_windeptnm, "SPRPZ00200", "","");
  169. model.refresh();
  170. ]]>
  171. </script>
  172. </input>
  173. <line id="line30" class="line_4" style="x1:1112px; y1:8px; x2:1112px; y2:73px; "/>
  174. <button id="btn_search" class="btn1_letter2" style="left:1124px; top:19px; width:56px; height:22px; ">
  175. <caption>조회</caption>
  176. <script type="javascript" ev:event="DOMActivate">
  177. <![CDATA[
  178. misfGridInit(grd_goodwin);
  179. misfGridInit(grd_gooddmndreq);
  180. misfMsterDetailRetrieve();
  181. fAfterGoodwin();
  182. fAfterRetrieveDetail();
  183. ]]>
  184. </script>
  185. </button>
  186. <caption id="caption22" style="left:903px; top:36px; width:15px; height:20px; font-weight:bold; vertical-align:middle; ">~</caption>
  187. <input id="ipt_winfrdd" ref="/root/send/goodwin/winfrdd" class="input_s_essential" inputtype="date" style="left:785px; top:36px; width:114px; height:19px; "/>
  188. <input id="ipt_wintodd" ref="/root/send/goodwin/wintodd" class="input_s_essential" inputtype="date" style="left:921px; top:36px; width:114px; height:19px; "/>
  189. <input id="ipt_maincustlastsuplplcenm" ref="/root/send/goodwin/suplplcenm" class="input_search" appearance="input" style="left:539px; top:36px; width:134px; height:19px; ">
  190. <script type="javascript" ev:event="xforms-value-changed">
  191. <![CDATA[
  192. if(ipt_maincustlastsuplplcenm.value.length == 0)
  193. ipt_maincustlastsuplplce.value = "";
  194. else
  195. rszfValidationCheck("TRRSD00221", "reqcustomlist", "instcd,refcond,retrnm",
  196. model.getValue(cmb_instcd.attribute("ref")) +",," + model.getValue(ipt_maincustlastsuplplcenm.attribute("ref")),"","suplplcecd,suplplcenm" ,
  197. ipt_maincustlastsuplplcenm,"SPRSD00220","instcd","cmb_instcd");
  198. model.refresh();
  199. ]]>
  200. </script>
  201. </input>
  202. <input id="ipt_maincustlastsuplplce" ref="/root/send/goodwin/suplplcecd" class="input_search" style="left:436px; top:36px; width:80px; height:19px; ">
  203. <script type="javascript" ev:event="xforms-value-changed">
  204. <![CDATA[
  205. if(ipt_maincustlastsuplplce.value.length == 0)
  206. ipt_maincustlastsuplplcenm.value = "";
  207. else
  208. rszfValidationCheck("TRRSD00221", "reqcustomlist", "instcd,refcond,retrnm",
  209. model.getValue(cmb_instcd.attribute("ref")) +",," + model.getValue(ipt_maincustlastsuplplce.attribute("ref")),"","suplplcecd,suplplcenm" ,
  210. ipt_maincustlastsuplplce,"SPRSD00220","instcd","cmb_instcd");
  211. model.refresh();
  212. ]]>
  213. </script>
  214. </input>
  215. <button id="button9" class="icon_search" style="left:519px; top:37px; width:16px; height:16px; ">
  216. <caption/>
  217. <script type="javascript" ev:event="DOMActivate">
  218. <![CDATA[
  219. rszfOpenPopUpListByWndName(ipt_maincustlastsuplplce,"","suplplcecd,suplplcenm","SPRSD00220","instcd","cmb_instcd");
  220. model.refresh();
  221. ]]>
  222. </script>
  223. </button>
  224. <input id="ipt_goodnm" ref="/root/send/goodwin/goodnm" class="input_search" appearance="input" style="left:206px; top:61px; width:130px; height:19px; ">
  225. <script type="javascript" ev:event="xforms-value-changed">
  226. <![CDATA[
  227. if(ipt_goodnm.value.length == 0)
  228. ipt_goodcd.value = "";
  229. else
  230. rszfValidationCheck("TRRSD00191", "goodlist" , "refcond,instcd,goodflag,goodnm",
  231. "goodnm," + model.getValue(cmb_instcd.attribute("ref")) + "," + model.getValue(cmb_goodflag.attribute("ref")) + "," + model.getValue(ipt_goodnm.attribute("ref")) ,"","goodcd,goodnm",
  232. ipt_goodcd,"SPRSD00210","instcd,goodflag","cmb_instcd,cmb_goodflag");
  233. model.refresh();
  234. ]]>
  235. </script>
  236. </input>
  237. <input id="ipt_goodcd" ref="/root/send/goodwin/goodcd" class="input_search" imemode="disabled" _chartype="upper" style="left:95px; top:61px; width:86px; height:19px; ">
  238. <script type="javascript" ev:event="xforms-value-changed">
  239. <![CDATA[
  240. if(ipt_goodcd.value.length == 0)
  241. ipt_goodnm.value = "";
  242. else
  243. rszfValidationCheck("TRRSD00191", "goodlist" , "refcond,instcd,goodflag,goodcd",
  244. "goodcd," + model.getValue(cmb_instcd.attribute("ref")) + "," + model.getValue(cmb_goodflag.attribute("ref")) + "," + model.getValue(ipt_goodcd.attribute("ref")) ,"","goodcd,goodnm",
  245. ipt_goodcd,"SPRSD00210","instcd,goodflag","cmb_instcd,cmb_goodflag");
  246. model.refresh();
  247. ]]>
  248. </script>
  249. </input>
  250. <button id="button10" class="icon_search" style="left:185px; top:62px; width:16px; height:16px; ">
  251. <caption/>
  252. <script type="javascript" ev:event="DOMActivate">
  253. <![CDATA[
  254. rszfOpenPopUpListByWndName(ipt_goodcd,"","goodcd,goodnm","SPRSD00210","instcd,goodflag","cmb_instcd,cmb_goodflag");
  255. model.refresh();
  256. ]]>
  257. </script>
  258. </button>
  259. <select1 id="cmb_instcd" ref="/root/send/goodwin/instcd" class="combo_s_essential" appearance="minimal" style="left:95px; top:9px; width:240px; height:19px; ">
  260. <choices>
  261. <itemset nodeset="/root/init/instcd">
  262. <label ref="cdnm"/>
  263. <value ref="cdid"/>
  264. </itemset>
  265. </choices>
  266. </select1>
  267. <caption id="caption4" class="search_name" style="left:10px; top:9px; width:86px; height:17px; ">기관코드 :</caption>
  268. <caption id="cap_winpsn" class="search_name" style="left:349px; top:61px; width:86px; height:17px; ">입 고 자 :</caption>
  269. <button id="btn_winpsn" class="icon_search" style="left:519px; top:60px; width:16px; height:16px; ">
  270. <caption/>
  271. <script type="javascript" ev:event="DOMActivate">
  272. <![CDATA[
  273. misfOpenPopUpList("01", ipt_winpsn, "", "winpsn,winpsnnm");
  274. model.refresh();
  275. ]]>
  276. </script>
  277. </button>
  278. <input id="ipt_winpsn" ref="/root/send/goodwin/winpsn" class="input_search" style="left:435px; top:61px; width:80px; height:19px; text-align:center; ">
  279. <script type="javascript" ev:event="xfroms-value-changed">
  280. <![CDATA[
  281. if(ipt_winpsn.value.length == 0)
  282. {
  283. ipt_winpsnnm.value = "";
  284. }else{
  285. misfValidationCheck("01-1", "", "winpsn,winpsnnm");
  286. }
  287. model.refresh();
  288. ]]>
  289. </script>
  290. </input>
  291. <input id="ipt_winpsnnm" ref="/root/send/goodwin/winpsnnm" class="input_search" appearance="output" style="left:539px; top:61px; width:134px; height:19px; text-align:center; ">
  292. <script type="javascript" ev:event="xforms-value-changed">
  293. <![CDATA[
  294. if(ipt_winpsnnm.value.length == 0)
  295. {
  296. ipt_winpsn.value = "";
  297. }else {
  298. misfValidationCheck("01-2", "", "winpsn,winpsnnm");
  299. }
  300. model.refresh();
  301. ]]>
  302. </script>
  303. </input>
  304. <input id="ipt_suppcustcd" ref="/root/send/goodwin/suppcustcd" class="input_search" style="left:785px; top:61px; width:114px; height:19px; ">
  305. <script type="javascript" ev:event="xforms-value-changed">
  306. <![CDATA[
  307. if(ipt_suppcustcd.value.length == 0)
  308. ipt_suppcustcdnm.value = "";
  309. else
  310. rszfValidationCheck("TRRSD00221", "reqcustomlist", "instcd,refcond,retrnm",
  311. model.getValue(cmb_instcd.attribute("ref")) +",," + model.getValue(ipt_suppcustcd.attribute("ref")),"","suppcustcd,suppcustcdnm" ,
  312. ipt_suppcustcd,"SPRSD00220","instcd","cmb_instcd");
  313. model.refresh();
  314. ]]>
  315. </script>
  316. </input>
  317. <caption id="caption1" class="search_name" style="left:685px; top:61px; width:103px; height:17px; ">보조거래처 :</caption>
  318. <button id="button1" class="icon_search" style="left:902px; top:62px; width:16px; height:16px; ">
  319. <caption/>
  320. <script type="javascript" ev:event="DOMActivate">
  321. <![CDATA[
  322. rszfOpenPopUpListByWndName(ipt_suppcustcd,"","suppcustcd,suppcustcdnm","SPRSD00220","instcd","cmb_instcd");
  323. model.refresh();
  324. ]]>
  325. </script>
  326. </button>
  327. <input id="ipt_suppcustcdnm" ref="/root/send/goodwin/suppcustcdnm" class="input_search" appearance="input" style="left:922px; top:61px; width:178px; height:19px; ">
  328. <script type="javascript" ev:event="xforms-value-changed">
  329. <![CDATA[
  330. if(ipt_suppcustcdnm.value.length == 0)
  331. ipt_suppcustcd.value = "";
  332. else
  333. rszfValidationCheck("TRRSD00221", "reqcustomlist", "instcd,refcond,retrnm",
  334. model.getValue(cmb_instcd.attribute("ref")) +",," + model.getValue(ipt_suppcustcdnm.attribute("ref")),"","suppcustcd,suppcustcdnm" ,
  335. ipt_suppcustcdnm,"SPRSD00220","instcd","cmb_instcd");
  336. model.refresh();
  337. ]]>
  338. </script>
  339. </input>
  340. <select1 id="cmb_purcflag" ref="/root/send/goodwin/purcflag" class="combo_essential" appearance="minimal" style="left:786px; top:9px; width:114px; height:19px; ">
  341. <choices>
  342. <itemset nodeset="/root/init/purcflag">
  343. <label ref="cdnm"/>
  344. <value ref="cdid"/>
  345. </itemset>
  346. </choices>
  347. <script type="javascript" ev:event="xforms-value-changed">
  348. <![CDATA[
  349. btn_search.dispatch("DOMActivate");
  350. ]]>
  351. </script>
  352. </select1>
  353. <caption id="caption9" class="search_name" style="left:685px; top:9px; width:101px; height:17px; ">구 매 구 분 :</caption>
  354. <caption id="caption7" class="search_name" style="left:920px; top:9px; width:88px; height:17px; ">검수구분 :</caption>
  355. <select1 id="cmb_chkyn" ref="/root/send/goodwin/chkyn" class="combo_essential" appearance="minimal" style="left:1010px; top:9px; width:90px; height:19px; ">
  356. <choices>
  357. <itemset nodeset="/root/init/chkyn">
  358. <label ref="label"/>
  359. <value ref="value"/>
  360. </itemset>
  361. </choices>
  362. <script type="javascript" ev:event="xforms-value-changed">
  363. <![CDATA[
  364. btn_search.dispatch("DOMActivate");
  365. ]]>
  366. </script>
  367. </select1>
  368. <select id="ckb_gawinviewyn" ref="/root/send/goodwin/gawinviewyn" overflow="visible" appearance="full" style="left:565px; top:10px; width:115px; height:15px; font-weight:bold; border-style:none; ">
  369. <choices>
  370. <item>
  371. <label>수탁가입고내역</label>
  372. <value>Y</value>
  373. </item>
  374. </choices>
  375. </select>
  376. </group>
  377. <datagrid id="grd_gooddmndreq" nodeset="/root/main/list/gooddmndreq/gooddmndreqlist" caption="청구번호^청구부서^청구일자^청구량^조정수량^출고량^수불단위^진행상태" colsep="^" colwidth="142, 160, 130, 147, 127, 144, 68, 100" dataheight="23" defaultrows="1" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="23" rowsep="|" style="left:0px; top:488px; width:1195px; height:247px; ">
  378. <col ref="reqkey" style="text-align:center; "/>
  379. <col ref="reqdeptnm">
  380. <![CDATA[>]]>
  381. </col>
  382. <col ref="reqdd" format="yyyy/mm/dd" styl="text-align:center;"/>
  383. <col ref="reqqty" format="#,###.##" maxlength="9" style="text-align:right; "/>
  384. <col ref="adjtqty" format="#,###.##" style="text-align:right; "/>
  385. <col ref="deliveqty" format="#,###.##" style="text-align:right; "/>
  386. <col ref="deliveunit" style="text-align:center; "/>
  387. <col ref="deliveprcsflagnm"/>
  388. </datagrid>
  389. <line id="line1" class="line_1" style="x1:0px; y1:483px; x2:1195px; y2:483px; "/>
  390. <button id="btn_excel2" class="btn5_letter3" style="left:1140px; top:460px; width:53px; height:19px; ">
  391. <caption>Excel</caption>
  392. <script type="javascript" ev:event="DOMActivate">
  393. <![CDATA[
  394. misfSaveExcel(grd_gooddmndreq);
  395. ]]>
  396. </script>
  397. </button>
  398. <output id="opt_sumdeliveqty" ref="/root/init/sumdeliveqty" format="#,###.##" style="left:728px; top:461px; width:123px; height:19px; font-weight:bold; text-align:left; "/>
  399. <caption id="cap_deliveqtytotal" style="left:650px; top:461px; width:79px; height:23px; font-weight:bold; vertical-align:middle; ">출고량합계 :</caption>
  400. <caption id="caption2" style="left:565px; top:100px; width:69px; height:23px; font-weight:bold; vertical-align:middle; ">입고수량 :</caption>
  401. <caption id="caption3" style="left:755px; top:100px; width:69px; height:23px; font-weight:bold; vertical-align:middle; ">입고금액 :</caption>
  402. <output id="opt_winqty" ref="/root/init/sumwinqty" format="#,###.##" style="left:630px; top:100px; width:77px; height:19px; font-weight:bold; text-align:left; "/>
  403. <output id="opt_winamt" ref="/root/init/sumwinamt" format="#,###.##" style="left:820px; top:100px; width:113px; height:19px; font-weight:bold; text-align:left; "/>
  404. <datagrid id="grd_goodwin" nodeset="/root/main/list/goodwin/goodwinlist" caption="입고번호^보조거래처^입고유형^물품코드^품명^제조회사^입고량(수불)^포장구성단위^입고량(포장)^단가^입고금액^발주번호^검수^입고자^주거래처" colsep="^" colwidth="114, 100, 61, 74, 233, 85, 76, 83, 77, 66, 100, 115, 46, 62, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100" dataheight="23" ellipsis="true" explorerbar="sortshow" extendlastcol="scroll" rowheader="seq" rowheight="23" rowsep="|" selectionmode="byrow" tooltip="true" style="left:0px; top:125px; width:1195px; height:325px; ">
  405. <col ref="winputno"/>
  406. <col ref="suppcustnm"/>
  407. <col ref="iokindnm"/>
  408. <col ref="goodcd"/>
  409. <col ref="goodnm"/>
  410. <col ref="prodcmpynm"/>
  411. <col ref="winqty" format="#,###.##" style="text-align:right; "/>
  412. <col ref="setunit" style="text-align:center; "/>
  413. <col ref="winpackqty" format="#,###.##" style="text-align:right; "/>
  414. <col ref="winunitcost" format="#,###.##" style="text-align:right; "/>
  415. <col ref="winamt" format="#,###.##" style="text-align:right; "/>
  416. <col ref="purcreqno" style="text-align:center; "/>
  417. <col checkvalue="Y,N" ref="chkyn" type="checkbox"/>
  418. <col ref="winpsnnm" style="text-align:center; "/>
  419. <col ref="suplplcenm"/>
  420. <col ref="goodspec" visibility="hidden"/>
  421. <col ref="goodmodel" visibility="hidden"/>
  422. <col ref="winpackunit" visibility="hidden"/>
  423. <col ref="winpackcntperunit" visibility="hidden" format="#,###.##" style="text-align:right; "/>
  424. <col ref="winunit" visibility="hidden"/>
  425. <col ref="delivedeptqty" visibility="hidden" format="#,###.##" style="text-align:right; "/>
  426. <col ref="stocqty" visibility="hidden" format="#,###.##" style="text-align:right; "/>
  427. <col ref="instcd" visibility="hidden"/>
  428. <col ref="goodflag" visibility="hidden"/>
  429. <col ref="winpsn" visibility="hidden"/>
  430. <col ref="windeptcd" visibility="hidden"/>
  431. <col ref="installplcecd" visibility="hidden"/>
  432. <col ref="paycond" visibility="hidden"/>
  433. <col ref="temppay" visibility="hidden"/>
  434. <col ref="calcdocukind" visibility="hidden"/>
  435. <col ref="elctstmntyn" visibility="hidden"/>
  436. <col ref="iokind" visibility="hidden"/>
  437. <col ref="suplplcecd" visibility="hidden"/>
  438. <col ref="purcdmnddd" visibility="hidden"/>
  439. <col ref="purcdmndno" visibility="hidden"/>
  440. <col ref="purcdmndseq" visibility="hidden"/>
  441. <col ref="deliveseqno" visibility="hidden"/>
  442. <col ref="bnscd" visibility="hidden"/>
  443. <col ref="calcdocudd" visibility="hidden"/>
  444. <col ref="profno" visibility="hidden"/>
  445. <col ref="acntcd" visibility="hidden"/>
  446. <col ref="reqdd" visibility="hidden"/>
  447. <col ref="reqno" visibility="hidden"/>
  448. <col ref="reqseqno" visibility="hidden"/>
  449. <col ref="valiterm" visibility="hidden"/>
  450. <col ref="stocynindx" visibility="hidden"/>
  451. <col ref="chkdd" visibility="hidden"/>
  452. <col ref="chkpsn" visibility="hidden"/>
  453. <col ref="slipdd" visibility="hidden"/>
  454. <col ref="slipno" visibility="hidden"/>
  455. <col ref="suppcustcd" visibility="hidden"/>
  456. <col ref="cmt" visibility="hidden"/>
  457. <col ref="prewinqty" visibility="hidden"/>
  458. <col ref="minexch" visibility="hidden"/>
  459. <col ref="deliveno" visibility="hidden"/>
  460. <col ref="windd" visibility="hidden"/>
  461. <col ref="winno" visibility="hidden"/>
  462. <col ref="winseqno" visibility="hidden"/>
  463. <col ref="delivedeptcd" visibility="hidden"/>
  464. <col ref="reqdeptcd" visibility="hidden"/>
  465. <col ref="oldchkyn" visibility="hidden"/>
  466. <script type="javascript" ev:event="onrowchanged">
  467. <![CDATA[
  468. misfGridInit(grd_gooddmndreq);
  469. // model.setValue("/root/send/gooddmndreq/outdataflag","Y" );
  470. // model.setValue("/root/send/gooddmndreq/outdataflag",model.getValue(grd_goodwin.nodeset+"/ "Y" );
  471. // misfMsterDetailRetrieve();
  472. vPath = "/root/send/gooddmndreq";
  473. sPath = grd_goodwin.nodeset+"["+ grd_goodwin.row +"]";
  474. model.setValue(vPath+"/instcd" , model.getValue(sPath +"/instcd" )) ; // 기관코드
  475. model.setValue(vPath+"/goodflag" , model.getValue(sPath +"/goodflag" )) ; // 물품구분
  476. model.setValue(vPath+"/purcdmnddd" , model.getValue(sPath +"/purcdmnddd" )) ; // 요구일자
  477. model.setValue(vPath+"/purcdmndno" , model.getValue(sPath +"/purcdmndno" )) ; // 요구번호
  478. model.setValue(vPath+"/purcdmndseq" , model.getValue(sPath +"/purcdmndseq" )) ; // 요구순번
  479. model.setValue(vPath+"/reqdeptcd" , model.getValue(sPath +"/reqdeptcd" )) ; // 구매요구부서
  480. model.setValue(vPath+"/delivedeptcd", model.getValue(sPath +"/delivedeptcd")) ; // 출고부서
  481. model.setValue(vPath+"/iokind" , model.getValue(sPath +"/iokind" )) ; // 입출유형
  482. model.setValue(vPath+"/windd" , model.getValue(sPath +"/windd" )) ; // 입고일자
  483. model.setValue(vPath+"/winno" , model.getValue(sPath +"/winno" )) ; // 입고번호(0000)
  484. model.setValue(vPath+"/winseqno" , model.getValue(sPath +"/winseqno" )) ; // 입고일련번호(000~999)
  485. model.setValue(vPath+"/windeptcd" , model.getValue(sPath +"/windeptcd" )) ; // 입고부서
  486. model.setValue(vPath+"/outdataflag" , "Y" ) ; // 출고내역 조회여부
  487. submit("TRRSI00403");
  488. fAfterRetrieveDetail();
  489. grd_gooddmndreq.dispatch("onmouseup");
  490. ]]>
  491. </script>
  492. <script type="javascript" ev:event="onaftersort">
  493. <![CDATA[
  494. grd_goodwin.gridToInstance();
  495. ]]>
  496. </script>
  497. <script type="javascript" ev:event="ondblclick">
  498. <![CDATA[
  499. if( grd_goodwin.rows - grd_goodwin.fixedRows > 0 && grd_goodwin.fixedRows <= grd_goodwin.row ) {
  500. model.setValue(grd_goodwin.nodeset + "[" + grd_goodwin.row + "]/chkyn" , "Y");
  501. model.refresh();
  502. }
  503. ]]>
  504. </script>
  505. </datagrid>
  506. <button id="btn_accept" class="btn4_letter4" visibility="visible" style="left:1114px; top:98px; width:80px; height:22px; ">
  507. <caption>검수확인</caption>
  508. <script type="javascript" ev:event="DOMActivate">
  509. <![CDATA[
  510. fCheckPersonSave(); // 입고 검수 확인 저장
  511. ]]>
  512. </script>
  513. </button>
  514. <caption id="caption5" class="tit_2" style="left:0px; top:469px; width:95px; height:14px; ">출고내역</caption>
  515. <button id="btnselect" class="btn2_letter7" style="left:1013px; top:99px; width:97px; height:19px; ">
  516. <caption>전체선택/취소</caption>
  517. <script type="javascript" ev:event="DOMActivate">
  518. <![CDATA[
  519. fWinAllSelect();
  520. grd_goodwin.refresh();
  521. ]]>
  522. </script>
  523. </button>
  524. </group>
  525. <group id="group2" style="left:2px; top:12px; width:1193px; height:27px; ">
  526. <button id="btn_windocu" class="btn3_letter6" visibility="hidden" style="left:58px; top:3px; width:104px; height:22px; ">
  527. <caption>입고전표관리</caption>
  528. </button>
  529. <button id="btn_print" class="btn6_letter2" visibility="hidden" style="left:0px; top:3px; width:56px; height:22px; ">
  530. <caption>출력</caption>
  531. </button>
  532. <button id="btn_init" class="btn4_letter3" style="left:1125px; top:3px; width:68px; height:22px; ">
  533. <caption>초기화</caption>
  534. <script type="javascript" ev:event="DOMActivate">
  535. <![CDATA[
  536. fInitialize();
  537. ]]>
  538. </script>
  539. </button>
  540. <line id="line17" class="line_6" style="x1:0px; y1:25px; x2:1193px; y2:25px; "/>
  541. </group>
  542. </xhtml:body>
  543. </xhtml:html>