From ad655848436d4213b9de1510a98ea63374e85fcf Mon Sep 17 00:00:00 2001 From: 李金换 <lijinhuan@prec-tech.com> Date: 星期五, 18 三月 2022 13:27:10 +0800 Subject: [PATCH] 【委托】 【优先紧急对应】I/F010&I/F110传输检查修复和预测修复 --- force-app/main/default/pages/NewAndEditQIS.page | 14 +++++++++++++- 1 files changed, 13 insertions(+), 1 deletions(-) diff --git a/force-app/main/default/pages/NewAndEditQIS.page b/force-app/main/default/pages/NewAndEditQIS.page index 1f2a6ee..05bef34 100644 --- a/force-app/main/default/pages/NewAndEditQIS.page +++ b/force-app/main/default/pages/NewAndEditQIS.page @@ -557,7 +557,19 @@ if (!{!isNewMode}) { blockme(); QuerySobjectFromAWS(); - } + }else{ + let ot = jQuery('input[data-id="OwnerId"]'); + let oi = document.getElementById(ot.attr("id")+'_lkid'); + ot.val('{!CurrentUserName}'); + ot.attr("readonly",""); + ot.css("background","unset"); + ot.css("border","0"); + ot.css( "outline","0"); + jQuery('a[data-id="OwnerId"]').remove(); + if(oi){ + oi.value = '{!CurrentUserId}' + } + } }); </script> <div class="pbBottomButtons"> -- Gitblit v1.9.1