UIB015110.xrw 6.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <?xml-stylesheet href="../../css/body.css" type="text/css" ?>
  3. <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">
  4. <xhtml:head>
  5. <xhtml:title>
  6. <![CDATA[品质设计>>品质设计>>品质设计错误查询]]>
  7. </xhtml:title>
  8. <model id="model1">
  9. <instance id="instance1">
  10. <root xmlns="">
  11. <formData>
  12. <startTime/>
  13. <endTime/>
  14. <ordNo/>
  15. <ordSeq/>
  16. </formData>
  17. <datagrid1/>
  18. <initError>
  19. <ErrorMessage_Row>
  20. <LABEL/>
  21. <VALUE/>
  22. </ErrorMessage_Row>
  23. </initError>
  24. <initOrd>
  25. <ErrorOrd_Row>
  26. <LABEL/>
  27. <VALUE/>
  28. </ErrorOrd_Row>
  29. </initOrd>
  30. <newElement/>
  31. </root>
  32. </instance>
  33. <script type="javascript" ev:event="xforms-ready">
  34. <![CDATA[
  35. if(window.parent==null) Init();
  36. ]]>
  37. </script>
  38. </model>
  39. <script type="javascript" src="../../js/boaCommon.js"/>
  40. <script type="javascript" src="../../js/b01.js"/>
  41. <script type="javascript">
  42. <![CDATA[
  43. function Init(node)
  44. {
  45. InitParams(node);
  46. input1.value = commCurDate();//开始时间
  47. input2.value = commCurDate();//结束时间
  48. commSubmit("UIB015110-service" , "success" , "glueAction.do");
  49. model.copyNode("/root/initError" , "/root/resData/ErrorMessage_VO");
  50. model.refresh();
  51. }
  52. function find()
  53. {
  54. model.removenode("/root/reqData");
  55. //需要用between..and查询,所以开始时间加四个零(以最小的开始),结束时间加四个9,以最大的结束
  56. model.makeValue("/root/reqData/startTime" , input1.value.ReplaceWord("-","")+"0000");//开始时间
  57. model.makeValue("/root/reqData/endTime" , input2.value.ReplaceWord("-","")+"9999");//结束时间
  58. model.makeValue("/root/reqData/ORDNO" , input3.value.Trim()+"%"); //订单号
  59. model.makeValue("/root/reqData/ORDSEQ", combo1.value);//序号
  60. commSubmit("UIB015110-service" , "find" , "glueAction.do");
  61. model.copyNode("/root/datagrid1" , "/root/resData/ErrorOrdResult_VO");
  62. model.refresh();
  63. }
  64. function save()
  65. {
  66. }
  67. ]]>
  68. </script>
  69. </xhtml:head>
  70. <xhtml:body pagewidth="980" pageheight="620">
  71. <datagrid id="datagrid1" nodeset="/root/datagrid1/ErrorOrdResult_Row" caption="错误时间^合同号^订单号^设计错误代码^设计错误说明" colsep="^" colwidth="137, 120, 62, 100, 403" defaultrows="30" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="30" rowsep="|" tooltip="label" style="left:0px; top:35px; width:978px; height:582px; border-color:#000000; border-style:solid; ">
  72. <col editable="false" ref="ERR_DTIME" format="yyyy-mm-dd hh:nn:ss" style="text-align:left; "/>
  73. <col editable="false" ref="ORD_NO" type="input" style="text-align:right; background-color:#ffffff; "/>
  74. <col ref="ORD_SEQ" style="text-align:right; "/>
  75. <col editable="false" ref="DSG_ERROR_CD" style="text-align:left; background-color:#ffffff; "/>
  76. <col disabled="true" ref="ERROR_DETAIL" type="combo" style="text-align:left; ">
  77. <choices>
  78. <itemset nodeset="/root/initError/ErrorMessage_Row">
  79. <label ref="LABEL"/>
  80. <value ref="VALUE"/>
  81. </itemset>
  82. </choices>
  83. </col>
  84. <script type="javascript" ev:event="onentercell">
  85. <![CDATA[
  86. datagrid1.editCell();
  87. ]]>
  88. </script>
  89. </datagrid>
  90. <caption id="caption1" class="cell" style="left:0px; top:5px; width:95px; height:20px; border-color:#000000; border-style:solid; ">错误时间</caption>
  91. <input id="input1" ref="/root/formData/startTime" inputtype="date" style="left:99px; top:5px; width:100px; height:20px; border-color:#000000; border-style:solid; "/>
  92. <caption id="caption2" style="left:200px; top:10px; width:19px; height:20px; ">~</caption>
  93. <input id="input2" ref="/root/formData/endTime" inputtype="date" style="left:210px; top:5px; width:100px; height:20px; border-color:#000000; border-style:solid; "/>
  94. <caption id="caption3" class="cell" style="left:320px; top:5px; width:100px; height:20px; border-color:#000000; border-style:solid; ">订单序号</caption>
  95. <input id="input3" ref="/root/formData/ordNo" style="left:424px; top:5px; width:100px; height:20px; border-color:#000000; border-style:solid; "/>
  96. <caption id="caption4" style="left:524px; top:5px; width:11px; height:20px; ">-</caption>
  97. <select1 id="combo1" ref="/root/formData/ordSeq" appearance="minimal" editmode="input" style="left:531px; top:5px; width:53px; height:20px; border-color:#000000; border-style:solid; ">
  98. <choices>
  99. <item>
  100. <label/>
  101. <value/>
  102. </item>
  103. </choices>
  104. </select1>
  105. <line id="line3" style="x1:0px; y1:0px; x2:980px; y2:0px; "/>
  106. <line id="line2" style="x1:0px; y1:30px; x2:980px; y2:30px; "/>
  107. <caption id="caption5" class="cell" style="left:600px; top:5px; width:100px; height:20px; text-align:left; border-color:#000000; border-style:solid; ">
  108. <![CDATA[错误代码详细说明]]>
  109. <script type="javascript" ev:event="onclick">
  110. <![CDATA[
  111. // caption5.attribute("visibility") = !caption5.attribute("visibility") ;
  112. // caption5.width = "600px";
  113. ]]>
  114. </script>
  115. <hint>
  116. <![CDATA[SA10:标准号在“共用信息录入”中不存在。
  117. SA20:销售信息中品名错误、标准号或订单用途为空、客户参数号为*,
  118. 厚度组要在1.2~16之间,宽度组要在700~1430间。
  119. SA30:交付条件在“交付条件参数录入”中不存在。
  120. SA40:销售所要求的标准号、或销售信息中品名错误、厚度组、
  121. 宽度组在“Design-key”中不存在。
  122. DA10:成分在“标准成分参数录入”中不存在。
  123. DA20:材质在“标准材质参数录入”中不存在。
  124. DA30:公差在“交付条件录入”中不存在。
  125. DA40:取样方法在“标准材质参数录入”中不匹配。
  126. DC10:-
  127. DC20:-
  128. DC30:-
  129. ]]>
  130. </hint>
  131. </caption>
  132. </xhtml:body>
  133. </xhtml:html>