From 29fbeff08ec332db9bc6257e106b81d21c8d4534 Mon Sep 17 00:00:00 2001
From: 付煜 <fuyu3103346691@163.com>
Date: 星期二, 12 四月 2022 09:44:07 +0800
Subject: [PATCH] 系统周报添加字段
---
force-app/main/default/pages/NewRentalApply.page | 12 ++----------
1 files changed, 2 insertions(+), 10 deletions(-)
diff --git a/force-app/main/default/pages/NewRentalApply.page b/force-app/main/default/pages/NewRentalApply.page
index 53168ff..10321bc 100644
--- a/force-app/main/default/pages/NewRentalApply.page
+++ b/force-app/main/default/pages/NewRentalApply.page
@@ -1,10 +1,3 @@
-<!--
- @description :
- @author : Dennis
- @group :
- @last modified on : 04-01-2022
- @last modified by : ChangeMeIn@UserSettingsUnder.SFDoc
--->
<apex:page standardController="Rental_Apply__c" extensions="RentalApplyController" id="page">
<apex:stylesheet value="{!URLFOR($Resource.blockUIcss)}"/>
<apex:includeScript value="{! URLFOR($Resource.AWSService, 'AWSService.js') }" />
@@ -63,7 +56,7 @@
payloadJson.Phone_Number_Encrypt__c = r.object[0].phoneNumberEncrypt;
payloadJson.Direct_Shippment_Address_Encrypt__c = r.object[0].directShippmentAddressEncrypt;
payloadJson.AWS_Data_Id__c = '{!AWSDataId}';
- if (isNewMode) {
+ if (isNewMode || {!isCloneMode}) {
payloadJson.AWS_Data_Id__c = r.object[0].dataId;
} else {
payloadJson.AWS_Data_Id__c = '{!AWSDataId}';
@@ -75,8 +68,7 @@
// New Or Edit
function ProcessPI(rentalApplyJson, payloadForNewPI) {
blockme();
- if ({!isNewMode
- }) {
+ if ({!isNewMode} || {!isCloneMode}) {
NewPIToAWS(rentalApplyJson, payloadForNewPI)
}else {
UpdatePIToAWS(rentalApplyJson, payloadForNewPI)
--
Gitblit v1.9.1