From 959de5d7850bfc1cdf01cd0387ec52f9cf23ec2c Mon Sep 17 00:00:00 2001
From: 涂煌豪 <tuhuanghao@prec-tech.com>
Date: 星期四, 07 四月 2022 16:00:32 +0800
Subject: [PATCH] 先款后修20220407需求上线

---
 force-app/main/default/pages/SelectAssetEstimateVM.page |   12 +++++++++++-
 1 files changed, 11 insertions(+), 1 deletions(-)

diff --git a/force-app/main/default/pages/SelectAssetEstimateVM.page b/force-app/main/default/pages/SelectAssetEstimateVM.page
index 1dbdeeb..aaba2e2 100644
--- a/force-app/main/default/pages/SelectAssetEstimateVM.page
+++ b/force-app/main/default/pages/SelectAssetEstimateVM.page
@@ -57,7 +57,17 @@
             return false;  
         }
     }
-        return true;
+    // 鍏堟鍚庝慨-鎻愪氦鎶ヤ环鏃跺鏋滄槸鍏堟瀵硅薄杩涜鎻愮ず thh 20220407 start
+    var FirstParagraphEnd = j$(escapeVfId('allPage:allForm:allBlock:contract:FirstParagraphEnd')).val();
+    if(FirstParagraphEnd == 'on'){
+        if (confirm('鏈绛剧害缁忛攢鍟嗘槸鍏堟瀵硅薄锛岃纭鏄惁鎻愪氦鎶ヤ环锛�')) {
+			return true; 
+        }else{
+            return false;  
+        }
+    }
+    // 鍏堟鍚庝慨-鎻愪氦鎶ヤ环鏃跺鏋滄槸鍏堟瀵硅薄杩涜鎻愮ず thh 20220407 end
+    return true;
 }
 //add by gwy 2021-01-27 end 鎻愪氦鏃剁殑鎻愮ず妗�
 

--
Gitblit v1.9.1