123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051 |
- /**
- * @group :
- * @ver : 2010.02.26
- * @by : byday
- * @---------------------------------------------------
- * @type : function
- * @access : public
- * @desc : 불출청구물품출력
- * @param :
- * @return :
- * @---------------------------------------------------
- */
- //부서총청구물품출력
- function fPrintRex3() {
- var strPath = "";
- var grdXPath = grd_goodreqcsrdept.nodeset;
- for ( var nCnt = 0; nCnt < grd_goodreqcsrdept.rows - grd_goodreqcsrdept.fixedRows; nCnt++ ) {
- if ( model.getValue(grdXPath + "[" + (nCnt+1) + "]/chkyn") == "Y" ){
- var reqdd = "";
- if( switch1.selectedIndex == 0 ){
- reqdd = model.getValue(grdXPath + "[" + (nCnt+1) + "]/reqdd");
- }else{
- reqdd = model.getValue(grdXPath + "[" + (nCnt+1) + "]/rtndd");
- }
-
- strPath += model.getValue(grdXPath + "[" + (nCnt+1) + "]/reqpridflag")
- + "-" + model.getValue(grdXPath + "[" + (nCnt+1) + "]/reqdeptcd")
- + "-" + reqdd
- + "::";
- }
- }
-
- model.makeNode("/root/send/goodreq/strPath");
- model.makeValue("/root/send/goodreq/strPath", strPath);
-
- model.makeValue("/root/send/goodreq/dlvrtnflag", model.getValue("/root/init/tmp/dlvrtnflag"));
-
- if(submit("TRMNG01206")){
- model.removeNodeset("/root/send/report/prtdata/goodreqlist");
- model.makeNode("/root/send/report/prtdata/goodreqlist");
- copyNodesetType("/root/send/report/prtdata/goodreqlist" , "/root/temp/dlvprtlist/gooddlvlist");
- exeReportPreview("RPMNG01901", "XMLSTR", "/root/send/report/prtdata");
- }
- }
|