| | |
| | | <div lwc:dom="manual" class="resultDiv"></div> |
| | | <div draggable="false"> |
| | | <div class="slds-m-top_small slds-m-bottom_medium"> |
| | | <lightning-button label="新建出库单" onclick={neworderhead} class="slds-m-left_x-small"></lightning-button> |
| | | <lightning-button label="上传已出库一览" onclick={editProductLimit} class="slds-m-left_x-small"></lightning-button> |
| | | <lightning-button label="新建出库单" onclick={neworderhead} |
| | | class="slds-m-left_x-small"></lightning-button> |
| | | <lightning-button label="上传已出库一览" onclick={editProductLimit} |
| | | class="slds-m-left_x-small"></lightning-button> |
| | | </div> |
| | | </div> |
| | | </div> |
| | |
| | | |
| | | <div class="borderCss"> |
| | | <div class="headerDorderCss"> |
| | | <p style="font-size: 16px;"><strong>检索条件</strong></p> |
| | | <lightning-layout> |
| | | <lightning-layout-item padding="around-small"> |
| | | <p style="font-size: 16px"> |
| | | <strong>检索条件</strong> |
| | | </p> |
| | | </lightning-layout-item> |
| | | </lightning-layout> |
| | | </div> |
| | | <div style="padding:10px;"> |
| | | <div lwc:dom="manual" class="resultDiv"></div> |
| | |
| | | </lightning-layout-item> |
| | | <lightning-layout-item flexibility="auto"> |
| | | <div class="slds-grid slds-grid_vertical-align-center"> |
| | | <lightning-button label="还没出库的出库单" onclick={searchConsumableorderdetailsJs}></lightning-button> |
| | | <lightning-button label="还没出库的出库单" |
| | | onclick={searchConsumableorderdetailsJs}></lightning-button> |
| | | </div> |
| | | </lightning-layout-item> |
| | | <lightning-layout-item flexibility="auto"> |
| | | <div class="slds-grid slds-grid_vertical-align-center"> |
| | | <lightning-button label="已出库未开票的出库单" onclick={searchOrderInstatusJs}></lightning-button> |
| | | <lightning-button label="已出库未开票的出库单" |
| | | onclick={searchOrderInstatusJs}></lightning-button> |
| | | </div> |
| | | </lightning-layout-item> |
| | | <lightning-layout-item flexibility="auto"> |
| | | <div class="slds-grid slds-grid_vertical-align-center"> |
| | | <lightning-button label="已出库已开票的出库单" onclick={searchConsumableorFinishJs}></lightning-button> |
| | | <lightning-button label="已出库已开票的出库单" |
| | | onclick={searchConsumableorFinishJs}></lightning-button> |
| | | </div> |
| | | </lightning-layout-item> |
| | | <lightning-layout-item flexibility="auto"> |
| | |
| | | <lightning-spinner alternative-text="Loading" size="large"></lightning-spinner> |
| | | </template> |
| | | <div class="headerDorderCss"> |
| | | <p style="font-size: 16px;"><strong>出库单一览表</strong><span> {message}</span></p> |
| | | <lightning-layout> |
| | | <lightning-layout-item padding="around-small"> |
| | | <p style="font-size: 16px"> |
| | | <strong>出库单一览表</strong> |
| | | </p> |
| | | </lightning-layout-item> |
| | | </lightning-layout> |
| | | </div> |
| | | <div style="padding:10px;"> |
| | | <!-- <div style="height: 300px;"> |
| | | <lightning-datatable |
| | | key-field="id" |
| | | data={data} |
| | | columns={columns} |
| | | hide-checkbox-column |
| | | default-sort-direction={defaultSortDirection} |
| | | sorted-direction={sortDirection} |
| | | sorted-by={sortedBy} |
| | | onsort={onHandleSort}> |
| | | </lightning-datatable> |
| | | </div> --> |
| | | <div class="table-container"> |
| | | <template if:true={showTable}> |
| | | <!-- <c-lwc-datatable-utility |
| | | hidecheckboxcolumn = {hidecheckboxcolumn} |
| | | records={data} |
| | | total-records={data.length} |
| | | columns = {columns}a |
| | | key-field="Id" |
| | | show-search-box="true" |
| | | max-row-selection={data.length} |
| | | onpaginatorchange={handlePaginatorChange}> |
| | | </c-lwc-datatable-utility> --> |
| | | <lightning-datatable |
| | | key-field="id" |
| | | data={data} |
| | | columns={columns} |
| | | hide-checkbox-column |
| | | default-sort-direction={defaultSortDirection} |
| | | sorted-direction={sortDirection} |
| | | sorted-by={sortedBy} |
| | | onsort={onHandleSort}> |
| | | <lightning-datatable key-field="id" data={data} columns={columns} hide-checkbox-column |
| | | default-sort-direction={defaultSortDirection} sorted-direction={sortDirection} |
| | | sorted-by={sortedBy} onsort={onHandleSort} class="wrapped-header-datatable"> |
| | | </lightning-datatable> |
| | | </template> |
| | | |
| | | |
| | | <!-- <c-my-custom-type-datatable |
| | | key-field="Id" |
| | | data={data} |
| | | columns={columns} |
| | | show-row-number-column> |
| | | </c-my-custom-type-datatable> --> |
| | | </div> |
| | | </div> |
| | | </div> |