From bfca7a84bec815da594f1d12558535ed06d2490b Mon Sep 17 00:00:00 2001
From: 沙世明 <shashiming@prec-tech.com>
Date: 星期二, 13 九月 2022 09:57:32 +0800
Subject: [PATCH] 本地提交备份

---
 force-app/main/default/pages/SI_NewQuoteEntry.page |   19 +++++++++++++++----
 1 files changed, 15 insertions(+), 4 deletions(-)

diff --git a/force-app/main/default/pages/SI_NewQuoteEntry.page b/force-app/main/default/pages/SI_NewQuoteEntry.page
index a08a769..1cc3055 100644
--- a/force-app/main/default/pages/SI_NewQuoteEntry.page
+++ b/force-app/main/default/pages/SI_NewQuoteEntry.page
@@ -85,6 +85,7 @@
             window.open('/apex/SI_CsvModel?id='+encodeURI(a),'name','features','replace');
         }
         function QuoteConfirmJs() {
+            debugger
             // body...
             blockme();
             //SWAG-C5DBAL  銆愬鎵樸�� [绱ф�SI璇环鑲栧瘨鏃犳硶淇敼鎶ヤ环鍗� 绮剧悽鎶�鏈� 2021/07/30 start 
@@ -92,9 +93,19 @@
             var profileId = '{!$User.profileId}';
             //鑾峰彇鑷畾涔夋爣绛� 绯荤粺绠$悊鍛樼畝妗�
             var adminId = '{!$Label.ProfileId_SystemAdmin}';
+            //XLIU-CHRD8P銆愬鎵樸�戙�怬BSAP銆戣缁橭BSAP绠�妗BA2_璇环绠$悊 SI璇环鎶ヤ环鍗曠‘璁ゆ潈闄� fy start 
+            var adminId2 = '{!$Label.ProfileId_SystemAdmin2}';
+            var flag=true;
+            var a=adminId2.includes(profileId);
+            if(adminId2.includes(profileId)){
+                flag=false;
+            }else{
+                flag=true;
+            }
+            //XLIU-CHRD8P銆愬鎵樸�戙�怬BSAP銆戣缁橭BSAP绠�妗BA2_璇环绠$悊 SI璇环鎶ヤ环鍗曠‘璁ゆ潈闄� fy end 
             //鍙湁绯荤粺绠$悊鍛樺彲浠ョ偣鍑�
-            if(profileId!=adminId){
-                alert('鍙湁绯荤粺绠$悊鍛樻湁鏉冮檺纭鎶ヤ环锛�');
+            if(profileId!=adminId&&flag){
+                alert('鍙湁绯荤粺绠$悊鍛樺拰钀ヤ笟鍔╃悊鏈夋潈闄愮‘璁ゆ姤浠凤紒');
                 unblockUI();
             }else{
                 QuoteConfirm();
@@ -340,8 +351,8 @@
                     <tr>
                         <th style="text-align:right">{!IF(displayFlg,$Label.Total_ListPrice,'')}</th>
                         <td style="text-align:right;"><apex:outputText id="Estimation_List_Price" style="display:{!IF(displayFlg, '', 'none')}" value="{0, number, ###,##0.00}"><apex:param value="{!qb.Estimation_List_Price}" /></apex:outputText></td>
-                        <th style="text-align:right;">{!IF(displayFlg,$Label.Total_Price,'')}</th>
-                        <td><apex:inputField id="quoTotalPrice" value="{!quo.QuoteTotal_Page__c}" style="text-align:right;" rendered="{!displayFlg}" onchange="quoteTotalPriceAction()"/></td>
+                        <th style="text-align:right;">{!IF(displayFlg,$Label.Total_Price,'')}</th><!--obsap 缁忛攢鍟�1鍚堝悓閲戦璁$畻 fy  html-disabled="true" -->
+                        <td><apex:inputField id="quoTotalPrice" value="{!quo.QuoteTotal_Page__c}" style="text-align:right;" rendered="{!displayFlg}" onchange="quoteTotalPriceAction()" html-disabled="true"/></td>
                         <th style="text-align:right;">{!IF(displayFlg,$Label.Contact_Price,'')}</th>
 
                             <!--    2018/09/28 CHAN-B4YAB8 缁忛攢鍟嗗崟浠疯绠� start -->

--
Gitblit v1.9.1