From 552f32c93251191103a633ca292c06a445e2551f Mon Sep 17 00:00:00 2001 From: 李金换 <lijinhuan@prec-tech.com> Date: 星期二, 15 三月 2022 18:25:31 +0800 Subject: [PATCH] OBPM备品相关修改 & 【委托】【phase5上线课题131】-增加明细的时长字段“提交申请到备品出库时长” --- force-app/main/default/pages/NewRentalApply.page | 10 +++++++++- 1 files changed, 9 insertions(+), 1 deletions(-) diff --git a/force-app/main/default/pages/NewRentalApply.page b/force-app/main/default/pages/NewRentalApply.page index 02d03e3..c9b638e 100644 --- a/force-app/main/default/pages/NewRentalApply.page +++ b/force-app/main/default/pages/NewRentalApply.page @@ -1,3 +1,10 @@ +<!-- + @description : + @author : ChangeMeIn@UserSettingsUnder.SFDoc + @group : + @last modified on : 03-11-2022 + @last modified by : ChangeMeIn@UserSettingsUnder.SFDoc +--> <apex:page standardController="Rental_Apply__c" extensions="RentalApplyController" id="page"> <apex:stylesheet value="{!URLFOR($Resource.blockUIcss)}"/> <apex:includeScript value="{! URLFOR($Resource.AWSService, 'AWSService.js') }" /> @@ -244,7 +251,8 @@ return template.content.firstChild; } function queryContactName() { - let sfId = document.getElementById(document.querySelector("[data-id='Loaner_medical_Staff__c']").id + '_lkid').value; + // let sfId = document.getElementById(document.querySelector("[data-id='Loaner_medical_Staff__c']").id + '_lkid').value; + let sfId = document.getElementById(document.querySelector("[data-id='Account__c']").id + '_lkid').value; let contactsInfo = JSON.parse('{!contactsInfo}'); let dataId = contactsInfo[sfId]; let url = staticResourcesContact.queryUrl + '?dataId=' + dataId; -- Gitblit v1.9.1