| | |
| | | <template></template> |
| | | <template> |
| | | <!-- 全局加载标识 --> |
| | | <div class="exampleHolder" if:true={IsLoading} > |
| | | <lightning-spinner alternative-text="Loading" size="large" style="height: 100%;top: 0%; z-index: 7"></lightning-spinner> |
| | | </div> |
| | | <div style="float:right; z-index: 8;" > |
| | | <div class="demo-only demo-only_viewport" style="height:4.5rem;" if:true = {Tongzhishow}> |
| | | <div class="slds-notification-container" style={IsLeftStyle}> |
| | | <div aria-live="assertive" aria-atomic="true" class="slds-assistive-text">提示</div> |
| | | <section class="slds-notification" role="dialog" aria-labelledby="noti77" aria-describedby="dialog-body-id-43" > |
| | | <div class="slds-notification__body" id="dialog-body-id-43" > |
| | | <a class="slds-notification__target slds-media" href="#" style={BgColorStyle}> |
| | | <div class="slds-media__body"> |
| | | <!-- <h2 class="slds-text-heading_small slds-m-bottom_xx-small" id="noti77" style="color:white;"> |
| | | <span class="slds-assistive-text" >task notification:</span> |
| | | 提示 |
| | | </h2> --> |
| | | <p style="color:white;" >{SaveShowText}</p> |
| | | </div> |
| | | </a> |
| | | <button class="slds-button slds-button_icon slds-button_icon-container slds-notification__close" title="close"> |
| | | <lightning-icon class="my-icon" icon-name="utility:close" alternative-text="close" title="close" size="x-small" onclick={CloseAlert}></lightning-icon> |
| | | </button> |
| | | </div> |
| | | </section> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | <!-- 全局加载标识 --> |
| | | <!-- 基本信息 --> |
| | | <!-- 基本信息 --> |
| | | <div > |
| | | <article class="slds-card" > |
| | | <!-- 样式头 --> |
| | | <div class="slds-card__header slds-grid" > |
| | | <header class="slds-media slds-media_center slds-has-flexi-truncate"> |
| | | <div class="slds-media__body"> |
| | | <h2 class="slds-card__header-title"> |
| | | <a href="#" class="slds-card__header-link slds-truncate" title="Accounts"> |
| | | <span>基本信息</span> |
| | | </a> |
| | | </h2> |
| | | </div> |
| | | </header> |
| | | </div> |
| | | <!-- 样式头 --> |
| | | <div class="slds-card__body slds-card__body_inner"> |
| | | <div > |
| | | <!-- 医院名 --> |
| | | <label class="slds-form-element__label" style="width:100px;text-align:right;margin-left: 20px;"> {HPName}:</label> |
| | | <div class="slds-form-element__control" style="width:230px; display: inline-block;">{oppInfo.HP_Name__c}</div> |
| | | <!-- 医院名 --> |
| | | <!-- 科室名 --> |
| | | <label class="slds-form-element__label" style="width:50px;text-align:right;margin-left: 10px;"> {DepartmentName}:</label> |
| | | <div class="slds-form-element__control" style="width:150px; display: inline-block;">{oppInfo.Department_Name__c}</div> |
| | | <!-- 科室名 --> |
| | | <!-- 销售渠道 --> |
| | | <label class="slds-form-element__label" style="width:95px;text-align:right;margin-left: 52px;"> {SalesRoot}:</label> |
| | | <div class="slds-form-element__control" style="width:150px; display: inline-block;">{oppInfo.Sales_Root__c}</div> |
| | | <!-- 销售渠道 --> |
| | | <!-- 货币 --> |
| | | <label class="slds-form-element__label" style="width:90px;text-align:right;margin-left: 80px;"> {Currency}:</label> |
| | | <div class="slds-form-element__control" style="width:60px; display: inline-block;">{oppInfo.CurrencyIsoCode}</div> |
| | | <!-- 货币 --> |
| | | </div> |
| | | <div > |
| | | <!-- 报价编码 --> |
| | | <label class="slds-form-element__label" style="width:100px;text-align:right; margin-left: 20px;"> {QuotoNo}:</label> |
| | | <div class="slds-form-element__control" style="width:170px; display: inline-block;">{quo.Quote_No__c}</div> |
| | | <!-- 报价编码 --> |
| | | <!-- 报价名称 --> |
| | | <label class="slds-form-element__label" style="width:100px;text-align:right;margin-left: 20px;"> {QuotoName}:</label> |
| | | <div class ="slds-form-element__control" style=" display: inline-block;"> |
| | | <lightning-input type="text" value={quo.QuoteName__c} disabled ={Decisiontag} onblur={QuoteNameAssignment}> </lightning-input> |
| | | <div style="font-size:12px;color:#ba0517" if:true={nafg.qname}>请输入值!</div> |
| | | <!-- <div style="font-size:1px;color:#ba0517">请输入值!</div> --> |
| | | </div> |
| | | <!-- 报价名称 --> |
| | | <!-- 报价总额 --> |
| | | <label class="slds-form-element__label" style="width:100px;text-align:right;margin-left: 20px;"> {TotalPrice}:</label> |
| | | <div class ="slds-form-element__control" style=" width:200px;display: inline-block;">{quo.QuoteTotal_Page__c}</div> |
| | | <!-- 报价总额 --> |
| | | <!-- 产品标准定价总额 --> |
| | | <label class="slds-form-element__label" style="width:110px;text-align:right; margin-left: 10px;">产品标准定价总额:</label> |
| | | <div class="slds-form-element__control" style="width:170px; display: inline-block;">{quo.Estimation_List_Price__c}</div> |
| | | <!-- 产品标准定价总额 --> |
| | | </div> |
| | | <div > |
| | | <!-- OCM预测额销售 --> |
| | | <label class="slds-form-element__label" style="width:110px;text-align:right;margin-left: 10px;"> {ForecastAmounts}:</label> |
| | | <!-- <div class="slds-form-element__control" style="width:170px; display: inline-block;">{oppInfo.Wholesale_Price__c}</div> --> |
| | | <div class="slds-form-element__control" style="width:170px; display: inline-block;">{quo.OCM_Sales_Forecast__c}</div> |
| | | <!-- OCM预测额销售 --> |
| | | <!-- 最终客户成交价(仅OLY供货产品) --> |
| | | <label class="slds-form-element__label" style="width:110px;text-align:right;margin-left: 10px;"> {ContactPrice}:</label> |
| | | <div class ="slds-form-element__control" style=" width:177px;display: inline-block;"> |
| | | <lightning-input class="input-text-align_right" type="text" value={quo.Dealer_Final_Price_Page__c} disabled ={Decisiontag} onblur={DealerFinalPricePageChange}> </lightning-input> |
| | | <div style="font-size:12px;color:#ba0517" if:true={nafg.dfpp}>请输入值!</div> |
| | | <!-- <div style="font-size:1px;color:#ba0517">请输入值!</div> --> |
| | | </div> |
| | | <!-- 最终客户成交价(仅OLY供货产品) --> |
| | | <!-- 主机装机地 --> |
| | | <label class="slds-form-element__label" style="width:100px;text-align:right;margin-left: 20px;">主机装机地点:</label> |
| | | <div class ="slds-form-element__control" style="width:120px; display: inline-block;"> |
| | | <lightning-combobox |
| | | name="progress" |
| | | value={quo.Installation_location__c} |
| | | options={HostInstallationLocationoptions} |
| | | onchange={HostInstallationLocationhandleChange} disabled ={Decisiontag}></lightning-combobox> |
| | | </div> |
| | | <!-- 主机装机地 --> |
| | | <!-- 成本 --> |
| | | <!-- <label class="slds-form-element__label" style="width:100px;text-align:right;margin-left: 105px;"> {Cost} :</label> |
| | | <div class="slds-form-element__control" style="width:150px; display: inline-block;">{quo.Stocking_Price__c}</div> --> |
| | | <!-- 成本 --> |
| | | </div> |
| | | <div > |
| | | <!-- 合同保修期(年) --> |
| | | <label class="slds-form-element__label" style="width:120px;text-align:right; margin-left: 0px;">合同保修期(年):</label> |
| | | <div class ="slds-form-element__control" style="width:120px; display: inline-block;" if:true={QuotCalfag}> |
| | | <lightning-combobox |
| | | data-parent-id="GuranteePeriodId" |
| | | name="progress" |
| | | value={quo.Gurantee_Period__c} |
| | | options={ContractWarrantyPeriodYearOptions} |
| | | onchange={ContractWarrantyPeriodYearHandleChange} disabled ={Decisiontag}></lightning-combobox> |
| | | </div> |
| | | <div class ="slds-form-element__control" style="width:120px; display: inline-block;" if:false={QuotCalfag}> |
| | | {quo.Gurantee_Period__c} |
| | | </div> |
| | | <!-- 合同保修期(年) --> |
| | | <!-- 取消市场多年保修 --> |
| | | <label class="slds-form-element__label" style="width:120px;text-align:right;margin-left:50px;">取消市场多年保修: </label> |
| | | <div class ="slds-form-element__control" style=" display: inline-block;"> |
| | | <lightning-input type="checkbox" checked={quo.multiYearWarranty__c} disabled ={Decisiontag} onchange={multiYearWarrantyChange}> </lightning-input> |
| | | </div> |
| | | <!-- 取消市场多年保修 --> |
| | | <!-- 多年保价格合计 --> |
| | | <label class="slds-form-element__label" style="width:100px;text-align:right;margin-left: 165px;">多年保价格合计: </label> |
| | | <div class="slds-form-element__control" style="width:150px; display: inline-block;">{quo.MultiYearWarrantyTotalPrice__c}</div> |
| | | <!-- 多年保价格合计 --> |
| | | </div> |
| | | <div> |
| | | <!-- 报价变化 --> |
| | | <label class="slds-form-element__label" style="width:80px;text-align:right; margin-left: 40px;">报价变化: </label> |
| | | <div class ="slds-form-element__control" style="width:120px; display: inline-block;"> |
| | | <lightning-combobox |
| | | name="progress" |
| | | value={quo.QuotationChange__c} |
| | | options={QuotationChangesOptions} |
| | | onchange={QuotationChangesHandleChange} disabled ={Decisiontag}></lightning-combobox> |
| | | </div> |
| | | <!-- 报价变化 --> |
| | | |
| | | <!-- 主机不带监视器台车 --> |
| | | <label class="slds-form-element__label" style="width:130px;text-align:right;margin-left: 40px;">主机不带监视器台车: </label> |
| | | <div class ="slds-form-element__control" style=" display: inline-block;"> |
| | | <lightning-input type="checkbox" checked={quo.MainEngineWithoutMonitor__c} disabled ={Decisiontag} onchange={MainEngineWithoutMonitorChange}> </lightning-input> |
| | | </div> |
| | | <!-- 主机不带监视器台车 --> |
| | | <!-- 跨科室 --> |
| | | <label class="slds-form-element__label" style="width:120px;text-align:right;margin-left: 145px;">跨科室: </label> |
| | | <div class ="slds-form-element__control" style=" display: inline-block;"> |
| | | <lightning-input type="checkbox" checked={quo.Interdepartmental__c} disabled ={Decisiontag} onchange={InterdepartmentalChange}> </lightning-input> |
| | | </div> |
| | | <!-- 跨科室 --> |
| | | </div> |
| | | </div> |
| | | </article> |
| | | </div> |
| | | <!-- 基本信息 --> |
| | | <!-- 经销商价格 --> |
| | | <div > |
| | | <article class="slds-card" > |
| | | <!-- 样式头 --> |
| | | <div class="slds-card__header slds-grid" > |
| | | <header class="slds-media slds-media_center slds-has-flexi-truncate"> |
| | | <div class="slds-media__body"> |
| | | <h2 class="slds-card__header-title"> |
| | | <a href="#" class="slds-card__header-link slds-truncate" title="Accounts"> |
| | | <span>经销商价格</span> |
| | | </a> |
| | | </h2> |
| | | </div> |
| | | </header> |
| | | </div> |
| | | <!-- 样式头 --> |
| | | <div class="slds-card__body slds-card__body_inner"> |
| | | <!-- style="background-color:#ffd6c1" --> |
| | | <div > |
| | | <div style="margin-bottom: 15px; "> |
| | | <!--报价调整折扣 --> |
| | | <label class="slds-form-element__label" style="width:120px;text-align:right;">报价调整折扣</label> |
| | | <div class ="slds-form-element__control" style=" display: inline-block;"> |
| | | <lightning-input class="input-text-align_right" type="text" value={quo.Quote_Adjust_Calculate__c} disabled ={Decisiontag} onblur={QuoteAdjustCalculateChange}> </lightning-input> |
| | | <div style="font-size:12px;color:#ba0517" if:true={nafg.qacc}>请输入值!</div> |
| | | </div> |
| | | <!--报价调整折扣 --> |
| | | <!-- 百分比标签 --> |
| | | <label class="slds-form-element__label" style="width:20px; display: inline-block; margin-left: 5px;">{Percent}</label> |
| | | <!-- 百分比标签 --> |
| | | <!--报价调整金额 --> |
| | | <label class="slds-form-element__label" style="width:120px;text-align:right;">报价调整金额</label> |
| | | <div class ="slds-form-element__control" style=" display: inline-block; margin-left: 15px;"> |
| | | <lightning-input class="input-text-align_right" type="text" value={quo.Quote_Adjust_Amount_Page__c} disabled ={Decisiontag} onblur={QuoteAdjustAmountPageChange}> </lightning-input> |
| | | <div style="font-size:12px;color:#ba0517" if:true={nafg.qaapc}>请输入值!</div> |
| | | </div> |
| | | <!--报价调整金额 --> |
| | | <!--是否已报价计算标识 --> |
| | | <label class="slds-form-element__label" style="width:120px;text-align:right;margin-left: 20px;">是否已报价计算:</label> |
| | | <div class ="slds-form-element__control" style=" display: inline-block;"> |
| | | <lightning-input type="checkbox" checked={quo.IsQuoteTrial__c} disabled> </lightning-input> |
| | | </div> |
| | | <!--是否已报价计算标识 --> |
| | | </div> |
| | | <div style="margin-bottom: 5px; "> |
| | | <!--经销商一名称 --> |
| | | <label class="slds-form-element__label" style="width:120px;text-align:right;">{SalesName1}</label> |
| | | <div style="display: inline-block;"> |
| | | <c-jzlookuplightning2 data-parent-id="Agency1Id" recordid ={quoId} onsearchchange={onsearchchange1} objectname="Quote" fieldname="Agency1__c" variant = "label-hidden" lookupstyle="width:300px;"> </c-jzlookuplightning2> |
| | | <div style="font-size:12px;color:#ba0517" if:true={nafg.Agency1}>请输入值!</div> |
| | | <div style="font-size:12px;color:#ba0517" if:true={nafg.nAgency1}>请不要输入値。</div> |
| | | </div> |
| | | <!--经销商一名称 --> |
| | | <!-- 合同金额标签 --> |
| | | <label class="slds-form-element__label" style="width:60px; display: inline-block; margin-left: 100px;">{Amount}</label> |
| | | <!-- 合同金额标签 --> |
| | | <!--经销商一合同金额 --> |
| | | <div class ="slds-form-element__control" style="width:140px; display: inline-block; margin-left: 5px;" if:false={Decisiontag}> |
| | | <lightning-input class="input-text-align_right" type="text" value={quo.OCM_Agent1_Price_Page__c} disabled ={quo.IsQuoteTrial__c} onblur ={OCMAgent1PricePageonChange}> </lightning-input> |
| | | <div style="font-size:12px;color:#ba0517" if:true={nafg.oapp}>请输入值!</div> |
| | | <div style="font-size:12px;color:#ba0517" if:true={nafg.noapp}>请不要输入値。</div> |
| | | </div> |
| | | <div class ="slds-form-element__control" style="width:140px; display: inline-block; margin-left: 5px;" if:true={Decisiontag}> |
| | | <lightning-input class="input-text-align_right" type="text" value={quo.OCM_Agent1_Price_Page__c} disabled ={Decisiontag} onblur ={OCMAgent1PricePageonChange}> </lightning-input> |
| | | <div style="font-size:12px;color:#ba0517" if:true={nafg.oapp}>请输入值!</div> |
| | | <div style="font-size:12px;color:#ba0517" if:true={nafg.noapp}>请不要输入値。</div> |
| | | </div> |
| | | <!--经销商一合同金额 --> |
| | | <!-- 利润标签 --> |
| | | <label class="slds-form-element__label" style="width:45px; display: inline-block; margin-left: 100px;">{SalesProfit}:</label> |
| | | <!-- 利润标签 --> |
| | | <!--经销商一利润显示 --> |
| | | <div class="slds-form-element__control" style="width:120px; display: inline-block;margin-left: 5px;">{quo.Agency1_Profit__c}</div> |
| | | <!--经销商一利润显示 --> |
| | | <!--经销商一百分比显示 --> |
| | | <div class="slds-form-element__control" style="width:120px; display: inline-block;text-align:right;margin-left: 20px;">{quo.Agency1_Profit_Rate__c}</div> |
| | | <!--经销商一百分比显示 --> |
| | | <!-- 百分比标签 --> |
| | | <label class="slds-form-element__label" style="width:20px; display: inline-block; margin-left: 5px;">{Percent}</label> |
| | | <!-- 百分比标签 --> |
| | | </div> |
| | | <div style="margin-bottom: 15px; "> |
| | | <!--经销商二名称 --> |
| | | <label class="slds-form-element__label" style="width:120px;text-align:right;">{Sales_Name2}</label> |
| | | <div style="display: inline-block;"> |
| | | <c-jzlookuplightning2 data-parent-id="Agency2Id" recordid ={quoId} onsearchchange={onsearchchange2} objectname="Quote" fieldname="Agency2__c" variant = "label-hidden" lookupstyle="width:300px; display: inline-block;"> </c-jzlookuplightning2> |
| | | <div style="font-size:12px;color:#ba0517" if:true={nafg.Agency2}>请输入值!</div> |
| | | <div style="font-size:12px;color:#ba0517" if:true={nafg.nAgency2}>请不要输入値。</div> |
| | | </div> |
| | | <!--经销商二名称 --> |
| | | <!-- 合同金额标签 --> |
| | | <label class="slds-form-element__label" style="width:60px; display: inline-block; margin-left: 100px;">{Amount}</label> |
| | | <!-- 合同金额标签 --> |
| | | <!--经销商二合同金额 --> |
| | | <div class ="slds-form-element__control" style="width:140px; display: inline-block; margin-left: 5px;"> |
| | | <lightning-input class="input-text-align_right" type="text" value={quo.Agent1_Agent2_Price_Page__c} disabled ={Decisiontag} onblur ={Agent1Agent2PricePageChange}> </lightning-input> |
| | | <div style="font-size:12px;color:#ba0517" if:true={nafg.aapp}>请输入值!</div> |
| | | <div style="font-size:12px;color:#ba0517" if:true={nafg.naapp}>请不要输入値。</div> |
| | | </div> |
| | | <!--经销商二合同金额 --> |
| | | <!-- 利润标签 --> |
| | | <label class="slds-form-element__label" style="width:45px; display: inline-block; margin-left: 100px;">{SalesProfit}:</label> |
| | | <!-- 利润标签 --> |
| | | <!--经销商二利润显示 --> |
| | | <div class="slds-form-element__control" style="width:120px; display: inline-block;margin-left: 5px;">{quo.Agency2_Profit__c}</div> |
| | | <!--经销商二利润显示 --> |
| | | <!--经销商二百分比显示 --> |
| | | <div class="slds-form-element__control" style="width:120px; display: inline-block;text-align:right;margin-left: 20px;">{quo.Agency2_Profit_Rate__c}</div> |
| | | <!--经销商二百分比显示 --> |
| | | <!-- 百分比标签 --> |
| | | <label class="slds-form-element__label" style="width:20px; display: inline-block; margin-left: 5px;">{Percent}</label> |
| | | <!-- 百分比标签 --> |
| | | </div> |
| | | <div style="margin-bottom: 15px; "> |
| | | <!-- 保存 --> |
| | | <button class="slds-button slds-button_neutral slds-button_stretch lexBorder" style="width:120px;text-align:right; margin-left: 52px; font-size:small;" disabled ={Save_button} onclick={savebuttonClick} if:true={hidden}>保存</button> |
| | | <!-- 保存 --> |
| | | <!-- 保存并关闭 --> |
| | | <button class="slds-button slds-button_neutral slds-button_stretch lexBorder" style="width:125px;text-align:right; margin-left: 52px; font-size:small;" disabled ={Save_button} onclick={Saveandback} if:true={hidden}>{Opp_Button}</button> |
| | | <!-- 保存并关闭 --> |
| | | <!-- 报价计算 --> |
| | | <button class={QTcss} style="width:120px;text-align:right; margin-left: 52px; font-size:small;" onclick={showQuotationCalculation} if:true={QuotCalfag}>报价计算</button> |
| | | <!-- 报价计算 --> |
| | | <!-- Decide --> |
| | | <button class="slds-button slds-button_neutral slds-button_stretch lexBorder" style="width:120px;text-align:right; margin-left: 52px; font-size:small;" disabled ={Decision_button} onclick={decisionbuttonClick} if:true={hidden}>{QuoteDecision_Button}</button> |
| | | <!-- Decide --> |
| | | <!-- 复制 --> |
| | | <button class="slds-button slds-button_neutral slds-button_stretch lexBorder" style="width:120px;text-align:right; margin-left: 52px; font-size:small;" onclick={copyToClipboardNewQuoteEntry} if:true={hidden}>{Copy_Detail}</button> |
| | | <!-- 复制 --> |
| | | <!-- 不保存(返回) --> |
| | | <button class="slds-button slds-button_neutral slds-button_stretch lexBorder" style="width:125px;text-align:right; margin-left: 52px; font-size:small;" onclick={noSaveback}>不保存(返回)</button> |
| | | <!-- 不保存(返回) --> |
| | | </div> |
| | | <div style="margin-bottom: 15px;" if:true={hidden}> |
| | | <!-- 备货确认申请保存 --> |
| | | <button class="slds-button slds-button_neutral slds-button_stretch lexBorder" style="width:120px;text-align:right; margin-left: 52px; font-size:small;" disabled ={Save_button} onclick={submitOppoApplyStockJs}>备货确认申请</button> |
| | | <!-- 备货确认申请 --> |
| | | <!-- CSV下载 --> |
| | | <button class="slds-button slds-button_neutral slds-button_stretch lexBorder" style="width:125px;text-align:right; margin-left: 52px; font-size:small;" disabled ={CSVflag} onclick={DownloadCsvGet}>CSV下载</button> |
| | | <!-- CSV下载 --> |
| | | <!-- 确认报价 --> |
| | | <button class="slds-button slds-button_neutral slds-button_stretch lexBorder" style="width:120px;text-align:right; margin-left: 52px; font-size:small;" if:true={UnConfirmQuote} onclick={QuoteConfirmJs}>确认报价</button> |
| | | <!-- 确认报价 --> |
| | | </div> |
| | | |
| | | </div> |
| | | </div> |
| | | </article> |
| | | </div> |
| | | <!-- 经销商价格 --> |
| | | <!-- 选择报价产品 --> |
| | | <!-- <div style="min-height: 60px;border-top: 1px solid rgb(201, 201, 201);"> |
| | | <c-jz-data-table miniheight="min-height: 60px" onrowselection={SelectedToBeproduct} name="jzDataTableToBeproduct" ongettabledata={getTableDataToBeproduct} table-data={jzDataToBeproduct} table-is-loding={tableIsLodingToBeproduct} options={initDataTableToBeproduct} onrowaction={handleRowAction} onsave={onsaveToBeproduct}></c-jz-data-table> |
| | | </div> --> |
| | | <div if:false={pricePolicyflag}> |
| | | <article class="slds-card" > |
| | | <!-- 样式头 --> |
| | | <div class="slds-card__header slds-grid" > |
| | | <header class="slds-media slds-media_center slds-has-flexi-truncate"> |
| | | <div class="slds-media__body"> |
| | | <h2 class="slds-card__header-title"> |
| | | <a href="#" class="slds-card__header-link slds-truncate" title="Accounts"> |
| | | <span>选择报价产品</span> |
| | | </a> |
| | | </h2> |
| | | </div> |
| | | </header> |
| | | </div> |
| | | <!-- 样式头 --> |
| | | <div class="slds-card__body slds-card__body_inner"> |
| | | <div style="margin-bottom: 15px; "> |
| | | <!-- 选择产品 --> |
| | | <button class="slds-button slds-button_neutral slds-button_stretch lexBorder" style="width:125px;text-align:right; margin-left: 52px; font-size:small;" disabled ={Decisiontag} onclick={NewQuotationProducts}>选择产品</button> |
| | | <!-- 选择产品 --> |
| | | <!-- 产品配套搜索 --> |
| | | <button class="slds-button slds-button_neutral slds-button_stretch lexBorder" style="width:120px;text-align:right; margin-left: 52px; font-size:small;" disabled ={Decisiontag} onclick={openSetProduct}>{SetProduct}</button> |
| | | <!-- 产品配套搜索 --> |
| | | <!-- Excel导入 --> |
| | | <button class="slds-button slds-button_neutral slds-button_stretch lexBorder" style="width:120px;text-align:right; margin-left: 52px; font-size:small;" disabled ={Decisiontag} onclick={openQuoteExcelImport}>{ExcelImport}</button> |
| | | <!-- Excel导入 --> |
| | | <!-- 删除 --> |
| | | <button class="slds-button slds-button_neutral slds-button_stretch lexBorder" style="width:120px;text-align:right; margin-left: 52px; font-size:small;" disabled ={Decisiontag} onclick={deletejzDataToBeproduct}>删除产品</button> |
| | | <!-- 删除 --> |
| | | <!-- 更新价格状态 --> |
| | | <button class="slds-button slds-button_neutral slds-button_stretch lexBorder" style="width:120px;text-align:right; margin-left: 52px; font-size:small;" disabled ={Decisiontag} onclick ={productCompare}>{StatusUpdate}</button> |
| | | <!-- 更新价格状态 --> |
| | | <!-- 替换产品otcode --> |
| | | <button class="slds-button slds-button_neutral slds-button_stretch lexBorder" style="width:130px;text-align:right; margin-left: 52px; font-size:small;" disabled ={Decisiontag} onclick={updateOtcode}>替换产品otcode</button> |
| | | <!-- 替换产品otcode --> |
| | | </div> |
| | | <div style="min-height: 60px;border-top: 1px solid rgb(201, 201, 201);"> |
| | | <c-jz-data-table idkey="lineNo" miniheight="min-height: 60px" onrowselection={SelectedToBeproduct} name="jzDataTableToBeproduct" ongettabledata={getTableDataToBeproduct} table-data={jzDataToBeproduct} table-is-loding={tableIsLodingToBeproduct} options={initDataTableToBeproduct} onrowaction={handleRowAction} onsave={onsaveToBeproduct} if:true={tobeflag}></c-jz-data-table> |
| | | </div> |
| | | </div> |
| | | </article> |
| | | </div> |
| | | <!-- 选择报价产品 --> |
| | | <!-- 测试报价计算组件 --> |
| | | <!-- <div if:true={pricePolicyflag1}> |
| | | <c-quote-trial paramid={quoId}></c-quote-trial> |
| | | </div> --> |
| | | <!-- 报价计算待选产品 --> |
| | | <div if:true={pricePolicyflag}> |
| | | <article class="slds-card" > |
| | | <!-- 样式头 --> |
| | | <div class="slds-card__header slds-grid" > |
| | | <header class="slds-media slds-media_center slds-has-flexi-truncate"> |
| | | <div class="slds-media__body"> |
| | | <h2 class="slds-card__header-title"> |
| | | <a href="#" class="slds-card__header-link slds-truncate" title="Accounts"> |
| | | <span>报价计算待选产品</span> |
| | | </a> |
| | | </h2> |
| | | </div> |
| | | </header> |
| | | </div> |
| | | <!-- 样式头 --> |
| | | <div class="slds-card__body slds-card__body_inner"> |
| | | <div style="min-height: 60px;"> |
| | | <c-jz-data-table miniheight="min-height: 60px" onrowselection={SelectedFnDefault} name="jzDataTableDefault" ongettabledata={getTableDataDefault} table-data={jzDataDefault} table-is-loding={tableIsLodingDefault} options={initDataTableDefault}></c-jz-data-table> |
| | | </div> |
| | | </div> |
| | | </article> |
| | | </div> |
| | | <!-- 报价计算待选产品 --> |
| | | <!-- 报价计算使用价格政策 --> |
| | | <div if:true={pricePolicyflag}> |
| | | <article class="slds-card" > |
| | | <!-- 样式头 --> |
| | | <div class="slds-card__header slds-grid" > |
| | | <header class="slds-media slds-media_center slds-has-flexi-truncate"> |
| | | <div class="slds-media__body"> |
| | | <h2 class="slds-card__header-title"> |
| | | <a href="#" class="slds-card__header-link slds-truncate" title="Accounts"> |
| | | <span>报价计算使用价格政策</span> |
| | | </a> |
| | | </h2> |
| | | </div> |
| | | </header> |
| | | </div> |
| | | <!-- 样式头 --> |
| | | <div class="slds-card__body slds-card__body_inner"> |
| | | <div if:true={buttonIsShow}> |
| | | <!-- <button class="slds-button slds-button_brand" onclick={showModal}>选择促销方案固定价格</button> --> |
| | | <!-- 选择促销方案 --> |
| | | <button class="slds-button slds-button_neutral slds-button_stretch lexBorder" style="width:170px;text-align:right; font-size:small;" onclick={showModal}>选择促销方案固定价格</button> |
| | | <!-- 选择促销方案 --> |
| | | <!-- 选择一般产品固定价格 --> |
| | | <button class="slds-button slds-button_neutral slds-button_stretch lexBorder" style=" font-size:small; width:170px;margin-bottom: 15px;" onclick={showModalFix}>选择一般产品固定价格</button> |
| | | <!-- 选择一般产品固定价格 --> |
| | | <button class="slds-button slds-button_neutral slds-button_stretch lexBorder" style=" font-size:small; width:170px;margin-bottom: 15px;" onclick={deleteFixedPrice}>删除</button> |
| | | </div> |
| | | <div if:true={jzDataTableFixedPriceIsShow}> |
| | | <div style="min-height: 60px;border-top: 1px solid rgb(201, 201, 201);"> |
| | | <c-jz-data-table miniheight="min-height: 60px" idkey="DelectId" onrowselection={SelectedFnFixedPrice} name="jzDataTableFixedPrice" ongettabledata={getTableDataFixedPrice} table-data={jzDataFixedPrice} table-is-loding={tableIsLodingFixedPrice} options={initDataTableFixedPrice} onsave={handleSaveFixedPrice} if:true={jzshows3}></c-jz-data-table> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | </article> |
| | | </div> |
| | | <!-- 报价计算使用价格政策 --> |
| | | <!-- 报价计算使用折扣政策 --> |
| | | <div if:true={pricePolicyflag}> |
| | | <article class="slds-card" > |
| | | <!-- 样式头 --> |
| | | <div class="slds-card__header slds-grid" > |
| | | <header class="slds-media slds-media_center slds-has-flexi-truncate"> |
| | | <div class="slds-media__body"> |
| | | <h2 class="slds-card__header-title"> |
| | | <a href="#" class="slds-card__header-link slds-truncate" title="Accounts"> |
| | | <span>报价计算使用折扣政策</span> |
| | | </a> |
| | | </h2> |
| | | </div> |
| | | </header> |
| | | </div> |
| | | <!-- 样式头 --> |
| | | <div class="slds-card__body slds-card__body_inner"> |
| | | <div if:true={buttonIsShow}> |
| | | <button class="slds-button slds-button_neutral slds-button_stretch lexBorder" style=" font-size:small; width:170px;margin-bottom: 15px;" onclick={showModalSpecial} >选择特约折扣</button> |
| | | <button class="slds-button slds-button_neutral slds-button_stretch lexBorder" style=" font-size:small; width:170px;margin-bottom: 15px;" onclick={showModalCommonly}>选择一般折扣</button> |
| | | <button class="slds-button slds-button_neutral slds-button_stretch lexBorder" style=" font-size:small; width:170px;margin-bottom: 15px;" onclick={delectTableDiscount}>删除</button> |
| | | </div> |
| | | <div if:true={jzDataTableDiscountIsShow}></div> |
| | | <div style="min-height: 60px;border-top: 1px solid rgb(201, 201, 201);"> |
| | | <c-jz-data-table class="jzdtdis" miniheight="min-height: 60px" idkey="DelectId" onrowselection={SelectedFnDiscount} name="jzDataTableDiscount" ongettabledata={getTableDataDiscount} table-data={jzDataDiscount} table-is-loding={tableIsLodingDiscount} options={initDataTableDiscount} onsave={handleSaveDiscount} if:true={jzshows2}></c-jz-data-table> |
| | | </div> |
| | | </div> |
| | | </article> |
| | | </div> |
| | | <!-- 报价计算使用折扣政策 --> |
| | | <!-- 产品明细 --> |
| | | <div if:true={pricePolicyflag}> |
| | | <article class="slds-card" > |
| | | <!-- 样式头 --> |
| | | <div class="slds-card__header slds-grid" > |
| | | <header class="slds-media slds-media_center slds-has-flexi-truncate"> |
| | | <div class="slds-media__body"> |
| | | <h2 class="slds-card__header-title"> |
| | | <a href="#" class="slds-card__header-link slds-truncate" title="Accounts"> |
| | | <span>产品明细</span> |
| | | </a> |
| | | </h2> |
| | | </div> |
| | | </header> |
| | | </div> |
| | | <!-- 样式头 --> |
| | | <div class="slds-card__body slds-card__body_inner"> |
| | | <div if:true={buttonIsShow}> |
| | | <button class="slds-button slds-button_neutral slds-button_stretch lexBorder" style=" font-size:small; width:170px;margin-bottom: 15px;" onclick={delectTableProduct}>删除</button> |
| | | </div> |
| | | <div style="min-height: 60px;max-height: 400px;overflow:auto;border-top: 1px solid rgb(201, 201, 201);"> |
| | | <c-jz-data-table data-parent-id="chuxiao" idkey="DelectId" miniheight="min-height: 60px" onrowselection={SelectedFnProduct} name="jzDataTableProduct" ongettabledata={getTableDataProduct} table-data={jzDataProduct} table-is-loding={tableIsLodingProduct} options={initDataTableProduct} if:true={jzshows}></c-jz-data-table> |
| | | </div> |
| | | </div> |
| | | </article> |
| | | </div> |
| | | <!-- 产品明细 --> |
| | | <!-- 报价计算底部 --> |
| | | <div if:true={pricePolicyflag}> |
| | | <!-- 合同总价 --> |
| | | <p align="center" ><b>合同总价:{ContractPrice}</b></p> |
| | | <!-- 合同总价 --> |
| | | <!-- 保存报价计算结果按钮 --> |
| | | <div align="right" style="margin-bottom: 15px;margin-right: 15px; "> |
| | | <button if:true={buttonIsShow} style="font-size:small;" class="slds-button slds-button_neutral slds-button_stretch lexBorder" onclick={saveAllDataProductFn}>保存报价计算结果</button> |
| | | </div> |
| | | <!-- 保存报价计算结果按钮 --> |
| | | </div> |
| | | <!-- 报价计算底部 --> |
| | | <!-- 文件打印 --> |
| | | <div > |
| | | <article class="slds-card" > |
| | | <!-- 样式头 --> |
| | | <div class="slds-card__header slds-grid" > |
| | | <header class="slds-media slds-media_center slds-has-flexi-truncate"> |
| | | <div class="slds-media__body"> |
| | | <h2 class="slds-card__header-title"> |
| | | <a href="#" class="slds-card__header-link slds-truncate" title="Accounts"> |
| | | <span>文件打印</span> |
| | | </a> |
| | | </h2> |
| | | </div> |
| | | </header> |
| | | </div> |
| | | <!-- 样式头 --> |
| | | <div class="slds-card__body slds-card__body_inner"> |
| | | <div> |
| | | <!-- 打印报价 --> |
| | | <label class="slds-form-element__label" style="text-align:right;margin-left: 15px;">{Quote_Print}</label> |
| | | <!-- 打印报价 --> |
| | | <!-- 单价 --> |
| | | <div class ="slds-form-element__control" style=" display: inline-block;margin-left: 30px;"> |
| | | <lightning-input type="checkbox" checked={quo.Unit_Price__c} onchange={UnitPriceChange}> </lightning-input> |
| | | </div> |
| | | <label class="slds-form-element__label" style="text-align:right;;margin-left: 5px;">单价</label> |
| | | <!-- 单价 --> |
| | | <!-- 报价金额 --> |
| | | <div class ="slds-form-element__control" style=" display: inline-block;margin-left: 30px;"> |
| | | <lightning-input type="checkbox" checked={quo.Offer_Amount__c} onchange={OfferAmountChange}> </lightning-input> |
| | | </div> |
| | | <label class="slds-form-element__label" style="text-align:right;;margin-left: 5px;">报价金额</label> |
| | | <!-- 报价金额 --> |
| | | <!-- 报价总额 --> |
| | | <div class ="slds-form-element__control" style=" display: inline-block;margin-left: 30px;"> |
| | | <lightning-input type="checkbox" checked={quo.TOTAL__c} onchange={TOTALChange}> </lightning-input> |
| | | </div> |
| | | <label class="slds-form-element__label" style="text-align:right;;margin-left: 5px;">{TotalPrice}</label> |
| | | <!-- 报价总额 --> |
| | | <!-- 优惠折扣 --> |
| | | <div class ="slds-form-element__control" style=" display: inline-block;margin-left: 30px;"> |
| | | <lightning-input type="checkbox" checked={quo.Discount__c} onchange={DiscountChange}> </lightning-input> |
| | | </div> |
| | | <label class="slds-form-element__label" style="text-align:right;;margin-left: 5px;">{Total_Discount_Percent}</label> |
| | | <!-- 优惠折扣 --> |
| | | <!-- 优惠价格 --> |
| | | <div class ="slds-form-element__control" style=" display: inline-block;margin-left: 30px;"> |
| | | <lightning-input type="checkbox" checked={quo.Pricing__c} onchange={PricingChange}> </lightning-input> |
| | | </div> |
| | | <label class="slds-form-element__label" style="text-align:right;;margin-left: 5px;">优惠价格</label> |
| | | <!-- 优惠价格 --> |
| | | <!-- 优惠成交价 --> |
| | | <div class ="slds-form-element__control" style=" display: inline-block;margin-left: 30px;"> |
| | | <lightning-input type="checkbox" checked={quo.Preferential_Trading_Price__c} onchange={PreferentialTradingPriceChange}> </lightning-input> |
| | | </div> |
| | | <label class="slds-form-element__label" style="text-align:right;;margin-left: 5px;">{Row_Total_Sum}</label> |
| | | <!-- 优惠成交价 --> |
| | | <!-- 保修年限 --> |
| | | <div class ="slds-form-element__control" style=" display: inline-block;margin-left: 30px;"> |
| | | <lightning-input type="checkbox" checked={quo.Preferential_Gurantee_Period__c} onchange={PreferentialGuranteePeriodChange}> </lightning-input> |
| | | </div> |
| | | <label class="slds-form-element__label" style="text-align:right;margin-left: 5px;">保修年限 </label> |
| | | <!-- 保修年限 --> |
| | | <!-- 合同配置 --> |
| | | <div class ="slds-form-element__control" style=" display: inline-block;margin-left: 81px; " if:true={enableContract}> |
| | | <lightning-input type="checkbox" checked={quo.Contract__c} onchange={ContractcChange} > </lightning-input> |
| | | </div> |
| | | <div class ="slds-form-element__control" style=" display: inline-block;margin-left: 81px;" if:false={enableContract}> |
| | | </div> |
| | | <label class="slds-form-element__label" style="text-align:right;margin-left:5px;">{Contract_Breakdown}</label> |
| | | <!-- 合同配置 --> |
| | | </div> |
| | | <div> |
| | | <!-- 打印客户名称 --> |
| | | <label class="slds-form-element__label" style="text-align:right;margin-left: 15px;">{Print_HPName}</label> |
| | | <div class ="slds-form-element__control" style="width:400px; display: inline-block;"> |
| | | <lightning-combobox |
| | | name="progress" |
| | | value={selection_hp} |
| | | options={PrintCustomerNameoptions} |
| | | onchange={PrintCustomerNamehandleChange} ></lightning-combobox> |
| | | </div> |
| | | <!-- 打印客户名称 --> |
| | | <!-- 打印按钮 --> |
| | | <div style="display: inline-block;"> |
| | | <button class="slds-button slds-button_neutral slds-button_stretch lexBorder" style="width:120px;text-align:right; margin-left: 380px; font-size:small;" disabled={print_buttonflg} onclick={PrintButton} if:true={hidden}>{Print_Button}</button> |
| | | </div> |
| | | <!-- 打印按钮 --> |
| | | </div> |
| | | </div> |
| | | </article> |
| | | </div> |
| | | <!-- 文件打印 --> |
| | | <!-- 新增报价产品模态框 --> |
| | | <div if:true = {showproductfalg} > |
| | | <section role="dialog" tabindex="-1" class="slds-modal slds-fade-in-open slds-modal_large" aria-labelledby="modal-heading-01" aria-modal="true" aria-describedby="modal-content-id-1"> |
| | | <div class="slds-modal__container"> |
| | | <div class="slds-modal__content slds-p-around_medium" id="modal-content-id-5"> |
| | | <!-- 报价产品搜索框 --> |
| | | <div class="exampleHolder" if:true={IsLoadingjdpt} > |
| | | <lightning-spinner alternative-text="Loading" style="height: 100%;top: 0%;" size="medium"></lightning-spinner> |
| | | </div> |
| | | <!-- <c-jz-search-form name="jzSearchForm1" searchdataclass ="slds-button slds-button_neutral slds-button_stretch lexBorder" ongetsearchparams={searchDataProduct} options={initSearchFormProduct}></c-jz-search-form> --> |
| | | <div class ="form-group" style=" display: inline-block;margin-bottom: 15px;"> |
| | | <lightning-input type="text" name="input2" label="产品型号:" style="width:150px" onblur={jzProductsearchChange}></lightning-input> |
| | | </div> |
| | | <div class ="form-group" style=" display: inline-block;margin-bottom: 15px;"> |
| | | <button class="slds-button slds-button_neutral slds-button_stretch lexBorder" style=" margin-left: 20px; font-size:small;" onclick={jzProductsearchbutton}>搜索</button> |
| | | </div> |
| | | <div class ="form-group" style=" display: inline-block;margin-bottom: 15px;"> |
| | | <button class="slds-button slds-button_neutral slds-button_stretch lexBorder" style=" margin-left: 100px; font-size:small;" onclick={additionaljzProductbutton}>追加</button> |
| | | </div> |
| | | <!-- 报价产品搜索框 --> |
| | | <!-- 报价产品列表 --> |
| | | <div style="height:335px;overflow:auto;border-top: 1px solid rgb(201, 201, 201);"> |
| | | <c-jz-data-table onrowselection={SelectedProductFn} data-parent-id="parent-div-productid" name="jzDataproductTable" ongettabledata={getTableProductData} table-data={jzProductData} table-is-loding={tableIsproductLoding} options={initDataProductTable} ></c-jz-data-table> |
| | | </div> |
| | | <!-- 报价产品列表 --> |
| | | </div> |
| | | <footer class="slds-modal__footer"> |
| | | <button class="slds-button slds-button_neutral slds-button_stretch lexBorder" style=" font-size:small;" onclick={cancelProduct}>关闭</button> |
| | | </footer> |
| | | </div> |
| | | </section> |
| | | <div class="slds-backdrop slds-backdrop_open"></div> |
| | | </div> |
| | | <!-- 新增报价产品模态框 --> |
| | | <!-- 新增产品配套模态框 --> |
| | | <div if:true = {showSetProductfalg} > |
| | | <section role="dialog" tabindex="-1" class="slds-modal slds-fade-in-open slds-modal_large" aria-labelledby="modal-heading-01" aria-modal="true" aria-describedby="modal-content-id-1"> |
| | | <div class="slds-modal__container"> |
| | | <div class="slds-modal__content slds-p-around_medium" id="modal-content-id-10"> |
| | | <!-- 产品配套搜索框 --> |
| | | <div class ="form-group" style=" display: inline-block;margin-bottom: 15px;"> |
| | | <lightning-input type="text" name="input2" label=" 产品配套名:" style="width:150px;margin-left: 20px;" onblur={jzSearchNameChange}></lightning-input> |
| | | </div> |
| | | <div class ="form-group" style=" display: inline-block;margin-bottom: 15px;"> |
| | | <lightning-input type="text" name="input2" label=" 产品配套编码:" style="width:150px;margin-left: 20px;" onblur={jzSearchCodeChange}></lightning-input> |
| | | </div> |
| | | <div class ="slds-form-element__control" style="width:150px; display: inline-block;;margin-left: 20px;"> |
| | | <lightning-combobox |
| | | label = '适用科室 :' |
| | | name="setpro" |
| | | options={listViewOptions} |
| | | onchange={filterNameChange} ></lightning-combobox> |
| | | </div> |
| | | <div class ="form-group" style=" display: inline-block;margin-bottom: 15px;"> |
| | | <button class="slds-button slds-button_neutral slds-button_stretch lexBorder" style=" margin-left: 100px; font-size:small;" onclick={jzsetProductsearchbutton}>搜索</button> |
| | | </div> |
| | | <div class ="form-group" style=" display: inline-block;margin-bottom: 15px;"> |
| | | <button class="slds-button slds-button_neutral slds-button_stretch lexBorder" style=" margin-left: 20px; font-size:small;" onclick={additionaljzsetProductbutton}>追加</button> |
| | | </div> |
| | | <!--产品配套搜索框 --> |
| | | <!-- 产品配套列表 --> |
| | | <div class="exampleHolder" if:true={IsLoadingjdspt} > |
| | | <lightning-spinner alternative-text="Loading" style="height: 100%;top: 0%;" size="medium"></lightning-spinner> |
| | | </div> |
| | | <div style="height:335px;overflow:auto;border-top: 1px solid rgb(201, 201, 201);"> |
| | | <c-jz-data-table data-parent-id="parent-div-setid" onrowselection={SelectedSetProductFn} name="jzDataSetProductTable" ongettabledata={getTableSetProductData} table-data={jzSetProductData} table-is-loding={tableIsSetProductLoding} options={initDataSetProductTable} ></c-jz-data-table> |
| | | </div> |
| | | <!-- 产品配套列表 --> |
| | | </div> |
| | | <footer class="slds-modal__footer"> |
| | | <button class="slds-button slds-button_neutral slds-button_stretch lexBorder" style=" font-size:small;" onclick={cancelsetProduct}>关闭</button> |
| | | </footer> |
| | | </div> |
| | | </section> |
| | | <div class="slds-backdrop slds-backdrop_open"></div> |
| | | </div> |
| | | <!-- 新增产品配套模态框 --> |
| | | <!-- 新增Excel导入模态框 --> |
| | | <div if:true = {showQuoteExcelImport} > |
| | | <section role="dialog" tabindex="-1" class="slds-modal slds-fade-in-open slds-modal_large" aria-labelledby="modal-heading-01" aria-modal="true" aria-describedby="modal-content-id-1"> |
| | | <div class="slds-modal__container"> |
| | | <div class="slds-modal__content slds-p-around_medium" id="modal-content-id-9"> |
| | | <!-- 产品配套搜索框 --> |
| | | <div class ="form-group" style=" display: inline-block;margin-bottom: 15px;">{ImportText}</div> |
| | | <div class ="form-group" > |
| | | <div class ="form-group" style=" display: inline-block;margin-bottom: 15px;">{Tab_Text}</div> |
| | | </div> |
| | | <lightning-textarea class="inputFont" name="exceltext" onchange={exceltextChange} value={exceltextvalue}></lightning-textarea> |
| | | |
| | | <!--产品配套搜索框 --> |
| | | </div> |
| | | <footer class="slds-modal__footer"> |
| | | <button class="slds-button slds-button_neutral slds-button_stretch lexBorder" style=" font-size:small;" onclick={cancelQuoteExcelImport}>关闭</button> |
| | | <button class="slds-button slds-button_neutral slds-button_stretch lexBorder" style=" font-size:small;" onclick={SavesSQuoteExcelImport} >保存</button> |
| | | </footer> |
| | | </div> |
| | | </section> |
| | | <div class="slds-backdrop slds-backdrop_open"></div> |
| | | </div> |
| | | <!-- 新增Excel导入模态框 --> |
| | | <!-- 选择促销方案模态框 --> |
| | | <div if:true = {show} > |
| | | <section role="dialog" tabindex="-1" class="slds-modal slds-fade-in-open slds-modal_large" aria-labelledby="modal-heading-01" aria-modal="true" aria-describedby="modal-content-id-1"> |
| | | <div class="slds-modal__container"> |
| | | <div class="slds-modal__content slds-p-around_medium" id="modal-content-id-1"> |
| | | <!-- 促销方案搜索框 --> |
| | | <c-jz-search-form name="jzSearchForm1" searchdataclass ="slds-button slds-button_neutral slds-button_stretch lexBorder" ongetsearchparams={searchData} options={initSearchForm}></c-jz-search-form> |
| | | <!-- 促销方案搜索框 --> |
| | | <!-- 促销方案列表 --> |
| | | <div class="exampleHolder" if:true={IsLoading6} > |
| | | <lightning-spinner alternative-text="Loading" style="height: 100%;top: 0%;" size="medium"></lightning-spinner> |
| | | </div> |
| | | <div style="height:335px;overflow:auto;border-top: 1px solid rgb(201, 201, 201);"> |
| | | <c-jz-data-table onrowselection={SelectedFn} data-parent-id="parent-div-id" name="jzDataTable1" ongettabledata={getTableData} table-data={jzData} table-is-loding={tableIsLoding} options={initDataTable} onsave={savejzData} if:true={jzdateflag}></c-jz-data-table> |
| | | </div> |
| | | <!-- 促销方案列表 --> |
| | | </div> |
| | | <footer class="slds-modal__footer"> |
| | | <button class="slds-button slds-button_neutral slds-button_stretch lexBorder" style=" font-size:small;" onclick={cancel}>关闭</button> |
| | | </footer> |
| | | </div> |
| | | </section> |
| | | <div class="slds-backdrop slds-backdrop_open"></div> |
| | | </div> |
| | | <!-- 选择促销方案模态框 --> |
| | | <!-- 选择一般产品固定价格模态框 --> |
| | | <div if:true = {ShowFix} > |
| | | <section role="dialog" tabindex="-1" class="slds-modal slds-fade-in-open slds-modal_large" aria-labelledby="modal-heading-01" aria-modal="true" aria-describedby="modal-content-id-1"> |
| | | <div class="slds-modal__container"> |
| | | <div class="slds-modal__content slds-p-around_medium" id="modal-content-id-2"> |
| | | <c-jz-search-form name="jzSearchForm1" searchdataclass ="slds-button slds-button_neutral slds-button_stretch lexBorder" ongetsearchparams={searchDataFix} options={initSearchFormFix}></c-jz-search-form> |
| | | <c-jz-data-table onrowselection={SelectedFnFix} data-parent-id="parent-div-idFix" name="jzDataTableFix" ongettabledata={getTableDataFix} table-data={jzDataFix} table-is-loding={tableIsLodingFix} options={initDataTableFix}></c-jz-data-table> |
| | | </div> |
| | | <footer class="slds-modal__footer"> |
| | | <button class="slds-button slds-button_neutral slds-button_stretch lexBorder" style=" font-size:small;" onclick={cancelFix}>关闭</button> |
| | | </footer> |
| | | </div> |
| | | </section> |
| | | <div class="slds-backdrop slds-backdrop_open"></div> |
| | | </div> |
| | | <!-- 选择一般产品固定价格模态框 --> |
| | | <!-- 选择特约折扣模态框 --> |
| | | <div if:true = {ShowSpecial} > |
| | | <section role="dialog" tabindex="-1" class="slds-modal slds-fade-in-open slds-modal_large" aria-labelledby="modal-heading-01" aria-modal="true" aria-describedby="modal-content-id-1"> |
| | | <div class="slds-modal__container"> |
| | | <!-- 特约折扣模态框错误提示 --> |
| | | <div if:true = {ShowSpecialIsError}> |
| | | <div class="my-icons" role="alert"> |
| | | <span class="slds-assistive-text">error</span> |
| | | <span class="slds-icon_container slds-icon-utility-error slds-m-right_x-small" title="Description of icon when needed"> |
| | | <svg class="slds-icon slds-icon_x-small" aria-hidden="true"> |
| | | <use xlink:href="/assets/icons/utility-sprite/svg/symbols.svg#error"></use> |
| | | </svg> |
| | | </span> |
| | | <h2>{ShowSpecialError} |
| | | </h2> |
| | | <div class="slds-notify__close"> |
| | | <button class="slds-button slds-button_icon slds-button_icon-small slds-button_icon-inverse" style=" font-size:small;" title="Close"> |
| | | <svg class="slds-button__icon" aria-hidden="true"> |
| | | <use xlink:href="/assets/icons/utility-sprite/svg/symbols.svg#close"></use> |
| | | </svg> |
| | | <span class="slds-assistive-text">Close</span> |
| | | </button> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | <!-- 特约折扣模态框错误提示 --> |
| | | <div class="slds-modal__content slds-p-around_medium" id="modal-content-id-3"> |
| | | <!-- 特约折扣待选方案列表 --> |
| | | <div style="height:335px;overflow:auto;border-top: 1px solid rgb(201, 201, 201);"> |
| | | <c-jz-data-table onrowselection={SelectedFnSpecial} data-parent-id="parent-div-idSpecial" name="jzDataTableSpecial" ongettabledata={getTableDataSpecial} table-data={jzDataSpecial} table-is-loding={tableIsLodingSpecial} options={initDataTableSpecial}></c-jz-data-table> |
| | | </div> |
| | | <!-- 特约折扣待选方案列表 --> |
| | | <!-- 特约折扣待选产品列表 --> |
| | | <div class="exampleHolder" if:true={IsLoading5} > |
| | | <lightning-spinner alternative-text="Loading" style="height: 100%;top: 0%;" size="medium"></lightning-spinner> |
| | | </div> |
| | | <div style="border-top: 1px solid rgb(201, 201, 201);"> |
| | | <c-jz-data-table onrowselection={SelectedFnOtherData} data-parent-id="parent-div-idOtherData" name="jzDataTableOtherData" ongettabledata={getTableDataOtherData} table-data={jzDataOtherData} table-is-loding={tableIsLodingOtherData} options={initDataTableOtherData} onsave={SaveSpecialDiscount} if:true={jzshows5}></c-jz-data-table> |
| | | </div> |
| | | <!-- 特约折扣待选产品列表 --> |
| | | </div> |
| | | <footer class="slds-modal__footer"> |
| | | <button class="slds-button slds-button_neutral slds-button_stretch lexBorder" style=" font-size:small;" onclick={cancelSpecial}>关闭</button> |
| | | <button class="slds-button slds-button_neutral slds-button_stretch lexBorder" style=" font-size:small;" onclick={SavesSpecial} >确定</button> |
| | | </footer> |
| | | </div> |
| | | </section> |
| | | <div class="slds-backdrop slds-backdrop_open"></div> |
| | | </div> |
| | | <!-- 选择特约折扣模态框 --> |
| | | <!-- 选择一般折扣模态框 --> |
| | | <div if:true = {ShowCommonly} > |
| | | <section role="dialog" tabindex="-1" class="slds-modal slds-fade-in-open slds-modal_large" aria-labelledby="modal-heading-01" aria-modal="true" aria-describedby="modal-content-id-1"> |
| | | <div class="slds-modal__container"> |
| | | <!-- 一般折扣模态框错误提示 --> |
| | | <div if:true = {ShowCommonlyIsError}> |
| | | <div class="my-icons" role="alert"> |
| | | <span class="slds-assistive-text">error</span> |
| | | <span class="slds-icon_container slds-icon-utility-error slds-m-right_x-small" title="Description of icon when needed"> |
| | | <svg class="slds-icon slds-icon_x-small" aria-hidden="true"> |
| | | <use xlink:href="/assets/icons/utility-sprite/svg/symbols.svg#error"></use> |
| | | </svg> |
| | | </span> |
| | | <h2>{ShowCommonlyError} |
| | | <a href="#"></a> |
| | | </h2> |
| | | <div class="slds-notify__close"> |
| | | <button class="slds-button slds-button_icon slds-button_icon-small slds-button_icon-inverse" style=" font-size:small;" title="Close"> |
| | | <svg class="slds-button__icon" aria-hidden="true"> |
| | | <use xlink:href="/assets/icons/utility-sprite/svg/symbols.svg#close"></use> |
| | | </svg> |
| | | <span class="slds-assistive-text">Close</span> |
| | | </button> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | <!-- 一般折扣模态框错误提示 --> |
| | | <div class="slds-modal__content slds-p-around_medium" id="modal-content-id-4"> |
| | | <!-- 产品系列 --> |
| | | <div class ="form-group"> |
| | | <div class ="form-group" style=" display: inline-block; margin-right: 20px;margin-bottom: 15px;"> |
| | | <div class="slds-form-element"> |
| | | <label class="slds-form-element__label" for="select-01">产品系列:</label> |
| | | <div class="slds-form-element__control"> |
| | | <div class="slds-select_container"> |
| | | <select class="slds-select" style="width:150px" onchange={handleChangeLb}> |
| | | <option value="">选择</option> |
| | | <option>GI分野</option> |
| | | <option>SP分野</option> |
| | | <option>ET分野</option> |
| | | <option>能量刀头</option> |
| | | </select> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | <!-- 产品系列 --> |
| | | <!-- 使用折扣 --> |
| | | <div class ="form-group" style=" display: inline-block;margin-bottom: 15px;"> |
| | | <lightning-input type="text" name="input2" label="使用折扣:" style="width:150px" onblur={handleChangeZk}></lightning-input> |
| | | </div> |
| | | <!-- 使用折扣 --> |
| | | </div> |
| | | <!-- 一般折扣待选产品列表 --> |
| | | <div class="exampleHolder" if:true={IsLoading4} > |
| | | <lightning-spinner alternative-text="Loading" style="height: 100%;top: 0%;" size="medium"></lightning-spinner> |
| | | </div> |
| | | <div style="border-top: 1px solid rgb(201, 201, 201);"> |
| | | <c-jz-data-table onrowselection={SelectedFnCommonly} data-parent-id="parent-div-idCommonly" name="jzDataTableCommonly" ongettabledata={getTableDataCommonly} table-data={jzDataCommonly} table-is-loding={tableIsLodingCommonly} options={initDataTableCommonly} onsave={SaveGeneralDiscount} if:true={jzshows4}></c-jz-data-table> |
| | | </div> |
| | | <!-- 一般折扣待选产品列表 --> |
| | | </div> |
| | | <footer class="slds-modal__footer"> |
| | | <button class="slds-button slds-button_neutral slds-button_stretch lexBorder" style=" font-size:small;" onclick={cancelCommonly}>关闭</button> |
| | | <button class="slds-button slds-button_neutral slds-button_stretch lexBorder" style=" font-size:small;" onclick={cancelSaveCommonly}>确定</button> |
| | | </footer> |
| | | </div> |
| | | </section> |
| | | <div class="slds-backdrop slds-backdrop_open"></div> |
| | | </div> |
| | | <!-- 选择一般折扣模态框 --> |
| | | </template> |