| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120 |
- <?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>
- <![CDATA[公用界面管理 >> 系统信息管理 >> 日产查询与录入]]>
- </xhtml:title>
- <model id="model1" autocdata="false">
- <instance id="instance1">
- <root xmlns="">
- <initData>
- <searchInfo>
- <LG_CD>A01004</LG_CD>
- </searchInfo>
- </initData>
- <codeData>
- </codeData>
- <formData>
- <searchInfo>
- <PRODNM_CD/>
- <DEL_TO_DATE_MIN/>
- <DEL_TO_DATE_MAX/>
- </searchInfo>
- </formData>
- <gridData>
- </gridData>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- if (window.parent == null) Init();
- ]]>
- </script>
- </model>
- <script type="javascript" src="../../js/boaCommon.js"/>
- <script type="javascript" src="../../js/boaMsg.js"/>
- <script type="javascript" src="../../js/mesCommon.js">
- <![CDATA[
- submitID = "UIZ030020-service";
- function Init(node) {
- InitParams(node);
- exec("/root/initData/searchInfo", "", "", "/root/codeData/ListResult_0_VO");
- model.setValue("/root/formData/searchInfo/DEL_TO_DATE_MIN", commFirstDay());
- model.setValue("/root/formData/searchInfo/DEL_TO_DATE_MAX", commCurDate());
- pageInit();
- model.duplicate("/root/formData", "/root/initData/rcvInfo/REG_ID");
- }
- function pageInit() {
- model.removenode("/root/reqData");
- model.removenode("/root/resData");
- model.refresh();
- colStyle(datagrid1, "LG_NM,SM_CFNM");
- }
- function find() {
- exec("/root/formData/searchInfo", "", "find", "/root/gridData/ListResult_0_VO");
- pageInit();
- }
- function save() {
- exec("/root/formData", datagrid1, "save", "/root/gridData/ListResult_0_VO");
- pageInit();
- }
- function create() {
- var datagrid = datagrid1;
- commAddRow(datagrid, "LG_NM,SM_CFNM");
- datagrid.valueMatrix(datagrid.row, datagrid.colRef("LG_NM")) = 999990;
- datagrid.valueMatrix(datagrid.row, datagrid.colRef("SM_CFNM")) = "AR";
- }
- function remove() {}
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body overflow="hidden" pagewidth="980" pageheight="620" style="font-family:宋体; ">
- <group id="group1" overflow="hidden" ref="/root/formData/searchInfo" style="left:0px; top:0px; width:980px; height:35px; ">
- <line id="line2" style="x1:0px; y1:29px; x2:980px; y2:29px; "/>
- <caption id="caption1" class="cell" style="left:0px; top:5px; width:90px; height:20px; vertical-align:middle; ">计划日期</caption>
- <caption id="caption2" class="cell" style="left:324px; top:5px; width:90px; height:20px; vertical-align:middle; ">品名</caption>
- <select1 id="combo2" ref="PRODNM_CD" appearance="minimal" style="left:416px; top:5px; width:110px; height:20px; ">
- <choices>
- <itemset nodeset="/root/codeData/ListResult_0_VO/ListResult_0_Row[LG_CD='A01004' or LG_CD = 'A']">
- <label ref="SM_CFNM"/>
- <value ref="SM_CD"/>
- </itemset>
- </choices>
- </select1>
- <input id="input3" ref="DEL_TO_DATE_MIN" inputtype="date" style="left:92px; top:5px; width:110px; height:20px; "/>
- <input id="input1" ref="DEL_TO_DATE_MAX" inputtype="date" style="left:205px; top:5px; width:110px; height:20px; "/>
- </group>
- <datagrid id="datagrid1" nodeset="/root/gridData/ListResult_0_VO/ListResult_0_Row" backcoloralternate="#F7F9F9" caption="计划日产量(t)^品名^计划日期^修改日期^修改者^SM_CD" colsep="^" colwidth="100, 100, 100, 100, 100, 100" explorerbar="sortshow" extendlastcol="false" frozencols="2" mergecellsfixedrows="bycolrec" rowheader="select" rowheight="45" rowsep="|" style="left:0px; top:35px; width:980px; height:585px; border-style:solid; border-right-style:sunken; ">
- <col ref="LG_NM" type="input" format="#,###" style="text-align:right; "/>
- <col ref="SM_CFNM" type="combo" style="text-align:left; ">
- <choices>
- <itemset nodeset="/root/codeData/ListResult_0_VO/ListResult_0_Row[LG_CD = 'A01004']">
- <label ref="SM_CFNM"/>
- <value ref="SM_CD"/>
- </itemset>
- </choices>
- </col>
- <col key="false" ref="SM_EFNM" format="yyyy-mm-dd"/>
- <col key="false" ref="MOD_DATE" format="yyyy-mm-dd"/>
- <col key="false" ref="MOD_ID" style="text-align:left; "/>
- <col ref="SM_CD" visibility="hidden"/>
- <script type="javascript" ev:event="onentercell">
- <![CDATA[
- datagrid1.editCell();
- ]]>
- </script>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- var datagrid = datagrid1;
- window.clipboardData = datagrid.valueMatrix(datagrid.row, datagrid.col);
- ]]>
- </script>
- </datagrid>
- </xhtml:body>
- </xhtml:html>
|