123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/css" ?>
- <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">
- <xhtml:head>
- <xhtml:title>누적물품 불출관리</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <init>
- <oproomlist>
- <oproomcd/>
- <oproomnm/>
- </oproomlist>
- </init>
- <main>
- <cond>
- <reqfromdd/>
- <reqtodd/>
- <oproomcd/>
- <deliveflag>0</deliveflag>
- <goodcd/>
- <allsizespecid/>
- <goodnm/>
- <cntfromdd/>
- <cnttodd/>
- </cond>
- <acmlgooddelivelist>
- <delivereqdd/>
- <delivedd/>
- <oproomcd/>
- <useflag/>
- <goodcd/>
- <allsizespecid/>
- <goodalias/>
- <prodcmpynm/>
- <unit/>
- <ccrstocqty/>
- <safestocqty/>
- <stocqty/>
- <sumqty/>
- <reqqty/>
- <acmldeliveqty/>
- <chkflag/>
- <delivecnfm/>
- <acmlbaseqty/>
- <existyn/>
- </acmlgooddelivelist>
- <deliveinfo>
- <delivemastinfo>
- <delivereqdd/>
- <reqno/>
- <oproomno/>
- <useflag/>
- <goodcd/>
- <allsizespecid/>
- <goodnm/>
- <goodspec/>
- <goodmodel/>
- <reqqty/>
- <acmldeliveqty/>
- <stocqty/>
- <delivecnfm/>
- </delivemastinfo>
- <delivedetlinfo>
- <delivedd/>
- <deliveno/>
- <useqty/>
- <baseuseqty/>
- <deliveqty/>
- <spreqty/>
- </delivedetlinfo>
- </deliveinfo>
- </main>
- <send>
- <reqdata/>
- <savedata/>
- </send>
- <hidden/>
- <temp>
- <refflag/>
- <kk/>
- </temp>
- </root>
- </instance>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/numericHelper.js"/>
- <script type="javascript" src="../../../emr/opanstweb/js/SMMNP046.js"/>
- <submission id="TRMNP04601" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/acmlgooddelivelist"/>
- <submission id="TRMNP04602" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/acmlgooddelivelist"/>
- <submission id="TXMNP04601" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/acmlgooddelivelist"/>
- <submission id="TXMNP04602" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/acmlgooddelivelist"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- submit("TRMNP04603");
- btn_saveexcel.disabled = true;
- grd_acmlgooddelivelist.fixedcellcheckbox(0, 16) = true;
- model.removeNodeset("/root/main/acmlgooddelivelist");
-
- var curtDate = getCurrentDate();
- curtDate = curtDate.substr(0, 8);
- var bfDate1 = fGetDateAdd(8);
- var bfDate2 = fGetDateAdd(1);
-
- model.setValue("/root/main/cond/reqfromdd", curtDate);
- model.setValue("/root/main/cond/reqtodd", curtDate);
- model.setValue("/root/main/cond/cntfromdd", bfDate1);
- model.setValue("/root/main/cond/cnttodd", bfDate2);
-
- model.copyNode("/root/send/reqdata", "/root/main/cond");
- var flagval = model.getValue("/root/temp/kk");
- if( flagval == "Y" ) {
- btn_delivecnfm.visible = true;
- btn_reqsave.visible = false;
- submit("TRMNP04602");
- }else {
- rdo_deliveflagmngt.visible = false;
- btn_delivecnfm.visible = false;
- btn_reqsave.visible = true;
- submit("TRMNP04601");
- }
- ]]>
- </script>
- <submission id="TRMNP04603" mediatype="application/x-www-form-urlencoded" method="post" resultref="/root/init/oproomlist"/>
- </model>
- </xhtml:head>
- <xhtml:body guideline="1,1197;2,841;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="grp_tle" style="left:0px; top:0px; width:1195px; height:13px; ">
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:248px; height:14px; ">CCR물품 불출관리</caption>
- </group>
- <group id="grp_biz" scroll="auto" style="left:0px; top:18px; width:1195px; height:747px; ">
- <group id="grp_sea" style="left:0px; top:5px; width:1194px; height:60px; vertical-align:top; ">
- <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1194px; height:60px; background-color:#fffbf2; border-color:#ffd799; "/>
- <caption id="caption26" class="search_name" style="left:15px; top:9px; width:86px; height:17px; ">사용일자 :</caption>
- <button id="button1" class="btn1_letter2" style="left:1030px; top:7px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.resetInstanceNode("/root/main/deliveinfo");
- var fromdd = model.getValue("/root/main/cond/reqfromdd");
- var todd = model.getValue("/root/main/cond/reqtodd");
- if ( ( fromdd == "" )||( todd == "" ) ) {
- messageBox("의뢰일자를 선택 하지", "E007");
- model.setFocus("ipt_fromdd");
- }else {
- model.copyNode("/root/send/reqdata", "/root/main/cond");
- var flagval = model.getValue("/root/temp/kk");
- if( flagval == "Y" ) {
- btn_delivecnfm.visible = true;
- btn_reqsave.visible = false;
- grd_acmlgooddelivelist.colAttribute(2, "visibility") = "visible";
- submit("TRMNP04602");
- }else {
- btn_delivecnfm.visible = false;
- btn_reqsave.visible = true;
- // grd_acmlgooddelivelist.colAttribute(2, "visibility") = "hidden";
- submit("TRMNP04601");
- }
- grd_acmlgooddelivelist.autoResize = true;
-
- var refMsg = model.getValue("/root/properties/error/msg");
- var refMsgCnt = refMsg.substring(0, 1);
- if( refMsgCnt == "0" ) {
- messageBox("조회된 결과가", "I004");
- model.setFocus("ipt_fromdd");
- }
- }
- ]]>
- </script>
- </button>
- <button id="btn_saveexcel" class="btn1_letter4" style="left:1092px; top:7px; width:80px; height:22px; ">
- <caption>엑셀저장</caption>
- </button>
- <line id="line13" class="line_4" style="x1:1020px; y1:15px; x2:1020px; y2:50px; "/>
- <caption id="caption1" class="search_name" style="left:380px; top:9px; width:79px; height:17px; ">수술방 :</caption>
- <caption id="caption3" class="search_name" style="left:15px; top:34px; width:89px; height:17px; ">물품코드 :</caption>
- <button id="btn_goodsear" class="icon_search" style="left:205px; top:35px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var refflag = model.getValue("/root/temp/refflag");
- if( refflag == "1" ) { /*물품명으로 검색*/
- setParameter("refnm", model.getValue("/root/main/cond/goodnm"));
- setParameter("refflag", "1");
- }else if( refflag == "2" ) { /*물품코드으로 검색*/
- setParameter("refnm", model.getValue("/root/main/cond/goodcd"));
- setParameter("refflag", "2");
- }
- modal("SMMNP04460" ,"", "100", "100", "SMMNP04460", "", "");
-
- var getData = model.getValue("/root/properties/parameters/SendData/SendDatavalue");
- if( getData == "") {
- return;
- }else {
- var getDataTemp = getData.split("|");
-
- model.setValue("/root/main/cond/goodcd", getDataTemp[0]);
- model.setValue("/root/main/cond/goodnm", getDataTemp[1]);
- model.setValue("/root/main/cond/allsizespecid", getDataTemp[2]);
- ipt_goodcd.refresh();
- ipt_goodnm.refresh();
- ipt_allsizespecid.refresh();
-
- model.resetInstanceNode("/root/main/deliveinfo");
- var fromdd = model.getValue("/root/main/cond/reqfromdd");
- var todd = model.getValue("/root/main/cond/reqtodd");
-
- model.copyNode("/root/send/reqdata", "/root/main/cond");
- var flagval = model.getValue("/root/temp/kk");
- if( flagval == "Y" ) {
- btn_delivecnfm.visible = true;
- btn_reqsave.visible = false;
- submit("TRMNP04602");
- }else {
- btn_delivecnfm.visible = false;
- btn_reqsave.visible = true;
- submit("TRMNP04601");
- }
- grd_acmlgooddelivelist.autoResize = true;
-
- var refMsg = model.getValue("/root/properties/error/msg");
- var refMsgCnt = refMsg.substring(0, 1);
- if( refMsgCnt == "0" ) {
- messageBox("조회된 결과가", "I004");
- model.setFocus("ipt_fromdd");
- }
- }
- ]]>
- </script>
- </button>
- <input id="ipt_goodcd" ref="/root/main/cond/goodcd" class="input_search" style="left:102px; top:34px; width:100px; height:19px; text-align:center; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- model.setValue("/root/temp/refflag", "2");
- inputEnterKey("btn_goodsear", "DOMActivate");
- ]]>
- </script>
- </input>
- <caption id="caption11" class="search_n_b" style="left:206px; top:11px; width:12px; height:17px; font-weight:bolder; ">~</caption>
- <input id="ipt_fromdd" ref="/root/main/cond/reqfromdd" class="input_s_essential" inputtype="date" format="yyyy-mm-dd" style="left:102px; top:8px; width:100px; height:19px; text-align:center; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- model.resetInstanceNode("/root/main/deliveinfo");
- var fromdd = model.getValue("/root/main/cond/reqfromdd");
- var todd = model.getValue("/root/main/cond/reqtodd");
- if ( ( fromdd == "" )||( todd == "" ) ) {
- messageBox("의뢰일자를 선택 하지", "E007");
- model.setFocus("ipt_fromdd");
- }else {
- model.copyNode("/root/send/reqdata", "/root/main/cond");
- var flagval = model.getValue("/root/temp/kk");
- if( flagval == "Y" ) {
- btn_delivecnfm.visible = true;
- btn_reqsave.visible = false;
- submit("TRMNP04602");
- }else {
- btn_delivecnfm.visible = false;
- btn_reqsave.visible = true;
- submit("TRMNP04601");
- }
- grd_acmlgooddelivelist.autoResize = true;
-
- var refMsg = model.getValue("/root/properties/error/msg");
- var refMsgCnt = refMsg.substring(0, 1);
- if( refMsgCnt == "0" ) {
- messageBox("조회된 결과가", "I004");
- model.setFocus("ipt_fromdd");
- }
- }
- ]]>
- </script>
- </input>
- <input id="ipt_todd" ref="/root/main/cond/reqtodd" class="input_s_essential" inputtype="date" format="yyyy-mm-dd" style="left:222px; top:8px; width:100px; height:19px; text-align:center; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- model.resetInstanceNode("/root/main/deliveinfo");
- var fromdd = model.getValue("/root/main/cond/reqfromdd");
- var todd = model.getValue("/root/main/cond/reqtodd");
- if ( ( fromdd == "" )||( todd == "" ) ) {
- messageBox("의뢰일자를 선택 하지", "E007");
- model.setFocus("ipt_fromdd");
- }else {
- model.copyNode("/root/send/reqdata", "/root/main/cond");
- var flagval = model.getValue("/root/temp/kk");
- if( flagval == "Y" ) {
- btn_delivecnfm.visible = true;
- btn_reqsave.visible = false;
- submit("TRMNP04602");
- }else {
- btn_delivecnfm.visible = false;
- btn_reqsave.visible = true;
- submit("TRMNP04601");
- }
- grd_acmlgooddelivelist.autoResize = true;
-
- var refMsg = model.getValue("/root/properties/error/msg");
- var refMsgCnt = refMsg.substring(0, 1);
- if( refMsgCnt == "0" ) {
- messageBox("조회된 결과가", "I004");
- model.setFocus("ipt_fromdd");
- }
- }
- ]]>
- </script>
- </input>
- <select1 id="combo1" ref="/root/main/cond/oproomcd" class="combo_search" appearance="minimal" style="left:455px; top:8px; width:110px; height:19px; text-align:left; ">
- <choices>
- <itemset nodeset="/root/init/oproomlist">
- <label ref="oproomnm"/>
- <value ref="oproomcd"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- model.resetInstanceNode("/root/main/deliveinfo");
- var fromdd = model.getValue("/root/main/cond/reqfromdd");
- var todd = model.getValue("/root/main/cond/reqtodd");
- if ( ( fromdd == "" )||( todd == "" ) ) {
- messageBox("의뢰일자를 선택 하지", "E007");
- model.setFocus("ipt_fromdd");
- }else {
- model.copyNode("/root/send/reqdata", "/root/main/cond");
- var flagval = model.getValue("/root/temp/kk");
- if( flagval == "Y" ) {
- btn_delivecnfm.visible = true;
- btn_reqsave.visible = false;
- submit("TRMNP04602");
- }else {
- btn_delivecnfm.visible = false;
- btn_reqsave.visible = true;
- submit("TRMNP04601");
- }
- grd_acmlgooddelivelist.autoResize = true;
-
- var refMsg = model.getValue("/root/properties/error/msg");
- var refMsgCnt = refMsg.substring(0, 1);
- if( refMsgCnt == "0" ) {
- messageBox("조회된 결과가", "I004");
- model.setFocus("ipt_fromdd");
- }
- }
- ]]>
- </script>
- </select1>
- <input id="ipt_goodnm" ref="/root/main/cond/goodnm" class="input_search" style="left:285px; top:35px; width:280px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- model.setValue("/root/temp/refflag", "1");
- inputEnterKey("btn_goodsear", "DOMActivate");
- ]]>
- </script>
- </input>
- <input id="ipt_allsizespecid" ref="/root/main/cond/allsizespecid" class="input_search" style="left:230px; top:35px; width:45px; height:19px; text-align:center; "/>
- <caption id="caption4" class="search_name" style="left:595px; top:34px; width:89px; height:17px; ">불출상태 :</caption>
- <select1 id="rdo_deliveflag" ref="/root/main/cond/deliveflag" class="radio_search" overflow="visible" appearance="full" cols="3" style="left:685px; top:34px; width:160px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>전체</label>
- <value>0</value>
- </item>
- <item>
- <label>미확정</label>
- <value>1</value>
- </item>
- <item>
- <label>확정</label>
- <value>2</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- model.resetInstanceNode("/root/main/deliveinfo");
- var fromdd = model.getValue("/root/main/cond/reqfromdd");
- var todd = model.getValue("/root/main/cond/reqtodd");
- if ( ( fromdd == "" )||( todd == "" ) ) {
- messageBox("의뢰일자를 선택 하지", "E007");
- model.setFocus("ipt_fromdd");
- }else {
- model.copyNode("/root/send/reqdata", "/root/main/cond");
- var flagval = model.getValue("/root/temp/kk");
- if( flagval == "Y" ) {
- btn_delivecnfm.visible = true;
- btn_reqsave.visible = false;
- submit("TRMNP04602");
- }else {
- btn_delivecnfm.visible = false;
- btn_reqsave.visible = true;
- submit("TRMNP04601");
- }
- grd_acmlgooddelivelist.autoResize = true;
-
- var refMsg = model.getValue("/root/properties/error/msg");
- var refMsgCnt = refMsg.substring(0, 1);
- if( refMsgCnt == "0" ) {
- messageBox("조회된 결과가", "I004");
- model.setFocus("ipt_fromdd");
- }
- }
- ]]>
- </script>
- </select1>
- <button id="btn_delivecnfm" class="btn4_letter4" style="left:1092px; top:32px; width:80px; height:22px; ">
- <caption>불출확정</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var iRows = -1;
- var delivereqdd, delivedd, oproomcd, existyn, goodcd, allsizespecid, reqno, reqqty, acmldeliveqty, chkflag;
- var cnt = 0;
- iRows = grd_acmlgooddelivelist.rows;
- var acmlgooddelivelist = "m▦rownum▦delivereqdd▦delivedd▦oproomcd▦goodcd▦allsizespecid▦reqqty▦acmldeliveqty▦reqno";
- for( var i = 1; i <= iRows; i++ ) {
- delivereqdd = model.getValue("/root/main/acmlgooddelivelist["+i+"]/delivereqdd");
- delivedd = model.getValue("/root/main/acmlgooddelivelist["+i+"]/delivedd");
- oproomcd = model.getValue("/root/main/acmlgooddelivelist["+i+"]/oproomcd");
- goodcd = model.getValue("/root/main/acmlgooddelivelist["+i+"]/goodcd");
- allsizespecid = model.getValue("/root/main/acmlgooddelivelist["+i+"]/allsizespecid");
- reqqty = model.getValue("/root/main/acmlgooddelivelist["+i+"]/reqqty");
- acmldeliveqty = model.getValue("/root/main/acmlgooddelivelist["+i+"]/acmldeliveqty");
- existyn = model.getValue("/root/main/acmlgooddelivelist["+i+"]/existyn");
- chkflag = model.getValue("/root/main/acmlgooddelivelist["+i+"]/chkflag");
- reqno = model.getValue("/root/main/acmlgooddelivelist["+i+"]/reqno");
- if( chkflag == "true" ) {
- if( existyn == "I" ) {
- acmlgooddelivelist = acmlgooddelivelist + "▩" + "i" + "▦" + i + "▦" + delivereqdd + "▦" + delivedd + "▦" + oproomcd
- + "▦" + goodcd + "▦" + allsizespecid + "▦" + reqqty + "▦" + acmldeliveqty + "▦" + reqno;
- }else {
- acmlgooddelivelist = acmlgooddelivelist + "▩" + "u" + "▦" + i + "▦" + delivereqdd + "▦" + delivedd + "▦" + oproomcd
- + "▦" + goodcd + "▦" + allsizespecid + "▦" + reqqty + "▦" + acmldeliveqty + "▦" + reqno;
- }
- cnt += 1;
- }
-
- }
- if( cnt > 0 ) {
-
- model.copyNode("/root/send/reqdata", "/root/main/cond");
- model.setValue("/root/send/savedata", acmlgooddelivelist);
-
- submit("TXMNP04601");
- if( model.getValue("/root/properties/error/msg") == "정상적으로 처리되었습니다." ) {
- messageBox("저장이", "I002");
- }
- }else {
- messageBox("선택한것이", "I004");
- }
- ]]>
- </script>
- </button>
- <select1 id="rdo_deliveflagmngt" ref="/root/main/cond/deliveflag" class="radio_search" overflow="visible" appearance="full" cols="4" style="left:685px; top:34px; width:160px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>전체</label>
- <value>0</value>
- </item>
- <item>
- <label>미확정</label>
- <value>1</value>
- </item>
- <item>
- <label>확정</label>
- <value>2</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- model.resetInstanceNode("/root/main/deliveinfo");
- var fromdd = model.getValue("/root/main/cond/reqfromdd");
- var todd = model.getValue("/root/main/cond/reqtodd");
- if ( ( fromdd == "" )||( todd == "" ) ) {
- messageBox("의뢰일자를 선택 하지", "E007");
- model.setFocus("ipt_fromdd");
- }else {
- model.copyNode("/root/send/reqdata", "/root/main/cond");
- var flagval = model.getValue("/root/temp/kk");
- if( flagval == "Y" ) {
- btn_delivecnfm.visible = true;
- btn_reqsave.visible = false;
- submit("TRMNP04602");
- }else {
- btn_delivecnfm.visible = false;
- btn_reqsave.visible = true;
- submit("TRMNP04601");
- }
- grd_acmlgooddelivelist.autoResize = true;
-
- var refMsg = model.getValue("/root/properties/error/msg");
- var refMsgCnt = refMsg.substring(0, 1);
- if( refMsgCnt == "0" ) {
- messageBox("조회된 결과가", "I004");
- model.setFocus("ipt_fromdd");
- }
- }
- ]]>
- </script>
- </select1>
- </group>
- <line id="line1" class="line_1" style="x1:0px; y1:75px; x2:1194px; y2:75px; "/>
- <datagrid id="grd_acmlgooddelivelist" nodeset="/root/main/acmlgooddelivelist" caption="의뢰일자^불출일자^수술방^사용구분^물품코드^SIZEID^물품명칭(규격,모델)^제조원^단위^CCR^안전재고^방재고^사용량^불출량^Chk^확정" colsep="^" colwidth="70, 70, 55, 65, 70, 45, 280, 80, 45, 45, 55, 50, 50, 50, 50, 45" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:0px; top:80px; width:1195px; height:630px; ">
- <col ref="delivereqdd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="delivedd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col disabled="true" ref="oproomcd" type="combo" style="text-align:center; ">
- <choices>
- <itemset nodeset="/root/init/oproomlist">
- <label ref="oproomnm"/>
- <value ref="oproomcd"/>
- </itemset>
- </choices>
- </col>
- <col disabled="true" ref="useflag" type="combo" style="text-align:center; ">
- <choices>
- <item>
- <label>재사용</label>
- <value>Y</value>
- </item>
- <item>
- <label>분할사용</label>
- <value>Z</value>
- </item>
- <item>
- <label>1회 사용</label>
- <value>N</value>
- </item>
- </choices>
- </col>
- <col ref="goodcd" style="text-align:center; "/>
- <col ref="allsizespecid" style="text-align:center; "/>
- <col ref="goodalias" style="text-align:left; "/>
- <col ref="prodcmpynm" visibility="visible" style="text-align:left; "/>
- <col disabled="true" ref="unit" type="combo" style="text-align:center; ">
- <choices>
- <item>
- <label>each</label>
- <value>EA</value>
- </item>
- <item>
- <label>pack</label>
- <value>PK</value>
- </item>
- <item>
- <label>box</label>
- <value>BOX</value>
- </item>
- <item>
- <label>roll</label>
- <value>ROL</value>
- </item>
- <item>
- <label>set</label>
- <value>SET</value>
- </item>
- </choices>
- </col>
- <col ref="ccrstocqty" style="text-align:right; "/>
- <col ref="safestocqty" style="text-align:right; "/>
- <col ref="stocqty" style="text-align:right; "/>
- <col ref="sumqty" style="text-align:right; "/>
- <col ref="acmldeliveqty" type="input" style="text-align:right; "/>
- <col ref="chkflag" type="checkbox" style="text-align:right; "/>
- <col disabled="true" ref="delivecnfm" type="combo" style="text-align:center; ">
- <choices>
- <item>
- <label>확정</label>
- <value>Y</value>
- </item>
- <item>
- <label>미확정</label>
- <value>N</value>
- </item>
- <item>
- <label>의뢰</label>
- <value>R</value>
- </item>
- <item>
- <label>추가의뢰</label>
- <value>A</value>
- </item>
- </choices>
- </col>
- <col ref="acmlbaseqty" style="text-align:right; "/>
- <col ref="existyn" visibility="hidden"/>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var iRow = -1;
- var curtDate = getCurrentDate();
- curtDate = curtDate.substr(0, 8);
-
- iRow = grd_acmlgooddelivelist.row;
- if( model.getValue("/root/temp/kk") == "Y" ) {
- model.setValue("/root/main/acmlgooddelivelist["+ iRow +"]/delivedd", curtDate);
- }
- model.setValue("/root/main/acmlgooddelivelist["+ iRow +"]/chkflag", "true");
- model.refresh();
- ]]>
- </script>
- </datagrid>
- </group>
- </xhtml:body>
- </xhtml:html>
|