From 559771a80cf779dc13a84ecd2f178e6ca5a8353a Mon Sep 17 00:00:00 2001
From: FUYU <fuyu@prec-tech.com>
Date: 星期五, 19 五月 2023 15:52:16 +0800
Subject: [PATCH] 备份省目标录入

---
 force-app/main/default/pages/ConsumTrialPDF.page |   14 +++++++-------
 1 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/force-app/main/default/pages/ConsumTrialPDF.page b/force-app/main/default/pages/ConsumTrialPDF.page
index 5276d59..b7de0c9 100644
--- a/force-app/main/default/pages/ConsumTrialPDF.page
+++ b/force-app/main/default/pages/ConsumTrialPDF.page
@@ -79,7 +79,7 @@
             </style>
             <!-- 20220221 PI鏀归�� by 寰愪寒 start  -->
         <apex:includeScript value="{! URLFOR($Resource.AWSService, 'AWSService.js') }" />
-        <script src="../../soap/ajax/53.0/connection.js" type="text/javascript"></script>
+        <apex:includeScript value="{!URLFOR($Resource.connection20)}"/>
         <!-- <script src="https://cdn.bootcss.com/es6-promise/4.1.1/es6-promise.auto.min.js" type="text/javascript"></script> -->
         
         <apex:stylesheet value="{!URLFOR($Resource.blockUIcss)}"/>
@@ -371,7 +371,7 @@
         form.submit();
 
         // jQuery("body > *").each(function(){
-        // 	jQuery(this).css('display','none');
+        //  jQuery(this).css('display','none');
         // })
         // jQuery("body").append('<embed style="position:absolute; left: 0; top: 0;" width="100%" height="100%" src="'+pdf.output('datauristring')+'" type="application/pdf"/>')
 
@@ -474,11 +474,11 @@
             
         })
 
-		let a1 = false;
+        let a1 = false;
         let a2 = false;
         var Foo = function(){
-        	if(a1 && a2){
-            	jsPdfDownload(); 
+            if(a1 && a2){
+                jsPdfDownload(); 
             }
         }
         AWSService.search(staticResource.searchUrl, JSON.stringify({
@@ -495,10 +495,10 @@
         }, staticResource.token);
         
         if('{!targetConsumApply.Shippment_adress_detail__c}'){
-        	a2 = true;
+            a2 = true;
             Foo();
         }else{
-        	AWSService.query(staticResourceCon.queryUrl, '{!targetConsumApply.AWS_Data_Id__c}', function(data){
+            AWSService.query(staticResourceCon.queryUrl, '{!targetConsumApply.AWS_Data_Id__c}', function(data){
                 //unblockUI();
                 if (data && data.object  ) {
                     

--
Gitblit v1.9.1