<template>
|
|
<!-- <body style="font-family: Arial Unicode MS;"> -->
|
|
<!-- ページ番号の定義 -->
|
<!-- <apex:variable var="count" value="{!0}"/> -->
|
|
<!-- ページのリピート -->
|
<template for:each={printRecords} for:item="items" for:index="thePage"></template>
|
<!-- ページキャンバス -->
|
<div class="pageCanvas">
|
|
<!-- ページ番号インクリメント -->
|
<!-- <apex:variable var="count" value="{!count + 1}"/> -->
|
<!-- SWAG-C7S8QN 【委托】【重要】SI询价配置单没有抬头 lt 20211015 update 原<template rendered="{!IF(params.trade == 'USD', true, false)}">附件2 </template> -->
|
<div style="text-align: left;font-weight: bold;font-size: 18px;width: 100%;padding-bottom: 20px;"><span >附件2 </span></div>
|
<!-- 各ページのタイトル -->
|
<!-- <div class="quoteTitle"><template if:true={params.trade = 'USD'} >Commodity List </template></div> -->
|
<div class="quoteTitle"><template if:true={params.trade}>Commodity List </template></div>
|
|
<!-- WLIG-BYRD37 【委托】询价 打印配置单 字段修改 精琢技术 wql 2021/03/08 start -->
|
<div class="quoteTitle">
|
<!-- SWAG-C7S8QN 【委托】【重要】SI询价配置单没有抬头 lt 20211015 update -->
|
<!-- 20211015 原<template rendered="{!IF(params.PurchaseType == '一般引合' || params.PurchaseType == ' SI(手術室案件)', true, false)}"> -->
|
<span >
|
<!-- {Contract_Detail_Title} -->
|
{Contract_Detail_Title}
|
</span>
|
</div>
|
<div class="quoteTitle">
|
<!-- <template if:true="{!IF(params.PurchaseType == 'ET24時間販売',true , false)}">0 -->
|
<template if:true={params.PurchaseType}>
|
订货单
|
</template>
|
</div>
|
<!-- //WLIG-BYRD37 【委托】询价 打印配置单 字段修改 精琢技术 wql 2021/03/08 end -->
|
<!-- CHAN-B2L4NY 外贸询价的合同配置单格式恢复 -->
|
<!-- <template if:true="{!IF(params.trade == 'RMB', true, false)}"> -->
|
<template if:true= {params.trade}>
|
<!-- 各ページのヘッダキャンバス -->
|
<div class="headerCanvas">
|
<table style="height:100%;">
|
<tr>
|
<td>
|
<div style="height:25px;">{Contract_Detail_System_Code}</div>
|
<div style="height:25px;">{Quote_Client_Name}</div>
|
<!-- <template if:true="{!IF(params.salesRoot == '販売店', true, false)}" layout="none" > -->
|
<template if:true={params.salesRoot} layout="none" >
|
<div style="height:25px;">{Contract_Detail_Dealer_Name}</div>
|
</template>
|
<div style="height:25px;">{Quote_AddressName}</div>
|
</td>
|
<td>
|
<div style="height:25px;">: </div>
|
<div style="height:25px;">: </div>
|
<!-- <template layout="none" if:true="{!IF(params.salesRoot == '販売店', true, false)}"> -->
|
<template layout="none" if:true={params.salesRoot}>
|
<div style="height:25px;">: </div>
|
</template>
|
<div style="height:25px;">: </div>
|
</td>
|
<td>
|
<div style="height:25px;"> {params.quoteNo}</div>
|
<div style="height:25px;"> {params.clientName}</div>
|
<!-- <template layout="none" if:true="{!IF(params.salesRoot == '販売店', true, false)}"> -->
|
<template layout="none" if:true={params.salesRoot}>
|
<div style="height:25px;"> {params.agentNameForContract}</div>
|
</template>
|
<div style="height:25px;"> {params.addressName}</div>
|
</td>
|
<td>
|
<div style="height:25px;"> </div>
|
<div style="height:25px;"> </div>
|
<template layout="none" if:true={params.salesRoot}>
|
<div style="height:25px;"> </div>
|
</template>
|
<div style="height:25px;"> </div>
|
</td>
|
<td>
|
<div style="height:25px;"> </div>
|
<div style="height:25px;">{Quote_Department}</div>
|
<template layout="none" if:true={params.salesRoot}>
|
<div style="height:25px;"> </div>
|
</template>
|
<div style="height:25px;"> </div>
|
</td>
|
<td>
|
<div style="height:25px;"> </div>
|
<div style="height:25px;">: </div>
|
<template layout="none" if:true={params.salesRoot}>
|
<div style="height:25px;"> </div>
|
</template>
|
<div style="height:25px;"> </div>
|
</td>
|
<td>
|
<div style="height:25px;"> </div>
|
<div style="height:25px;"> {params.departmentName}</div>
|
<template layout="none" if:true={params.salesRoot}>
|
<div style="height:25px;"> </div>
|
</template>
|
<div style="height:25px;"> </div>
|
</td>
|
</tr>
|
</table>
|
<table style="top:0px; right:0px; position:absolute; height:100%;">
|
<tr>
|
<td>
|
<div style="height:25px;"> </div>
|
<div style="height:25px;"> </div>
|
<!-- 电子签收ID号 wql 精琢技术 2020/11/20 start -->
|
<template layout="none" if:true={params.salesRoot}>
|
<div style="height:25px;">{eSignAgencyNum}</div>
|
</template>
|
<template layout="none" if:true={params.salesRoot}>
|
<div style="height:25px;"> </div>
|
</template>
|
<!-- 电子签收ID号 wql 精琢技术 2020/11/20 end -->
|
<div style="height:25px;">{Contract_Detail_Print_Date}</div>
|
</td>
|
<td>
|
<div style="height:25px;"> </div>
|
<div style="height:25px;"> </div>
|
<div style="height:25px;">: </div>
|
<div style="height:25px;">: </div>
|
</td>
|
<td>
|
<div style="height:25px;"> </div>
|
<div style="height:25px;"> </div>
|
<!-- 电子签收ID号 wql 精琢技术 2020/11/20 start -->
|
<template layout="none" if:true={params.salesRoot}>
|
<div style="height:25px;">{params.eSignAgencyNum}</div>
|
</template>
|
<template layout="none" if:true={params.salesRoot}>
|
<div style="height:25px;"> </div>
|
</template>
|
<!-- 电子签收ID号 wql 精琢技术 2020/11/20 end -->
|
<div style="height:25px;"> {params.offerPrintDateStringContract}</div>
|
</td>
|
</tr>
|
</table>
|
</div>
|
</template>
|
<br/>
|
|
<!-- ページ内の詳細のREPEAT -->
|
<div class="detailCanvas" style="font-size: 10px">
|
<lightning-datatable
|
key-field="id"
|
data={items}
|
columns = {columns}>
|
</lightning-datatable>
|
|
|
</div>
|
|
<!-- <template rendered="{!count=maxPageNumber}"> -->
|
<template rendered=false>
|
<div>
|
<table style="width:100%;">
|
<tr>
|
<!-- 2018/10/11 CHAN-B5F35C 内贸时不显示 注册证号/备案凭证编号备注 start -->
|
<td style="text-align: left;">
|
<div style="height:25px;">备注:上述产品注册证号/备案凭证号以收到实物中文标签中的注册证信息为准。</div>
|
</td>
|
<!-- 2018/10/11 CHAN-B5F35C 内贸时不显示 注册证号/备案凭证编号备注 end -->
|
</tr>
|
<tr>
|
<td style="width: 85%;text-align: right;">
|
<div style="height:25px;">{Quote_TotalPrice}</div>
|
</td>
|
<td>
|
<div style="height:25px;">: </div>
|
</td>
|
<td>
|
<div style="height:25px;">
|
<span value={0, number, ###,##0.00}>
|
<param name="" value={params.newTotalPrice}>
|
</span>
|
</div>
|
</td>
|
</tr>
|
</table>
|
</div>
|
</template>
|
<!-- CHAN-B2L4NY 外贸询价的合同配置单格式恢复 -->
|
<!-- <template rendered="{!IF(params.trade == 'RMB', false, true)}"> -->
|
<template rendered={params.trade}>
|
<!-- 各ページのヘッダキャンバス -->
|
<div class="headerCanvas">
|
<table style="height:100%;">
|
<tr>
|
<td>
|
<div style="height:25px;">
|
Prospect Code {Contract_Detail_System_Code}</div>
|
<div style="height:25px;">End user {Quote_Client_Name}</div>
|
<div style="height:25px;">Department {Quote_Department}</div>
|
<div style="height:25px;">The Buyer {Contract_Detail_Dealer_Name}</div>
|
</td>
|
<td>
|
<div style="height:25px;">: </div>
|
<div style="height:25px;">: </div>
|
<div style="height:25px;">: </div>
|
<div style="height:25px;">: </div>
|
</td>
|
<td>
|
<div style="height:25px;"> {!params.quoteNo}</div>
|
<div style="height:25px;"> {!params.clientName}</div>
|
<div style="height:25px;"> {!params.departmentName}</div>
|
|
<!-- <template if:true="{!IF(params.agentNameForContract != null && params.lenAgentName >= 40, true, false)}"> -->
|
<template>
|
<div style="height:22px; padding-top:3px; font-size:10px;"> {params.agentNameForContract}</div>
|
</template>
|
<!-- <template if:true="{!IF(params.agentNameForContract != null && params.lenAgentName < 40, true, false)}"> -->
|
<template>
|
<div style="height:25px;"> {params.agentNameForContract}</div>
|
</template>
|
</td>
|
</tr>
|
</table>
|
<table style="top:0px; right:0px; position:absolute; height:100%;">
|
<tr>
|
<td>
|
<div style="height:25px;"> </div>
|
<div style="height:25px;"> </div>
|
<!-- -->
|
<div style="height:25px;">Print date {Contract_Detail_Print_Date}</div>
|
<div style="height:25px;"> ID Code</div>
|
</td>
|
<td>
|
<div style="height:25px;"> </div>
|
<div style="height:25px;"> </div>
|
<!-- <div style="height:25px;"> </div> -->
|
<div style="height:25px;">: </div>
|
<div style="height:25px;">: </div>
|
</td>
|
<td>
|
<div style="height:25px;"> </div>
|
<div style="height:25px;"> </div>
|
<div style="height:25px;"> {params.offerPrintDateStringContract}</div>
|
<div style="height:25px;"> </div>
|
</td>
|
</tr>
|
|
</table>
|
</div>
|
|
<br/>
|
|
<!-- ページ内の詳細のREPEAT -->
|
<div class="detailCanvas">
|
<!-- 2021/01/15 liying start -->
|
<!-- 多表头 第一列表头 -->
|
<lightning-datatable
|
key-field="id"
|
data={items}
|
columns = [columns]>
|
</lightning-datatable>
|
<!-- <apex:dataTable value="{!items}" var="item" id="dataTableUSD" styleClass="detailTableUSD" headerClass="detailTableHeaderUSD" columnClasses="detailTableCols">
|
<apex:column styleClass="detailRowNumber">
|
<apex:facet name="header">Commodity Type</apex:facet>
|
</apex:column>
|
<apex:column styleClass="detailRowString">
|
<apex:facet name="header"></apex:facet>
|
</apex:column>
|
<apex:column styleClass="detailRowString">
|
<apex:facet name="header"></apex:facet>
|
</apex:column>
|
<apex:column styleClass="detailRowString">
|
<apex:facet name="header">
|
Description</apex:facet>
|
</apex:column>
|
<apex:column styleClass="detailRowNumeric">
|
<apex:facet name="header"> Quantity</apex:facet>
|
</apex:column>
|
<apex:column styleClass="detailRowNumeric">
|
<apex:facet name="header"> Special Warranty Period(year) </apex:facet>
|
</apex:column>
|
|
lt 20220223 CHAN-CBW9FX 特殊交货期影响的对应 start -->
|
<!--
|
<apex:column styleClass="detailRowNumeric">
|
<apex:facet name="header"> Delivery Date </apex:facet>
|
</apex:column> -->
|
<!-- lt 20220223 CHAN-CBW9FX 特殊交货期影响的对应 end -->
|
|
<!-- </apex:dataTable> -->
|
<!-- 2021/01/15 liying end -->
|
<!-- 多表头 第二列表头 -->
|
<!-- <apex:dataTable value="{!items}" var="item" id="dataTable2" styleClass="detailTable" headerClass="detailTableHeader" columnClasses="detailTableCols">
|
<apex:column styleClass="detailRowNumber">
|
<apex:facet name="header">{Quote_Product_Code}</apex:facet>
|
<apex:outputText value="{!item.qli.Item_Order__c}"/>
|
</apex:column>
|
<apex:column styleClass="detailRowString">
|
<apex:facet name="header"></apex:facet>
|
<apex:outputText value="{!item.qli.Asset_Model_No_forPrint__c}"/>
|
</apex:column>
|
<apex:column styleClass="detailRowString">
|
<apex:facet name="header"> </apex:facet>
|
<apex:outputText value="{!item.qli.NameForPrintDelimiter__c}"/>
|
</apex:column>
|
<apex:column styleClass="detailRowString">
|
<apex:facet name="header">{Quote_Product_Name}</apex:facet>
|
<apex:outputText value="{!item.qli.NameForPrint__c}"/>
|
</apex:column>
|
<apex:column styleClass="detailRowNumeric">
|
<apex:facet name="header">{Quantity}</apex:facet>
|
<apex:outputText value="{0, number, ###,###}">
|
<apex:param value="{!item.qli.Quantity}" />
|
</apex:outputText>
|
</apex:column>
|
|
<apex:column styleClass="detailRowNumeric">
|
<apex:facet name="header">特殊保修年限</apex:facet>
|
<apex:outputText value="{!item.qli.GuaranteePeriod__c}"/>
|
</apex:column>
|
|
lt 20220223 CHAN-CBW9FX 特殊交货期影响的对应 start -->
|
<!-- <apex:column styleClass="detailRowNumeric">
|
<apex:facet name="header">交货期</apex:facet>
|
<apex:outputText value="{!item.qli.DeliveryDate__c}"/>
|
</apex:column> -->
|
<!-- lt 20220223 CHAN-CBW9FX 特殊交货期影响的对应 end -->
|
|
<!-- </apex:dataTable> -->
|
</div>
|
</template>
|
|
<br />
|
|
<!-- 各ページのフッタキャンバス -->
|
<div class="footerCanvasContract">
|
<div class="footerSignContract">
|
({Contract_Detail_Buyer_Stamp})<br />
|
<br />
|
年 月 日<br />
|
</div>
|
</div>
|
|
</div>
|
|
<!-- 各ページを区切る改ページ、最終ページには出さないようにしている -->
|
<!-- <template if:true="{!count<maxPageNumber}"> -->
|
<!-- <template>
|
<div style="page-break-after: always;"/>
|
</template> -->
|
|
<!-- </body> -->
|
</template>
|