From 71b93327e8f3fb3bffffc7c033c1f782e7b6ab32 Mon Sep 17 00:00:00 2001
From: buli <137736985@qq.com>
Date: 星期一, 22 五月 2023 17:37:16 +0800
Subject: [PATCH] test
---
force-app/main/default/lwc/lexOverdueStock/lexOverdueStock.html | 71 ++++++++++++++++++++++++-----------
1 files changed, 48 insertions(+), 23 deletions(-)
diff --git a/force-app/main/default/lwc/lexOverdueStock/lexOverdueStock.html b/force-app/main/default/lwc/lexOverdueStock/lexOverdueStock.html
index d764c4e..693de75 100644
--- a/force-app/main/default/lwc/lexOverdueStock/lexOverdueStock.html
+++ b/force-app/main/default/lwc/lexOverdueStock/lexOverdueStock.html
@@ -2,13 +2,15 @@
<template if:true={showSpinner}>
<lightning-spinner size="medium" variant="brand"></lightning-spinner>
</template>
+ <c-common-toast></c-common-toast>
<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>
+ <!-- <lightning-button variant="brand" class = 'lexstyle' label="閿�瀛樼‘璁�" title="閿�瀛樼‘璁�" onclick={saveConfirm}></lightning-button> -->
+ <button class="slds-button slds-button_neutral slds-button_stretch lexBorder" label="閿�瀛樼‘璁�" onclick={saveConfirm}>閿�瀛樼‘璁�</button>
</div>
</div>
@@ -40,8 +42,10 @@
onchange={handleChange}></lightning-textarea></td>
<td align="right"></td>
<td></td>
- <td style="width:200px"><lightning-button label="BarCode褰曞叆" title="BarCode褰曞叆" onclick={barcodeEntrys}
- style="width: 150px;"></lightning-button>
+ <td style="width:200px">
+ <button style="margin-top:14px;" class="slds-button slds-button_neutral slds-button_stretch lexBorder" label="BarCode褰曞叆" onclick={barcodeEntrys}>BarCode褰曞叆</button>
+ <!-- <lightning-button class='lexstyle' label="BarCode褰曞叆" title="BarCode褰曞叆" onclick={barcodeEntrys}
+ style="width: 150px;"></lightning-button> -->
</td>
</tr>
</tbody>
@@ -51,16 +55,29 @@
<div style="border: 1px solid #D4D4D4;border-radius:5px;margin-bottom:5px;">
<div style="border-top: 3px solid #51606E;border-bottom: 1px solid #D4D4D4;padding:3px;">
- <p style="font-size: 16px;"><strong>杩囨湡搴撳瓨涓�瑙�</strong></p>
+ <!-- <p style="font-size: 16px;"><strong>杩囨湡搴撳瓨涓�瑙�</strong></p> -->
+ <table>
+ <tr>
+ <td>
+ <!-- <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>
+ </td>
+ </tr>
+ </table>
</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}>
+ selected-rows={selectedRows} class="wrapped-header-datatable">
</c-lex-custom-lightning-datatable>
</template>
<!-- 鍔犺浇妗� -->
@@ -75,26 +92,34 @@
</div>
</div>
+ <div style="border: 1px solid #D4D4D4;border-radius:5px;margin-bottom:5px;">
+ <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> -->
+ <lightning-layout>
+ <lightning-layout-item padding="around-small">
+ <p style="font-size: 16px">
+ <strong>閿�瀛樻槑缁�</strong>
+ </p>
+ </lightning-layout-item>
+ </lightning-layout>
+ </td>
+ </tr>
+ </table>
+ </div>
+
+ <div style="padding:10px;">
+ <lightning-datatable
+ key-field="id" data={overduePageRecords} columns={column}
+ onrowselection={getSelectedRows} hide-checkbox-column="true"
+ selected-rows={selectedRows} class="wrapped-header-datatable">
+ </lightning-datatable>
</div>
- <div style="border: 1px solid #D4D4D4;border-radius:5px;margin-bottom:7px;margin-top:5px">
- <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;">
- <lightning-datatable
- key-field="id" data={overduePageRecords} columns={column}
- onrowselection={getSelectedRows} hide-checkbox-column="true"
- selected-rows={selectedRows}>
- </lightning-datatable>
+
<!-- <template if:true={showTables}>
<c-lex-custom-lightning-datatable key-field="prodid" data={overduePageRecords} columns={column}
onrowselection={getSelectedRows} hide-checkbox-column="true"
--
Gitblit v1.9.1