| | |
| | | * @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: |
| | |
| | | <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> |
| | |
| | | <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> |
| | |
| | | </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> |
| | |
| | | <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"> |
| | |
| | | <td> |
| | | <template if:true={isEdit}> |
| | | <template if:true={product.LostProductss.ProductClass__c}> |
| | | |
| | | <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> |
| | |
| | | <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> |
| | |
| | | </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"> |
| | | <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 style="align-self: center;font-size: large;padding-bottom: 10px" slot="header">{modalsubmitLabel}页面</div> |
| | | <div class="slds-modal__header"> |
| | | <h1 id="modal-heading-01" class="slds-modal__title slds-hyphenate">{modalsubmitLabel} 询价失单/取消报告</h1> |
| | | </div> |
| | | <div class="slds-modal__content slds-p-around_medium" id="modal-content-id-1"> |
| | | <template if:true={isLookup}> |
| | | |
| | | <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> |
| | | <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}> |
| | |
| | | </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" |