From 3962c2bb0435484b60a3e408e4738d792e249a53 Mon Sep 17 00:00:00 2001
From: buli <137736985@qq.com>
Date: 星期一, 05 六月 2023 11:09:55 +0800
Subject: [PATCH] LEX CommunityNewCmp
---
force-app/main/default/lwc/lexProductLimitEdit/lexProductLimitEdit.html | 82 +++++++++++++++++++++++++++++++++++++++++
1 files changed, 82 insertions(+), 0 deletions(-)
diff --git a/force-app/main/default/lwc/lexProductLimitEdit/lexProductLimitEdit.html b/force-app/main/default/lwc/lexProductLimitEdit/lexProductLimitEdit.html
new file mode 100644
index 0000000..3dc4676
--- /dev/null
+++ b/force-app/main/default/lwc/lexProductLimitEdit/lexProductLimitEdit.html
@@ -0,0 +1,82 @@
+<template>
+ <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;margin-bottom:7px;">
+ <div style="border-top: 3px solid #51606E;border-bottom: 1px solid #D4D4D4;padding:3px;">
+ <!-- <p style="font-size: 18px;"><strong>缁忛攢鍟嗗簱瀛樹笂涓嬮檺缂栬緫</strong></p> -->
+ <lightning-layout>
+ <lightning-layout-item padding="around-small">
+ <p style="font-size: 18px">
+ <strong>缁忛攢鍟嗗簱瀛樹笂涓嬮檺缂栬緫</strong>
+ </p>
+ </lightning-layout-item>
+ </lightning-layout>
+
+ <table class="slds-table slds-table_cell-buffer slds-table_bordered">
+ <thead>
+ <tr class="">
+ <!-- <th class="slds-size_3-of-10" scope="col">
+ <div class="slds-truncate" title="Name">S.No</div>
+ </th> -->
+ <th scope="col" align="center">
+ <div class="slds-truncate" style="font-size:16px;" title="Name">浜у搧鍨嬪彿</div>
+ </th>
+ <th scope="col">
+ <div class="slds-truncate" style="font-size:16px;" title="First Name">
+ 搴撳瓨涓嬮檺
+ </div>
+ </th>
+ <th scope="col">
+ <div class="slds-truncate" style="font-size:16px;" title="Last Name">搴撳瓨涓婇檺</div>
+ </th>
+ <th scope="col">
+ <div class="slds-truncate" style="font-size:16px;" title="Last Name">鎿嶄綔</div>
+ </th>
+ </tr>
+ </thead>
+ <tbody>
+ <template for:each = {invRecords} for:item = "inv" for:index="indexVar">
+ <tr key={inv.key} class="slds-hint-parent">
+ <td>
+ <div title="Prospecting">
+ <lightning-input key={inv.key} data-id={inv.key} data-index={indexVar} name="productNumber" label="productNumber" value={inv.productNumber} variant="label-hidden" onchange={handleProductChange}></lightning-input>
+ </div>
+ </td>
+ <td>
+ <div title="Prospecting">
+ <lightning-input key={inv.key} data-id={inv.key} data-index={indexVar} name="inventory1" label="inventory1" value={inv.inventory1} variant="label-hidden" onchange={handleProductChange}></lightning-input>
+ </div>
+ </td>
+ <td>
+ <div title="Prospecting">
+ <lightning-input key={inv.key} data-id={inv.key} data-index={indexVar} name="inventory2" label="inventory2" value={inv.inventory2} variant="label-hidden" onchange={handleProductChange}></lightning-input>
+ </div>
+ </td>
+ <td>
+ <a name={indexVar} data-id={inv.key} onclick={removeRow}>
+ <lightning-icon icon-name="utility:delete" alternative-text="delete" size="small"></lightning-icon>
+ </a>
+ </td>
+ </tr>
+ </template>
+ <tr>
+ <td></td>
+ <td>
+ <!-- <lightning-button label="琛屽鍔�" onclick={addRow} class="slds-m-left_x-small lexBorder"></lightning-button> -->
+ <button class="slds-m-left_x-small slds-button slds-button_neutral slds-button_stretch lexBorder" label="琛屽鍔�" onclick={addRow}>琛屽鍔�</button>
+ </td>
+ <td>
+ <!-- <lightning-button label="淇濆瓨" onclick={handleClick} class="slds-m-left_x-small lexBorder"></lightning-button> -->
+ <button class="slds-m-left_x-small slds-button slds-button_neutral slds-button_stretch lexBorder" label="淇濆瓨" onclick={handleClick}>淇濆瓨</button>
+ </td>
+ <td></td>
+
+ </tr>
+ </tbody>
+ </table>
+
+ </div>
+ </div>
+</template>
\ No newline at end of file
--
Gitblit v1.9.1