| | |
| | | <lightning-layout multiple-rows> |
| | | <lightning-layout-item |
| | | padding="around-small" |
| | | flexibility="auto" |
| | | > |
| | | <div |
| | | class="slds-grid slds-grid_vertical-align-center" |
| | |
| | | </lightning-layout-item> |
| | | <lightning-layout-item |
| | | padding="around-small" |
| | | flexibility="auto" |
| | | > |
| | | <div |
| | | class="slds-grid slds-grid_vertical-align-center" |
| | |
| | | options={category3Options} |
| | | onchange={dataChange} |
| | | data-field="Category3" |
| | | style="min-width: 185px" |
| | | style="min-width: 160px" |
| | | ></lightning-combobox> |
| | | </div> |
| | | </lightning-layout-item> |
| | | <lightning-layout-item |
| | | padding="around-small" |
| | | flexibility="auto" |
| | | > |
| | | <div |
| | | class="slds-grid slds-grid_vertical-align-center" |
| | |
| | | options={category4Options} |
| | | onchange={dataChange} |
| | | data-field="Category4" |
| | | style="min-width: 185px" |
| | | style="min-width: 160px" |
| | | ></lightning-combobox> |
| | | </div> |
| | | </lightning-layout-item> |
| | | <lightning-layout-item |
| | | padding="around-small" |
| | | flexibility="auto" |
| | | > |
| | | <div |
| | | class="slds-grid slds-grid_vertical-align-center" |
| | |
| | | onchange={dataChange} |
| | | data-field="Category5" |
| | | options={category5Options} |
| | | style="min-width: 185px" |
| | | style="min-width: 160px" |
| | | ></lightning-combobox> |
| | | </div> |
| | | </lightning-layout-item> |
| | | <template if:true={hasHosPro}> |
| | | <lightning-layout-item |
| | | padding="around-small" |
| | | flexibility="auto" |
| | | > |
| | | <div |
| | | class="slds-grid slds-grid_vertical-align-center" |
| | |
| | | |
| | | <lightning-layout-item |
| | | padding="around-small" |
| | | flexibility="auto" |
| | | > |
| | | <div |
| | | class="slds-grid slds-grid_vertical-align-center" |
| | |
| | | </lightning-layout-item> |
| | | <lightning-layout-item |
| | | padding="around-small" |
| | | flexibility="auto" |
| | | > |
| | | <div |
| | | class="slds-grid slds-grid_vertical-align-center" |
| | |
| | | onshipmentunitprice={handleShipmentUnitPrice} |
| | | onrowselection={getSelectedRows} |
| | | selected-rows={selectedRows} |
| | | default-sort-direction={defaultSortDirection} |
| | | sorted-direction={sortDirection} |
| | | sorted-by={sortedBy} |
| | | onsort={onHandleSort} |
| | | style=" |
| | | word-wrap: break-word; |
| | | word-break: break-all; |
| | |
| | | > |
| | | </c-lex-custom-lightning-datatable> |
| | | </template> |
| | | <c-paginator |
| | | onprevious={handlePrevious} |
| | | onnext={handleNext} |
| | | onpageschange={handlePageschange} |
| | | onfirst={handleFirst} |
| | | onlast={handleLast} |
| | | page-size-options={pageSizeOptions} |
| | | previous-button-disabled={previousButtonDisabled} |
| | | next-button-disabled={nextButtonDisabled} |
| | | record-start={recordStart} |
| | | record-end={recordEnd} |
| | | total-records={totalRecords} |
| | | ></c-paginator> |
| | | </template> |
| | | |
| | | <template if:false={EditAble}> |
| | |
| | | <c-lex-custom-lightning-datatable |
| | | hide-checkbox-column |
| | | key-field="Id" |
| | | data={data} |
| | | data={editData} |
| | | columns={editColumns} |
| | | onunitchange={handleUnitChange} |
| | | onshipmentnumber={handleShipmentNumber} |
| | | onshipmentunitprice={handleShipmentUnitPrice} |
| | | onrowselection={getSelectedRows} |
| | | selected-rows={selectedRows} |
| | | default-sort-direction={defaultSortDirection} |
| | | sorted-direction={sortDirection} |
| | | sorted-by={sortedBy} |
| | | onsort={onHandleSort} |
| | | style=" |
| | | word-wrap: break-word; |
| | | word-break: break-all; |
| | | " |
| | | > |
| | | </c-lex-custom-lightning-datatable> |
| | | <c-paginator |
| | | onprevious={editHandlePrevious} |
| | | onnext={editHandleNext} |
| | | onpageschange={editHandlePageschange} |
| | | onfirst={editHandleFirst} |
| | | onlast={editHandleLast} |
| | | page-size-options={pageSizeOptions} |
| | | previous-button-disabled={previousButtonDisabled} |
| | | next-button-disabled={nextButtonDisabled} |
| | | record-start={recordStart} |
| | | record-end={recordEnd} |
| | | total-records={totalRecords} |
| | | ></c-paginator> |
| | | </template> |
| | | </template> |
| | | |
| | | <template if:true={isEditShowSpinner}> |
| | | <lightning-spinner |
| | | alternative-text="Uploading now" |
| | | ></lightning-spinner> |
| | | </template> |
| | | </div> |
| | | </div> |
| | | |