<apex:page standardController="eSignForm__c" extensions="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>
|
<apex:form id="allForm">
|
<!-- <table style="margin-left: 200px;" width="100%"> -->
|
<apex:pageBlock >
|
<!-- 测试样式第三个表格,成品 -->
|
<table border="1px" class="list" style="border-collapse: collapse;" width="100%">
|
<!-- <apex:pageBlockTable> -->
|
<tr>
|
<th>产品明细</th>
|
<th>机身号码</th>
|
<th>管理编码</th>
|
<!-- <th>预览链接</th> 2022-12-1 zyh -->
|
<th style="text-align: center;">报关单预览<!-- 下载链接 2022-12-1 zyh --></th>
|
<th style="text-align: center;">商检证预览<!-- 下载链接 2022-12-1 zyh --></th>
|
<!-- <th>合并数</th> -->
|
</tr>
|
<apex:repeat value="{!trueInitList}" var="i">
|
<tr>
|
<td>{!i.ProductName}</td>
|
<td>{!i.FrameNo}</td>
|
<td>{!i.Name}</td>
|
<td style="text-align: center;">{!i.code}</td>
|
<td style="text-align: center;">{!i.code}</td>
|
</tr>
|
</apex:repeat>
|
<apex:repeat value="{!newinitList}" var="i">
|
<tr>
|
<td>{!i.ProductName}</td>
|
<td>{!i.FrameNo}</td>
|
<td>{!i.Name}</td>
|
<!-- <td>{!i.count}</td>
|
<td>{!i.count_sj}</td>
|
<td>{!i.code}</td>
|
<td>{!i.sj_code}</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> 2022-12-1 zyh -->
|
<apex:variable var="type" value="" rendered="{!IF(i.count =null ,false,true)}">
|
<!-- 2023-02-07 zyh 将代码中的'不出证'改成不要 -->
|
<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)}">
|
<!-- 2023-3-1 zyh add start -->
|
<apex:variable var="type" value="" rendered="{!IF((i.code ='' || i.code =null) && (i.code_yl = '' || i.code_yl = null) ,true,false)}">
|
<td rowspan="{!i.count}" style="text-align: center; ">''</td>
|
</apex:variable>
|
<apex:variable var="type" value="" rendered="{!IF(CONTAINS(i.code,'预计') ,true,false)}">
|
<td rowspan="{!i.count}" style="text-align: center; ">{!i.code}</td>
|
</apex:variable>
|
<!-- 2023-3-1 zyh add end -->
|
<apex:variable var="type" value="" rendered="{!IF((i.code ='' || i.code =null) && (i.code_yl != '' || i.code_yl != null) ,true,false)}">
|
<!-- zhj 2022-12-08 预览与下载增强 start -->
|
<!-- <td rowspan="{!i.count}" style="text-align: center; "><a href="{!i.code_yl}">预览</a></td> -->
|
<td rowspan="{!i.count}" style="text-align: center; "><a href="/apex/FilePreviewDownVF?type=preview&key={!i.awsKey}&name={!i.fileName}" target="_blank">预览</a></td>
|
<!-- zhj 2022-12-08 预览与下载增强 end -->
|
</apex:variable>
|
<apex:variable var="type" value="" rendered="{!IF((i.code !='' || i.code != null) && (i.code_yl = '' || i.code_yl = null) && !CONTAINS(i.code,'预计') ,true,false)}">
|
<!-- zhj 2022-12-08 预览与下载增强 start -->
|
<!-- <td rowspan="{!i.count}" style="text-align: center; "><a href="{!i.code}">下载</a></td> -->
|
<td rowspan="{!i.count}" style="text-align: center; "><a href="/apex/FilePreviewDownVF?type=download&key={!i.awsKey}&name={!i.fileName}" target="_blank">下载</a></td>
|
<!-- zhj 2022-12-08 预览与下载增强 end -->
|
</apex:variable>
|
<apex:variable var="type" value="" rendered="{!IF(i.code !='不要' && (i.code !='' || i.code != null) && (i.code_yl != '' || i.code_yl != null) && !CONTAINS(i.code,'预计') ,true,false)}">
|
<!-- zhj 2022-12-08 预览与下载增强 start -->
|
<!-- <td rowspan="{!i.count}" style="text-align: center; "><a href="{!i.code_yl}">预览</a> | <a href="{!i.code}">下载</a></td> -->
|
<td rowspan="{!i.count}" style="text-align: center; "><a href="/apex/FilePreviewDownVF?type=preview&key={!i.awsKey}&name={!i.fileName}" target="_blank">预览</a> | <a href="/apex/FilePreviewDownVF?type=download&key={!i.awsKey}&name={!i.fileName}" target="_blank">下载</a></td>
|
<!-- zhj 2022-12-08 预览与下载增强 end -->
|
</apex:variable>
|
</apex:variable>
|
</apex:variable>
|
<apex:variable var="type" value="" rendered="{!IF(i.count_sj =null ,false,true)}">
|
<apex:variable var="type" value="" rendered="{!IF(i.sj_code ='不要' ,true,false)}">
|
<td rowspan="{!i.count_sj}" style="text-align: center; ">{!i.sj_code}</td>
|
</apex:variable>
|
<apex:variable var="type" value="" rendered="{!IF(i.sj_code !='不要' ,true,false)}">
|
<!-- 2023-3-1 zyh add start -->
|
<apex:variable var="type" value="" rendered="{!IF((i.sj_code ='' || i.sj_code = null) && (i.sj_code_yl = '' || i.sj_code_yl = null) ,true,false)}">
|
<td rowspan="{!i.count_sj}" style="text-align: center; ">''</td>
|
</apex:variable>
|
<apex:variable var="type" value="" rendered="{!IF(CONTAINS(i.sj_code,'预计') ,true,false)}">
|
<td rowspan="{!i.count_sj}" style="text-align: center; ">{!i.sj_code}</td>
|
</apex:variable>
|
<!-- 2023-3-1 zyh add end -->
|
<apex:variable var="type" value="" rendered="{!IF((i.sj_code ='' || i.sj_code ='') && (i.sj_code_yl != '' || i.sj_code_yl != null) ,true,false)}">
|
<!-- zhj 2022-12-08 预览与下载增强 start -->
|
<!-- <td rowspan="{!i.count}" style="text-align: center; "><a href="{!i.sj_code_yl}">预览</a></td> -->
|
<td rowspan="{!i.count_sj}" style="text-align: center; "><a href="/apex/FilePreviewDownVF?type=preview&key={!i.sj_awsKey}&name={!i.sj_fileName}" target="_blank">预览</a></td>
|
<!-- zhj 2022-12-08 预览与下载增强 end -->
|
</apex:variable>
|
<apex:variable var="type" value="" rendered="{!IF((i.sj_code !='' || i.sj_code != null) && (i.sj_code_yl = '' || i.sj_code_yl = null) && !CONTAINS(i.sj_code,'预计') ,true,false)}">
|
<!-- zhj 2022-12-08 预览与下载增强 start -->
|
<!-- <td rowspan="{!i.count}" style="text-align: center; "><a href="{!i.sj_code}">下载</a></td> -->
|
<td rowspan="{!i.count_sj}" style="text-align: center; "><a href="/apex/FilePreviewDownVF?type=download&key={!i.sj_awsKey}&name={!i.sj_fileName}" target="_blank">下载</a></td>
|
<!-- zhj 2022-12-08 预览与下载增强 end -->
|
</apex:variable>
|
<apex:variable var="type" value="" rendered="{!IF(i.sj_code !='不要' && (i.sj_code != '' || i.sj_code != null) && (i.sj_code_yl != '' || i.sj_code_yl != null) && !CONTAINS(i.sj_code,'预计') ,true,false)}">
|
<!-- zhj 2022-12-08 预览与下载增强 start -->
|
<!-- <td rowspan="{!i.count}" style="text-align: center; "><a href="{!i.sj_code_yl}">预览</a> | <a href="{!i.sj_code}">下载</a></td> -->
|
<td rowspan="{!i.count_sj}" style="text-align: center; "><a href="/apex/FilePreviewDownVF?type=preview&key={!i.sj_awsKey}&name={!i.sj_fileName}" target="_blank">预览</a> | <a href="/apex/FilePreviewDownVF?type=download&key={!i.sj_awsKey}&name={!i.sj_fileName}" target="_blank">下载</a></td>
|
<!-- zhj 2022-12-08 预览与下载增强 end -->
|
</apex:variable>
|
</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> | <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>
|
<!-- </table> -->
|
</apex:form>
|
</body>
|
</apex:page>
|