123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142 |
- <%@ page language="java" contentType="text/html;charset=utf-8"%>
- <%@include file="/pages/includes/taglibs.jsp"%>
- <head>
- <style type="text/css">
- .mycss {
- font-family: "宋体";
- font-size: 12px;
- color: #000;
- text-decoration: none;
-
- }
- .mytitlecss {
- font-family: "宋体";
- font-weight:bold;
- font-size: 15px;
- color: #000;
- text-decoration: none;
-
- }
- </style>
- <script language="javascript">
- $(function(){
- // if('<s:property value="supplier.id" />' != null){
- // $("#suppId").val('<s:property value="supplier.id" />');
- // changeSelect();
- // }
- });
-
- function returnIndex(){
- $("#f1").attr("action", "comparemonthindex.action").submit();
- }
-
-
-
- function save(){
- var actualpower = $("#windturbinecurvefittingmonth\\.actualpower").val();
- var optimalpower = $("#windturbinecurvefittingmonth\\.optimalpower").val();
-
- if (isNaN(actualpower)) {
- alert("实际拟合只能为数字");
- return false;
- }
-
-
- if (isNaN(optimalpower)) {
- alert("最优拟合只能为数字");
- return false;
- }
- $("#f1").attr("action", "editmonth.action").submit();
- }
-
- </script>
- </head>
- <body>
- <s:form action="" method="post" id="f1">
- <s:hidden name="windturbinecurvefittingmonth.id"></s:hidden>
- <s:hidden name="windturbineid"></s:hidden>
- <s:hidden name="windfarm"></s:hidden>
- <s:hidden name="year"></s:hidden>
- <s:hidden name="month"></s:hidden>
- <table width="100%">
- <tr>
- <td align="left" class="navbar">
-
-
- </td>
- <td align="right">
- <input type="button" class="button" value='保存' onclick="javascript:save()"/>
-
- <input type="button" class="button" value='返回' onclick="javascript:returnIndex()"/>
-
-
-
- </td>
- </tr>
- </table>
- <hr />
- <s:actionerror cssClass="item_Name"/>
- <s:actionmessage cssClass="item_Name"/>
- <fieldset>
- <legend class="item_Name">
- 月风电功率编辑
- </legend>
- <table width="98%" border="0" align="center" cellpadding="0" cellspacing="1" bgcolor="#C1C1C1">
- <tr>
- <th width="5%" bgcolor="#efefef">
- <span class="mycss">风机编号:</span>
- </th>
- <td width="20%" style="text-align: left" bgcolor="#efefef">
- <s:textfield readonly="true" id="windturbinecurvefittingmonth.windturbineid" name="windturbinecurvefittingmonth.windturbineid" title="风机编号" cssStyle="width:90%"/>
-
- </td>
- <th width="5%" bgcolor="#efefef">
- <span class="mycss" >年份:</span>
- </th>
- <td width="20%" style="text-align: left" bgcolor="#efefef">
- <s:textfield readonly="true" id="windturbinecurvefittingmonth.year" name="windturbinecurvefittingmonth.year" title="日期" cssStyle="width:90%"/>
- </td>
-
- </tr>
- <tr>
- <th width="5%" bgcolor="#efefef">
- <span class="mycss" >月份:</span>
- </th>
- <td width="20%" style="text-align: left" bgcolor="#efefef">
- <s:textfield readonly="true" id="windturbinecurvefittingmonth.month" name="windturbinecurvefittingmonth.month" title="日期" cssStyle="width:90%"/>
- </td>
- <th width="5%" bgcolor="#ffffff">
- <span class="mycss">风速:</span>
- </th>
- <td width="20%" style="text-align: left" bgcolor="#ffffff">
- <s:textfield readonly="true" id="windturbinecurvefittingmonth.speed" name="windturbinecurvefittingmonth.speed" title="风速" cssStyle="width:90%"/>
- </td>
-
- </tr>
- <tr>
- <th width="5%" bgcolor="#ffffff">
- <span class="mycss">实际拟合:</span>
- </th>
- <td width="20%" style="text-align: left" bgcolor="#ffffff">
- <s:textfield id="windturbinecurvefittingmonth.actualpower" name="windturbinecurvefittingmonth.actualpower" title="实际拟合" cssStyle="width:90%"/>
- </td>
- <th width="5%" bgcolor="#efefef">
- <span class="mycss" >最优拟合:</span>
- </th>
- <td width="20%" style="text-align: left" bgcolor="#efefef">
- <s:textfield id="windturbinecurvefittingmonth.optimalpower" name="windturbinecurvefittingmonth.optimalpower" title="最优拟合" cssStyle="width:90%"/>
- </td>
- <tr>
-
-
- </tr>
- </tr>
- </table>
- </fieldset>
- </s:form>
- </body>
|