| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697 |
- <?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="">
- <GongXu>1</GongXu>
- <TcId/>
- <Table>
- <XuanZe/>
- </Table>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- Init();
- ]]>
- </script>
- </model>
- </xhtml:head>
- <xhtml:body>
- <button id="button1" style="left:655px; top:20px; width:100px; height:20px; font-family:宋体; font-size:11pt; font-weight:bold; background-image:../../images/btn_find.GIF; ">
- <caption>查询</caption>
- </button>
- <button id="button2" style="left:742px; top:20px; width:100px; height:20px; font-family:宋体; font-size:11pt; font-weight:bold; background-image:../../images/btn_save.GIF; ">
- <caption>保存</caption>
- </button>
- <button id="button3" style="left:829px; top:20px; width:100px; height:20px; font-family:宋体; font-size:11pt; font-weight:bold; background-image:../../images/btn_exit.GIF; ">
- <caption>关闭</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- window.close();//关闭窗口
- ]]>
- </script>
- </button>
- <button id="button4" style="left:830px; top:50px; width:100px; height:20px; font-family:宋体; font-size:11pt; font-weight:bold; background-image:../../images/btn_save.GIF; ">
- <caption>发送</caption>
- </button>
- <select1 id="combo1" ref="/root/GongXu" appearance="minimal" style="left:126px; top:50px; width:100px; height:20px; ">
- <choices>
- <item>
- <label>--全部--</label>
- <value>1</value>
- </item>
- <item>
- <label>炼钢</label>
- <value>2</value>
- </item>
- <item>
- <label>热轧</label>
- <value>3</value>
- </item>
- </choices>
- </select1>
- <script type="javascript">
- <![CDATA[
-
- function Init(node)
- {
- datagrid1.fixedcellcheckbox(1,datagrid1.colRef("CHK"))=true;//设置第0行的checkbox的属性为true 便于进行全选操作
- datagrid1.colStatus(0)=false; //设置第0列也即为checkbox所在列的列状态为false。
- model.duplicate("/root/initResult","/root/resData");//复制结点
- model.refresh();
- }
-
-
- ]]>
- </script>
- <input id="input1" ref="/root/TcId" format="999999-9999999" style="left:326px; top:50px; width:100px; height:20px; "/>
- <datagrid id="datagrid1" nodeset="/root/Table/XuanZe" backcoloralternate="#eaf4fe" caption="选择^TRANSACTION ID^TRANSACTION DESC^DATA|^TRANSACTION ID^TRANSACTION DESC^DATA" colwidth="38, 144, 154, 100" defaultrows="10" mergecellsfixedrows="bycolrec" rowsep="|" colsep="^" style="left:35px; top:75px; width:860px; height:485px; font-family:宋体; font-size:11pt; ">
- <col ref="CHK" type="checkbox"/>
- <col/>
- <col/>
- <col/>
- </datagrid>
- <button id="button5" style="left:620px; top:55px; width:100px; height:20px; background-image:../../images/btn_save.GIF; ">
- <caption>添加行</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- datagrid1.addrow();
- ]]>
- </script>
- </button>
- <button id="button6" style="left:695px; top:55px; width:100px; height:20px; background-image:../../images/btn_save.GIF; ">
- <caption>删除行</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- datagrid1.removerow();
- ]]>
- </script>
- </button>
- <caption id="caption3" class="cell" style="left:35px; top:50px; width:90px; height:20px; font-weight:bold; text-align:center; border-color:#000000; border-style:solid; ">工序</caption>
- <caption id="caption1" class="cell" style="left:235px; top:50px; width:90px; height:20px; font-weight:bold; text-align:center; border-color:#000000; border-style:solid; ">TC ID</caption>
- </xhtml:body>
- </xhtml:html>
|