| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184 |
- <?xml version="1.0" encoding="UTF-8"?>
- <?xml-stylesheet href="../../css/body.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>
- <![CDATA[轧钢作业 >> 轧钢标准 >> 作业班次登录与查询(UIH060020)]]>
- </xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <fromData>
- <year>2008</year>
- <month>10</month>
- <facStl>H</facStl>
- </fromData>
- <data>
- <item>
- <seq>早班</seq>
- <S01S/>
- <S02S/>
- <S03S/>
- <S04S/>
- <S05S/>
- <S06S/>
- <S07S/>
- <S08S/>
- <S09S/>
- <S10S/>
- <S11S/>
- <S12S/>
- <S13S/>
- <S14S/>
- <S15S/>
- <S16S/>
- <S17S/>
- <S18S/>
- <S19S/>
- <S20S/>
- <S21S/>
- <S22S/>
- <S23S/>
- <S24S/>
- <S25S/>
- <S26S/>
- <S27S/>
- <S28S/>
- <S29S/>
- <S30S/>
- <S31S/>
- </item>
- <item>
- <seq>中班</seq>
- <S01S/>
- <S02S/>
- <S03S/>
- <S04S/>
- <S05S/>
- <S06S/>
- <S07S/>
- <S08S/>
- <S09S/>
- <S10S/>
- <S11S/>
- <S12S/>
- <S13S/>
- <S14S/>
- <S15S/>
- <S16S/>
- <S17S/>
- <S18S/>
- <S19S/>
- <S20S/>
- <S21S/>
- <S22S/>
- <S23S/>
- <S24S/>
- <S25S/>
- <S26S/>
- <S27S/>
- <S28S/>
- <S29S/>
- <S30S/>
- <S31S/>
- </item>
- <item>
- <seq>晚班</seq>
- <S01S/>
- <S02S/>
- <S03S/>
- <S04S/>
- <S05S/>
- <S06S/>
- <S07S/>
- <S08S/>
- <S09S/>
- <S10S/>
- <S11S/>
- <S12S/>
- <S13S/>
- <S14S/>
- <S15S/>
- <S16S/>
- <S17S/>
- <S18S/>
- <S19S/>
- <S20S/>
- <S21S/>
- <S22S/>
- <S23S/>
- <S24S/>
- <S25S/>
- <S26S/>
- <S27S/>
- <S28S/>
- <S29S/>
- <S30S/>
- <S31S/>
- </item>
- <item>
- <seq>休息</seq>
- <S01S/>
- <S02S/>
- <S03S/>
- <S04S/>
- <S05S/>
- <S06S/>
- <S07S/>
- <S08S/>
- <S09S/>
- <S10S/>
- <S11S/>
- <S12S/>
- <S13S/>
- <S14S/>
- <S15S/>
- <S16S/>
- <S17S/>
- <S18S/>
- <S19S/>
- <S20S/>
- <S21S/>
- <S22S/>
- <S23S/>
- <S24S/>
- <S25S/>
- <S26S/>
- <S27S/>
- <S28S/>
- <S29S/>
- <S30S/>
- <S31S/>
- </item>
- </data>
- <tempData>
- <PROC_CD/>
- <GR_YYYYMM/>
- <GR_DD/>
- <GR_SHIFT/>
- <GR_GROUP_CD/>
- </tempData>
- <searchData/>
- <REG_ID/>
- </root>
- </instance>
- </model>
- <script type="javascript">
- <![CDATA[
- //页面初始化的时候需要获取登录的相关用户信息
- function Init(node) {
- InitParams(node);
- }
- //调用公共的初始化方法获得登录用户名
- function InitParams(node) {
- if (typeof node == "undefined" && typeof node != "object") return;
- model.removenode("/root/initData/rcvInfo");
- model.makeNode("/root/initData/rcvInfo");
- var nodeList = node.childNodes;
- node = model.instances(0).selectSingleNode("/root/initData/rcvInfo");
- for (var i = 0; i < nodeList.length; i++)
- node.appendChild(nodeList.item(i));
- }
-
- var DAYS = 0;
-
- function find()
- {
- var yearTg = model1.getValue("/root/fromData/year");
- var monthTg = model1.getValue("/root/fromData/month");
-
- if((monthTg == 1)|| (monthTg == 3) || (monthTg == 5) || (monthTg == 7) || (monthTg == 8) || (monthTg == 10) || (monthTg == 12))
- {
- DAYS = 31;
- }
- else if(monthTg == 2)
- {
- if((yearTg % 400 == 0)||(yearTg % 4 == 0)&&(yearTg % 100 != 0))
- DAYS = 29
- else
- DAYS = 28;
- }
- else
- {
- DAYS = 30;
- }
- datagrid1.colHidden(datagrid1.colRef("S29S"))=datagrid1.colHidden(datagrid1.colRef("S30S"))=datagrid1.colHidden(datagrid1.colRef("S31S"))=false;
- //我操! 没见过这么傻X的语句,能不能用什么方法把这三个隐藏还原???
- if(DAYS == 30)
- {
- datagrid1.colHidden(datagrid1.colRef("S31S"))= true;
- }
- else if(DAYS == 29)
- {
- datagrid1.colHidden(datagrid1.colRef("S31S"))= true;
- datagrid1.colHidden(datagrid1.colRef("S30S"))= true;
- }
- else if(DAYS == 28)
- {
- datagrid1.colHidden(datagrid1.colRef("S31S"))= true;
- datagrid1.colHidden(datagrid1.colRef("S30S"))= true;
- datagrid1.colHidden(datagrid1.colRef("S29S"))= true;
- }
- var yearTg = model1.getValue("/root/fromData/year");
- var monthTg
- model1.removenode("/root/reqData");
- model1.makeNode("/root/reqData");
- // 月份为10以下时 前面加0
- if(monthTg.length < 2){
- monthTg = "0" + monthTg;
- }
- model1.makeValue("/root/reqData/GR_YYYYMM",yearTg + monthTg);
- model1.makeValue("/root/reqData/PROC_CD",model1.getValue("/root/fromData/facStl"));
- commSubmit("UIH060020-service","find","glueAction.do");
-
- var resNode = instance1.selectSingleNode("/root/resData/searchShiftResult_VO");
- if(!resNode.childNodes.length > 0){
- alert("这个月的班次尚未编制");
- }
- else{
- var i = 0;
- var dateShift = "";
- var shiftNo = "";
- var shiftValue = "";
- var childNodeLen = resNode.childNodes.length;
- for(i = 1 ; i <= childNodeLen ; i++)
- {
- var dateShift = model1.getValue("/root/resData/searchShiftResult_VO/searchShiftResult_Row[" + i + "]/GR_DD");
- var shiftNo = model1.getValue("/root/resData/searchShiftResult_VO/searchShiftResult_Row[" + i + "]/GR_SHIFT");
-
- var shiftValue = model1.getValue("/root/resData/searchShiftResult_VO/searchShiftResult_Row[" + i + "]/GR_GROUP_CD");
-
- datagrid1.valueMatrix(parseInt(shiftNo) + 1,dateShift) = shiftValue;
-
-
- // alert("dateShift :: "+dateShift);
- // alert("shiftNo :: "+shiftNo);
- // alert("shiftValue :: "+shiftValue);
- }
- datagrid1.rebuild();
- }
- }
-
- function save()
- {
- // 循环获得每个月每天每个班次对应的工作组
- for(var i = 0 ; i < DAYS ; i++)
- {
- for(var j = 0 ; j < 4 ; j++)
- {
- var monthValue = model1.getValue("/root/fromData/month");
- // 月份小于10时候 ,前面加0
- if(monthValue.length < 2){
- monthValue = "0" + monthValue;
- }
- model1.makeValue("/root/tempData/PROC_CD",model1.getValue("/root/fromData/facStl"));
-
- model1.makeValue("/root/tempData/GR_YYYYMM",model1.getValue("/root/fromData/year") + monthValue);
- // 数组下标是从0开始,每个月从一开始,所以加一
- if(i < 9){
- model1.makeValue("/root/tempData/GR_DD","0" + (i + 1));}
- else{
- model1.makeValue("/root/tempData/GR_DD",i + 1);
- }
- // 数组下标加一
- model1.makeValue("/root/tempData/GR_SHIFT",j + 1);
- var focuRow = j + (datagrid1.fixedRows - 1) + 1;
- var focuCol = i + 1;
- var group = datagrid1.valueMatrix(focuRow,focuCol);
- model1.makeValue("/root/tempData/GR_GROUP",group);
- model.duplicate("/root/searchData","/root/tempData");
- }
- }
- commSendReq("/root/searchData");
- commSubmit("UIH060020-service","save","glueAction.do");
- }
- ]]>
- </script>
- <script type="javascript" src="../../js/boaCommon.js"/>
- </xhtml:head>
- <xhtml:body guideline="1,980;" style="font-family:宋体; ">
- <datagrid id="datagrid1" nodeset="/root/data/item" caption="^年^年^年^年^年^年^年^年^年^年^年^年^年^年^年^年^年^年^年^年^年^年^年^年^年^年^年^年^年^年^年|^01^02^03^04^05^06^07^08^09^10^11^12^13^14^15^16^17^18^19^20^21^22^23^24^25^26^27^28^29^30^31" colsep="^" colwidth="48, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30" defaultrows="6" fixedcols="1" mergecellsfixedrows="bycolrec" rowsep="|" style="left:0px; top:35px; width:980px; height:550px; ">
- <col ref="seq"/>
- <col ref="S01S" type="combo">
- <choices>
- <item>
- <label/>
- <value/>
- </item>
- <item>
- <label>甲</label>
- <value>A</value>
- </item>
- <item>
- <label>乙</label>
- <value>B</value>
- </item>
- <item>
- <label>丙</label>
- <value>C</value>
- </item>
- <item>
- <label>丁</label>
- <value>D</value>
- </item>
- </choices>
- </col>
- <col ref="S02S" type="combo">
- <choices>
- <item>
- <label/>
- <value/>
- </item>
- <item>
- <label>甲</label>
- <value>A</value>
- </item>
- <item>
- <label>乙</label>
- <value>B</value>
- </item>
- <item>
- <label>丙</label>
- <value>C</value>
- </item>
- <item>
- <label>丁</label>
- <value>D</value>
- </item>
- </choices>
- </col>
- <col ref="S03S" type="combo">
- <choices>
- <item>
- <label/>
- <value/>
- </item>
- <item>
- <label>甲</label>
- <value>A</value>
- </item>
- <item>
- <label>乙</label>
- <value>B</value>
- </item>
- <item>
- <label>丙</label>
- <value>C</value>
- </item>
- <item>
- <label>丁</label>
- <value>D</value>
- </item>
- </choices>
- </col>
- <col ref="S04S" type="combo">
- <choices>
- <item>
- <label/>
- <value/>
- </item>
- <item>
- <label>甲</label>
- <value>A</value>
- </item>
- <item>
- <label>乙</label>
- <value>B</value>
- </item>
- <item>
- <label>丙</label>
- <value>C</value>
- </item>
- <item>
- <label>丁</label>
- <value>D</value>
- </item>
- </choices>
- </col>
- <col ref="S05S" type="combo">
- <choices>
- <item>
- <label/>
- <value/>
- </item>
- <item>
- <label>甲</label>
- <value>A</value>
- </item>
- <item>
- <label>乙</label>
- <value>B</value>
- </item>
- <item>
- <label>丙</label>
- <value>C</value>
- </item>
- <item>
- <label>丁</label>
- <value>D</value>
- </item>
- </choices>
- </col>
- <col ref="S06S" type="combo">
- <choices>
- <item>
- <label/>
- <value/>
- </item>
- <item>
- <label>甲</label>
- <value>A</value>
- </item>
- <item>
- <label>乙</label>
- <value>B</value>
- </item>
- <item>
- <label>丙</label>
- <value>C</value>
- </item>
- <item>
- <label>丁</label>
- <value>D</value>
- </item>
- </choices>
- </col>
- <col ref="S07S" type="combo">
- <choices>
- <item>
- <label/>
- <value/>
- </item>
- <item>
- <label>甲</label>
- <value>A</value>
- </item>
- <item>
- <label>乙</label>
- <value>B</value>
- </item>
- <item>
- <label>丙</label>
- <value>C</value>
- </item>
- <item>
- <label>丁</label>
- <value>D</value>
- </item>
- </choices>
- </col>
- <col ref="S08S" type="combo">
- <choices>
- <item>
- <label/>
- <value/>
- </item>
- <item>
- <label>甲</label>
- <value>A</value>
- </item>
- <item>
- <label>乙</label>
- <value>B</value>
- </item>
- <item>
- <label>丙</label>
- <value>C</value>
- </item>
- <item>
- <label>丁</label>
- <value>D</value>
- </item>
- </choices>
- </col>
- <col ref="S09S" type="combo">
- <choices>
- <item>
- <label/>
- <value/>
- </item>
- <item>
- <label>甲</label>
- <value>A</value>
- </item>
- <item>
- <label>乙</label>
- <value>B</value>
- </item>
- <item>
- <label>丙</label>
- <value>C</value>
- </item>
- <item>
- <label>丁</label>
- <value>D</value>
- </item>
- </choices>
- </col>
- <col ref="S10S" type="combo">
- <choices>
- <item>
- <label/>
- <value/>
- </item>
- <item>
- <label>甲</label>
- <value>A</value>
- </item>
- <item>
- <label>乙</label>
- <value>B</value>
- </item>
- <item>
- <label>丙</label>
- <value>C</value>
- </item>
- <item>
- <label>丁</label>
- <value>D</value>
- </item>
- </choices>
- </col>
- <col ref="S11S" type="combo">
- <choices>
- <item>
- <label/>
- <value/>
- </item>
- <item>
- <label>甲</label>
- <value>A</value>
- </item>
- <item>
- <label>乙</label>
- <value>B</value>
- </item>
- <item>
- <label>丙</label>
- <value>C</value>
- </item>
- <item>
- <label>丁</label>
- <value>D</value>
- </item>
- </choices>
- </col>
- <col ref="S12S" type="combo">
- <choices>
- <item>
- <label/>
- <value/>
- </item>
- <item>
- <label>甲</label>
- <value>A</value>
- </item>
- <item>
- <label>乙</label>
- <value>B</value>
- </item>
- <item>
- <label>丙</label>
- <value>C</value>
- </item>
- <item>
- <label>丁</label>
- <value>D</value>
- </item>
- </choices>
- </col>
- <col ref="S13S" type="combo">
- <choices>
- <item>
- <label/>
- <value/>
- </item>
- <item>
- <label>甲</label>
- <value>A</value>
- </item>
- <item>
- <label>乙</label>
- <value>B</value>
- </item>
- <item>
- <label>丙</label>
- <value>C</value>
- </item>
- <item>
- <label>丁</label>
- <value>D</value>
- </item>
- </choices>
- </col>
- <col ref="S14S" type="combo">
- <choices>
- <item>
- <label/>
- <value/>
- </item>
- <item>
- <label>甲</label>
- <value>A</value>
- </item>
- <item>
- <label>乙</label>
- <value>B</value>
- </item>
- <item>
- <label>丙</label>
- <value>C</value>
- </item>
- <item>
- <label>丁</label>
- <value>D</value>
- </item>
- </choices>
- </col>
- <col ref="S15S" type="combo">
- <choices>
- <item>
- <label/>
- <value/>
- </item>
- <item>
- <label>甲</label>
- <value>A</value>
- </item>
- <item>
- <label>乙</label>
- <value>B</value>
- </item>
- <item>
- <label>丙</label>
- <value>C</value>
- </item>
- <item>
- <label>丁</label>
- <value>D</value>
- </item>
- </choices>
- </col>
- <col ref="S16S" type="combo">
- <choices>
- <item>
- <label/>
- <value/>
- </item>
- <item>
- <label>甲</label>
- <value>A</value>
- </item>
- <item>
- <label>乙</label>
- <value>B</value>
- </item>
- <item>
- <label>丙</label>
- <value>C</value>
- </item>
- <item>
- <label>丁</label>
- <value>D</value>
- </item>
- </choices>
- </col>
- <col ref="S17S" type="combo">
- <choices>
- <item>
- <label/>
- <value/>
- </item>
- <item>
- <label>甲</label>
- <value>A</value>
- </item>
- <item>
- <label>乙</label>
- <value>B</value>
- </item>
- <item>
- <label>丙</label>
- <value>C</value>
- </item>
- <item>
- <label>丁</label>
- <value>D</value>
- </item>
- </choices>
- </col>
- <col ref="S18S" type="combo">
- <choices>
- <item>
- <label/>
- <value/>
- </item>
- <item>
- <label>甲</label>
- <value>A</value>
- </item>
- <item>
- <label>乙</label>
- <value>B</value>
- </item>
- <item>
- <label>丙</label>
- <value>C</value>
- </item>
- <item>
- <label>丁</label>
- <value>D</value>
- </item>
- </choices>
- </col>
- <col ref="S19S" type="combo">
- <choices>
- <item>
- <label/>
- <value/>
- </item>
- <item>
- <label>甲</label>
- <value>A</value>
- </item>
- <item>
- <label>乙</label>
- <value>B</value>
- </item>
- <item>
- <label>丙</label>
- <value>C</value>
- </item>
- <item>
- <label>丁</label>
- <value>D</value>
- </item>
- </choices>
- </col>
- <col ref="S20S" type="combo">
- <choices>
- <item>
- <label/>
- <value/>
- </item>
- <item>
- <label>甲</label>
- <value>A</value>
- </item>
- <item>
- <label>乙</label>
- <value>B</value>
- </item>
- <item>
- <label>丙</label>
- <value>C</value>
- </item>
- <item>
- <label>丁</label>
- <value>D</value>
- </item>
- </choices>
- </col>
- <col ref="S21S" type="combo">
- <choices>
- <item>
- <label/>
- <value/>
- </item>
- <item>
- <label>甲</label>
- <value>A</value>
- </item>
- <item>
- <label>乙</label>
- <value>B</value>
- </item>
- <item>
- <label>丙</label>
- <value>C</value>
- </item>
- <item>
- <label>丁</label>
- <value>D</value>
- </item>
- </choices>
- </col>
- <col ref="S22S" type="combo">
- <choices>
- <item>
- <label/>
- <value/>
- </item>
- <item>
- <label>甲</label>
- <value>A</value>
- </item>
- <item>
- <label>乙</label>
- <value>B</value>
- </item>
- <item>
- <label>丙</label>
- <value>C</value>
- </item>
- <item>
- <label>丁</label>
- <value>D</value>
- </item>
- </choices>
- </col>
- <col ref="S23S" type="combo">
- <choices>
- <item>
- <label/>
- <value/>
- </item>
- <item>
- <label>甲</label>
- <value>A</value>
- </item>
- <item>
- <label>乙</label>
- <value>B</value>
- </item>
- <item>
- <label>丙</label>
- <value>C</value>
- </item>
- <item>
- <label>丁</label>
- <value>D</value>
- </item>
- </choices>
- </col>
- <col ref="S24S" type="combo">
- <choices>
- <item>
- <label/>
- <value/>
- </item>
- <item>
- <label>甲</label>
- <value>A</value>
- </item>
- <item>
- <label>乙</label>
- <value>B</value>
- </item>
- <item>
- <label>丙</label>
- <value>C</value>
- </item>
- <item>
- <label>丁</label>
- <value>D</value>
- </item>
- </choices>
- </col>
- <col ref="S25S" type="combo">
- <choices>
- <item>
- <label/>
- <value/>
- </item>
- <item>
- <label>甲</label>
- <value>A</value>
- </item>
- <item>
- <label>乙</label>
- <value>B</value>
- </item>
- <item>
- <label>丙</label>
- <value>C</value>
- </item>
- <item>
- <label>丁</label>
- <value>D</value>
- </item>
- </choices>
- </col>
- <col ref="S26S" type="combo">
- <choices>
- <item>
- <label/>
- <value/>
- </item>
- <item>
- <label>甲</label>
- <value>A</value>
- </item>
- <item>
- <label>乙</label>
- <value>B</value>
- </item>
- <item>
- <label>丙</label>
- <value>C</value>
- </item>
- <item>
- <label>丁</label>
- <value>D</value>
- </item>
- </choices>
- </col>
- <col ref="S27S" type="combo">
- <choices>
- <item>
- <label/>
- <value/>
- </item>
- <item>
- <label>甲</label>
- <value>A</value>
- </item>
- <item>
- <label>乙</label>
- <value>B</value>
- </item>
- <item>
- <label>丙</label>
- <value>C</value>
- </item>
- <item>
- <label>丁</label>
- <value>D</value>
- </item>
- </choices>
- </col>
- <col ref="S28S" type="combo">
- <choices>
- <item>
- <label/>
- <value/>
- </item>
- <item>
- <label>甲</label>
- <value>A</value>
- </item>
- <item>
- <label>乙</label>
- <value>B</value>
- </item>
- <item>
- <label>丙</label>
- <value>C</value>
- </item>
- <item>
- <label>丁</label>
- <value>D</value>
- </item>
- </choices>
- </col>
- <col ref="S29S" type="combo">
- <choices>
- <item>
- <label/>
- <value/>
- </item>
- <item>
- <label>甲</label>
- <value>A</value>
- </item>
- <item>
- <label>乙</label>
- <value>B</value>
- </item>
- <item>
- <label>丙</label>
- <value>C</value>
- </item>
- <item>
- <label>丁</label>
- <value>D</value>
- </item>
- </choices>
- </col>
- <col ref="S30S" type="combo">
- <choices>
- <item>
- <label/>
- <value/>
- </item>
- <item>
- <label>甲</label>
- <value>A</value>
- </item>
- <item>
- <label>乙</label>
- <value>B</value>
- </item>
- <item>
- <label>丙</label>
- <value>C</value>
- </item>
- <item>
- <label>丁</label>
- <value>D</value>
- </item>
- </choices>
- </col>
- <col ref="S31S" type="combo">
- <choices>
- <item>
- <label/>
- <value/>
- </item>
- <item>
- <label>甲</label>
- <value>A</value>
- </item>
- <item>
- <label>乙</label>
- <value>B</value>
- </item>
- <item>
- <label>丙</label>
- <value>C</value>
- </item>
- <item>
- <label>丁</label>
- <value>D</value>
- </item>
- </choices>
- </col>
- </datagrid>
- <caption id="caption5" class="cell" style="left:0px; top:5px; width:90px; height:20px; vertical-align:middle; border-color:#000000; ">年月</caption>
- <select1 id="combo1" ref="/root/fromData/year" appearance="minimal" editmode="input" style="left:92px; top:5px; width:110px; height:20px; background-color:#ffff99; border-color:#000000; ">
- <choices>
- <item>
- <label>2008</label>
- <value>2008</value>
- </item>
- <item>
- <label>2009</label>
- <value>2009</value>
- </item>
- <item>
- <label>2010</label>
- <value>2010</value>
- </item>
- <item>
- <label>2011</label>
- <value>2011</value>
- </item>
- <item>
- <label>2012</label>
- <value>2012</value>
- </item>
- <item>
- <label>2013</label>
- <value>2013</value>
- </item>
- <item>
- <label>2014</label>
- <value>2014</value>
- </item>
- <item>
- <label>2015</label>
- <value>2015</value>
- </item>
- <item>
- <label>2016</label>
- <value>2016</value>
- </item>
- <item>
- <label>2017</label>
- <value>2017</value>
- </item>
- <item>
- <label>2018</label>
- <value>2018</value>
- </item>
- <item>
- <label>2019</label>
- <value>2019</value>
- </item>
- <item>
- <label>2020</label>
- <value>2020</value>
- </item>
- </choices>
- </select1>
- <select1 id="combo2" ref="/root/fromData/month" appearance="minimal" style="left:205px; top:5px; width:110px; height:20px; background-color:#ffff99; border-color:#000000; ">
- <choices>
- <item>
- <label>1</label>
- <value>1</value>
- </item>
- <item>
- <label>2</label>
- <value>2</value>
- </item>
- <item>
- <label>3</label>
- <value>3</value>
- </item>
- <item>
- <label>4</label>
- <value>4</value>
- </item>
- <item>
- <label>5</label>
- <value>5</value>
- </item>
- <item>
- <label>6</label>
- <value>6</value>
- </item>
- <item>
- <label>7</label>
- <value>7</value>
- </item>
- <item>
- <label>8</label>
- <value>8</value>
- </item>
- <item>
- <label>9</label>
- <value>9</value>
- </item>
- <item>
- <label>10</label>
- <value>10</value>
- </item>
- <item>
- <label>11</label>
- <value>11</value>
- </item>
- <item>
- <label>12</label>
- <value>12</value>
- </item>
- </choices>
- </select1>
- <select1 id="combo3" ref="/root/fromData/facStl" appearance="minimal" style="left:325px; top:5px; width:110px; height:20px; background-color:#ffff99; border-color:#000000; ">
- <choices>
- <item>
- <label>热轧</label>
- <value>H</value>
- </item>
- </choices>
- </select1>
- <line id="line3" style="x1:1px; y1:0px; x2:980px; y2:0px; "/>
- <line id="line4" style="x1:1px; y1:30px; x2:980px; y2:30px; "/>
- <caption id="caption13" style="left:0px; top:600px; width:980px; height:20px; background-color:#ccccff; border-top-color:#ffffff; border-style:solid; "/>
- <caption id="caption1" class="cell" style="left:545px; top:5px; width:90px; height:20px; vertical-align:middle; border-color:#000000; "/>
- <button id="button2" style="left:545px; top:5px; width:90px; height:20px; ">
- <caption>班次维护</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- //这里加入双击事件,在同一车号下可以输入多个钢卷号。便于操作
- model.setValue("/root/REG_ID",model.getValue("/root/initData/rcvInfo/REG_ID"));
-
- //把相应的班次,班组,信息上传
- model.refresh();
- window.load("./UIH060021.xrw", "modal", "modalWin", "left:400; top:100; width:650px; height:500px");
- ]]>
- </script>
- </button>
- </xhtml:body>
- </xhtml:html>
|