<apex:page controller="FrameNumController" showHeader="false" sidebar="false" action="{!init}" docType="html-5.0" >
|
<apex:stylesheet value="{!URLFOR($Resource.blockUIcss)}"/>
|
<apex:includeScript value="{!URLFOR($Resource.jquery183minjs)}"/>
|
<apex:includeScript value="{!URLFOR($Resource.PleaseWaitDialog)}"/>
|
<apex:includeScript value="/soap/ajax/29.0/connection.js"/>
|
<apex:includeScript value="/soap/ajax/29.0/apex.js"/>
|
<body>
|
<title>机身号管理</title>
|
<table>
|
<apex:form >
|
<apex:pageBlock >
|
<!-- 测试样式第三个表格,成品 -->
|
<table border="1px" class="list" style="border-collapse: collapse;">
|
<!-- <apex:pageBlockTable> -->
|
<tr>
|
<th>产品明细</th>
|
<th>机身号码</th>
|
<th>管理编码</th>
|
<th>预览链接</th>
|
<th>报关单下载链接</th>
|
<th>商检证下载链接</th>
|
<!-- <th>合并数</th> -->
|
</tr>
|
<apex:repeat value="{!newinitList}" var="i">
|
<tr>
|
<td>{!i.ProductName}</td>
|
<td>{!i.FrameNo}</td>
|
<td><a href="/{!i.id}">{!i.Name}</a></td>
|
<!-- <td><a href="/{!i.Id}" >{!i.Name}</a> </td> --> <!-- 2022-11-10 zyh注释,新加下三行 -->
|
<apex:variable var="type" value="" rendered="{!IF(i.count =null ,false,true)}">
|
<td rowspan="{!i.count}" style="text-align: center; "><a href="/{!i.Id}" >{!i.Name}</a></td>
|
</apex:variable>
|
<apex:variable var="type" value="" rendered="{!IF(i.count =null ,false,true)}">
|
<apex:variable var="type" value="" rendered="{!IF(i.code ='不出证' ,true,false)}">
|
<td rowspan="{!i.count}" style="text-align: center; ">{!i.code}</td>
|
</apex:variable>
|
<apex:variable var="type" value="" rendered="{!IF(i.code !='不出证' ,true,false)}">
|
<td rowspan="{!i.count}" style="text-align: center; "><a href="{!i.code}">下载</a></td>
|
</apex:variable>
|
</apex:variable>
|
<apex:variable var="type" value="" rendered="{!IF(i.count =null ,false,true)}">
|
<apex:variable var="type" value="" rendered="{!IF(i.sj_code ='不出证' ,true,false)}">
|
<td rowspan="{!i.count}" style="text-align: center; ">{!i.sj_code}</td>
|
</apex:variable>
|
<apex:variable var="type" value="" rendered="{!IF(i.sj_code !='不出证' ,true,false)}">
|
<td rowspan="{!i.count}" style="text-align: center; "><a href="{!i.sj_code}">下载</a></td>
|
</apex:variable>
|
</apex:variable>
|
<!-- <apex:variable var="type" value="" rendered="{!IF(i.count =null ,false,true)}">
|
<td rowspan="{!i.count}" style="text-align: center; "><a href="{!i.code}">下载</a></td>
|
</apex:variable> --><!--
|
<td >{!i.code}</td>
|
<td >{!i.count}</td> -->
|
|
</tr>
|
</apex:repeat>
|
</table>
|
</apex:pageBlock>
|
</apex:form>
|
</table>
|
</body>
|
</apex:page>
|