<template >
|
<!-- <apex:page id="Page" standardController="Product2" extensions="SearchProductController" sidebar="false" showHeader="false" lightningStylesheets="true" > -->
|
<!-- <apex:stylesheet value="{!URLFOR($Resource.blockUIcss)}"/>
|
<apex:includeScript value="{!URLFOR($Resource.jquery183minjs)}"/>
|
<apex:includeScript value="{!URLFOR($Resource.PleaseWaitDialog)}"/> -->
|
|
<!-- <style type="text/css">
|
div#iframelike {
|
color: #fff;
|
height: 300px;
|
overflow-y: auto;
|
overflow-x: hidden;
|
}
|
</style> -->
|
<template if:true={isLoad}>
|
<div id="all">
|
<from id="mainForm">
|
<lightning-card id="idSearchSetProduct" title={Label.Product_Search}>
|
|
<lightning-input type="hidden" id="Trade" value={data.trade}></lightning-input>
|
<table width="900" border="0" style="background-color:#DCDCDC;">
|
<colgroup>
|
<col width="12" />
|
<col width="1000" /> <!-- lighting升级 20230210 lt 名称串行问题 20==50 -->
|
<col width="20" />
|
<col width="200" />
|
<col width="20" />
|
<col width="428" />
|
</colgroup>
|
<tr>
|
<td> </td>
|
<th style="width: 50px">{Label.Search_Condition}</th>
|
<td> </td>
|
<th>{Label.Asset_No}</th>
|
<td> </td>
|
<td> </td>
|
</tr>
|
<tr>
|
<td> </td>
|
<td> </td>
|
<td> </td>
|
<td><lightning-input type="search" value={data.SearchName} onchange={searchNameInputChange} style="width:200px" ></lightning-input></td>
|
<!-- <td><apex:commandButton value="{!$Label.Search}" action="{!serContact}" style="width:100px" rerender="all,message1" onclick="blockme();" oncomplete="unblockUI();"/></td>-->
|
<!-- xudan Enterキーを対応するため、rerender、onclick、oncomplete全部なし -->
|
<td><lightning-button label={Label.Search} onclick={serContact} class="slds-m-left_x-small" style="width:1000px;float:right;"> </lightning-button></td>
|
<td> <lightning-button label={Label.Add_Product} style="width:100px;float:right;" disabled={Hascl} rerender="dummy" onclick={setProductList} class="slds-m-left_x-small"> </lightning-button></td>
|
</tr>
|
<tr>
|
<td style="border-bottom: 1px solid #888;" colspan="15"> </td>
|
</tr>
|
</table>
|
<div class="spacer" style="height:10px;background-color:#DCDCDC;">
|
</div>
|
<table width="900" border="0" style="background-color:#DCDCDC;">
|
<tr>
|
<td width="12"> </td>
|
<th valign="top">{Label.Search_Result}</th>
|
<td width="20"> </td>
|
<td>
|
<table border="0">
|
<tr>
|
<td>
|
<div id="iframelike" style="width:1200px;
|
height: 300px;
|
overflow-y: auto;
|
overflow-x: hidden;">
|
<lightning-datatable
|
key-field="id"
|
data={data.cc}
|
columns = {columns}>
|
</lightning-datatable>
|
<!-- 20221020 ljh SWAG-CJ98AJ start-->
|
<!-- <lightning-cardTable id="idRezultVisitor" value="{!cl}" var="c" border="1" columns="9" columnsWidth="25px,120px,120px,280px,60px,60px,60px,60px,35px"> -->
|
|
|
|
|
<!-- <lightning-cardTable id="idRezultVisitor" value="{!cl}" var="c" border="1" columns="10" columnsWidth="25px,120px,120px,280px,60px,60px,60px,60px,35px">
|
|
<apex:column style="width:15px;" >
|
<apex:facet name="header">{Label.Selected}</apex:facet>
|
<input type="checkbox" name="checklist" value="" style="width:10px;"/>
|
</apex:column>
|
|
<apex:column >
|
<apex:facet name="header">{Label.Asset_No}</apex:facet>
|
<apex:outputLink id="Asset_Model_No__c" value="{!c.pbe.Product2.Asset_Model_No__c}" onclick="setProductOne('{!lineno}','{!c.idx}');return false;">{c.pbe.Product2.Asset_Model_No__c}</apex:outputLink>
|
<lightning-input type="hidden" id="NameCode" value={c.NameCode}/>
|
<lightning-input type="hidden" id="Sales_Possibility" value={c.Sales_Possibility}/>
|
<lightning-input type="hidden" id="Bsscategory" value={c.Bsscategory}/>
|
<lightning-input type="hidden" id="Product_Id" value={c.Product_Id}/>
|
<lightning-input type="hidden" id="PricebookEntryId" value={c.PricebookEntryId}/>
|
<lightning-input type="hidden" id="Intra_Trade_Cost_RMB__c" value={c.Intra_Trade_Cost_RMB}/>
|
<lightning-input type="hidden" id="Foreign_Trade_Cost_US__c" value={c.Foreign_Trade_Cost_US}/>
|
<lightning-input type="hidden" id="GuaranteePeriod" value={c.Entend_gurantee_period_all/>
|
<lightning-input type="hidden" id="Intra_Trade_Service_RMB" value={c.Intra_Trade_Service_RMB}/>
|
<lightning-input type="hidden" id="CanNotCancelledGurantee__c" value={c.CanNotCancelledGurantee}/>
|
</apex:column>
|
|
<apex:column >
|
<apex:facet name="header">{!$ObjectType.Product2.fields.OT_CODE_no_link__c.Label}</apex:facet>
|
<apex:outputField id="OT_CODE_no_link__c" value="{!c.pbe.Product2.OT_CODE_no_link__c}" />
|
</apex:column>
|
<apex:column >
|
<apex:facet name="header">{Label.Product_Name}</apex:facet>
|
<apex:outputField id="Name" value="{!c.pbe.Product2.Name}" />
|
</apex:column>
|
<apex:column >
|
<apex:facet name="header">{!$ObjectType.Product2.fields.suitDepartment__c.Label}</apex:facet>
|
<apex:outputField id="suitDepartment__c" value="{!c.pbe.Product2.suitDepartment__c}" />
|
</apex:column>
|
<apex:column >
|
<apex:facet name="header">{!$ObjectType.Product2.fields.Alternative_Products__c.Label}</apex:facet>
|
<apex:outputField id="Alternative" value="{!c.pbe.Product2.Alternative_Products__c}" />
|
</apex:column>
|
<apex:column >
|
<apex:facet name="header">{Label.SFDA_Status}</apex:facet>
|
<apex:outputField id="SFDA_Status__c" value="{!c.pbe.Product2.SFDA_Status__c}" />
|
</apex:column>
|
<apex:column style="text-align:right;">
|
<apex:facet name="header">{Label.ListPrice_In}</apex:facet>
|
<apex:outputField id="Intra_Trade_List_RMB__c" value="{!c.pbe.Product2.Intra_Trade_List_RMB__c}" />
|
</apex:column>
|
<apex:column style="text-align:right;">
|
<apex:facet name="header">{!$Label.ListPrice_Out}</apex:facet>
|
<apex:outputField id="Foreign_Trade_List_US__c" value="{!c.pbe.Product2.Foreign_Trade_List_US__c}" />
|
</apex:column>
|
<apex:column style="text-align:right;">
|
<apex:facet name="header">{Label.Unit}</apex:facet>
|
<apex:outputField id="Qty_Unit__c" value="{!c.pbe.Product2.Qty_Unit__c}" />
|
</apex:column>
|
</lightning-cardTable> -->
|
</div>
|
</td>
|
</tr>
|
</table>
|
</td>
|
</tr>
|
</table>
|
</lightning-card>
|
</from>
|
</div>
|
</template>
|
<!-- </apex:page> -->
|
</template>
|