From 1005d3c410f91d885489db4e983dbdf1494f2d4f Mon Sep 17 00:00:00 2001
From: chenjingwu <chenjingwu@prec-tech.com>
Date: 星期四, 25 四月 2024 10:50:31 +0800
Subject: [PATCH] 123
---
force-app/main/default/pages/MaintenanceProductData.page | 12 +++++++++---
1 files changed, 9 insertions(+), 3 deletions(-)
diff --git a/force-app/main/default/pages/MaintenanceProductData.page b/force-app/main/default/pages/MaintenanceProductData.page
index c3bb82a..c820dde 100644
--- a/force-app/main/default/pages/MaintenanceProductData.page
+++ b/force-app/main/default/pages/MaintenanceProductData.page
@@ -1632,7 +1632,7 @@
<!-- chenjingwu 20240417 start -->
<apex:pageblocksection title="{!IF(editAble,'寤朵繚淇℃伅缁存姢','寤朵繚淇℃伅缁存姢(钃濊壊涓烘柊鍊�)')}" id="exmpdDetails" rendered="{!IF(exmpdDetailsRecordsMap!=null&&muCountMap!=null,true,false)}" html-style="width: 100%;max-height:210px;;overflow:auto;">
<apex:outputLabel style="width: 100%;">
- <apex:variable var="edvun" value="" rendered="{!editAble}">
+ <apex:variable var="edvun" value="" rendered="{!editAble}" id="Edit">
<table class="list">
<tr class="headerRow">
<th>浜у搧鍚嶇О</th>
@@ -1648,7 +1648,7 @@
{!mp.mpded.ProductsID__r.Name}
</td>
<td class="dataCell">
- <apex:InputField value="{!exmpdDetailsRecordsMap[mp.mpded.ProductsID__c][0].mpdrdd.AgeLimit__c}" id="AgeLimit" />
+ <apex:InputField value="{!exmpdDetailsRecordsMap[mp.mpded.ProductsID__c][0].mpdrdd.AgeLimit__c}" id="AgeLimit" onchange="ageLimitChange(this)"/>
</td>
<td class="dataCell">
<apex:InputField value="{!exmpdDetailsRecordsMap[mp.mpded.ProductsID__c][0].mpdrdd.MultiOneYearWarrantyPrice__c}" id="MultiOneYearWarrantyPrice" />
@@ -1682,7 +1682,7 @@
</tr>
</table>
</apex:variable>
- <apex:variable var="edvun" value="" rendered="{!!editAble}">
+ <apex:variable var="edvun" value="" rendered="{!!editAble}" id="View">
<table class="list">
<tr class="headerRow">
<th>浜у搧鍚嶇О</th>
@@ -1726,6 +1726,12 @@
</apex:outputLabel>
</apex:pageblocksection>
+ <script type="text/javascript">
+ function ageLimitChange(el){
+ console.log('el');
+ console.log(el);
+ }
+ </script>
<!-- chenjingwu 20240417 end -->
</apex:pageBlock>
</apex:outputPanel>
--
Gitblit v1.9.1