From 7c7cb195462c2ded7bfe4105959ea36d1dd68ded Mon Sep 17 00:00:00 2001
From: 19626 <1962676589@qq.com>
Date: 星期三, 11 十月 2023 19:26:36 +0800
Subject: [PATCH] 近期修改

---
 force-app/main/default/lwc/lexPCLLostReportPage/lexPCLLostReportPage.html |   66 ++++++++++++++++++++++-----------
 1 files changed, 44 insertions(+), 22 deletions(-)

diff --git a/force-app/main/default/lwc/lexPCLLostReportPage/lexPCLLostReportPage.html b/force-app/main/default/lwc/lexPCLLostReportPage/lexPCLLostReportPage.html
index 66e4503..57c7626 100644
--- a/force-app/main/default/lwc/lexPCLLostReportPage/lexPCLLostReportPage.html
+++ b/force-app/main/default/lwc/lexPCLLostReportPage/lexPCLLostReportPage.html
@@ -4,7 +4,7 @@
  * @Author: chen jing wu
  * @Date: 2023-09-09 13:27:59
  * @LastEditors: chen jing wu
- * @LastEditTime: 2023-10-09 17:10:13
+ * @LastEditTime: 2023-10-11 14:52:27
 -->
 <!--
  * @Description: 
@@ -26,7 +26,7 @@
                 <div class="slds-notify slds-notify_toast slds-theme_success" role="status" style="top: 130px;">
                     <lightning-icon class="white" icon-name="utility:success" alternative-text="success"  variant="inverse" size="small" ></lightning-icon>
                   <div class="slds-notify__content"  style="padding-left: 20px;">
-                    <span class="toastMessage forceActionsText">{message}</span>
+                    <span style="font-size: 16px;" class="toastMessage forceActionsText">{message}</span>
                   </div>
                   <div class="slds-notify__close">
                     <lightning-button-icon icon-name="utility:close"  variant="bare-inverse" size="large" onclick={closeAction}></lightning-button-icon>
@@ -60,7 +60,7 @@
                 <div class="slds-notify slds-notify_toast slds-theme_error" role="status" style="background-color: #BA0517;top: 130px;">
                     <lightning-icon class="white" icon-name="utility:error"  size="small" variant="inverse"></lightning-icon>
                   <div class="slds-notify__content" style="padding-left: 20px;">
-                    <span class="toastMessage forceActionsText">{message}</span>
+                    <span style="font-size: 16px;" class="toastMessage forceActionsText">{message}</span>
                   </div>
                   <div class="slds-notify__close"> 
                     <lightning-button-icon icon-name="utility:close" variant="bare-inverse" size="large" onclick={closeAction}></lightning-button-icon>
@@ -149,7 +149,7 @@
                                                         </lightning-layout>
                                                         <lightning-layout> 
                                                             <template if:true={isEdit}>
-                                                                <template if:true={brand.lostBrand.Lost_By_Company_Mannual__c}>
+                                                                <!-- <template if:true={brand.lostBrand.Lost_By_Company_Mannual__c}>
                                                                     <lightning-layout-item size="4" padding="horizontal-small">
                                                                         <lightning-input name={i} data-id="Lost_By_Company_Mannual" value={brand.lostBrand.Lost_By_Company_Mannual__c} type="text" label="澶卞崟鍝佺墝(鎵嬪姩): " class="searchField" onchange={handleLostByCompanyMannualChange}></lightning-input>
                                                                     </lightning-layout-item>
@@ -158,7 +158,10 @@
                                                                     <lightning-layout-item size="4" padding="horizontal-small">
                                                                         <lightning-input disabled="true" name={i} data-id="Lost_By_Company_Mannual" value={brand.lostBrand.Lost_By_Company_Mannual__c} type="text" label="澶卞崟鍝佺墝(鎵嬪姩): " class="searchField" onchange={handleLostByCompanyMannualChange}></lightning-input>
                                                                     </lightning-layout-item>
-                                                                </template>
+                                                                </template> -->
+                                                                <lightning-layout-item size="4" padding="horizontal-small">
+                                                                    <lightning-input disabled="true" name={i} data-id="Lost_By_Company_Mannual" value={brand.lostBrand.Lost_By_Company_Mannual__c} type="text" label="澶卞崟鍝佺墝(鎵嬪姩): " class="searchField" onchange={handleLostByCompanyMannualChange}></lightning-input>
+                                                                </lightning-layout-item>
                                                             </template>
                                                             <template if:false={isEdit}>
                                                                 <lightning-layout-item size="4" padding="horizontal-small">
@@ -245,7 +248,13 @@
                                                                                         <td>
                                                                                             <template if:true={isEdit}>
                                                                                                 <template if:true={product.LostProductss.ProductClass__c}>
-                                                                                                    <lightning-combobox variant="label-hidden" read-only="true" class="ProductClass" data-id={i} placeholder="--鏃�--" title={i} name={j} options={productClassOptions} value={product.LostProductss.ProductClass__c} onchange={handleProductClassChange}></lightning-combobox> 
+                                                                                                    
+                                                                                                    <template if:true={product.LostProductss.LostProduct__c}>
+                                                                                                        <lightning-combobox variant="label-hidden" read-only="true" class="ProductClass" data-id={i} placeholder="--鏃�--" title={i} name={j} options={productClassOptions} value={product.LostProductss.ProductClass__c} onchange={handleProductClassChange}></lightning-combobox> 
+                                                                                                    </template>
+                                                                                                    <template if:false={product.LostProductss.LostProduct__c}>
+                                                                                                        <lightning-combobox variant="label-hidden"  class="ProductClass" data-id={i} placeholder="--鏃�--" title={i} name={j} options={productClassOptions} value={product.LostProductss.ProductClass__c} onchange={handleProductClassChange}></lightning-combobox> 
+                                                                                                    </template>
                                                                                                 </template>
                                                                                                 <template if:false={product.LostProductss.ProductClass__c}>
                                                                                                     <lightning-combobox variant="label-hidden"  class="ProductClass" data-id={i} placeholder="--鏃�--" title={i} name={j} options={productClassOptions} value={product.LostProductss.ProductClass__c} onchange={handleProductClassChange}></lightning-combobox> 
@@ -265,7 +274,7 @@
                                                                                         <td>
                                                                                            
                                                                                             <template if:true={isEdit}>
-                                                                                                <lightning-combobox variant="label-hidden" class="ProductCategory" data-id={i} placeholder={product.LostProductss.ProductCategory__c} title={i} name={j} options={product.productOptions} value={product.LostProductss.ProductCategory__c} onchange={handleProductCategoryChange} read-only="true"></lightning-combobox> 
+                                                                                                <lightning-combobox variant="label-hidden" class="ProductCategory" data-id={i} placeholder="--鏃�--" title={i} name={j} options={product.productOptions} value={product.LostProductss.ProductCategory__c} onchange={handleProductCategoryChange} read-only="true"></lightning-combobox> 
                                                                                             </template>
                                                                                             <template if:false={isEdit}>
                                                                                                 <lightning-combobox variant="label-hidden" class="ProductCategory" data-id={i} placeholder="--鏃�--" title={i} name={j} options={product.productOptions} value={product.LostProductss.ProductCategory__c} onchange={handleProductCategoryChange} read-only="true"></lightning-combobox> 
@@ -670,13 +679,23 @@
             </div>
         </template>
         <template if:true={isPop}>
-            <section role="dialog" aria-labelledby="modal-heading-01" aria-describedby="modal-content-id-1" tabindex="-1" aria-modal="true" class="slds-modal slds-fade-in-open " data-aura-rendered-by="478:0">
-                <div style="height: 50px;"></div>
-                <div style="background-color: white;height:196px;" class="slds-modal__container" data-aura-rendered-by="479:0">
-                    
-
-                        <div style="align-self: center;font-size: large;padding-bottom: 10px" slot="header">{modalsubmitLabel}椤甸潰</div>
-                        <template if:true={isLookup}>
+            <section role="dialog" tabindex="-1" aria-modal="true" aria-labelledby="modal-heading-01" class="slds-modal slds-fade-in-open">
+                <div class="slds-modal__container" data-aura-rendered-by="479:0">
+                        <!-- <button class="slds-button slds-button_icon slds-modal__close slds-button_icon-inverse">
+                            <svg  aria-hidden="true">
+                            <use xlink:href="/assets/icons/utility-sprite/svg/symbols.svg#close"></use>
+                            </svg>
+                            <span class="slds-assistive-text">Cancel and close</span>
+                        </button> -->
+                        <div style="height: 40px;">
+                            <lightning-button-icon style="float: right;" variant="bare" icon-class="slds-button__icon slds-button__icon_large slds-button_icon-inverse" icon-name="utility:close"  onclick={handleModalCancel}></lightning-button-icon>
+                        </div>
+                        
+                        <div class="slds-modal__header">
+                            <h1 id="modal-heading-01" class="slds-modal__title slds-hyphenate">{modalsubmitLabel}&nbsp;璇环澶卞崟/鍙栨秷鎶ュ憡</h1>
+                        </div>
+                        <div class="slds-modal__content slds-p-around_medium" id="modal-content-id-1">
+                            <template if:true={isLookup}>
                            
                                 <lightning-record-edit-form
                                 object-api-name='Lost_Report__c'
@@ -688,13 +707,16 @@
                                 </div>
                             </lightning-record-edit-form>
                             
-                        </template>
-                        <template if:false={isLookup}>
-                            <div style="height: 100px;">
-                                <lightning-textarea class="comment" style="width: 95%;padding-left: 10px;" data-id="comment" label="璇勮" value=""></lightning-textarea>
-                                
-                            </div>
-                        </template>
+                            </template>
+                            <template if:false={isLookup}>
+                                <div>
+                                    <lightning-textarea class="textAreaBody" style="width: 95%;padding-left: 10px;" data-id="comment" label="璇勮" value=""></lightning-textarea>
+                                    
+                                </div>
+                            </template>
+                        </div>
+                        <!-- <div style="align-self: center;font-size: large;padding-bottom: 10px" slot="header"></div> -->
+                        
                         
                     
                     <!-- <template if:true={isLookup}>
@@ -710,7 +732,7 @@
                         </lightning-layout-item>
                           
                     </template> -->
-                    <div slot="footer" style="align-self: center;padding-top: 10px;">
+                    <div class="slds-modal__footer">
                         <lightning-button
                             class="slds-button "
                           data-id="Cancel"

--
Gitblit v1.9.1