From 3be37dc1c2b6e45450d7a8cbce53b2a76cae35bb Mon Sep 17 00:00:00 2001
From: 游畅 <youchang@prec-tech.com>
Date: 星期日, 24 四月 2022 16:59:16 +0800
Subject: [PATCH] 再来的新数据:新建的时候待入职的就不新建,只有在职的新建。 现在已经新建了的待入职,什么时候状态变在职,什么时候再更新一次,之后也是除非状态再变离职,否则不更新。

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

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

--
Gitblit v1.9.1