| | |
| | | <apex:page controller="LeadIntentionController" showHeader="false" sidebar="false" id="allPage" action="{!init}"> |
| | | <head> |
| | | <title>会议询问单确认一览表</title> |
| | | |
| | | <apex:stylesheet value="{!URLFOR($Resource.blockUIcss)}"/> |
| | | <apex:includeScript value="{!URLFOR($Resource.jquery183minjs)}"/> |
| | | <apex:includeScript value="{!URLFOR($Resource.PleaseWaitDialog)}"/> |
| | | <apex:includeScript value="{!URLFOR($Resource.OpportunityPCLJs)}"/> |
| | | <head> |
| | | <title>会议询问单确认一览表</title> |
| | | <!-- 2022/02/15 张华建 dependency start --> |
| | | <apex:stylesheet value="{!URLFOR($Resource.blockUIcss)}"/> |
| | | <apex:includeScript value="{! URLFOR($Resource.AWSService, 'AWSService.js') }" /> |
| | | <apex:includeScript value="{!URLFOR($Resource.jquery183minjs)}"/> |
| | | <apex:includeScript value="{!URLFOR($Resource.PleaseWaitDialog)}"/> |
| | | <apex:includeScript value="{!URLFOR($Resource.OpportunityPCLJs)}" /> |
| | | <!-- 2022/02/15 张华建 dependency end --> |
| | | |
| | | <style> |
| | | td .dateFormat { |
| | | display: none; |
| | | } |
| | | |
| | | div.inline { float:left; } |
| | | .clearBoth { clear:both; } |
| | | div#out_Div { |
| | | position:relative; |
| | | overflow: hidden; |
| | | float:left; |
| | | width: 100px; |
| | | } |
| | | div#out_Div_L { |
| | | position:relative; |
| | | overflow: hidden; |
| | | float:left; |
| | | width: 1050px; |
| | | } |
| | | div#in_Div { |
| | | position:relative; |
| | | overflow: auto; |
| | | float:left; |
| | | width: 100px; |
| | | height: 100px; |
| | | } |
| | | div#in_Div_L { |
| | | position:relative; |
| | | overflow: hidden; |
| | | float:left; |
| | | width: 1050px; |
| | | height: 100px; |
| | | } |
| | | <style> |
| | | td .dateFormat { |
| | | display: none; |
| | | } |
| | | |
| | | body .pbBody table.list tr.headerRow td { |
| | | text-align:center;font-weight:normal; |
| | | padding:0px 0px 0px 1px; |
| | | } |
| | | body .pbBody table.list tr.headerRow td.header1 { |
| | | text-align:center;font-weight:normal; |
| | | padding:0px 0px 0px 0px; |
| | | } |
| | | body .pbBody table.list tr.dataRow td {padding:0px 0px 0px 1px; border-width: 0px 0px 1px 0px; vertical-align: middle; word-break:break-all;} |
| | | body .pbBody table.list tr.dataRow td.dataCellBorder { |
| | | /* いらない、使っていない */ |
| | | padding:0px 0px 0px 1px; border-width: 0px 0px 1px 0px; vertical-align: middle; word-break:break-all; |
| | | } |
| | | body .pbBody table.list tr.dataRow td.dataCellBorder1 { |
| | | padding:0px 0px 0px 1px; |
| | | border-width: 0px 0px 1px 1px; vertical-align: middle; word-break:break-all; |
| | | } |
| | | @-moz-document url-prefix() { |
| | | body .pbBody table.list tr.dataRow td.dataCellBorder1 {padding:0px 0px 0px 0px; border-width: 0px 0px 1px 1px; vertical-align: middle; word-break:break-all;} |
| | | } |
| | | table.list .col_Contract_NO {width:57px;} |
| | | table.list .checkbox {width:30px;text-align:center;} |
| | | table.list .col_HP_NAME { |
| | | width:120px; |
| | | } |
| | | table.list .col_PCL_NAME {width:80px;} |
| | | table.list .col_Agency1 {width:87px;} |
| | | table.list .col_SalesDepartment {width:85px;} |
| | | table.list .col_Province {width:20px;} |
| | | table.list .col_Group {width:65px;} |
| | | table.list .col_SalesIncharge {width:80px;} |
| | | table.list .col_OrderNo {width:80px;} |
| | | table.list .col_Status_1 {width:50px;} |
| | | table.list .col_Status_2 {width:80px;} |
| | | table.list .col_BookStock {width:50px;} |
| | | table.list .col_OCM {width:80px;} |
| | | table.list .col_DEPT { |
| | | /*width:auto;*/ |
| | | width:230px; |
| | | } |
| | | table.list .col_Earch { |
| | | /*width:auto;*/ |
| | | width:200px; |
| | | } |
| | | table.list .col_OpportunityCategory {width:50px;} |
| | | table.list .col_QuotationCode {width:80px;} |
| | | table.list .col_NOT_PaymentAmount {width:160px;text-align:right;} |
| | | table.list .col_UnshippedAmount_wt {width:100px;text-align:left;} |
| | | table.list .col_UnshippedAmount_bingo {width:216px;text-align:right;} |
| | | table.list .col_UnshippedAmount_bingo1 {width:216px;text-align:center;} |
| | | table.list .col_X5weeksAgo {width:80px;} |
| | | table.list .col_X4weeksAgo {width:80px;} |
| | | table.list .col_X3weeksAgo {width:80px;} |
| | | table.list .col_X2weeksAgo {width:80px;} |
| | | table.list .col_X1weeksAgo {width:80px;} |
| | | table.list .col_CurrentStatus {width:87px;} |
| | | table.list .col_OverviewStatus {width:80px;} |
| | | table.list .col_EndUserContract {width:100px;} |
| | | table.list .col_PaymentStatus {width:80px;} |
| | | table.list .col_AssignmentStatus {width:80px;} |
| | | table.list .col_DeliveryStatus {width:80px;} |
| | | table.list .col_PacialShipment {width:50px;} |
| | | table.list .col_SoLatestDeliveryDate {width:80px;} |
| | | table.list .col_FirstDeliveryDate {width:80px;} |
| | | table.list .col_CurrentShippingDate {width:80px;} |
| | | table.list .col_EndUserContractSubmitDay {width:80px;} |
| | | table.list .col_PaymentScheduledDate {width:80px;} |
| | | table.list .col_PaymentAllScheduledDate {width:80px;} |
| | | table.list .col_ShippingScheduledDate {width:80px;} |
| | | table.list .col_MonthlyForecast {width:105px;} |
| | | table.list .col_ForecastShipMonthlyMannual {width:75px;} |
| | | table.list .col_FollowUpComment {width:100px;} |
| | | table.list .col_FollowUpComment1 {width:100px;} |
| | | table.list .col_ReasonNotCollectMoney {width:200px;} |
| | | table.list .col_ReasonNotShip {width:200px;} |
| | | table.list .col_ManagerFeedback {width:200px;} |
| | | table.list .col_CreateActivity {width:80px;} |
| | | table.list .col_CreateTask {width:80px;} |
| | | table.list .col_Key_tipics {width:72px;} |
| | | table.list .col_Update_situation {width:72px;} |
| | | table.list .col_FirstApproveDate {width:72px;} |
| | | div.inline { |
| | | float: left; |
| | | } |
| | | |
| | | body .pbBody table.list tr.headerRow td.colViewing { |
| | | background-image:url('{!URLFOR($Resource.IconResizeMinus_5)}') ; |
| | | background-repeat:no-repeat; |
| | | } |
| | | body .pbBody table.list tr.headerRow td.colUnHideIcon { |
| | | background-image:url('{!URLFOR($Resource.IconResizePlus_5)}'); |
| | | background-repeat:no-repeat; |
| | | width:7px; |
| | | } |
| | | body .pbBody table.list tr.headerRow td.col_Scroll {width:0px; padding:0px; border-width:0px;} |
| | | body .pbBody table.list tr.dataRow td.col_Scroll {width:0px; padding:0px; border-width:0px;} |
| | | </style> |
| | | <script type="text/javascript"> |
| | | .clearBoth { |
| | | clear: both; |
| | | } |
| | | |
| | | var heightAjustment = 120; |
| | | var widthAjustment = 30; |
| | | var keyArray = new Array({keyOfOpp:"id_Last_update_UnshippedAmount_without_tax", keyCol:"col_UnshippedAmount_wt"} |
| | | ,{keyOfOpp:"id_Last_update_OverviewStatus", keyCol:"col_OverviewStatus"} |
| | | ,{keyOfOpp:"id_Last_update_PaymentStatus", keyCol:"col_PaymentStatus"} |
| | | ,{keyOfOpp:"id_Last_update_AssignmentStatus", keyCol:"col_AssignmentStatus"} |
| | | ,{keyOfOpp:"id_Last_update_shipping_status", keyCol:"col_DeliveryStatus"} |
| | | ,{keyOfOpp:"id_Last_update_EndUser_contract_submit_day", keyCol:"col_EndUserContractSubmitDay"} |
| | | ,{keyOfOpp:"id_Last_update_Payment_Scheduled_Date", keyCol:"col_PaymentScheduledDate"} |
| | | ,{keyOfOpp:"id_Last_update_Payment_All_Scheduled_Date", keyCol:"col_PaymentAllScheduledDate"} |
| | | ,{keyOfOpp:"id_Last_update_forecast_shipping_date", keyCol:"col_ShippingScheduledDate"} |
| | | ,{keyOfOpp:"id_Last_update_followup_situation", keyCol:"col_FollowUpComment"} |
| | | ,{keyOfOpp:"id_Last_update_Reason_not_collect_money", keyCol:"col_ReasonNotCollectMoney"} |
| | | ,{keyOfOpp:"id_Last_update_Reason_not_ship", keyCol:"col_ReasonNotShip"} |
| | | ,{keyOfOpp:"id_Last_update_manager_feedback", keyCol:"col_ManagerFeedback"} |
| | | ); |
| | | </script> |
| | | </head> |
| | | <apex:form id="allForm"> |
| | | div#out_Div { |
| | | position: relative; |
| | | overflow: hidden; |
| | | float: left; |
| | | width: 100px; |
| | | } |
| | | |
| | | div#out_Div_L { |
| | | position: relative; |
| | | overflow: hidden; |
| | | float: left; |
| | | width: 1050px; |
| | | } |
| | | |
| | | div#in_Div { |
| | | position: relative; |
| | | overflow: auto; |
| | | float: left; |
| | | width: 100px; |
| | | height: 100px; |
| | | } |
| | | |
| | | div#in_Div_L { |
| | | position: relative; |
| | | overflow: hidden; |
| | | float: left; |
| | | width: 1050px; |
| | | height: 100px; |
| | | } |
| | | |
| | | body .pbBody table.list tr.headerRow td { |
| | | text-align: center; |
| | | font-weight: normal; |
| | | padding: 0px 0px 0px 1px; |
| | | } |
| | | |
| | | body .pbBody table.list tr.headerRow td.header1 { |
| | | text-align: center; |
| | | font-weight: normal; |
| | | padding: 0px 0px 0px 0px; |
| | | } |
| | | |
| | | body .pbBody table.list tr.dataRow td { |
| | | padding: 0px 0px 0px 1px; |
| | | border-width: 0px 0px 1px 0px; |
| | | vertical-align: middle; |
| | | word-break: break-all; |
| | | } |
| | | |
| | | body .pbBody table.list tr.dataRow td.dataCellBorder { |
| | | /* いらない、使っていない */ |
| | | padding: 0px 0px 0px 1px; |
| | | border-width: 0px 0px 1px 0px; |
| | | vertical-align: middle; |
| | | word-break: break-all; |
| | | } |
| | | |
| | | body .pbBody table.list tr.dataRow td.dataCellBorder1 { |
| | | padding: 0px 0px 0px 1px; |
| | | border-width: 0px 0px 1px 1px; |
| | | vertical-align: middle; |
| | | word-break: break-all; |
| | | } |
| | | |
| | | @-moz-document url-prefix() { |
| | | body .pbBody table.list tr.dataRow td.dataCellBorder1 { |
| | | padding: 0px 0px 0px 0px; |
| | | border-width: 0px 0px 1px 1px; |
| | | vertical-align: middle; |
| | | word-break: break-all; |
| | | } |
| | | } |
| | | |
| | | table.list .col_Contract_NO { |
| | | width: 57px; |
| | | } |
| | | |
| | | table.list .checkbox { |
| | | width: 30px; |
| | | text-align: center; |
| | | } |
| | | |
| | | table.list .col_HP_NAME { |
| | | width: 120px; |
| | | } |
| | | |
| | | table.list .col_PCL_NAME { |
| | | width: 80px; |
| | | } |
| | | |
| | | table.list .col_Agency1 { |
| | | width: 87px; |
| | | } |
| | | |
| | | table.list .col_SalesDepartment { |
| | | width: 85px; |
| | | } |
| | | |
| | | table.list .col_Province { |
| | | width: 20px; |
| | | } |
| | | |
| | | table.list .col_Group { |
| | | width: 65px; |
| | | } |
| | | |
| | | table.list .col_SalesIncharge { |
| | | width: 80px; |
| | | } |
| | | |
| | | table.list .col_OrderNo { |
| | | width: 80px; |
| | | } |
| | | |
| | | table.list .col_Status_1 { |
| | | width: 50px; |
| | | } |
| | | |
| | | table.list .col_Status_2 { |
| | | width: 80px; |
| | | } |
| | | |
| | | table.list .col_BookStock { |
| | | width: 50px; |
| | | } |
| | | |
| | | table.list .col_OCM { |
| | | width: 80px; |
| | | } |
| | | |
| | | table.list .col_DEPT { |
| | | /*width:auto;*/ |
| | | width: 230px; |
| | | } |
| | | |
| | | table.list .col_Earch { |
| | | /*width:auto;*/ |
| | | width: 200px; |
| | | } |
| | | |
| | | table.list .col_OpportunityCategory { |
| | | width: 50px; |
| | | } |
| | | |
| | | table.list .col_QuotationCode { |
| | | width: 80px; |
| | | } |
| | | |
| | | table.list .col_NOT_PaymentAmount { |
| | | width: 160px; |
| | | text-align: right; |
| | | } |
| | | |
| | | table.list .col_UnshippedAmount_wt { |
| | | width: 100px; |
| | | text-align: left; |
| | | } |
| | | |
| | | table.list .col_UnshippedAmount_bingo { |
| | | width: 216px; |
| | | text-align: right; |
| | | } |
| | | |
| | | table.list .col_UnshippedAmount_bingo1 { |
| | | width: 216px; |
| | | text-align: center; |
| | | } |
| | | |
| | | table.list .col_X5weeksAgo { |
| | | width: 80px; |
| | | } |
| | | |
| | | table.list .col_X4weeksAgo { |
| | | width: 80px; |
| | | } |
| | | |
| | | table.list .col_X3weeksAgo { |
| | | width: 80px; |
| | | } |
| | | |
| | | table.list .col_X2weeksAgo { |
| | | width: 80px; |
| | | } |
| | | |
| | | table.list .col_X1weeksAgo { |
| | | width: 80px; |
| | | } |
| | | |
| | | table.list .col_CurrentStatus { |
| | | width: 87px; |
| | | } |
| | | |
| | | table.list .col_OverviewStatus { |
| | | width: 80px; |
| | | } |
| | | |
| | | table.list .col_EndUserContract { |
| | | width: 100px; |
| | | } |
| | | |
| | | table.list .col_PaymentStatus { |
| | | width: 80px; |
| | | } |
| | | |
| | | table.list .col_AssignmentStatus { |
| | | width: 80px; |
| | | } |
| | | |
| | | table.list .col_DeliveryStatus { |
| | | width: 80px; |
| | | } |
| | | |
| | | table.list .col_PacialShipment { |
| | | width: 50px; |
| | | } |
| | | |
| | | table.list .col_SoLatestDeliveryDate { |
| | | width: 80px; |
| | | } |
| | | |
| | | table.list .col_FirstDeliveryDate { |
| | | width: 80px; |
| | | } |
| | | |
| | | table.list .col_CurrentShippingDate { |
| | | width: 80px; |
| | | } |
| | | |
| | | table.list .col_EndUserContractSubmitDay { |
| | | width: 80px; |
| | | } |
| | | |
| | | table.list .col_PaymentScheduledDate { |
| | | width: 80px; |
| | | } |
| | | |
| | | table.list .col_PaymentAllScheduledDate { |
| | | width: 80px; |
| | | } |
| | | |
| | | table.list .col_ShippingScheduledDate { |
| | | width: 80px; |
| | | } |
| | | |
| | | table.list .col_MonthlyForecast { |
| | | width: 105px; |
| | | } |
| | | |
| | | table.list .col_ForecastShipMonthlyMannual { |
| | | width: 75px; |
| | | } |
| | | |
| | | table.list .col_FollowUpComment { |
| | | width: 100px; |
| | | } |
| | | |
| | | table.list .col_FollowUpComment1 { |
| | | width: 100px; |
| | | } |
| | | |
| | | table.list .col_ReasonNotCollectMoney { |
| | | width: 200px; |
| | | } |
| | | |
| | | table.list .col_ReasonNotShip { |
| | | width: 200px; |
| | | } |
| | | |
| | | table.list .col_ManagerFeedback { |
| | | width: 200px; |
| | | } |
| | | |
| | | table.list .col_CreateActivity { |
| | | width: 80px; |
| | | } |
| | | |
| | | table.list .col_CreateTask { |
| | | width: 80px; |
| | | } |
| | | |
| | | table.list .col_Key_tipics { |
| | | width: 72px; |
| | | } |
| | | |
| | | table.list .col_Update_situation { |
| | | width: 72px; |
| | | } |
| | | |
| | | table.list .col_FirstApproveDate { |
| | | width: 72px; |
| | | } |
| | | |
| | | body .pbBody table.list tr.headerRow td.colViewing { |
| | | background-image:url('{!URLFOR($Resource.IconResizeMinus_5)}'); |
| | | background-repeat: no-repeat; |
| | | } |
| | | |
| | | body .pbBody table.list tr.headerRow td.colUnHideIcon { |
| | | background-image:url('{!URLFOR($Resource.IconResizePlus_5)}'); |
| | | background-repeat: no-repeat; |
| | | width: 7px; |
| | | } |
| | | |
| | | body .pbBody table.list tr.headerRow td.col_Scroll { |
| | | width: 0px; |
| | | padding: 0px; |
| | | border-width: 0px; |
| | | } |
| | | |
| | | body .pbBody table.list tr.dataRow td.col_Scroll { |
| | | width: 0px; |
| | | padding: 0px; |
| | | border-width: 0px; |
| | | } |
| | | </style> |
| | | |
| | | <script type="text/javascript"> |
| | | //2022 02 25 张华建 display PI Data start |
| | | var staticResource = JSON.parse('{!staticResource}'); |
| | | var awsDataIds = JSON.parse('{!awsDataIds}'); |
| | | var contact = {}; |
| | | queryPIData(); |
| | | |
| | | function queryPIData(){ |
| | | blockme(); |
| | | let searchCallBack = function searchCallBack(result){ |
| | | console.log('result = ' + JSON.stringify(result)) |
| | | let contacts = result.object; |
| | | if(contacts == null){ |
| | | return; |
| | | } |
| | | let temp = {} |
| | | temp.email = contacts.email; |
| | | temp.phone = contacts.phone; |
| | | if(contacts.lastName!=null){ |
| | | temp.lastName = contacts.lastName; |
| | | }else{ |
| | | temp.lastName = ''; |
| | | } |
| | | contact[contacts.dataId] = temp; |
| | | }; |
| | | for(var i = 0;i < awsDataIds.length;i++){ |
| | | AWSService.query(staticResource.queryUrl,awsDataIds[i],searchCallBack,staticResource.token); |
| | | } |
| | | unblockUI(); |
| | | } |
| | | |
| | | function showPIDiv(awsDataId){ |
| | | console.log('awsDataId Value:'+awsDataId); |
| | | let parentNode = document.getElementById(awsDataId); |
| | | let createDiv = document.createElement("div"); |
| | | createDiv.id = awsDataId+"_PI"; |
| | | let piInformation = 'eamil:'+contact[awsDataId].email +'\n' +'Phone:'+contact[awsDataId].phone+'\n' +'Name:'+contact[awsDataId].lastName |
| | | //let piInformation = 'Name:'+contact['943114607025717249'].lastName +'\n' +'Phone:'+contact['943114607025717249'].phone |
| | | createDiv.innerText = piInformation; |
| | | let x=window.event.x; |
| | | let y=window.event.y; |
| | | createDiv.style.left=x; |
| | | createDiv.style.top=y; |
| | | createDiv.style.background="#dddddd"; |
| | | createDiv.style.position = "absolute"; |
| | | parentNode.appendChild(createDiv); |
| | | } |
| | | |
| | | function hidePIDiv(awsDataId){ |
| | | document.getElementById(awsDataId+'_PI').remove(); |
| | | } |
| | | //2022 02 25 张华建 display PI Data end |
| | | |
| | | var heightAjustment = 120; |
| | | var widthAjustment = 30; |
| | | var keyArray = new Array({ keyOfOpp: "id_Last_update_UnshippedAmount_without_tax", keyCol: "col_UnshippedAmount_wt" } |
| | | , { keyOfOpp: "id_Last_update_OverviewStatus", keyCol: "col_OverviewStatus" } |
| | | , { keyOfOpp: "id_Last_update_PaymentStatus", keyCol: "col_PaymentStatus" } |
| | | , { keyOfOpp: "id_Last_update_AssignmentStatus", keyCol: "col_AssignmentStatus" } |
| | | , { keyOfOpp: "id_Last_update_shipping_status", keyCol: "col_DeliveryStatus" } |
| | | , { keyOfOpp: "id_Last_update_EndUser_contract_submit_day", keyCol: "col_EndUserContractSubmitDay" } |
| | | , { keyOfOpp: "id_Last_update_Payment_Scheduled_Date", keyCol: "col_PaymentScheduledDate" } |
| | | , { keyOfOpp: "id_Last_update_Payment_All_Scheduled_Date", keyCol: "col_PaymentAllScheduledDate" } |
| | | , { keyOfOpp: "id_Last_update_forecast_shipping_date", keyCol: "col_ShippingScheduledDate" } |
| | | , { keyOfOpp: "id_Last_update_followup_situation", keyCol: "col_FollowUpComment" } |
| | | , { keyOfOpp: "id_Last_update_Reason_not_collect_money", keyCol: "col_ReasonNotCollectMoney" } |
| | | , { keyOfOpp: "id_Last_update_Reason_not_ship", keyCol: "col_ReasonNotShip" } |
| | | , { keyOfOpp: "id_Last_update_manager_feedback", keyCol: "col_ManagerFeedback" } |
| | | ); |
| | | </script> |
| | | </head> |
| | | <apex:form id="allForm"> |
| | | |
| | | <!-- <apex:actionFunction name="saveAndSearch" action="{!save}" rerender="allPanel" oncomplete="unblockUI();"> |
| | | <apex:param name="firstParam" assignTo="{!saveType}" value="" /> |
| | | </apex:actionFunction> --> |
| | |
| | | <apex:param name="thirdParam" assignTo="{!opp_ID}" value="" /> |
| | | </apex:actionFunction> |
| | | <apex:actionFunction name="saveInquiryOpts" action="{!saveInquiryOpts}" rerender="allPanel" oncomplete="unblockUI();"> |
| | | <apex:param name="firstParam" assignTo="{!saveType}" value="" /> |
| | | <apex:param name="secondParam" assignTo="{!batchReason}" value="" /> |
| | | <apex:param name="firstParam" assignTo="{!saveType}" value="" /> |
| | | <apex:param name="secondParam" assignTo="{!batchReason}" value="" /> |
| | | </apex:actionFunction> |
| | | <!-- <apex:actionFunction name="saveAndSort" action="{!save}" rerender="allPanel" oncomplete="unblockUI();"> |
| | | <apex:param name="firstParam" assignTo="{!saveType}" value="" /> |
| | |
| | | <apex:actionFunction name="sortTable" action="{!sortTable}" rerender="allPanel" oncomplete="unblockUI();"> |
| | | <apex:param name="firstParam" assignTo="{!sortKey}" value="" /> |
| | | </apex:actionFunction> |
| | | |
| | | |
| | | <apex:outputPanel id="allPanel"> |
| | | <apex:pageBlock id="searchBlock" tabStyle="Report"> |
| | | <table style="border-bottom-width: 0px; font-size:12px;"> |
| | | <tr> |
| | | <td width="150px"> |
| | | <!-- <apex:commandButton action="{!save}" value="保存" rerender="allPanel" onclick="blockme();" oncomplete="unblockUI();" style="height:30px;width:50px;"/> --> |
| | | <!-- <apex:commandButton action="{!save}" value="保存" rerender="allPanel" onclick="blockme();" oncomplete="unblockUI();" style="height:30px;width:50px;"/> --> |
| | | <apex:commandButton value="检索" onclick="searchOppJs();return false;" style="height:30px;width:70px;"/> |
| | | </td> |
| | | <td width="1000px"> |
| | |
| | | </table> |
| | | <table style="border-bottom-width: 0px; font-size:12px;"> |
| | | <tr> |
| | | <td width="250px">科室 <apex:inputText value="{!accSearch}" style="width:150px"/> </td> |
| | | <td width="250px">科室 |
| | | <apex:inputText value="{!accSearch}" style="width:150px" /> </td> |
| | | <td width="75px">询问单名称 </td> |
| | | <td width="150px"><span><apex:inputText value="{!ownerSearch}" style="width:100px;" /></span></td> |
| | | <td width="150px"> |
| | | <span> |
| | | <apex:inputText value="{!ownerSearch}" style="width:100px;" /> |
| | | </span> |
| | | </td> |
| | | <td width="10px"></td> |
| | | <td width="10px"></td> |
| | | <td>显示 <apex:selectList id="limitNo" value="{!limits}" size="1" onchange="searchOppJs();return false;"><apex:selectOptions value="{!limitOpts}"/></apex:selectList> 条数据</td> |
| | | <td>显示 |
| | | <apex:selectList id="limitNo" value="{!limits}" size="1" onchange="searchOppJs();return false;"> |
| | | <apex:selectOptions value="{!limitOpts}" /></apex:selectList> 条数据</td> |
| | | <td width="10px"></td> |
| | | <!-- 先隐藏批量功能 --> |
| | | <!-- <td>原因选项 <apex:selectList id="reasons" value="{!reasons}" size="1" onclick="setCheckValue();" ><apex:selectOptions value="{!reasonOpts}" /></apex:selectList> </td> |
| | |
| | | <tr> |
| | | <td width="400px"> |
| | | <font>数据字段</font> |
| | | <apex:selectList value="{!text}" size="1" style="width:110px"><apex:selectOptions value="{!textOpts}"/></apex:selectList> |
| | | <apex:selectList value="{!condition}" size="1"><apex:selectOptions value="{!equalOpts}"/></apex:selectList> |
| | | <apex:inputText value="{!value}" style="width:100px"/> |
| | | <apex:selectList value="{!text}" size="1" style="width:110px"> |
| | | <apex:selectOptions value="{!textOpts}" /></apex:selectList> |
| | | <apex:selectList value="{!condition}" size="1"> |
| | | <apex:selectOptions value="{!equalOpts}" /></apex:selectList> |
| | | <apex:inputText value="{!value}" style="width:100px" /> |
| | | </td> |
| | | <td width="10px"></td> |
| | | <td width="400px"> |
| | | <font>AND </font> |
| | | <apex:selectList value="{!text2}" size="1" style="width:110px"><apex:selectOptions value="{!textOpts2}"/></apex:selectList> |
| | | <apex:selectList value="{!condition2}" size="1"><apex:selectOptions value="{!equalOpts2}"/></apex:selectList> |
| | | <apex:inputText value="{!value2}" style="width:100px"/> |
| | | <apex:selectList value="{!text2}" size="1" style="width:110px"> |
| | | <apex:selectOptions value="{!textOpts2}" /></apex:selectList> |
| | | <apex:selectList value="{!condition2}" size="1"> |
| | | <apex:selectOptions value="{!equalOpts2}" /></apex:selectList> |
| | | <apex:inputText value="{!value2}" style="width:100px" /> |
| | | </td> |
| | | <td width="10px"></td> |
| | | <td width="400px"> |
| | | <font>AND </font> |
| | | <apex:selectList value="{!text3}" size="1" style="width:110px"><apex:selectOptions value="{!textOpts3}"/></apex:selectList> |
| | | <apex:selectList value="{!condition3}" size="1"><apex:selectOptions value="{!equalOpts3}"/></apex:selectList> |
| | | <apex:inputText value="{!value3}" style="width:100px"/> |
| | | <apex:selectList value="{!text3}" size="1" style="width:110px"> |
| | | <apex:selectOptions value="{!textOpts3}" /></apex:selectList> |
| | | <apex:selectList value="{!condition3}" size="1"> |
| | | <apex:selectOptions value="{!equalOpts3}" /></apex:selectList> |
| | | <apex:inputText value="{!value3}" style="width:100px" /> |
| | | </td> |
| | | <td></td> |
| | | </tr> |
| | | </table> |
| | | </apex:pageBlock> |
| | | |
| | | |
| | | <apex:pageBlock id="oppBlock" tabStyle="Report"> |
| | | <apex:outputPanel > |
| | | <apex:inputHidden id="oppCount" value="{!pclCount}"/> |
| | | <apex:inputHidden id="oppCount" value="{!pclCount}" /> |
| | | <div id="out_Div_L"> |
| | | <table class="list" style="border-bottom-width: 0px; font-size:11px; border-spacing:0;" border="" id="tableHeader_L"> |
| | | <tr class="headerRow" height="30px"> |
| | | <td class="checkbox"> |
| | | <input type="checkbox" id="chk" onchange="updateCheckBox();" /> |
| | | <td class="checkbox"> |
| | | <input type="checkbox" id="chk" onchange="updateCheckBox();" /> |
| | | </td> |
| | | <td class="col_Contract_NO"> |
| | | <a href="#" onclick="sortTableJs('22');return false;" style="text-decoration: underline;">询问单名称</a>{!sortOrder[22]} |
| | |
| | | <td class="col_UnshippedAmount_wt"> |
| | | 产品信息 |
| | | </td> |
| | | |
| | | |
| | | <td class="col_EndUserContract"> |
| | | 委托事项 |
| | | </td> |
| | |
| | | <div id="out_Div"> |
| | | <table class="list" style="border-bottom-width: 0px; font-size:11px; border-spacing:0;width:707px;" border="" id="tableHeader"> |
| | | <tr class="headerRow" height="30px"> |
| | | <td class="col_NOT_PaymentAmount"> |
| | | <td class="col_NOT_PaymentAmount"> |
| | | <a href="#" onclick="sortTableJs('13');return false;" style="text-decoration: underline;">主要学会</a>{!sortOrder[13]} |
| | | </td> |
| | | <td class="col_DeliveryStatus"> |
| | |
| | | <a href="#" onclick="sortTableJs('15');return false;" style="text-decoration: underline;">委托事项详细</a>{!sortOrder[15]} |
| | | </td> |
| | | <td id="cell_Scroll" class="col_Scroll"></td> |
| | | |
| | | |
| | | |
| | | |
| | | </tr> |
| | | </table> |
| | | </div> |
| | | </div> |
| | | <div style="clear:both;height:0px;"></div> |
| | | <div id="in_Div_L"> |
| | | <table class="list" style="border-bottom-width: 0px; font-size:11px; border-spacing:0;" border="" id="tableData_L"> |
| | | <apex:variable value="{!1}" var="cnt" /> |
| | | <apex:repeat value="{!pclInfos}" var="or" id="oppTable_L"> |
| | | <tr class="dataRow {!IF(MOD(cnt, 2)==0, 'odd', 'even')} {!IF(cnt==1, 'first', '')}" onmouseover="if (window.hiOn){hiOn(this);} " onmouseout="if (window.hiOff){hiOff(this);} " onblur="if (window.hiOff){hiOff(this);}" onfocus="if (window.hiOn){hiOn(this);}"> |
| | | <td class="dataCellBorder1 checkbox"> |
| | | <input type="checkbox" id="{!or.chk}" onchange="editCheckBox();"/> |
| | | </td> |
| | | <td class="dataCellBorder1 col_Contract_NO"> |
| | | <a href="https://ocsm.my.salesforce.com//{!or.rec.Id}"><apex:outputField id="Name" value="{!or.rec.Name}" /></a> |
| | | <apex:inputHidden id="Id" value="{!or.rec.Id}"/> |
| | | <apex:inputHidden id="Hospital_Name__c" value="{!or.rec.Hospital_Name__r.Name}"/> |
| | | <apex:inputHidden id="Hospital_ID__c" value="{!or.rec.Hospital_ID__c}"/> |
| | | <apex:inputHidden id="Contact_Id" value="{!or.rec.Contact_Id__c}"/> |
| | | <tr class="dataRow {!IF(MOD(cnt, 2)==0, 'odd', 'even')} {!IF(cnt==1, 'first', '')}" onmouseover="if (window.hiOn){hiOn(this);} " |
| | | onmouseout="if (window.hiOff){hiOff(this);} " onblur="if (window.hiOff){hiOff(this);}" onfocus="if (window.hiOn){hiOn(this);}"> |
| | | <td class="dataCellBorder1 checkbox"> |
| | | <input type="checkbox" id="{!or.chk}" onchange="editCheckBox();" /> |
| | | </td> |
| | | |
| | | <td class="dataCellBorder1 col_Contract_NO" id="{!or.rec.AWS_Data_Id__c}" onmouseover="showPIDiv('{!or.rec.AWS_Data_Id__c}')" onmouseout="hidePIDiv('{!or.rec.AWS_Data_Id__c}')"> |
| | | <a href="https://ocsm.my.salesforce.com//{!or.rec.Id}"> |
| | | <apex:outputField id="Name" value="{!or.rec.Name}" /> |
| | | </a> |
| | | <apex:inputHidden id="Id" value="{!or.rec.Id}" /> |
| | | <apex:inputHidden id="Hospital_Name__c" value="{!or.rec.Hospital_Name__r.Name}" /> |
| | | <apex:inputHidden id="Hospital_ID__c" value="{!or.rec.Hospital_ID__c}" /> |
| | | <apex:inputHidden id="Contact_Id" value="{!or.rec.Contact_Id__c}" /> |
| | | </td> |
| | | |
| | | |
| | | <td class="dataCellBorder1 col_DEPT"> |
| | | <apex:outputField id="Department_Class__c" value="{!or.rec.Department_Class__c}"/> |
| | | <apex:inputHidden id="Department_ID__c" value="{!or.rec.Department_ID__c}"/> |
| | | </td> |
| | | <td class="dataCellBorder1 col_CurrentStatus"> |
| | | <apex:outputField id="Status__c" style="text-align:center;" value="{!or.rec.Status__c}"/> |
| | | <apex:outputField id="Department_Class__c" value="{!or.rec.Department_Class__c}" /> |
| | | <apex:inputHidden id="Department_ID__c" value="{!or.rec.Department_ID__c}" /> |
| | | </td> |
| | | <td class="dataCellBorder1 col_UnshippedAmount_wt" id="{!cnt-1}:col_UnshippedAmount_wt" > |
| | | <td class="dataCellBorder1 col_CurrentStatus"> |
| | | <apex:outputField id="Status__c" style="text-align:center;" value="{!or.rec.Status__c}" /> |
| | | </td> |
| | | <td class="dataCellBorder1 col_UnshippedAmount_wt" id="{!cnt-1}:col_UnshippedAmount_wt"> |
| | | <apex:outputField value="{!or.rec.Product1__c}" id="company" /> |
| | | </td> |
| | | <td class="dataCellBorder1 col_EndUserContract"> |
| | | <apex:outputField id="Request1__c" value="{!or.rec.Request1__c}"/> |
| | | </td> |
| | | <td class="dataCellBorder1 col_Earch" > |
| | | <apex:inputField id="Opp_Name_Search__c" value="{!or.rec.Opp_Name_Search__c}"/> |
| | | <apex:inputHidden id="Opp_Name_Search_ID__c" value="{!or.rec.Opp_Name_Search_ID__c}"/> |
| | | <apex:outputField id="Request1__c" value="{!or.rec.Request1__c}" /> |
| | | </td> |
| | | <td class="dataCellBorder1 col_Earch"> |
| | | <apex:inputField id="Opp_Name_Search__c" value="{!or.rec.Opp_Name_Search__c}" /> |
| | | <apex:inputHidden id="Opp_Name_Search_ID__c" value="{!or.rec.Opp_Name_Search_ID__c}" /> |
| | | </td> |
| | | <td class="dataCellBorder1 col_UnshippedAmount_bingo1"> |
| | | <span> |
| | | <apex:commandButton value="需要" style="width: 40px;" onclick="openEdit('{!or.lineNo}');return false;" /> |
| | | </span> |
| | | <span> |
| | | <apex:commandButton value="不需要" style="width: 50px;" onclick="updateStatus('{!or.rec.Id}','{!or.lineNo}');return false;" /> |
| | | </span> |
| | | <span> |
| | | |
| | | <apex:inputField id="Reasons_options__c" value="{!or.rec.Reasons_options__c}" style="width: 90px;" onchange="setreasonFlg('{!or.lineNo}')" /> |
| | | </span> |
| | | |
| | | </td> |
| | | <span> |
| | | <apex:commandButton value="需要" style="width: 40px;" onclick="openEdit('{!or.lineNo}');return false;" /> |
| | | </span> |
| | | <span> |
| | | <apex:commandButton value="不需要" style="width: 50px;" onclick="updateStatus('{!or.rec.Id}','{!or.lineNo}');return false;" |
| | | /> |
| | | </span> |
| | | <span> |
| | | |
| | | <apex:inputField id="Reasons_options__c" value="{!or.rec.Reasons_options__c}" style="width: 90px;" onchange="setreasonFlg('{!or.lineNo}')" |
| | | /> |
| | | </span> |
| | | |
| | | </td> |
| | | </tr> |
| | | <apex:variable value="{!cnt + 1}" var="cnt" /> |
| | | </apex:repeat> |
| | |
| | | <table class="list" style="border-bottom-width: 0px; font-size:11px; border-spacing:0;width:707px;" border="" id="tableData"> |
| | | <apex:variable value="{!1}" var="cnt" /> |
| | | <apex:repeat value="{!pclInfos}" var="or" id="oppTable"> |
| | | <tr class="dataRow {!IF(MOD(cnt, 2)==0, 'odd', 'even')} {!IF(cnt==1, 'first', '')}" onmouseover="if (window.hiOn){hiOn(this);} " onmouseout="if (window.hiOff){hiOff(this);} " onblur="if (window.hiOff){hiOff(this);}" onfocus="if (window.hiOn){hiOn(this);}"> |
| | | |
| | | <tr class="dataRow {!IF(MOD(cnt, 2)==0, 'odd', 'even')} {!IF(cnt==1, 'first', '')}" onmouseover="if (window.hiOn){hiOn(this);} " |
| | | onmouseout="if (window.hiOff){hiOff(this);} " onblur="if (window.hiOff){hiOff(this);}" onfocus="if (window.hiOn){hiOn(this);}"> |
| | | |
| | | <td class="dataCellBorder1 col_NOT_PaymentAmount"> |
| | | <apex:outputField id="Campaign__c" value="{!or.rec.Campaign__c}" style="width:90%;"/> |
| | | <apex:inputHidden id="Campaign_ID__c" value="{!or.rec.Campaign_ID__c}"/> |
| | | <apex:outputField id="Campaign__c" value="{!or.rec.Campaign__c}" style="width:90%;" /> |
| | | <apex:inputHidden id="Campaign_ID__c" value="{!or.rec.Campaign_ID__c}" /> |
| | | |
| | | </td> |
| | | <!-- <td class="dataCellBorder1 col_Name"> |
| | | <apex:outputField id="Name" value="{!or.rec.Name}" style="width:90%;"/> |
| | | </td> --> |
| | | <td class="dataCellBorder1 col_DeliveryStatus"> |
| | | <apex:outputField id="Family_Name__c" value="{!or.rec.Family_Name__c}"/> |
| | | <apex:outputField id="Last_Name__c" value="{!or.rec.Last_Name__c}"/> |
| | | <!-- <apex:outputField id="Family_Name__c" value="{!or.rec.Family_Name__c}" /> --> |
| | | <apex:outputField id="Last_Name__c" value="{!or.rec.Last_Name__c}" /> |
| | | </td> |
| | | <!-- <td class="dataCellBorder1 col_DeliveryStatus"> |
| | | <apex:outputField id="Phone__c" value="{!or.rec.Phone__c}"/> |
| | | </td> --> |
| | | <td class="dataCellBorder1 col_SoLatestDeliveryDate"> |
| | | <apex:outputField id="Phone__c" value="{!or.rec.Phone__c}" style="width:90%;"/> |
| | | <apex:outputField id="Phone__c" value="{!or.rec.Phone__c}" style="width:90%;" /> |
| | | </td> |
| | | <td class="dataCellBorder1 col_ShippingScheduledDate" style="padding:0;"> |
| | | <apex:outputField value="{!or.rec.Email__c}" id="Email__c" style="width:90%;"/> |
| | | <td class="dataCellBorder1 col_ShippingScheduledDate" style="padding:0;"> |
| | | <apex:outputField value="{!or.rec.Email__c}" id="Email__c" style="width:90%;" /> |
| | | </td> |
| | | <td class="dataCellBorder1 col_Agency1"> |
| | | <apex:outputField id="Cancel_Reason__c" value="{!or.rec.Cancel_Reason__c}" style="width:90%;"/> |
| | | <apex:outputField id="Cancel_Reason__c" value="{!or.rec.Cancel_Reason__c}" style="width:90%;" /> |
| | | </td> |
| | | |
| | | |
| | | <td class="dataCellBorder1 col_CreateActivity"> |
| | | <apex:outputField id="Opportunity_Division__c" value="{!or.rec.Opportunity_Division__c}" /> |
| | | </td> |
| | | </td> |
| | | |
| | | <td class="dataCellBorder1 col_Province"> |
| | | <apex:outputField value="{!or.rec.Urgent__c}" id="Urgent__c" /> |
| | | </td> |
| | | |
| | | |
| | | |
| | | |
| | | <td class="dataCellBorder1 col_MonthlyForecast" id="{!cnt-1}:col_MonthlyForecast" style="padding:0;"> |
| | | <apex:outputField value="{!or.rec.Request_Detail__c}" id="Request_Detail__c" /> |
| | | <apex:inputHidden id="Inquiry_No__c" value="{!or.rec.Inquiry_No__c}"/> |
| | | <apex:inputHidden id="LeadSource__c" value="{!or.rec.LeadSource__c}"/> |
| | | <!-- <apex:inputHidden id="Name" value="{!or.rec.Name}"/> --> |
| | | <apex:inputHidden id="Id" value="{!or.rec.Id}"/> |
| | | <apex:inputHidden id="Inquiry_No__c" value="{!or.rec.Inquiry_No__c}" /> |
| | | <apex:inputHidden id="LeadSource__c" value="{!or.rec.LeadSource__c}" /> |
| | | <!-- <apex:inputHidden id="Name" value="{!or.rec.Name}"/> --> |
| | | <apex:inputHidden id="Id" value="{!or.rec.Id}" /> |
| | | </td> |
| | | <td id="cell_Scroll" class="col_Scroll"> |
| | | <apex:inputHidden value="{!or.changeFlg}" id="changeFlg"/> |
| | | <apex:inputHidden value="{!or.reasonFlg}" id="reasonFlg"/> |
| | | <script type="text/javascript"> |
| | | //将询问单上的值带到 新建意向页面上 |
| | | function openEdit(line) { |
| | | |
| | | //医院名 |
| | | var HospitalName = j$(escapeVfId('allPage:allForm:oppBlock:oppTable_L:'+ (line) + ':Hospital_Name__c')).value(); |
| | | <apex:inputHidden value="{!or.changeFlg}" id="changeFlg" /> |
| | | <apex:inputHidden value="{!or.reasonFlg}" id="reasonFlg" /> |
| | | <script type="text/javascript"> |
| | | //将询问单上的值带到 新建意向页面上 |
| | | function openEdit(line) { |
| | | |
| | | var HospitalId = j$(escapeVfId('allPage:allForm:oppBlock:oppTable_L:'+ (line) + ':Hospital_ID__c')).value(); |
| | | //战略科室分类 |
| | | var DepartmentClass = j$(escapeVfId('allPage:allForm:oppBlock:oppTable_L:'+ (line) + ':Department_Class__c')).text(); |
| | | //医院名 |
| | | var HospitalName = j$(escapeVfId('allPage:allForm:oppBlock:oppTable_L:' + (line) + ':Hospital_Name__c')).value(); |
| | | |
| | | var DepartmentID = j$(escapeVfId('allPage:allForm:oppBlock:oppTable_L:'+ (line) + ':Department_ID__c')).value(); |
| | | var HospitalId = j$(escapeVfId('allPage:allForm:oppBlock:oppTable_L:' + (line) + ':Hospital_ID__c')).value(); |
| | | //战略科室分类 |
| | | var DepartmentClass = j$(escapeVfId('allPage:allForm:oppBlock:oppTable_L:' + (line) + ':Department_Class__c')).text(); |
| | | |
| | | //已有询价名称 |
| | | var OppNameSearch = j$(escapeVfId('allPage:allForm:oppBlock:oppTable_L:'+ (line) + ':Opp_Name_Search__c')).text(); |
| | | var DepartmentID = j$(escapeVfId('allPage:allForm:oppBlock:oppTable_L:' + (line) + ':Department_ID__c')).value(); |
| | | |
| | | var OppNameSearchID = j$(escapeVfId('allPage:allForm:oppBlock:oppTable_L:'+ (line) + ':Opp_Name_Search_ID__c')).value(); |
| | | //已有询价名称 |
| | | var OppNameSearch = j$(escapeVfId('allPage:allForm:oppBlock:oppTable_L:' + (line) + ':Opp_Name_Search__c')).text(); |
| | | |
| | | //主要学会 |
| | | var Campaign = j$(escapeVfId('allPage:allForm:oppBlock:oppTable:'+ (line) + ':Campaign__c')).text(); |
| | | var OppNameSearchID = j$(escapeVfId('allPage:allForm:oppBlock:oppTable_L:' + (line) + ':Opp_Name_Search_ID__c')).value(); |
| | | |
| | | var CampaignId = j$(escapeVfId('allPage:allForm:oppBlock:oppTable:'+ (line) + ':Campaign_ID__c')).value(); |
| | | //询问单名称 |
| | | var Name = j$(escapeVfId('allPage:allForm:oppBlock:oppTable_L:'+ (line) + ':Name')).value(); |
| | | //主要学会 |
| | | var Campaign = j$(escapeVfId('allPage:allForm:oppBlock:oppTable:' + (line) + ':Campaign__c')).text(); |
| | | |
| | | var Id = j$(escapeVfId('allPage:allForm:oppBlock:oppTable_L:'+ (line) + ':Id')).value(); |
| | | |
| | | //客户姓名 |
| | | var contactName = Name; |
| | | var contactId = j$(escapeVfId('allPage:allForm:oppBlock:oppTable_L:'+ (line) + ':Contact_Id')).value(); |
| | | var CampaignId = j$(escapeVfId('allPage:allForm:oppBlock:oppTable:' + (line) + ':Campaign_ID__c')).value(); |
| | | //询问单名称 |
| | | var Name = j$(escapeVfId('allPage:allForm:oppBlock:oppTable_L:' + (line) + ':Name')).value(); |
| | | |
| | | // //询问单编码 |
| | | // var InquiryNo = j$(escapeVfId('allPage:allForm:oppBlock:oppTable:'+ (line) + ':Inquiry_No__c')).value(); |
| | | //取消文本 |
| | | var CancelReason =j$(escapeVfId('allPage:allForm:oppBlock:oppTable:'+ (line) + ':Cancel_Reason__c')).text(); |
| | | var Id = j$(escapeVfId('allPage:allForm:oppBlock:oppTable_L:' + (line) + ':Id')).value(); |
| | | |
| | | //委托事项详细 |
| | | var RequestDetail =j$(escapeVfId('allPage:allForm:oppBlock:oppTable:'+ (line) + ':Request_Detail__c')).text(); |
| | | //客户姓名 |
| | | var contactName = Name; |
| | | var contactId = j$(escapeVfId('allPage:allForm:oppBlock:oppTable_L:' + (line) + ':Contact_Id')).value(); |
| | | |
| | | //询问单状态 |
| | | var Status = j$(escapeVfId('allPage:allForm:oppBlock:oppTable_L:'+ (line) + ':Status__c')).text(); |
| | | //公司 |
| | | var company = HospitalName; |
| | | // //询问单编码 |
| | | // var InquiryNo = j$(escapeVfId('allPage:allForm:oppBlock:oppTable:'+ (line) + ':Inquiry_No__c')).value(); |
| | | //取消文本 |
| | | var CancelReason = j$(escapeVfId('allPage:allForm:oppBlock:oppTable:' + (line) + ':Cancel_Reason__c')).text(); |
| | | |
| | | //电话 |
| | | var Phone =j$(escapeVfId('allPage:allForm:oppBlock:oppTable:'+ (line) + ':Phone__c')).value(); |
| | | //邮件 |
| | | var Email =j$(escapeVfId('allPage:allForm:oppBlock:oppTable:'+ (line) + ':Email__c')).value(); |
| | | //姓 |
| | | var FamilyName=j$(escapeVfId('allPage:allForm:oppBlock:oppTable:'+ (line) + ':Family_Name__c')).text(); |
| | | //名 |
| | | var LastName =j$(escapeVfId('allPage:allForm:oppBlock:oppTable:'+ (line) + ':Last_Name__c')).text(); |
| | | //询问单来源 |
| | | var LeadSource =j$(escapeVfId('allPage:allForm:oppBlock:oppTable:'+ (line) + ':LeadSource__c')).value(); |
| | | //意向区分 |
| | | var OpportunityDivision =j$(escapeVfId('allPage:allForm:oppBlock:oppTable:'+ (line) + ':Opportunity_Division__c')).text(); |
| | | //委托事项 |
| | | var Request =j$(escapeVfId('allPage:allForm:oppBlock:oppTable_L:'+ (line) + ':Request1__c')).text(); |
| | | //委托事项详细 |
| | | var RequestDetail = j$(escapeVfId('allPage:allForm:oppBlock:oppTable:' + (line) + ':Request_Detail__c')).text(); |
| | | |
| | | //紧急 |
| | | var Urgent =''; |
| | | var title2 =j$(escapeVfId('allPage:allForm:oppBlock:oppTable:'+ (line) + ':Urgent__c')).find('img').attr("title"); |
| | | if(title2 =='选取的'){ |
| | | Urgent = '1'; |
| | | }else{ |
| | | Urgent = '0'; |
| | | } |
| | | //询问单状态 |
| | | var Status = j$(escapeVfId('allPage:allForm:oppBlock:oppTable_L:' + (line) + ':Status__c')).text(); |
| | | //公司 |
| | | var company = HospitalName; |
| | | |
| | | // var Urgent =j$(escapeVfId('allPage:allForm:oppBlock:oppTable:'+ (line) + ':Urgent__c')).value(); |
| | | //JZ-20191015 会议询问单确认一览表点击需要带值到新建意向页面 |
| | | //电话 |
| | | var Phone = j$(escapeVfId('allPage:allForm:oppBlock:oppTable:' + (line) + ':Phone__c')).value(); |
| | | //邮件 |
| | | var Email = j$(escapeVfId('allPage:allForm:oppBlock:oppTable:' + (line) + ':Email__c')).value(); |
| | | //姓 |
| | | var FamilyName = j$(escapeVfId('allPage:allForm:oppBlock:oppTable:' + (line) + ':Family_Name__c')).text(); |
| | | //名 |
| | | var LastName = j$(escapeVfId('allPage:allForm:oppBlock:oppTable:' + (line) + ':Last_Name__c')).text(); |
| | | //询问单来源 |
| | | var LeadSource = j$(escapeVfId('allPage:allForm:oppBlock:oppTable:' + (line) + ':LeadSource__c')).value(); |
| | | //意向区分 |
| | | var OpportunityDivision = j$(escapeVfId('allPage:allForm:oppBlock:oppTable:' + (line) + ':Opportunity_Division__c')).text(); |
| | | //委托事项 |
| | | var Request = j$(escapeVfId('allPage:allForm:oppBlock:oppTable_L:' + (line) + ':Request1__c')).text(); |
| | | |
| | | var urlStr = '/00Q/e?RecordType=01210000000QiRa&ent=Lead'+ |
| | | '&CF00N10000006ps6f='+encodeURI(contactName)+ |
| | | '&CF00N10000006ps6f_lkid='+encodeURI(contactId)+ |
| | | '&CF00N10000002CvC5='+encodeURI(HospitalName)+ |
| | | '&CF00N10000002CvC5_lkid='+encodeURI(HospitalId)+ |
| | | '&CF00N10000006qNtt='+encodeURI(DepartmentClass)+ |
| | | '&CF00N10000006qNtt_lkid='+encodeURI(DepartmentID)+ |
| | | '&CF00N10000006qNty='+encodeURI(OppNameSearch)+ |
| | | '&CF00N10000006qNty_lkid='+encodeURI(OppNameSearchID)+ |
| | | '&CF00N10000004oN28='+encodeURI(Campaign)+ |
| | | '&CF00N10000004oN28_lkid='+encodeURI(CampaignId)+ |
| | | '&CF00N1000000962np='+encodeURI(Name)+ |
| | | '&CF00N1000000962np_lkid='+encodeURI(Id)+ |
| | | '&00N10000006qBYk='+encodeURI(CancelReason)+ |
| | | '&00N10000002CvBM='+encodeURI(RequestDetail)+ |
| | | '&lea13='+encodeURI(Status)+ |
| | | '&lea3='+encodeURI(company)+ |
| | | '&lea8='+encodeURI(Phone.trim())+ |
| | | '&lea11='+encodeURI(Email.trim())+ |
| | | '&name_lastlea2='+encodeURI(FamilyName)+ |
| | | '&name_firstlea2='+encodeURI(LastName)+ |
| | | '&lea5='+encodeURI(LeadSource)+ |
| | | '&00N10000002CvBR='+encodeURI(Request)+ |
| | | '&00N10000002CvBC='+encodeURI(OpportunityDivision)+ |
| | | '&00N10000002CvB7='+encodeURI(Urgent) |
| | | ; |
| | | //JZ-20191015 会议询问单确认一览表点击需要带值到新建意向页面 END |
| | | //紧急 |
| | | var Urgent = ''; |
| | | var title2 = j$(escapeVfId('allPage:allForm:oppBlock:oppTable:' + (line) + ':Urgent__c')).find('img').attr("title"); |
| | | if (title2 == '选取的') { |
| | | Urgent = '1'; |
| | | } else { |
| | | Urgent = '0'; |
| | | } |
| | | |
| | | window.open(urlStr); |
| | | |
| | | } |
| | | function setreasonFlg(line){ |
| | | document.getElementById('allPage:allForm:oppBlock:oppTable:' + line + ':reasonFlg').value = 1; |
| | | var reason = j$(escapeVfId('allPage:allForm:oppBlock:oppTable_L:'+line+':Reasons_options__c')).value(); |
| | | var Opp_Name_Search = j$(escapeVfId('allPage:allForm:oppBlock:oppTable_L:'+line+':Opp_Name_Search__c')).value(); |
| | | // var Urgent =j$(escapeVfId('allPage:allForm:oppBlock:oppTable:'+ (line) + ':Urgent__c')).value(); |
| | | //JZ-20191015 会议询问单确认一览表点击需要带值到新建意向页面 |
| | | |
| | | |
| | | if(Opp_Name_Search == ''){ |
| | | if (reason == '已经有询价') { |
| | | alert('请您填写已有询价名称后,再点击不需要按钮进行更新!'); |
| | | j$(escapeVfId('allPage:allForm:oppBlock:oppTable_L:'+line+':Opp_Name_Search__c_lkwgt')).show(); |
| | | j$(escapeVfId('allPage:allForm:oppBlock:oppTable_L:'+line+':Opp_Name_Search__c')).attr('disabled',false); |
| | | }else{ |
| | | j$(escapeVfId('allPage:allForm:oppBlock:oppTable_L:'+line+':Opp_Name_Search__c_lkwgt')).hide(); |
| | | j$(escapeVfId('allPage:allForm:oppBlock:oppTable_L:'+line+':Opp_Name_Search__c')).attr('disabled',true); |
| | | } |
| | | |
| | | } |
| | | } |
| | | //全选或多选时将询问单状态改为不要 (点击页面最上方的不需要按钮) |
| | | function changeStatus(){ |
| | | var cnt = document.getElementById('allPage:allForm:oppBlock:oppCount').value; |
| | | var arr = [];//将原因和状态 全部遍历放到一个数组中 |
| | | for(var i=0 ;i<cnt;i++){ |
| | | if (j$(escapeVfId('chk'+i)).attr('checked')) { |
| | | var reason =j$(escapeVfId('allPage:allForm:oppBlock:oppTable_L:'+i+':Reasons_options__c')).value(); |
| | | var status = j$(escapeVfId('allPage:allForm:oppBlock:oppTable_L:'+i+':Status__c')).value(); |
| | | arr.push(reason); |
| | | arr.push(status); |
| | | } |
| | | } |
| | | //定义一个状态用于判断 原因是否有为空或者 询问单状态是否有不要 |
| | | var statusFlg = 0; |
| | | //当页面没有勾选数据时 |
| | | if(arr.length == 0){ |
| | | statusFlg =3; |
| | | } |
| | | for(var j=0;j<arr.length;j++){ |
| | | var urlStr = '/00Q/e?RecordType=01210000000QiRa&ent=Lead' + |
| | | '&CF00N10000006ps6f=' + encodeURI(contactName) + |
| | | '&CF00N10000006ps6f_lkid=' + encodeURI(contactId) + |
| | | '&CF00N10000002CvC5=' + encodeURI(HospitalName) + |
| | | '&CF00N10000002CvC5_lkid=' + encodeURI(HospitalId) + |
| | | '&CF00N10000006qNtt=' + encodeURI(DepartmentClass) + |
| | | '&CF00N10000006qNtt_lkid=' + encodeURI(DepartmentID) + |
| | | '&CF00N10000006qNty=' + encodeURI(OppNameSearch) + |
| | | '&CF00N10000006qNty_lkid=' + encodeURI(OppNameSearchID) + |
| | | '&CF00N10000004oN28=' + encodeURI(Campaign) + |
| | | '&CF00N10000004oN28_lkid=' + encodeURI(CampaignId) + |
| | | '&CF00N1000000962np=' + encodeURI(Name) + |
| | | '&CF00N1000000962np_lkid=' + encodeURI(Id) + |
| | | '&00N10000006qBYk=' + encodeURI(CancelReason) + |
| | | '&00N10000002CvBM=' + encodeURI(RequestDetail) + |
| | | '&lea13=' + encodeURI(Status) + |
| | | '&lea3=' + encodeURI(company) + |
| | | '&lea8=' + encodeURI(Phone.trim()) + |
| | | '&lea11=' + encodeURI(Email.trim()) + |
| | | '&name_lastlea2=' + encodeURI(FamilyName) + |
| | | '&name_firstlea2=' + encodeURI(LastName) + |
| | | '&lea5=' + encodeURI(LeadSource) + |
| | | '&00N10000002CvBR=' + encodeURI(Request) + |
| | | '&00N10000002CvBC=' + encodeURI(OpportunityDivision) + |
| | | '&00N10000002CvB7=' + encodeURI(Urgent) |
| | | ; |
| | | //JZ-20191015 会议询问单确认一览表点击需要带值到新建意向页面 END |
| | | |
| | | if(arr[j] == '不需要'){ |
| | | statusFlg =1; |
| | | } |
| | | if(!arr[j]){ |
| | | statusFlg =2; |
| | | } |
| | | } |
| | | //根据状态的不同区分打印的内容 或者 要执行的更新 |
| | | if(statusFlg == 0){ |
| | | var count = document.getElementById('allPage:allForm:oppBlock:oppCount').value; |
| | | for(var y=0 ;y<count;y++){ |
| | | if (j$(escapeVfId('chk'+y)).attr('checked')) { |
| | | var inquiryformId = j$(escapeVfId('allPage:allForm:oppBlock:oppTable:'+y+ ':Id')).value(); |
| | | setreasonFlg(y); |
| | | } |
| | | } |
| | | var batchReason =j$(escapeVfId('allPage:allForm:searchBlock:reasons')).value(); |
| | | saveInquiryOpts('',batchReason); |
| | | }else if(statusFlg == 1){ |
| | | alert('您勾选的数据中有询问单状态为‘不要’状态,请您勾掉后再进行批量不需要。'); |
| | | }else if(statusFlg == 2){ |
| | | alert('您勾选的数据中存在没有选择原因选项的数据,请您选择原因选项保存后再操作。'); |
| | | }else if(statusFlg == 3){ |
| | | alert('请您先勾选要批量修改的数据!'); |
| | | } |
| | | window.open(urlStr); |
| | | |
| | | } |
| | | function setreasonFlg(line) { |
| | | document.getElementById('allPage:allForm:oppBlock:oppTable:' + line + ':reasonFlg').value = 1; |
| | | var reason = j$(escapeVfId('allPage:allForm:oppBlock:oppTable_L:' + line + ':Reasons_options__c')).value(); |
| | | var Opp_Name_Search = j$(escapeVfId('allPage:allForm:oppBlock:oppTable_L:' + line + ':Opp_Name_Search__c')).value(); |
| | | |
| | | |
| | | } |
| | | //单选时 将询问单状态改为不要 (点击页面table上的不需要按钮) |
| | | function updateStatus(id,lineNo) { |
| | | var inquiryformId = id; |
| | | //传入 id和原因选项两个参数 |
| | | var reason = j$(escapeVfId('allPage:allForm:oppBlock:oppTable_L:'+lineNo+':Reasons_options__c')).value(); |
| | | var opp_Name_Search = j$(escapeVfId('allPage:allForm:oppBlock:oppTable_L:'+lineNo+':Opp_Name_Search__c')).value(); |
| | | var opp_ID =j$(escapeVfId('allPage:allForm:oppBlock:oppTable_L:'+lineNo+':Opp_Name_Search__c_lkid')).value(); |
| | | if(!reason){ |
| | | alert('请您先选择原因选项,再点击按钮。'); |
| | | return; |
| | | }else if(reason == '已经有询价' && opp_Name_Search ==''){ |
| | | alert('请您填写已有询价名称后,再点击不需要按钮进行更新!'); |
| | | return; |
| | | }else{ |
| | | //2.修改询问单状态为关闭 |
| | | saveInquiryform(inquiryformId,reason,opp_ID); |
| | | //刷新页面 |
| | | // location.replace(location.href); |
| | | } |
| | | |
| | | } |
| | | if (Opp_Name_Search == '') { |
| | | if (reason == '已经有询价') { |
| | | alert('请您填写已有询价名称后,再点击不需要按钮进行更新!'); |
| | | j$(escapeVfId('allPage:allForm:oppBlock:oppTable_L:' + line + ':Opp_Name_Search__c_lkwgt')).show(); |
| | | j$(escapeVfId('allPage:allForm:oppBlock:oppTable_L:' + line + ':Opp_Name_Search__c')).attr('disabled', false); |
| | | } else { |
| | | j$(escapeVfId('allPage:allForm:oppBlock:oppTable_L:' + line + ':Opp_Name_Search__c_lkwgt')).hide(); |
| | | j$(escapeVfId('allPage:allForm:oppBlock:oppTable_L:' + line + ':Opp_Name_Search__c')).attr('disabled', true); |
| | | } |
| | | |
| | | //全选 checkbox |
| | | function updateCheckBox(){ |
| | | var limit = j$(escapeVfId('allPage:allForm:searchBlock:limitNo')).value(); |
| | | var cnt =document.getElementById('allPage:allForm:oppBlock:oppCount').value; |
| | | if(j$(escapeVfId('chk')).attr('checked')){ |
| | | if(cnt >limit){ |
| | | var limitno = limit; |
| | | for(var i=0;i<limitno;i++){ |
| | | } |
| | | } |
| | | //全选或多选时将询问单状态改为不要 (点击页面最上方的不需要按钮) |
| | | function changeStatus() { |
| | | var cnt = document.getElementById('allPage:allForm:oppBlock:oppCount').value; |
| | | var arr = [];//将原因和状态 全部遍历放到一个数组中 |
| | | for (var i = 0; i < cnt; i++) { |
| | | if (j$(escapeVfId('chk' + i)).attr('checked')) { |
| | | var reason = j$(escapeVfId('allPage:allForm:oppBlock:oppTable_L:' + i + ':Reasons_options__c')).value(); |
| | | var status = j$(escapeVfId('allPage:allForm:oppBlock:oppTable_L:' + i + ':Status__c')).value(); |
| | | arr.push(reason); |
| | | arr.push(status); |
| | | } |
| | | } |
| | | //定义一个状态用于判断 原因是否有为空或者 询问单状态是否有不要 |
| | | var statusFlg = 0; |
| | | //当页面没有勾选数据时 |
| | | if (arr.length == 0) { |
| | | statusFlg = 3; |
| | | } |
| | | for (var j = 0; j < arr.length; j++) { |
| | | |
| | | |
| | | j$(escapeVfId('chk'+i)).attr('checked',true); |
| | | } |
| | | }else{ |
| | | var cntnumber = cnt; |
| | | for(var j =0 ;j<cntnumber;j++){ |
| | | |
| | | if (arr[j] == '不需要') { |
| | | statusFlg = 1; |
| | | } |
| | | if (!arr[j]) { |
| | | statusFlg = 2; |
| | | } |
| | | } |
| | | //根据状态的不同区分打印的内容 或者 要执行的更新 |
| | | if (statusFlg == 0) { |
| | | var count = document.getElementById('allPage:allForm:oppBlock:oppCount').value; |
| | | for (var y = 0; y < count; y++) { |
| | | if (j$(escapeVfId('chk' + y)).attr('checked')) { |
| | | var inquiryformId = j$(escapeVfId('allPage:allForm:oppBlock:oppTable:' + y + ':Id')).value(); |
| | | setreasonFlg(y); |
| | | } |
| | | } |
| | | var batchReason = j$(escapeVfId('allPage:allForm:searchBlock:reasons')).value(); |
| | | saveInquiryOpts('', batchReason); |
| | | } else if (statusFlg == 1) { |
| | | alert('您勾选的数据中有询问单状态为‘不要’状态,请您勾掉后再进行批量不需要。'); |
| | | } else if (statusFlg == 2) { |
| | | alert('您勾选的数据中存在没有选择原因选项的数据,请您选择原因选项保存后再操作。'); |
| | | } else if (statusFlg == 3) { |
| | | alert('请您先勾选要批量修改的数据!'); |
| | | } |
| | | |
| | | j$(escapeVfId('chk'+j)).attr('checked',true); |
| | | } |
| | | } |
| | | }else{ |
| | | if(cnt >limit){ |
| | | var limitno = limit; |
| | | for(var i=0;i<limitno;i++){ |
| | | j$(escapeVfId('chk'+i)).attr('checked',false); |
| | | } |
| | | }else{ |
| | | var cntnumber = cnt; |
| | | for(var j =0 ;j<cntnumber;j++){ |
| | | j$(escapeVfId('chk'+j)).attr('checked',false); |
| | | } |
| | | } |
| | | } |
| | | } |
| | | //当选择全选后 取消勾掉其中一个或者多个时 勾掉全选 |
| | | function editCheckBox (){ |
| | | var limit = j$(escapeVfId('allPage:allForm:searchBlock:limitNo')).value(); |
| | | var cnt =document.getElementById('allPage:allForm:oppBlock:oppCount').value; |
| | | |
| | | if(cnt >limit){ |
| | | var limitno = limit; |
| | | for(var i=0;i<limitno;i++){ |
| | | if(j$(escapeVfId('chk'+i)).attr('checked')){ |
| | | j$(escapeVfId('chk')).attr('checked',false); |
| | | } |
| | | } |
| | | }else{ |
| | | var cntnumber = cnt; |
| | | for(var j =0 ;j<cntnumber;j++){ |
| | | if(j$(escapeVfId('chk'+j)).attr('checked')){ |
| | | j$(escapeVfId('chk')).attr('checked',false); |
| | | } |
| | | } |
| | | } |
| | | } |
| | | //批量选择原因 保存 |
| | | function setCheckValue(){ |
| | | var cnt = document.getElementById('allPage:allForm:oppBlock:oppCount').value; |
| | | for(var i=0 ;i<cnt;i++){ |
| | | if (j$(escapeVfId('chk'+i)).attr('checked')) { |
| | | |
| | | var reason = j$(escapeVfId('allPage:allForm:searchBlock:reasons')).value(); |
| | | } |
| | | //单选时 将询问单状态改为不要 (点击页面table上的不需要按钮) |
| | | function updateStatus(id, lineNo) { |
| | | var inquiryformId = id; |
| | | //传入 id和原因选项两个参数 |
| | | var reason = j$(escapeVfId('allPage:allForm:oppBlock:oppTable_L:' + lineNo + ':Reasons_options__c')).value(); |
| | | var opp_Name_Search = j$(escapeVfId('allPage:allForm:oppBlock:oppTable_L:' + lineNo + ':Opp_Name_Search__c')).value(); |
| | | var opp_ID = j$(escapeVfId('allPage:allForm:oppBlock:oppTable_L:' + lineNo + ':Opp_Name_Search__c_lkid')).value(); |
| | | if (!reason) { |
| | | alert('请您先选择原因选项,再点击按钮。'); |
| | | return; |
| | | } else if (reason == '已经有询价' && opp_Name_Search == '') { |
| | | alert('请您填写已有询价名称后,再点击不需要按钮进行更新!'); |
| | | return; |
| | | } else { |
| | | //2.修改询问单状态为关闭 |
| | | saveInquiryform(inquiryformId, reason, opp_ID); |
| | | //刷新页面 |
| | | // location.replace(location.href); |
| | | } |
| | | |
| | | document.getElementById('allPage:allForm:oppBlock:oppTable_L:' + i + ':Reasons_options__c').value = reason; |
| | | |
| | | setChangeFlg(i); |
| | | } |
| | | } |
| | | |
| | | } |
| | | //全选 checkbox |
| | | function updateCheckBox() { |
| | | var limit = j$(escapeVfId('allPage:allForm:searchBlock:limitNo')).value(); |
| | | var cnt = document.getElementById('allPage:allForm:oppBlock:oppCount').value; |
| | | if (j$(escapeVfId('chk')).attr('checked')) { |
| | | if (cnt > limit) { |
| | | var limitno = limit; |
| | | for (var i = 0; i < limitno; i++) { |
| | | |
| | | } |
| | | </script> |
| | | </td> |
| | | </tr> |
| | | <apex:variable value="{!cnt + 1}" var="cnt" /> |
| | | </apex:repeat> |
| | | </table> |
| | | |
| | | j$(escapeVfId('chk' + i)).attr('checked', true); |
| | | } |
| | | } else { |
| | | var cntnumber = cnt; |
| | | for (var j = 0; j < cntnumber; j++) { |
| | | |
| | | |
| | | j$(escapeVfId('chk' + j)).attr('checked', true); |
| | | } |
| | | } |
| | | } else { |
| | | if (cnt > limit) { |
| | | var limitno = limit; |
| | | for (var i = 0; i < limitno; i++) { |
| | | j$(escapeVfId('chk' + i)).attr('checked', false); |
| | | } |
| | | } else { |
| | | var cntnumber = cnt; |
| | | for (var j = 0; j < cntnumber; j++) { |
| | | j$(escapeVfId('chk' + j)).attr('checked', false); |
| | | } |
| | | } |
| | | } |
| | | } |
| | | //当选择全选后 取消勾掉其中一个或者多个时 勾掉全选 |
| | | function editCheckBox() { |
| | | var limit = j$(escapeVfId('allPage:allForm:searchBlock:limitNo')).value(); |
| | | var cnt = document.getElementById('allPage:allForm:oppBlock:oppCount').value; |
| | | |
| | | if (cnt > limit) { |
| | | var limitno = limit; |
| | | for (var i = 0; i < limitno; i++) { |
| | | if (j$(escapeVfId('chk' + i)).attr('checked')) { |
| | | j$(escapeVfId('chk')).attr('checked', false); |
| | | } |
| | | } |
| | | } else { |
| | | var cntnumber = cnt; |
| | | for (var j = 0; j < cntnumber; j++) { |
| | | if (j$(escapeVfId('chk' + j)).attr('checked')) { |
| | | j$(escapeVfId('chk')).attr('checked', false); |
| | | } |
| | | } |
| | | } |
| | | } |
| | | //批量选择原因 保存 |
| | | function setCheckValue() { |
| | | var cnt = document.getElementById('allPage:allForm:oppBlock:oppCount').value; |
| | | for (var i = 0; i < cnt; i++) { |
| | | if (j$(escapeVfId('chk' + i)).attr('checked')) { |
| | | |
| | | var reason = j$(escapeVfId('allPage:allForm:searchBlock:reasons')).value(); |
| | | |
| | | document.getElementById('allPage:allForm:oppBlock:oppTable_L:' + i + ':Reasons_options__c').value = reason; |
| | | |
| | | setChangeFlg(i); |
| | | } |
| | | |
| | | } |
| | | |
| | | } |
| | | </script> |
| | | </td> |
| | | </tr> |
| | | <apex:variable value="{!cnt + 1}" var="cnt" /> |
| | | </apex:repeat> |
| | | </table> |
| | | </div> |
| | | </apex:outputPanel> |
| | | </apex:pageBlock> |
| | | <script type="text/javascript"> |
| | | j$(function() { |
| | | bindTdToggleWidth(); |
| | | }); |
| | | var elements = document.getElementsByTagName("select"); |
| | | for (i = 0; i < elements.length; i++) { |
| | | var id = elements[i].id; |
| | | if (id.length > 5 && id.substring(id.length - 5, id.length) == 'mlktp') { |
| | | elements[i].style.display = "none"; |
| | | } |
| | | } |
| | | <script type="text/javascript"> |
| | | j$(function() { |
| | | bindTdToggleWidth(); |
| | | }); |
| | | var elements = document.getElementsByTagName("select"); |
| | | for (i = 0; i < elements.length; i++) { |
| | | var id = elements[i].id; |
| | | if (id.length > 5 && id.substring(id.length - 5, id.length) == 'mlktp') { |
| | | elements[i].style.display = "none"; |
| | | } |
| | | } |
| | | |
| | | </script> |
| | | </script> |
| | | </apex:outputPanel> |
| | | </apex:form> |
| | | </apex:page> |