| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535 |
- <?xml version="1.0" encoding="UTF-8"?>
- <?xml-stylesheet " type="text/css" href="../../css/body.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>Untitle</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <reqData/>
- <resData/>
- <formData>
- <roll_no/>
- <p_st_date/>
- <p_end_date/>
- <millst_date/>
- <millend_date/>
- <ord_no/>
- <ord_seq/>
- <PRD_TY/>
- <fahuo_fangshi/>
- <ordthk/>
- </formData>
- <gridData>
- <EmpListResult_VO/>
- </gridData>
- <initResult/>
- <g1Data>
- <SEQ/>
- <PIHAO/>
- <PIHAO_SEQ/>
- <STL_GRD/>
- <SLAB_THK/>
- <SLAB_WTH/>
- <SLAB_LEN/>
- <SLAB_WGT/>
- <HOT_THK_AIM/>
- <WTH_AIM/>
- <SLAB_NO/>
- <GJH/>
- <QY/>
- <CHARGE_NO/>
- <BZ/>
- <SM_CFNM/>
- <COIL_NO/>
- </g1Data>
- <gridDate2>
- <EmpListResult2_VO/>
- </gridDate2>
- <initData>
- <LG_CD>A01004</LG_CD>
- </initData>
- <codeData/>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- pageInit();
- // input1.value = commCurDate();
- // input2.value = commCurDate()-1;
-
- ]]>
- </script>
- <script type="javascript" src="../../js/boaMsg.js"/>
- <script type="javascript" src="../../js/boaCommon.js"/>
- <script type="javascript" src="../../js/dCommon.js"/>
- <script type="javascript" src="../../js/bCommon.js"/>
- <script type="javascript">
- <![CDATA[
- //1、获取用户登录信息,只能在页面初始化函数中调用
- 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;
- for (var i = 0; i < nodeList.length; i++)
- model.instances(0).selectSingleNode("/root/initData/rcvInfo").appendChild(nodeList.item(i));
- }
-
- function pageInit()
- {
- commSubmit("UIF025020-service","findRollManaNo","glueAction.do");
- model.copyNode("/root/gridDate2/EmpListResult2_VO","/root/resData/EmpListResult2_VO");
- model.refresh();
- model.removenode("/root/resData/EmpListResult2_VO");
- rollnumber.select(0);
- //model.removenode("/root/reqData");
- commSendReq("/root/initData");
- commSubmit("UIGCOMMCODE-service","find","glueAction.do");
- model.copyNode("/root/codeData","/root/resData");
- model.refresh();
- }
-
- //2. 页面初始化函数(必须)
- function Init(node)
- {
- InitParams(node); // 用于设置节点:/root/initData/rcvInfo,获取用户登录信息
- // 在程序中会重建该节点,最好不要重名
- // 函数 InitParams 在 mesCommon.js 中,仅在需要使用登录用户信息时调用
- //...
- }
-
- //3、页面标题
- function setTitle()
- {
- return "生产管制 >> 作业进程现状 >> 轧制计划查询"; // 如:return "进程管理 >> 订单进程现况查询";
- }
-
- //4. 页面按键动作
- // 查询按键
- function find()
- {
- model.removenode("/root/reqData");
- //model.makeNode("/root/reqData");
- model.makeValue("/root/reqData/ROLLMANANO",model.getValue("/root/formData/roll_no"));
- model.makeValue("/root/reqData/p_st_date",input2.value);
- model.makeValue("/root/reqData/p_end_date",input1.value);
- model.makeValue("/root/reqData/millst_date" , input3.value);
- model.makeValue("/root/reqData/millend_date", input4.value);
- model.makeValue("/root/reqData/ord_no" , input5.value);
- model.makeValue("/root/reqData/ord_seq", input6.value);
- model.makeValue("/root/reqData/fahuo_fangshi",combo1.value);
- model.makeValue("/root/reqData/PRD_TY",combo105.value);
- model.makeValue("/root/reqData/ordthk", input7.value);
- // if(rollnumber.value == "" || rollnumber.value == null)
- // {
- // alert("查询单元为空时,请选择开始时间!");
- // return;
- //
- // }
- commSubmit("UIF025020-service","findRollWork","glueAction.do");
- model.copyNode("/root/gridData/EmpListResult_VO","/root/resData/EmpListResult_VO");
- model.removenode("/root/resData/EmpListResult_VO");
- model.refresh();
- color_status();
- model.refresh();
- // differentiateRollManaNo();
- }
- // function initColor() {
- // var firstbiaojiwei = datagrid1.valueMatrix(2,0);
- // for(var i = 2;i<=datagrid1.rows-datagrid1.fixedRows+1;i++) {
- // var bjcolor = datagrid1.rowstyle(i, "data", "color");
- // if(bjcolor == "#ff00ff") {
- // datagrid1.rowstyle(i, "data", "color") = "";
- // }
- // }
- // }
- // function differentiateRollManaNo() {
- // initColor();
- // var firstbiaojiwei = datagrid1.valueMatrix(2,0);
- // for(var i = 2;i<=datagrid1.rows-datagrid1.fixedRows+1;i++) {
- // biaojiwei = datagrid1.valueMatrix(i,0);
- // while(biaojiwei != firstbiaojiwei) {
- // datagrid1.rowstyle(i, "data", "color") = "#ff00ff";
- // firstbiaojiwei = biaojiwei;
- // }
- // }
- // }
- function saveExcelScript(sDGridName, sExcelSheetName, saveType) {
- var sExcelName = window.fileDialog("save", ",", false, "", "xls", "Excel File(*.xls)|*.xls");
- if ( sExcelName == "" ) {
- return;
- }
- //var sCSVName = "C:\\TFSmartUpdater\\" + sExcelName.lastIndexOf(".") +".csv";
- var sCSVName = sExcelName +".csv";
- //alert("sExcelName = ["+ sExcelName +"]\nsCSVName = ["+ sCSVName + "]");
- eval(sDGridName).saveText(sCSVName, "\n", ",", '\:', true); //DataGrid? ??? CSV??? ??
- ObjTFExcel.launchNewInstance(0); //Execute EXCEL
- ObjTFExcel.createWorkbook(); //Create new Workbook(for example:Sheet1,Sheet2,Sheet3) -- createWorkBook(Excel-TemplateFile)
- ObjTFExcel.loadCSV(sCSVName); //Loading Contents, from CSV to Excel
- //Setting up EXCEL Layout.
- //var nRows = sDGridName.rows - sDGridName.fixedRows + 1; //Keep Careful !!!
- var nRows = sDGridName.rows ; //Keep Careful !!!
- var nCols = sDGridName.cols;
-
- //Header
- //Line 1 : Sheet Title
- //行高的设置
-
- //All of the range
- ObjTFExcel.fontcolor ( 01, 01, nRows, nCols ) = "#000000" ;
- ObjTFExcel.font ( 01, 01, nRows, nCols ) = "SimSun" ;
- //取消边框
- ObjTFExcel.setBorderColor( 01, 01, nRows, nCols, "#000000") ;
- ObjTFExcel.bold ( 01, 01, nRows, nCols ) = true ;
- //改变字体大小
- ObjTFExcel.fontsize ( 01, 01, nRows, nCols ) = 12 ;
- ObjTFExcel.underline ( 01, 01, nRows, nCols ) = 0 ;
- ObjTFExcel.valign ( 01, 01, nRows, nCols ) ="middle" ;
- //字体居中
- ObjTFExcel.halign ( 01, 01, nRows, nCols ) ="center" ;
-
- //Query-Results Data
- var iRow = 1; // iRow = HeaderLine + 1;
- //这里设置字体的行宽
- // for(var i = iRow; i <= nRows; i++ ) {
- // if( (i%5) == 1 ) {
- // ObjTFExcel.rowHeight( i ) = 60;
- // ObjTFExcel.mergeCell( i, 01, i, nCols );
- // } else if( (i%5) == 0 ) {
- // ObjTFExcel.rowHeight( i ) = 45;
- // ObjTFExcel.mergeCell( i, 01, i, nCols );
- // } else {
- // ObjTFExcel.rowHeight( i ) = 40;
- // }
- // }
-
- //改变文本格式的方法,未知
- //ObjTFExcel.setformat(02,02,02,03,'@');
-
- //设置列的宽度
- ObjTFExcel.colwidth ( 01 ) = 5 ;
- ObjTFExcel.colwidth ( 02 ) = 10 ;
- ObjTFExcel.colwidth ( 03 ) = 50 ;
- ObjTFExcel.colwidth ( 04 ) = 10 ;
- ObjTFExcel.colwidth ( 05 ) = 15 ;
- ObjTFExcel.colwidth ( 06 ) = 10 ;
- ObjTFExcel.colwidth ( 07 ) = 10 ;
- ObjTFExcel.colwidth ( 08 ) = 5 ;
- ObjTFExcel.colwidth ( 09 ) = 5 ;
- ObjTFExcel.colwidth ( 10 ) = 10 ;
-
- // ObjTFExcel.setFormat(iRow, 14, nRows, 14, "yyyy\"-\"mm\"-\"dd\"\" hh\":\"mm\":\"ss\"\";@");
- ObjTFExcel.sheetName(1) = sExcelSheetName;
- ObjTFExcel.save(sExcelName); //Saving EXCEL
- ObjTFExcel.close(); //Closing EXCEL. (You must be closed EXCEL !!!)
- window.exec("EXCEL.EXE", sExcelName); //Openning EXCEL
- }
- function excelExport() {
- return datagrid1;
- }
-
- function color_status()
- {
- for(var i = 2;i<=datagrid1.rows-1;i++){
-
- var SLAB_WTH = parseFloat(datagrid1.valueMatrix(i,datagrid1.colRef("SLAB_WTH")));
- var WTH_AIM = parseFloat(datagrid1.valueMatrix(i,datagrid1.colRef("WTH_AIM")));
- var SLAB_INGR_DEC_GRD = datagrid1.valueMatrix(i,datagrid1.colRef("SLAB_INGR_DEC_GRD"));
- var SLAB_WGT= parseFloat(datagrid1.valueMatrix(i,datagrid1.colRef("WEIGHT_WGT")));
- var COIL_WGT = parseFloat(datagrid1.valueMatrix(i,datagrid1.colRef("ACT_WGT"))/1000);
- var strtime = datagrid1.valueMatrix(i,datagrid1.colRef("TIMES"));
-
- var v_status = datagrid1.valueMatrix(i,datagrid1.colRef("STATUS_CD"));
-
- var v_cfnm= datagrid1.valueMatrix(i,datagrid1.colRef("SM_CFNM"));
-
- var bgcolor = "#ffffff";
- if(v_status == "轧制吊销" ) {
- bgcolor = "red";
- }else if(v_status == "轧制进行") {
- bgcolor = "#ffffcc";
- if(SLAB_WTH < WTH_AIM){
- bgcolor = "#00ff00";
- }
- }else if(v_status == "轧制完成") {
- bgcolor = "#00ffff";
- }else if(v_status == "上料进行") {
- bgcolor = "#ff99ff";
- }else if(v_status == "轧废或中板") {
- bgcolor = "#c0c0c0";
- }else{
- if(SLAB_INGR_DEC_GRD != "合格"){
- bgcolor = "#ffcc00";
- }else if(SLAB_WTH < WTH_AIM){
- bgcolor = "#0000ff";
- }else{
- bgcolor = "#ffffff";
- }
- }
- if(SLAB_WGT <= COIL_WGT ) {
- bgcolor = "#ffff00";
- }
- datagrid1.rowstyle(i, "data", "background-color") = bgcolor;
-
- if(28<=strtime && v_status != "轧制完成") {
- datagrid1.cellstyle("background-color", i, datagrid1.colRef("TIMES") ) = "#a50021";
- }
-
- if(v_cfnm == "安徽鸿翔建材有限公司" ) {
- datagrid1.rowStyle(i , "data" , "color") = "#ff0000";//
- }
- }
- }
-
- function fowardUID010031(gridID,colName) {
- if(gridID.col == gridID.colRef(colName)) {
- model.makeValue("/root/fwdData/UID010031/ORD_NO", gridID.valueMatrix(gridID.row, gridID.colRef("ORD_NO")));
- model.makeValue("/root/fwdData/UID010031/ORD_SEQ", gridID.valueMatrix(gridID.row, gridID.colRef("ORD_SEQ")));
- model.makeValue("/root/fwdData/UID010031/URL", "../../B/B01/UIB015020.xrw");
- var java = window.parent.javaScript;
- java.open(model.instances(0).selectSingleNode("/root/fwdData/UID010031"));
- }
- }
-
-
- ]]>
- </script>
- </model>
- </xhtml:head>
- <xhtml:body pageheight="620" guideline="1,980;" style="font-family:宋体; ">
- <datagrid id="datagrid1" nodeset="/root/gridData/EmpListResult_VO/EmpListResult_Row" scroll="auto" backcoloralternate="#f7f9f9" caption="轧辊单元^轧辊内顺序^流水号^板坯号^入炉在库^在库时间^钢卷号^批号^序号^取样^炼钢计划牌号^钢种^板坯^板坯^板坯^板坯^坯料类型^板坯位置^板坯理论重量kg^板坯磅重^判定规格^判定规格^成品规格mm^成品规格mm^进行状态^炉号^发货方式^发货单位^订货单位^合同号^订单号^交货期^日计划编制人^编制时间^客户订单用途^产品类型^钢卷位置^在炉时间^钢卷重量^过磅时间^成材率^轧制时间^客户成分特殊要求^材质特殊要求^公差特殊要求^成分等级|轧辊单元^轧辊内顺序^流水号^板坯号^入炉在库^在库时间^钢卷号^批号^序号^取样^炼钢计划牌号^钢种^厚度^宽度^平均宽度^长度^坯料类型^板坯位置^板坯理论重量kg^板坯磅重^厚度^宽度^厚度^宽度^进行状态^炉号^发货方式^发货单位^订货单位^合同号^订单号^交货期^日计划编制人^编制时间^客户订单用途^产品类型^钢卷位置^在炉时间^钢卷重量^过磅时间^成材率^轧制时间^客户成分特殊要求^材质特殊要求^公差特殊要求^成分等级" colsep="^" colwidth="63, 65, 60, 112, 86, 88, 105, 100, 100, 52, 71, 60, 52, 55, 61, 55, 100, 100, 71, 66, 49, 52, 58, 55, 70, 76, 55, 68, 63, 100, 100, 100, 47, 69, 100, 100, 100, 73, 100, 74, 57, 60, 60, 60, 100, 100" explorerbar="sortshow" extendlastcol="false" frozencols="3" mergecellsfixedrows="bycolrec" rowsep="|" style="left:0px; top:75px; width:980px; height:540px; ">
- <col editable="false" ref="ROLLMANANUMBER" type="input"/>
- <col editable="false" ref="SEQ" type="input"/>
- <col editable="false" ref="COIL_NO" type="input"/>
- <col editable="false" ref="SLAB_NO" type="input"/>
- <col editable="false" ref="TIMES" type="input"/>
- <col editable="false" ref="TIMES1" type="input"/>
- <col editable="false" ref="GJH" type="input"/>
- <col ref="PIHAO"/>
- <col ref="PIHAO_SEQ"/>
- <col ref="QY"/>
- <col ref="LG_STL_GRD"/>
- <col editable="false" ref="STL_GRD" type="input" style="text-align:left; "/>
- <col ref="SLAB_THK" format="#,##0" style="text-align:right; "/>
- <col ref="SLAB_WTH" format="#,##0" style="text-align:right; "/>
- <col ref="AVG_WIDTH" style="text-align:right; "/>
- <col ref="SLAB_LEN" format="#,##0" style="text-align:right; "/>
- <col key="false" ref="PLLX" type="input"/>
- <col ref="SLAB_LOAD_LOC"/>
- <col ref="SLAB_WGT" format="#,##0" style="text-align:right; "/>
- <col ref="WEIGHT_WGT" style="text-align:right; "/>
- <col ref="DCS_THK" style="text-align:right; "/>
- <col ref="DCS_WTH" style="text-align:right; "/>
- <col ref="HOT_THK_AIM" format="#.##0" style="text-align:right; "/>
- <col ref="WTH_AIM" format="#.##0" style="text-align:right; "/>
- <col ref="STATUS_CD" style="text-align:left; "/>
- <col ref="CHARGE_NO"/>
- <col ref="BZ" style="text-align:left; "/>
- <col ref="ORDCUST_CD" style="text-align:left; "/>
- <col ref="SM_CFNM" style="text-align:left; "/>
- <col ref="ORD_NO"/>
- <col ref="ORD_SEQ"/>
- <col ref="DEL_TO_DATE"/>
- <col ref="USER_NM"/>
- <col ref="MOD_DTIME"/>
- <col ref="APPLICATION"/>
- <col ref="PRD_TY" type="combo">
- <choices>
- <itemset nodeset="/root/codeData/COMM_CODE_RESULT_VO/COMM_CODE_RESULT_Row[LG_CD = 'A01004']">
- <label ref="SM_CFNM"/>
- <value ref="SM_CD"/>
- </itemset>
- </choices>
- </col>
- <col ref="CUR_LOAD_LOC"/>
- <col ref="INFUR_HOUR" format="#.##0" style="text-align:right; "/>
- <col ref="ACT_WGT" format="#.##0" style="text-align:right; "/>
- <col ref="WGT_TIME"/>
- <col ref="CCL" format="#.##0" style="text-align:right; "/>
- <col ref="MILL_DTIME" style="text-align:left; "/>
- <col ref="INGR_YN" style="text-decoration:underline; color:#0000ff; cursor:hand; ">
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fowardUID010031(datagrid1,"INGR_YN");
- ]]>
- </script>
- </col>
- <col ref="QLTY_YN" style="text-decoration:underline; color:#0000ff; cursor:hand; ">
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fowardUID010031(datagrid1,"QLTY_YN");
- ]]>
- </script>
- </col>
- <col ref="DEL_YN" style="text-decoration:underline; color:#0000ff; cursor:hand; ">
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fowardUID010031(datagrid1,"DEL_YN");
- ]]>
- </script>
- </col>
- <col ref="SLAB_INGR_DEC_GRD"/>
- </datagrid>
- <caption id="caption1" class="cell" style="left:0px; top:5px; width:60px; height:20px; text-align:center; border-style:solid; ">轧辊单元</caption>
- <select1 id="rollnumber" ref="/root/formData/roll_no" appearance="minimal" editmode="inputsearch" style="left:61px; top:5px; width:90px; height:20px; ">
- <choices>
- <itemset nodeset="/root/gridDate2/EmpListResult2_VO/EmpListResult2_Row">
- <label ref="ROLL_MANA_NO_2"/>
- <value ref="ROLL_MANA_NO"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- //find();
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- input1.value = commCurDate();
- if(rollnumber.value == "%" || rollnumber.value == null) {
- input2.value = commCurDate()-1;
- }
- // else {
- // input2.value = "00000000";
- // }
- ]]>
- </script>
- </select1>
- <shape id="rectangle4" appearance="rectangle" style="left:584px; top:5px; width:10px; height:20px; background-color:#ff99ff; "/>
- <caption id="caption7" style="left:501px; top:5px; width:74px; height:20px; vertical-align:middle; ">轧制作业待机</caption>
- <shape id="rectangle2" appearance="rectangle" style="left:665px; top:5px; width:10px; height:20px; background-color:#ffffcc; "/>
- <caption id="caption3" style="left:680px; top:5px; width:35px; height:20px; vertical-align:middle; "/>
- <shape id="rectangle3" appearance="rectangle" style="left:740px; top:5px; width:10px; height:20px; background-color:#00ffff; "/>
- <caption id="caption4" style="left:677px; top:5px; width:54px; height:20px; vertical-align:middle; ">轧制进行</caption>
- <shape id="rectangle5" appearance="rectangle" style="left:816px; top:5px; width:10px; height:20px; background-color:red; "/>
- <caption id="caption5" style="left:829px; top:5px; width:54px; height:20px; vertical-align:middle; ">轧制吊销</caption>
- <shape id="rectangle6" appearance="rectangle" style="left:491px; top:5px; width:10px; height:20px; background-color:#ffffff; "/>
- <caption id="caption6" style="left:597px; top:5px; width:59px; height:20px; vertical-align:middle; ">上料进行</caption>
- <caption id="caption2" style="left:753px; top:5px; width:54px; height:20px; vertical-align:middle; ">轧制完成</caption>
- <shape id="rectangle1" appearance="rectangle" style="left:888px; top:5px; width:10px; height:20px; background-color:#c0c0c0; "/>
- <caption id="caption9" style="left:900px; top:5px; width:67px; height:20px; vertical-align:middle; ">轧废或中板</caption>
- <caption id="caption8" class="cell" style="left:0px; top:30px; width:60px; height:20px; ">编制时间</caption>
- <input id="input2" ref="/root/formData/p_st_date" editable="false" inputtype="date" required="true" style="left:60px; top:30px; width:102px; height:20px; "/>
- <input id="input1" ref="/root/formData/p_end_date" editable="false" inputtype="date" required="true" style="left:175px; top:30px; width:102px; height:20px; "/>
- <caption id="caption10" style="left:160px; top:40px; width:20px; height:9px; font-weight:bold; text-align:center; ">~</caption>
- <caption id="caption11" class="cell" style="left:300px; top:30px; width:60px; height:20px; ">轧制日期</caption>
- <input id="input3" ref="/root/formData/millst_date" inputtype="date" style="left:360px; top:30px; width:100px; height:20px; "/>
- <input id="input4" ref="/root/formData/millend_date" inputtype="date" style="left:475px; top:30px; width:100px; height:20px; "/>
- <caption id="caption12" style="left:460px; top:40px; width:20px; height:9px; font-weight:bold; text-align:center; ">~</caption>
- <shape id="rectangle7" appearance="rectangle" style="left:355px; top:5px; width:10px; height:20px; background-color:#ffcc00; "/>
- <caption id="caption13" style="left:370px; top:5px; width:110px; height:20px; vertical-align:middle; ">板坯成份等级不合格</caption>
- <shape id="rectangle8" appearance="rectangle" style="left:190px; top:5px; width:10px; height:20px; background-color:#0000ff; "/>
- <caption id="caption14" style="left:205px; top:5px; width:150px; height:20px; vertical-align:middle; ">板坯实际宽度小于订单宽度</caption>
- <shape id="rectangle9" appearance="rectangle" style="left:584px; top:30px; width:10px; height:20px; background-color:#00ff00; "/>
- <caption id="caption15" style="left:596px; top:30px; width:182px; height:20px; vertical-align:middle; ">入炉后板坯实际宽度小于订单宽度</caption>
- <caption id="caption16" class="cell" style="left:0px; top:53px; width:60px; height:20px; text-align:center; border-style:solid; ">合同号</caption>
- <input id="input5" ref="/root/formData/ord_no" style="left:60px; top:53px; width:100px; height:20px; "/>
- <caption id="caption17" class="cell" style="left:175px; top:53px; width:60px; height:20px; text-align:center; border-style:solid; ">订单号</caption>
- <input id="input6" ref="/root/formData/ord_seq" style="left:235px; top:53px; width:100px; height:20px; "/>
- <select1 id="combo22" ref="/root/formData/PRD_TY" visibility="hidden" appearance="minimal" style="left:920px; top:30px; width:50px; height:20px; ">
- <choices>
- <itemset nodeset="/root/codeData/COMM_CODE_RESULT_VO/COMM_CODE_RESULT_Row[LG_CD = 'A01004' or LG_CD ='A']">
- <label ref="SM_CFNM"/>
- <value ref="SM_CD"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption29" class="cell" style="left:350px; top:53px; width:58px; height:20px; font-weight:bold; border-color:#000000; ">产品类型</caption>
- <caption id="caption18" class="cell" style="left:520px; top:55px; width:58px; height:20px; font-weight:bold; border-color:#000000; ">发货方式</caption>
- <select1 id="combo1" ref="/root/formData/fahuo_fangshi" appearance="minimal" style="left:580px; top:55px; width:100px; height:20px; ">
- <choices>
- <item>
- <label/>
- <value/>
- </item>
- <item>
- <label>火</label>
- <value>铁路</value>
- </item>
- <item>
- <label>汽运</label>
- <value>公路</value>
- </item>
- </choices>
- </select1>
- <caption id="caption19" class="cell" style="left:715px; top:55px; width:58px; height:20px; font-weight:bold; border-color:#000000; ">订单厚度</caption>
- <input id="input7" ref="/root/formData/ordthk" style="left:775px; top:55px; width:100px; height:20px; "/>
- <input id="input8" style="left:880px; top:55px; width:100px; height:20px; "/>
- <input id="combo105" ref="/root/formData/PRD_TY" inputtype="button" appearance="minimal" style="left:410px; top:53px; width:100px; height:20px; ">
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- //修改订单类型,可以多选。TL 091125
- checkbox1.visible = (checkbox1.visible == false);
- ]]>
- </script>
- </input>
- <select id="checkbox1" ref="/root/formData/PRD_TY" visibility="hidden" overflow="visible" appearance="full" style="left:410px; top:70px; width:100px; height:20px; background-color:#ffff99; border-width:1px; border-style:none; ">
- <choices>
- <itemset nodeset="/root/codeData/COMM_CODE_RESULT_VO/COMM_CODE_RESULT_Row[LG_CD = 'A01004' or LG_CD ='A']">
- <label ref="SM_CFNM"/>
- <value ref="SM_CD"/>
- </itemset>
- </choices>
- </select>
- <object id="ObjTFExcel" clsid="{fe8d1001-6a9d-424d-ae2a-301493bb12da}" style="left:810px; top:10px; width:155px; height:19px; "/>
- <button id="button1" visibility="hidden" style="left:640px; top:10px; width:60px; height:20px; ">
- <caption>button1</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- //导出EXCEL方法
- //saveExcelScript(datagrid1,"Sheet1");
- find();
-
- ]]>
- </script>
- </button>
- <button id="button2" visibility="hidden" style="left:710px; top:10px; width:60px; height:20px; ">
- <caption>button1</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- //导出EXCEL方法
- saveExcelScript(datagrid1,"Sheet1");
- //excelExport();
-
- ]]>
- </script>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- find();
- ]]>
- </script>
- </button>
- <shape id="rectangle10" appearance="rectangle" style="left:786px; top:30px; width:10px; height:20px; background-color:#ffff00; "/>
- <caption id="caption20" style="left:798px; top:30px; width:92px; height:20px; vertical-align:middle; ">卷重大于板坯重</caption>
- <button id="button3" style="left:870px; top:30px; width:75px; height:20px; font-family:黑体; color:#3366ff; background-color:#ffffff; ">
- <caption>导出</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- //saveExcelScript(datagrid1, "Sheet1");
- if(datagrid1.rows<=2){
- window.alert("无数据源,请先查询.", "提示");
- return;
- }
- var jsonMerges="[{'name':'y','x':0,'y':0,'cnt':1}]";
- var _cnt = datagrid1.selectedRows;
- commonOutExcel('ZZJHCX',datagrid1.caption,'/root/gridData/EmpListResult_VO','UIH090060-service',jsonMerges,'xls');
- ]]>
- </script>
- </button>
- </xhtml:body>
- </xhtml:html>
|