<template>
|
<template if:true={showSpinner}>
|
<lightning-spinner size="medium" variant="brand"></lightning-spinner>
|
</template>
|
<div style="border: 1px solid #D4D4D4;border-radius:5px;">
|
<div style="border-top: 3px solid #51606E;;border-bottom: 1px solid #D4D4D4;padding:3px;">
|
<div>
|
<p style="font-size: 19px;float:left"><strong>过期库存销存</strong></p>
|
</div>
|
<div style="margin-left:400px;">
|
<lightning-button label="销存确认" title="销存确认" onclick={saveConfirm}></lightning-button>
|
</div>
|
</div>
|
|
<div style="padding:10px;">
|
<div style="border: 1px solid #D4D4D4;border-radius:5px;margin-bottom:7px;">
|
<div style="border-top: 3px solid #51606E;border-bottom: 1px solid #D4D4D4;padding:3px;">
|
<table>
|
<colgroup>
|
<col width="160px" />
|
<col width="100px" />
|
<col width="10px" />
|
<col width="70px" />
|
<col width="100px" />
|
<col width="10px" />
|
<col width="90px" />
|
<col width="100px" />
|
<col width="10px" />
|
<col width="85px" />
|
<col width="100px" />
|
<col width="10px" />
|
<col width="70px" />
|
<col width="100px" />
|
</colgroup>
|
<tbody>
|
<tr>
|
<td></td>
|
<td align="right">Barcode</td>
|
<td style="width:600px"><lightning-textarea name="Barcode" label=""
|
onchange={handleChange}></lightning-textarea></td>
|
<td align="right"></td>
|
<td></td>
|
<td><lightning-button label="Barcode" title="Barcode录入" onclick={barcodeEntrys}
|
style="width: 150px;"></lightning-button>
|
</td>
|
</tr>
|
</tbody>
|
</table>
|
</div>
|
</div>
|
|
<div style="border: 1px solid #D4D4D4;border-radius:5px;margin-bottom:7px;">
|
<div style="border-top: 3px solid #51606E;border-bottom: 1px solid #D4D4D4;padding:3px;">
|
<p style="font-size: 16px;"><strong>过期库存一览</strong></p>
|
</div>
|
<div style="padding:10px;">
|
|
<div style="height: 300px;">
|
<template if:true={showTable}>
|
|
<c-lex-custom-lightning-datatable key-field="prodid" data={data} columns={columns}
|
onrowselection={getSelectedRows}
|
selected-rows={selectedRows}>
|
</c-lex-custom-lightning-datatable>
|
</template>
|
<!-- 加载框 -->
|
|
<!-- <div if:true={casesSpinner} class="slds-spinner_inline spinner-padding"
|
style="margin-top:10px;">
|
<lightning-spinner variant="brand" alternative-text="Loading Cases" size="medium">
|
</lightning-spinner>
|
</div> -->
|
|
</div>
|
|
</div>
|
</div>
|
</div>
|
|
|
<div style="border: 1px solid #D4D4D4;border-radius:5px;margin-bottom:7px;margin-top:50px">
|
<div style="border-top: 3px solid #51606E;border-bottom: 1px solid #D4D4D4;padding:3px;">
|
<table>
|
<tr>
|
<td>
|
<p style="font-size: 16px;"><strong>销存明细</strong></p>
|
</td>
|
</tr>
|
</table>
|
</div>
|
|
<div style="padding:10px;">
|
<template if:true={showTables}>
|
<!-- <c-lwc-datatable-utility records={overduePageRecords} total-records={overduePageRecords.length}
|
columns={column} key-field="Id" show-search-box="true" max-row-selection={overduePageRecords.length}
|
onpaginatorchange={handlePaginatorChange}>
|
</c-lwc-datatable-utility> -->
|
<c-lex-custom-lightning-datatable key-field="prodid" data={overduePageRecords} columns={column}
|
onrowselection={getSelectedRows} hide-checkbox-column="true"
|
selected-rows={selectedRows}>
|
</c-lex-custom-lightning-datatable>
|
</template>
|
|
|
</div>
|
</div>
|
</div>
|
|
</template>
|