From be102ae06e8f986bd9d1a544cd2752e5fa94231a Mon Sep 17 00:00:00 2001
From: binxie <137736985@qq.com>
Date: 星期二, 11 七月 2023 14:23:51 +0800
Subject: [PATCH] LEX Community Deploy0711
---
force-app/main/default/pages/NewQuoteEntry.page | 216 +++++++++++++++++++++++++++++------------------------
1 files changed, 118 insertions(+), 98 deletions(-)
diff --git a/force-app/main/default/pages/NewQuoteEntry.page b/force-app/main/default/pages/NewQuoteEntry.page
index 0b36a96..a101288 100644
--- a/force-app/main/default/pages/NewQuoteEntry.page
+++ b/force-app/main/default/pages/NewQuoteEntry.page
@@ -10,98 +10,11 @@
<apex:includeScript value="{!URLFOR($Resource.apex20)}"/>
<apex:stylesheet value="{!URLFOR($Resource.NewQuoteEntryCss)}"/>
+
- <script type="text/javascript">
- //娣诲姞琛� html鐗规�у鍔犳粦鍔ㄦ潯 绮剧悽鎶�鏈� wql 2021/02/09 start
- //dialog 寮圭獥 start
- var popupBox;
- popupBox = new SimpleDialog("SpeedDialogId", false); // 涓嶅彲鎷栧姩
- popupBox.createDialog();
- //绮剧悽鎶�鏈� 2021/02/08 start
- function openAddMultipleRow(){
- popupBox.setTitle("璇疯緭鍏ラ渶瑕佸鍔犵殑琛屽彿锛�");
- popupBox.importContentNode(document.getElementById("speedDiv"));
- popupBox.show(document.getElementById("speedDiv"));
- document.getElementById("speedDiv").style.display = 'block';
-
- }
- // function decision2btns(){
- // ReservedProductVerification();
- // debugger
- // var filg=j$(escapeVfId('Page:mainForm:filg')).value();
- // // var filg={!filg};
- // console.warn(filg);
- // if(filg == 'true'){
- // console.warn('鎴愬姛');
- // // decision2btn();
- // }else{
- // alert('浜у搧鏁伴噺涓嶅彲瓒呰繃浜у搧棰勭暀鏁伴噺');
- // }
- // }
- //dialog 寮圭獥 end
- // 娣诲姞琛� html鐗规�у鍔犳粦鍔ㄦ潯 绮剧悽鎶�鏈� wql 2021/02/09 end
-
- var QuoteEntryMaxLine = {!QuoteEntryMaxLine};
- var trade = '{!oppInfo.Trade}';
- var displayCost = '{!displayCost}';
- var quoid = '{!quoid}';
- var Session_ID = '{!$Api.Session_ID}';
- var Price_Valid_Period = '{!$Label.Price_Valid_Period}';
- var Message_001 = '{!$Label.Message_001}';
- var Message_Please_Save_Quote = '{!$Label.Please_Save_Quote}';
- var Message_Check_Your_Clipboard = '{!$Label.Check_Your_Clipboard}';
- var Error_Message3 = '{!$Label.Error_Message3}';
- //var Error_Message11 = '{!$Label.Error_Message11}';
- //var Error_Message29 = '{!$Label.Error_Message29}';
- var Error_Message33 = '{!$Label.Error_Message33}';
- var Error_Message34 = '{!$Label.Error_Message34}';
- var Error_Message35 = '{!$Label.Error_Message35}';
- var Error_Message36 = '{!$Label.Error_Message36}';
- var Error_Message40 = '{!$Label.Error_Message40}';
- var Confirm_ChangedAfterPrint = '鎵撳嵃鍚庤淇℃伅鏈夊彉鍖栵紝鏄惁缁х画鎿嶄綔锛堟姤浠风紪鐮佷細鍙樻柊锛夛紵';
- var Confirm_ChangedAfterBid = '璇ユ姤浠峰凡鎴愪负false浼犵エ锛屾槸鍚︾户缁搷浣滐紙灏嗕細鍋氬嚭涓�涓柊鐨勬姤浠凤級锛�';
- var Confirm_PriceRefresh = '鎶ヤ环浣滄垚鍚巤!$Label.Price_Valid_Period}澶�,杩樻病鏈夋洿鏂拌繃浠锋牸锛岄渶瑕佹墽琛寋!$Label.Status_Update}锛�';
- var QuoteDecide = {!QuoteDecide};
- window.sfdcPage.appendToOnloadQueue(function() { calonLoad() });
- var openQuoteExcelImportWindow = null;
-
- function selectAll() {
- var checklist = j$("input[name='checklist']");
- var all = j$(escapeVfId("checkAll"));
- for(var i = 0; i < checklist.length; i++){
- if (all[0].checked == true) {
- checklist[i].checked = true;
- } else {
- checklist[i].checked = false;
- }
- }
- }
-
- // xudan 20140627 鍓婇櫎寰屻伄銉併偋銉冦偗澶栥仚銉偢銉冦偗
- function clearAllCheck() {
- j$(escapeVfId("checkAll"))[0].checked = false;
- var checklist = j$("input[name='checklist']");
- for(var i = 0; i < checklist.length; i++){
- checklist[i].checked = false;
- }
- }
- // 鎶ヤ环璇曠畻
- function JumpJs() {
- // console.log(ApexPages.currentPage().getParameters().get('core.apexpages.request.devconsole'));
- // var t = '{!quoId}';
- // window.open('/apex/test02?Id=' + t);
- blockme();
- Jump.call();
- return true;
- }
-
- // 2018/09/28 CHAN-B4YAB8 鍒濆鍖栨椂鏇存柊缁忛攢鍟嗘姌鎵� start
- //AgencyDiscountCalculation1();
- // 2018/09/28 CHAN-B4YAB8 鍒濆鍖栨椂鏇存柊缁忛攢鍟嗘姌鎵� end
- </script>
<style type="text/css">
div#iframelike {
- color: #fff;
+ color: rgb(24, 24, 24);
height: 300px;
overflow: auto;
}
@@ -287,7 +200,7 @@
</tr>
</table>
</apex:outputPanel>
- <div>
+ <div style="background-color:#f4f8fd73">
<table border="0">
<tr>
<th style="text-align:right;width:90px;">{!$Label.Quoto_No}</th>
@@ -331,12 +244,13 @@
<td style="width:130px;"><apex:commandButton onclick="openQuoteExcelImport(event);return false;" value="{!$Label.Excel_Import}" style="width:110px;" rerender="dummy"/></td>
<td style="text-align:right;width:50px;"><apex:commandButton rerender="dummy" id="Btn_RowDelete" onclick="radioChecker2('del');return false;" value="{!$Label.deleteLabel}" style="width:60px;" /></td>
<!-- 娣诲姞琛� -->
- <td width="40px;">
+ <td width="50px;">
<!-- 娣诲姞琛� html鐗规�у鍔犳粦鍔ㄦ潯 绮剧悽鎶�鏈� wql 2021/02/09 end -->
<apex:commandButton onclick="openAddMultipleRow(); return false;" value="澧炲姞琛�" rerender="{!displayFlg}"/>
</td>
- <td style="width:130px;">
- <apex:commandButton rerender="dummy" id="Btn_RowUp" onclick="radioChecker2('up');return false;" value="{!$Label.Row_Up}" style="width:60px;"/>
+ <td style="width:50px;">
+ <apex:commandButton rerender="dummy" id="Btn_RowUp" onclick="radioChecker2('up');return false;" value="{!$Label.Row_Up}" style="width:60px;"/> </td>
+ <td style="width:50px;">
<apex:commandButton rerender="dummy" id="Btn_RowDown" onclick="radioChecker2('down');return false;" value="{!$Label.Row_Down}" style="width:60px;"/>
</td>
@@ -358,13 +272,14 @@
</table>
-->
<!-- 鍘熶唬鐮� end -->
- <table>
+ <div style="background-color:#f4f8fd73">
+ <table >
<tr>
<td> </td>
</tr>
<tr>
<th style="text-align:right;width:30px;"> </th>
- <th style="text-align:right;width:130px;">鍚堝悓淇濅慨鏈燂紙骞达級: </th>
+ <th style="text-align:left;width:130px;">鍚堝悓淇濅慨鏈燂紙骞达級: </th>
<td style="width:190px;"><apex:inputField id="AllGurantee_Period" value="{!quo.Gurantee_Period__c}" onchange="calGuranteePeriod();" style="width:50px; text-align:right;" />
<apex:inputHidden id="Gurantee_Period__c" value="{!quo.Gurantee_Period__c}"/>
</td>
@@ -432,7 +347,8 @@
<tr>
<td> </td>
</tr>
- </table>
+ </table></div>
+
<!-- 澶氬勾淇濅慨 end -->
<DIV style="OVERFLOW-Y: hidden; OVERFLOW-X:auto;width:1260px">
@@ -559,7 +475,7 @@
</td>
<td class="dataCell" style="text-align: center;width:50px;">
<!-- 2018/09/28 CHAN-B4YAB8 缁忛攢鍟嗗崟浠疯绠� start -->
- <apex:inputField id="Quantity" style="width:30px;text-align:center;" value="{!s.PageObject.Quantity__c}" onChange="calPrice('{!s.lineNo}');quoteAgencyTotalPriceAction();AgencyDiscountCalculation1();"/>
+ <apex:inputField id="Quantity" style="width:45px;text-align:center;" value="{!s.PageObject.Quantity__c}" onChange="calPrice('{!s.lineNo}');quoteAgencyTotalPriceAction();AgencyDiscountCalculation1();"/>
<!-- 2018/09/28 CHAN-B4YAB8 缁忛攢鍟嗗崟浠疯绠� end -->
</td>
<td class="dataCell" style="width:20px;text-align: center;">
@@ -624,7 +540,7 @@
<apex:outputLabel id="Storagestatustext" value="{!s.StorageStatus}"/>
<apex:inputHidden id="Storagestatus" rendered="{!displayFlg}" value="{!s.StorageStatus}"/>
</td>
- <td class="dataCell" id="{!Text(cnt-1)}:td_Name__c" style="width:350px;">
+ <td class="dataCell" id="{!Text(cnt-1)}:td_Name__c" style="width:350px;text-align:center;">
<div id="Page:mainForm:block:lists:{!s.lineNo}:NameLink"><apex:outputLink style="width:300px;" value="{!baseUrl}/{!s.PageObject.Id__c}" id="Nametext1" target="_blank">{!s.PageObject.Name__c}</apex:outputLink></div>
<apex:inputHidden id="Name__c" value="{!s.PageObject.Name__c}"/>
<apex:outputPanel layout="none" rendered="{!IF(s.changed_name == true || s.wrong_Register == true, true, false)}">
@@ -839,6 +755,109 @@
</apex:pageBlock>
</apex:form>
<!-- 娣诲姞琛� html鐗规�у鍔犳粦鍔ㄦ潯 绮剧悽鎶�鏈� wql 2021/02/09 start -->
+ <script type="text/javascript">
+
+ console.log(window);
+ console.log(window.sfdcPage);
+ var popupBox;
+ popupBox = new SimpleDialog("SpeedDialogId", false); // 涓嶅彲鎷栧姩
+ popupBox.createDialog();
+
+ if(window.sfdcPage && window.sfdcPage.appendToOnloadQueue){
+ window.sfdcPage.appendToOnloadQueue(
+ function() { calonLoad() }
+ );
+ }
+ //娣诲姞琛� html鐗规�у鍔犳粦鍔ㄦ潯 绮剧悽鎶�鏈� wql 2021/02/09 start
+ //dialog 寮圭獥 start
+
+ //绮剧悽鎶�鏈� 2021/02/08 start
+ function openAddMultipleRow(){
+
+ popupBox.setTitle("璇疯緭鍏ラ渶瑕佸鍔犵殑琛屽彿锛�");
+ popupBox.importContentNode(document.getElementById("speedDiv"));
+ popupBox.show(document.getElementById("speedDiv"));
+ document.getElementById("speedDiv").style.display = 'block';
+
+ }
+ // function decision2btns(){
+ // ReservedProductVerification();
+ // debugger
+ // var filg=j$(escapeVfId('Page:mainForm:filg')).value();
+ // // var filg={!filg};
+ // console.warn(filg);
+ // if(filg == 'true'){
+ // console.warn('鎴愬姛');
+ // // decision2btn();
+ // }else{
+ // alert('浜у搧鏁伴噺涓嶅彲瓒呰繃浜у搧棰勭暀鏁伴噺');
+ // }
+ // }
+ //dialog 寮圭獥 end
+ // 娣诲姞琛� html鐗规�у鍔犳粦鍔ㄦ潯 绮剧悽鎶�鏈� wql 2021/02/09 end
+
+ var QuoteEntryMaxLine = {!QuoteEntryMaxLine};
+ console.log(QuoteEntryMaxLine );
+ var trade = '{!oppInfo.Trade}';
+ console.log(trade );
+ var displayCost = '{!displayCost}';
+ console.log(displayCost );
+ var quoid = '{!quoid}';
+ console.log(quoid );
+ var Session_ID = '{!$Api.Session_ID}';
+ var Price_Valid_Period = '{!$Label.Price_Valid_Period}';
+ var Message_001 = '{!$Label.Message_001}';
+ var Message_Please_Save_Quote = '{!$Label.Please_Save_Quote}';
+ var Message_Check_Your_Clipboard = '{!$Label.Check_Your_Clipboard}';
+ var Error_Message3 = '{!$Label.Error_Message3}';
+ //var Error_Message11 = '{!$Label.Error_Message11}';
+ //var Error_Message29 = '{!$Label.Error_Message29}';
+ var Error_Message33 = '{!$Label.Error_Message33}';
+ var Error_Message34 = '{!$Label.Error_Message34}';
+ var Error_Message35 = '{!$Label.Error_Message35}';
+ var Error_Message36 = '{!$Label.Error_Message36}';
+ var Error_Message40 = '{!$Label.Error_Message40}';
+ var Confirm_ChangedAfterPrint = '鎵撳嵃鍚庤淇℃伅鏈夊彉鍖栵紝鏄惁缁х画鎿嶄綔锛堟姤浠风紪鐮佷細鍙樻柊锛夛紵';
+ var Confirm_ChangedAfterBid = '璇ユ姤浠峰凡鎴愪负false浼犵エ锛屾槸鍚︾户缁搷浣滐紙灏嗕細鍋氬嚭涓�涓柊鐨勬姤浠凤級锛�';
+ var Confirm_PriceRefresh = '鎶ヤ环浣滄垚鍚巤!$Label.Price_Valid_Period}澶�,杩樻病鏈夋洿鏂拌繃浠锋牸锛岄渶瑕佹墽琛寋!$Label.Status_Update}锛�';
+ var QuoteDecide = {!QuoteDecide};
+ //window.sfdcPage.appendToOnloadQueue(function() { calonLoad() }); 杩欓噷鏈夐棶棰�
+ var openQuoteExcelImportWindow = null;
+
+ function selectAll() {
+ var checklist = j$("input[name='checklist']");
+ var all = j$(escapeVfId("checkAll"));
+ for(var i = 0; i < checklist.length; i++){
+ if (all[0].checked == true) {
+ checklist[i].checked = true;
+ } else {
+ checklist[i].checked = false;
+ }
+ }
+ }
+
+ // xudan 20140627 鍓婇櫎寰屻伄銉併偋銉冦偗澶栥仚銉偢銉冦偗
+ function clearAllCheck() {
+ j$(escapeVfId("checkAll"))[0].checked = false;
+ var checklist = j$("input[name='checklist']");
+ for(var i = 0; i < checklist.length; i++){
+ checklist[i].checked = false;
+ }
+ }
+ // 鎶ヤ环璇曠畻
+ function JumpJs() {
+ // console.log(ApexPages.currentPage().getParameters().get('core.apexpages.request.devconsole'));
+ // var t = '{!quoId}';
+ // window.open('/apex/test02?Id=' + t);
+ blockme();
+ Jump.call();
+ return true;
+ }
+
+ // 2018/09/28 CHAN-B4YAB8 鍒濆鍖栨椂鏇存柊缁忛攢鍟嗘姌鎵� start
+ //AgencyDiscountCalculation1();
+ // 2018/09/28 CHAN-B4YAB8 鍒濆鍖栨椂鏇存柊缁忛攢鍟嗘姌鎵� end
+ </script>
<script type="text/javascript">
//const duration = document.getElementById('dur');
@@ -871,4 +890,5 @@
</script>
<!-- //娣诲姞琛� html鐗规�у鍔犳粦鍔ㄦ潯 绮剧悽鎶�鏈� wql 2021/02/09 end -->
+
</apex:page>
\ No newline at end of file
--
Gitblit v1.9.1