`
kevin-qingzhan
  • 浏览: 83939 次
  • 性别: Icon_minigender_1
  • 来自: 北京
文章分类
社区版块
存档分类
最新评论

escide示例

 
阅读更多
<!--表格组件-->
<ec:table tableId="BatchOrdersTalbe" var="bo"
    items="BatchOrders"
action="${pageContext.request.contextPath}/dueBatchOrders.do?method=finaceAuditBatch"
title="计价单" rowsDisplayed="20"
imagePath="${pageContext.request.contextPath}/images/*.gif"
width="100%">


<ec:row highlightRow="true">
   <ec:column alias="TableID" alias="checkbox" property="id"
                       title="<input type='checkbox' name='sel1' onclick='javascript:CheckAll(this);' title='全选/取消全选'>"
                       width="10px" filterable="false" sortable="false"
                       cell="com.nf.scp.cell.SelectedPresidentAccountCell" />
<ec:column property="id" alias="rowCount" title="No." cell="rowCount"
width="20px" filterable="false" sortable="false" />
<ec:column property="jname" title="期刊名称" />
<ec:column property="year" title="年份" />
<ec:column property="no" title="期次" />
<ec:column property="pname" title="承印厂名称" />
<ec:column property="publishCounts" title="印数" />
<ec:column property="taxRate" title="税率" />
<%--
<ec:column property="Status" title="审核状态" >
<script>
var Status = "${table.Status}";
var oper = "填写计价单";
if(Status=="0")Status = "否";
else {Status = "是";oper = "查看计价单";}
document.write(Status);
</script>
</ec:column>
--%>
<ec:column property="finaceApprove" title="财务审核">
<script>
var finaceApprove = "${bo.finaceApprove}";
if(finaceApprove=='1')
{
  document.write('通过');
}else{
  document.write('未通过');
}
</script>
</ec:column>

<ec:column property="produceApprove" title="生产审核">
<script>
var produceApprove = "${bo.produceApprove}";
if(produceApprove=='1')
{
  document.write('通过');
}else{
  document.write('未通过');
}
</script>
</ec:column>

<ec:column property="aname" title="录入者" />
<%--
<ec:column property="JID" alias="Operation" title="操作"
width="120px" filterable="false" sortable="false">
<img src="../images/16xedit2.gif">

</ec:column>
--%>
<ec:column property="id" title="操作"
width="120px" filterable="false" sortable="false">
<img src="../images/16xedit2.gif">
<a href='../ToPrintView3.do?id=${bo.id}'>查看</a>
</ec:column>
</ec:row>

</ec:table>
分享到:
评论
1 楼 javaxiongxing 2011-07-28  
   顶顶顶。。
希望能多向你请教。。

相关推荐

Global site tag (gtag.js) - Google Analytics