GZMachinesWeb/.svn/pristine/17/177d205c246a895efe076233b23...

65 lines
2.9 KiB
Plaintext

<%@ page contentType="text/html;charset=UTF-8" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
<%@ taglib prefix="fns" uri="/WEB-INF/tlds/fns.tld" %>
<c:choose>
<c:when test="${!empty list}">
<c:forEach items="${list}" var="ma" varStatus="index">
<!-- ondblclick="setChecked(${ma.id})" -->
<tr class="mas" id="row${ma.id}" >
<input type="hidden" filed="isCount,val" value="${ma.type.isCount}">
<input type="hidden" filed="id,val" value="${ma.id}">
<input type="hidden" filed="costType,val" value="${ma.type.isCount }">
<input type="hidden" filed="type.id,val" value="${ma.type.id}">
<input type="hidden" filed="storage.id,val" value="${ma.id}">
<input type="hidden" filed="startDate,val" value="${ma.startDate}">
<input type="hidden" filed="num,val" value="${ma.num}">
<%-- <input type="hidden" filed="price,val" value="${ma.price}"> --%>
<input type="hidden" filed="endDate,val" value="${ma.endDate}">
<input type="hidden" filed="backDate,val" value="${ma.backDate}">
<input type="hidden" filed="lastSltDate,val" value="${ma.lastSltDate}">
<input type="hidden" filed="status,val" value="${ma.status}">
<input type="hidden" filed="zs,val" id="zs${ma.id}">
<input type="hidden" filed="ze,val" id="ze${ma.id}">
<th style="width:5%" class="center">
<label>
<input checked="checked" type="checkbox" onchange="checkStatusChange(this,${ma.type.isCount})" id="inp${ma.id}" value="${ma.id}" class="ace inp cb" >
<span class="lbl">
</span>
</label>
</th>
<th class="center">${(page.pageNum-1)*page.pageSize+index.index+1}</th>
<th class="center">${ma.type.parentName}</th>
<th class="center">${ma.type.name}</th>
<th class="center">${ma.num}${ma.type.unit}</th>
<th class="center">${ma.machine.deviceCode}</th>
<%-- <th class="center">${ma.price}</th> --%>
<th class="center">
<input filed="price,val" onblur="validNum(this,${ma.price})" style="width:100%;" id="price${ma.id}" type="number" value="${ma.price}">
</th>
<th class="center">${ma.startDate}</th>
<th class="center">
<c:choose>
<c:when test="${ma.status eq 1}">
在用
</c:when>
<c:otherwise>
已退租
</c:otherwise>
</c:choose>
</th>
<th class="center">${fns:nullPlaceholder(ma.backDate,'---')}</th>
<th class="center">${fns:nullPlaceholder(ma.lastSltDate,'---')}</th>
<th class="center day_len" id="dl${ma.id}" filed="dayLen,text"></th>
<th class="center subtotal" id="st${ma.id}" filed="subtotal,text"></th>
</tr>
</c:forEach>
</c:when>
<c:otherwise>
<tr><td colspan='14' class='center' style="color:red;font-size:2em;">没有可结算数据</td></tr>
</c:otherwise>
</c:choose>