buli
2023-05-04 d4a4ce824f3b2f3a335a3ad8e8c9efb3b37d630f
force-app/main/default/lwc/lexSummonsCreat/lexSummonsCreat.html
@@ -870,6 +870,7 @@
                                <lightning-layout multiple-rows>
                                    <lightning-layout-item
                                        padding="around-small"
                                        flexibility="auto"
                                    >
                                        <div
                                            class="slds-grid slds-grid_vertical-align-center"
@@ -892,6 +893,7 @@
                                    </lightning-layout-item>
                                    <lightning-layout-item
                                        padding="around-small"
                                        flexibility="auto"
                                    >
                                        <div
                                            class="slds-grid slds-grid_vertical-align-center"
@@ -910,12 +912,13 @@
                                                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"
@@ -934,12 +937,13 @@
                                                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"
@@ -958,13 +962,14 @@
                                                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"
@@ -988,6 +993,7 @@
                                    <lightning-layout-item
                                        padding="around-small"
                                        flexibility="auto"
                                    >
                                        <div
                                            class="slds-grid slds-grid_vertical-align-center"
@@ -1000,6 +1006,7 @@
                                    </lightning-layout-item>
                                    <lightning-layout-item
                                        padding="around-small"
                                        flexibility="auto"
                                    >
                                        <div
                                            class="slds-grid slds-grid_vertical-align-center"
@@ -1035,6 +1042,10 @@
                                    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;
@@ -1042,6 +1053,19 @@
                                >
                                </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}>
@@ -1049,21 +1073,44 @@
                                <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>