viewGas.jsp 7.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199
  1. <%@ page language="java" contentType="text/html;charset=GBK" pageEncoding="GBK"%>
  2. <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
  3. <%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
  4. <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
  5. <html>
  6. <head>
  7. <meta http-equiv="Content-Type" content="text/html;charset=GBK">
  8. <title>查看加油登记信息</title>
  9. <link href="/shares/js/yw/master1/liger/skins/ynet/css/ligerui-all.css" rel="stylesheet" type="text/css" />
  10. <link href="${pageContext.request.contextPath }/main.css" rel="stylesheet" type="text/css" />
  11. <link href="/shares/css/yw/master1/reset.css" rel="stylesheet" type="text/css" />
  12. <script type="text/javascript" src="/shares/js/jquery-1.3.2.min.js"></script>
  13. <script type="text/javascript" src="/shares/js/file.js"></script>
  14. <script src="${pageContext.request.contextPath }/liger/lib/jquery/jquery-1.3.2.min.js" type="text/javascript"></script>
  15. <script src="${pageContext.request.contextPath }/liger/lib/ligerUI/js/core/base.js" type="text/javascript"></script>
  16. <script type="text/javascript" src="/shares/js/constant.js"></script>
  17. <script type="text/javascript" src="/shares/js/common.js"></script>
  18. <script src="/shares/xheditor/xheditor-1.1.14/xheditor-1.1.14-zh-cn.min.js" type="text/javascript"></script>
  19. <script src="${pageContext.request.contextPath}/liger/lib/json2.js" type="text/javascript"></script>
  20. <script src="${pageContext.request.contextPath}/liger/lib/ligerUI/js/plugins/ligerDialog.js" type="text/javascript"></script>
  21. <script src="${pageContext.request.contextPath}/liger/lib/ligerUI/js/plugins/ligerGrid.js" type="text/javascript"></script>
  22. <script src="${pageContext.request.contextPath}/liger/lib/ligerUI/js/plugins/ligerTextBox.js" type="text/javascript"></script>
  23. <script src="${pageContext.request.contextPath}/liger/lib/ligerUI/js/plugins/ligerCheckBox.js" type="text/javascript"></script>
  24. <script src="${pageContext.request.contextPath}/liger/lib/ligerUI/js/plugins/ligerComboBox.js" type="text/javascript"></script>
  25. <script src="${pageContext.request.contextPath}/liger/lib/ligerUI/js/plugins/ligerSpinner.js" type="text/javascript"></script>
  26. <script src="${pageContext.request.contextPath }/liger/lib/ligerUI/js/plugins/ligerDateEditor.js" type="text/javascript"></script>
  27. <script type="text/javascript" src="${pageContext.request.contextPath}/liger/lib/ligerUI/js/ligerui.all.js"></script>
  28. <link rel="stylesheet" type="text/css" href="/shares/css/yw/master1/${sessionScope.loginFrom}/jquery.jscrollpane.codrops1.css" />
  29. <script type="text/javascript" src="/shares/js/yw/master1/jquery.mousewheel.js"></script>
  30. <!-- the jScrollPane script -->
  31. <script type="text/javascript" src="/shares/js/yw/master1/jquery.jscrollpane.min.js"></script>
  32. <script type="text/javascript" src="/shares/js/yw/master1/scroll-startstop.events.jquery.js"></script>
  33. <script type="text/javascript" src="/shares/js/yw/master1/scroll.js"></script>
  34. <script type="text/javascript">
  35. $(document).ready(function() {
  36. $("input[type='text']:first").focus();
  37. });
  38. function refresh(obj){
  39. if(obj == "1"){
  40. parent.location.reload();
  41. }
  42. }
  43. </script>
  44. <style type="text/css">
  45. .file-style{
  46. width: 550px;
  47. }
  48. .file-style input[type='file'] {
  49. width:385px ;
  50. height:24px;
  51. line-height:22px;
  52. vertical-align: bottom;
  53. background-color: #fff;
  54. border: 1px solid #cccccc;
  55. margin-top: 2px;
  56. margin-bottom: 2px;
  57. }
  58. body {
  59. background: #fff;
  60. }
  61. </style>
  62. </head>
  63. <body style="background: none; overflow: hidden;" ontouchmove="event.preventDefault();">
  64. <%@ include file="/include/message.jsp"%>
  65. <form action="carGasAction.do" method="post">
  66. <div class="s_title b10 f6">
  67. <img src="/shares/images/master1/gg_ico.png" width="27" height="26" /> 查看加油
  68. <div class="article_title">
  69. <input class="art_back" style="width: 50px;" title="返回" name="" onclick="history.back();" type="button" />
  70. </div>
  71. </div>
  72. <div id="jp-container" class="jp-container liuyan">
  73. <div class="forum-container">
  74. <center>
  75. <table class="l-table-edit">
  76. <tr>
  77. <th colspan="4">
  78. 加油信息
  79. </th>
  80. </tr>
  81. <tr>
  82. <td class="l-table-edit-text">车牌号:</td>
  83. <td class="l-table-edit-td">
  84. ${gas.plate_number}
  85. </td>
  86. <td class="l-table-edit-text" width="15%">加油日期:</td>
  87. <td class="l-table-edit-td" width="35%">
  88. <fmt:formatDate value="${gas.gas_time }" pattern="yyyy-MM-dd"/>
  89. </td>
  90. </tr>
  91. <tr>
  92. <td class="l-table-edit-text">油料单价(元)</td>
  93. <td class="l-table-edit-td">
  94. ${gas.univalence }
  95. </td>
  96. <td class="l-table-edit-text">油料标号:</td>
  97. <td class="l-table-edit-td">
  98. ${dictionaryOilNumber.dictionary_name}
  99. </td>
  100. </tr>
  101. <tr>
  102. <td class="l-table-edit-text">付款金额(元):</td>
  103. <td class="l-table-edit-td">
  104. ${gas.money }
  105. <td class="l-table-edit-text">加油量(升):</td>
  106. <td class="l-table-edit-td">
  107. ${gas.gas_volume }
  108. </td>
  109. </tr>
  110. <tr>
  111. <td class="l-table-edit-text" id="select5">付款方式:</td>
  112. <td class="l-table-edit-td">
  113. <!-- <select id="payment_type" name="payment_type" disabled="disabled"> -->
  114. <c:if test="${gas.payment_type == 1 }">
  115. <!-- <option value="1">油卡</option> -->油卡
  116. </c:if>
  117. <c:if test="${gas.payment_type == 2 }">
  118. <!-- <option value="2">现金</option> -->现金
  119. </c:if>
  120. <!-- </select> -->
  121. </td>
  122. <td class="l-table-edit-text" width="15%">油气站:</td>
  123. <td class="l-table-edit-td" width="35%">
  124. <c:if test="${gas.inside_and_outside == 1 }">
  125. <!-- <select id="inside_and_outside" name="inside_and_outside" disabled="disabled">
  126. <option value="1">厂外</option>
  127. </select> -->
  128. </c:if>
  129. <c:if test="${gas.inside_and_outside == 2 }">
  130. <!-- <select id="inside_and_outside" name="inside_and_outside" disabled="disabled">
  131. <option value="2">厂内</option>
  132. </select> -->
  133. </c:if>
  134. ${gas.unit_name }
  135. </td>
  136. </tr>
  137. <c:if test="${gas.payment_type == 1 }">
  138. <tr>
  139. <td class="l-table-edit-text" id="select2">油卡编号:</td>
  140. <td class="l-table-edit-td">
  141. ${gas.card_number }
  142. </td>
  143. </tr>
  144. </c:if>
  145. <tr>
  146. <td class="l-table-edit-text">上次加油里程(公里):</td>
  147. <td class="l-table-edit-td">
  148. ${gas.last_time_gas_mileage }
  149. <td class="l-table-edit-text">本次加油里程(公里):</td>
  150. <td class="l-table-edit-td">
  151. ${gas.gas_mileage }
  152. </tr>
  153. <tr>
  154. <td class="l-table-edit-text">上次行程(公里):</td>
  155. <td class="l-table-edit-td">
  156. ${gas.last_time_journey }
  157. <td class="l-table-edit-text">上次油耗(L/100KM):</td>
  158. <td class="l-table-edit-td">
  159. ${gas.last_time_fuel_consumption }
  160. </td>
  161. </tr>
  162. <tr style="height: 35px;">
  163. <td class="l-table-edit-text">上传附件:</td>
  164. <td class="l-table-edit-td" colspan="3">
  165. <input type="hidden" name="upload_id" id="upload_id">
  166. <jsp:include page="/include/file.jsp">
  167. <jsp:param name="fieldName" value="documentId"/>
  168. <jsp:param name="folder" value="car"/>
  169. <jsp:param name="documentId" value="${gas.upload_id }"/>
  170. <jsp:param name="isView" value="1"/>
  171. <jsp:param name="isDelFile" value="0" />
  172. <jsp:param name="definedCss" value="file-style" />
  173. </jsp:include>
  174. </td>
  175. </tr>
  176. <tr>
  177. <td class="l-table-edit-text">备注:</td>
  178. <td class="l-table-edit-td" colspan="3">
  179. <%-- <div style="float: left;">
  180. <textarea id="remark" name="remark" rows="3" cols="61" readonly="readonly">${gas.remark }</textarea>
  181. </div> --%>
  182. ${gas.remark }
  183. </td>
  184. </tr>
  185. </table>
  186. <input type="hidden" id="card_balance" name="card_balance" value="">
  187. <input type="hidden" id="dev_id" name="dev_id" value="">
  188. <input type="hidden" id="task" name="task" value="doAddGas">
  189. <input type="hidden" id="tabid" name="tabid" value="${requestScope.tabid}">
  190. </center>
  191. </div>
  192. </div>
  193. </form>
  194. </body>
  195. </html>