| | |
| | | <apex:page id="Page" standardController="Product2" extensions="SearchProductController" sidebar="false" showHeader="false" lightningStylesheets="true" > |
| | | <apex:stylesheet value="{!URLFOR($Resource.blockUIcss)}"/> |
| | | <apex:stylesheet value="{!URLFOR($Resource.StyleUtilCss)}"/> |
| | | <apex:includeScript value="{!URLFOR($Resource.jquery183minjs)}"/> |
| | | <apex:includeScript value="{!URLFOR($Resource.PleaseWaitDialog)}"/> |
| | | <script> |
| | |
| | | var CanNotCancelledGurantee__c = j$(escapeVfId("Page:mainForm:idSearchSetProduct:idRezultVisitor:"+ i +":CanNotCancelledGurantee__c")).val(); |
| | | //DB202212304166 【紧急-报价委托与购买意向】请将最后操作的报价委托状态放到购买意向中 fy end |
| | | |
| | | //CHAN-BHNBX6 2019/11/20 START |
| | | var GuaranteePeriod = j$(escapeVfId("Page:mainForm:idSearchSetProduct:idRezultVisitor:"+ i +":GuaranteePeriod")).value(); |
| | | //CHAN-BHNBX6 2019/11/20 START |
| | | var GuaranteePeriod = j$(escapeVfId("Page:mainForm:idSearchSetProduct:idRezultVisitor:"+ i +":GuaranteePeriod")).value(); |
| | | //nodiscount 小计 |
| | | var Intra_Trade_Service_RMB =j$(escapeVfId("Page:mainForm:idSearchSetProduct:idRezultVisitor:"+ i +":Intra_Trade_Service_RMB")).value(); |
| | | var Intra_Trade_Service_RMB =j$(escapeVfId("Page:mainForm:idSearchSetProduct:idRezultVisitor:"+ i +":Intra_Trade_Service_RMB")).value(); |
| | | //CHAN-BHNBX6 2019/11/20 END |
| | | //No |
| | | window.opener.j$(escapeVfId("Page:mainForm:block:lists:"+ lineno +":indexNo")).text(parseInt(lineno)+1); |
| | | |
| | | //製品型番 |
| | | window.opener.j$(escapeVfId("Page:mainForm:block:lists:"+ lineno +":Assert")).val(Asset_Model_No__c); |
| | | |
| | | |
| | | //Status__c |
| | | window.opener.j$(escapeVfId("Page:mainForm:block:lists:"+ lineno +":Status__c")).text(SFDA_Status__c); |
| | | //SFDA hidden |
| | | window.opener.j$(escapeVfId("Page:mainForm:block:lists:"+ lineno +":SFDA")).val(SFDA_Status__c); |
| | | |
| | | |
| | | //DB202212304166 【紧急-报价委托与购买意向】请将最后操作的报价委托状态放到购买意向中 fy start |
| | | //取消市场多年保 |
| | | window.opener.j$(escapeVfId("Page:mainForm:block:lists:"+ lineno +":CanNotCancelledGurantee__c")).val(CanNotCancelledGurantee__c); |
| | |
| | | //ListPrice |
| | | var ListPrice = 0; |
| | | var Cost_c = 0; |
| | | //CHAN-BHNBX6 2019/11/20 START |
| | | //CHAN-BHNBX6 2019/11/20 START |
| | | var NoDiscount = 0; |
| | | |
| | | |
| | | if(trade == "CNY") { |
| | | ListPrice = Intra_Trade_List_RMB__c; |
| | | Cost_c = Intra_Trade_Cost_RMB__c; |
| | |
| | | //CHAN-BHNBX6 NoDiscount 2019/11/20 START |
| | | window.opener.j$(escapeVfId("Page:mainForm:block:lists:"+ lineno +":NoDiscount")).val(NoDiscount); |
| | | //CHAN-BHNBX6 NoDiscount 2019/11/20 END |
| | | //数量 |
| | | //数量 |
| | | window.opener.j$(escapeVfId("Page:mainForm:block:lists:"+ lineno +":Quantity")).val(1); |
| | | |
| | | //CHAN-BHNBX6 保修年限 2019/11/20 START |
| | | |
| | | //CHAN-BHNBX6 保修年限 2019/11/20 START |
| | | window.opener.j$(escapeVfId("Page:mainForm:block:lists:"+ lineno +":itemGuaranteePeriod")).text(GuaranteePeriod); |
| | | window.opener.j$(escapeVfId("Page:mainForm:block:lists:"+ lineno +":itemGuaranteePeriod")).val(GuaranteePeriod); |
| | | //CHAN-BHNBX6 保修年限 2019/11/20 END |
| | |
| | | |
| | | //単位 |
| | | window.opener.j$(escapeVfId("Page:mainForm:block:lists:"+ lineno +":Qty")).text(); |
| | | |
| | | |
| | | //小計 主画面ID变更,逻辑不变设值ID变更 |
| | | // window.opener.j$(escapeVfId("Page:mainForm:block:lists:"+ lineno +":TotalPrice")).text(top.window.opener.toNumComma(ListPrice)); |
| | | |
| | | |
| | | //Subtotal__c hidden |
| | | // window.opener.j$(escapeVfId("Page:mainForm:block:lists:"+ lineno +":Subtotal__c")).val(ListPrice); |
| | | |
| | | //小計lw |
| | | window.opener.j$(escapeVfId("Page:mainForm:block:lists:"+ lineno +":ListPriceTotalText")).text(top.window.opener.toNumComma(ListPrice)); |
| | | |
| | | |
| | | //ListPriceTotal hidden |
| | | window.opener.j$(escapeVfId("Page:mainForm:block:lists:"+ lineno +":ListPriceTotal")).val(ListPrice); |
| | | |
| | | //CHAN-BHNBX6 nodiscount 小计 2019/11/20 START |
| | | //CHAN-BHNBX6 nodiscount 小计 2019/11/20 START |
| | | //DB202212304166 【紧急-报价委托与购买意向】请将最后操作的报价委托状态放到购买意向中 fy start |
| | | // var cancelMultiyearInsurance = top.window.opener.j$(escapeVfId("Page:mainForm:block:cancelMultiyearInsurance")).val(); |
| | | // var NoDiscount1; |
| | |
| | | |
| | | //DB202212304166 【紧急-报价委托与购买意向】请将最后操作的报价委托状态放到购买意向中 fy end |
| | | window.opener.j$(escapeVfId("Page:mainForm:block:lists:"+ lineno +":NoDiscountTotalText")).text(top.window.opener.toNumComma(NoDiscount)); |
| | | //CHAN-BHNBX6 nodiscount 小计 2019/11/20 END |
| | | //CHAN-BHNBX6 nodiscount 小计 2019/11/20 END |
| | | // window.opener.j$(escapeVfId("Page:mainForm:block:lists:"+ lineno +":NoDiscountTotal")).val(Intra_Trade_Service_RMB); |
| | | |
| | | |
| | | //NameCode hidden |
| | | window.opener.j$(escapeVfId("Page:mainForm:block:lists:"+ lineno +":NameCode")).val(NameCode); |
| | | |
| | | |
| | | //Product_Name hidden |
| | | window.opener.j$(escapeVfId("Page:mainForm:block:lists:"+ lineno +":Product_Name")).val(name); |
| | | |
| | | |
| | | //Product_SFDA hidden |
| | | window.opener.j$(escapeVfId("Page:mainForm:block:lists:"+ lineno +":Product_SFDA")).val(SFDA_Status__c); |
| | | |
| | | |
| | | //Sales_Possibility hidden |
| | | window.opener.j$(escapeVfId("Page:mainForm:block:lists:"+ lineno +":Sales_Possibility")).val(Sales_Possibility); |
| | | |
| | | |
| | | //Product_ListPrice hidden |
| | | window.opener.j$(escapeVfId("Page:mainForm:block:lists:"+ lineno +":Product_ListPrice")).val(ListPrice); |
| | | |
| | | |
| | | //Product_Cost hidden |
| | | window.opener.j$(escapeVfId("Page:mainForm:block:lists:"+ lineno +":Product_Cost")).val(Cost_c); |
| | | |
| | | |
| | | //Cost hidden |
| | | window.opener.j$(escapeVfId("Page:mainForm:block:lists:"+ lineno +":Cost")).val(Cost_c); |
| | | |
| | | |
| | | //CostSubTotal hidden Cost_c * Quantity; |
| | | window.opener.j$(escapeVfId("Page:mainForm:block:lists:"+ lineno +":CostSubTotal")).val(Cost_c); |
| | | |
| | | |
| | | //Bsscategory hidden |
| | | window.opener.j$(escapeVfId("Page:mainForm:block:lists:"+ lineno +":Bsscategory")).val(Bsscategory); |
| | | |
| | | |
| | | //Product_Id hidden |
| | | window.opener.j$(escapeVfId("Page:mainForm:block:lists:"+ lineno +":Product_Id")).val(Product2Id); |
| | | |
| | | |
| | | //PricebookEntryId hidden |
| | | window.opener.j$(escapeVfId("Page:mainForm:block:lists:"+ lineno +":PricebookEntryId")).val(PricebookEntryId); |
| | | |
| | | |
| | | //lineNo hidden |
| | | window.opener.j$(escapeVfId("Page:mainForm:block:lists:"+ lineno +":lineNo")).val(parseInt(lineno)); |
| | | } |
| | | </script> |
| | | <style type="text/css"> |
| | | div#iframelike { |
| | | |
| | | |
| | | height: 300px; |
| | | overflow-y: auto; |
| | | overflow-x: hidden; |
| | |
| | | <apex:messages styleClass="editListError"/> |
| | | </apex:outputPanel> |
| | | <apex:form id="mainForm"> |
| | | <apex:pageBlock id="idSearchSetProduct" title="{!$Label.Product_Search}"> |
| | | <apex:pageBlock id="idSearchSetProduct" title="{!$Label.Product_Search}" > |
| | | <apex:inputHidden id="Trade" value="{!Trade}"/> |
| | | <table width="900" border="0" style="background-color:#DCDCDC"> |
| | | <table width="1000" border="0" style="background-color:#DCDCDC;"> |
| | | <colgroup> |
| | | <col width="12" /> |
| | | <col width="50" /> <!-- lighting升级 20230210 lt 名称串行问题 20==50 --> |
| | |
| | | <td style="border-bottom: 1px solid #888;" colspan="15"> </td> |
| | | </tr> |
| | | </table> |
| | | <table width="900" border="0" style="background-color:#DCDCDC"> |
| | | <table width="1000" border="0" style="background-color:#DCDCDC"> |
| | | <tr> |
| | | <td width="12"> </td> |
| | | <th valign="top">{!$Label.Search_Result}</th> |
| | |
| | | <table border="0"> |
| | | <tr> |
| | | <td> |
| | | <div id="iframelike" style="width:800px"> |
| | | <div id="iframelike" style="width:900px"> |
| | | <!-- 20221020 ljh SWAG-CJ98AJ start--> |
| | | <!-- <apex:pageBlockTable id="idRezultVisitor" value="{!cl}" var="c" border="1" columns="9" columnsWidth="25px,120px,120px,280px,60px,60px,60px,60px,35px"> --> |
| | | <apex:pageBlockTable id="idRezultVisitor" value="{!cl}" var="c" border="1" columns="10" columnsWidth="25px,120px,120px,280px,60px,60px,60px,60px,35px"> |
| | | <apex:pageBlockTable id="idRezultVisitor" value="{!cl}" var="c" border="1" columns="10" columnsWidth="40px,120px,120px,280px,80px,80px,80px,80px,80px,40px"> |
| | | <!-- 20221020 ljh SWAG-CJ98AJ end --> |
| | | <apex:column style="width:15px;" > |
| | | <apex:column > |
| | | <apex:facet name="header">{!$Label.Selected}</apex:facet> |
| | | <input type="checkbox" name="checklist" value="" style="width:10px;"/> |
| | | <input type="checkbox" name="checklist" value="" style="width:15px;"/> |
| | | </apex:column> |
| | | <apex:column > |
| | | <apex:facet name="header">{!$Label.Asset_No}</apex:facet> |
| | |
| | | var trade = window.opener.j$(escapeVfId("Page:mainForm:block:CurrencyIsoCode")).val(); |
| | | j$(escapeVfId("Page:mainForm:idSearchSetProduct:Trade")).val(trade); |
| | | </script> |
| | | </apex:page> |
| | | </apex:page> |