From 1b3fb93f787b8b546a307bf063183f5295d183f8 Mon Sep 17 00:00:00 2001
From: binxie <137736985@qq.com>
Date: 星期一, 26 六月 2023 16:53:25 +0800
Subject: [PATCH] merge
---
force-app/main/default/lwc/lexInventoryCount/lexInventoryCount.html | 156 ++++++++++++++++++++++++++++++++++++++++++++++++++++
1 files changed, 156 insertions(+), 0 deletions(-)
diff --git a/force-app/main/default/lwc/lexInventoryCount/lexInventoryCount.html b/force-app/main/default/lwc/lexInventoryCount/lexInventoryCount.html
new file mode 100644
index 0000000..822bd2c
--- /dev/null
+++ b/force-app/main/default/lwc/lexInventoryCount/lexInventoryCount.html
@@ -0,0 +1,156 @@
+<template>
+ <template if:true={showSpinner}>
+ <lightning-spinner size="medium" variant="brand"></lightning-spinner>
+ </template>
+ <template if:true={showcount}>
+ <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></td>
+ </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}
+ ondiffreasons={diffreasons} 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>
+ <template if:true={showbutton}>
+ <td align="center"> <lightning-button label="涓嬭浇鏈鐩樼偣搴撳瓨鍙樺寲鏄庣粏" title="涓嬭浇鏈鐩樼偣搴撳瓨鍙樺寲鏄庣粏"
+ onclick={exportData} style="width: 150px;"></lightning-button></td>
+ </template>
+ </tr>
+ </table>
+ </div>
+ <template if:true={showTable}>
+ <div style="padding:10px;">
+
+ <c-lwc-datatable-utility records={codPageRecords} total-records={codPageRecords.length}
+ columns={column} key-field="Id" show-search-box="true" hidecheckboxcolumn={hidecheckbox}
+ max-row-selection={codPageRecords.length} onpaginatorchange={handlePaginatorChange}>
+ </c-lwc-datatable-utility>
+ </div>
+ </template>
+ </div>
+ </div>
+ </template>
+
+
+ <template if:true={EditAble}>
+ <div style="border: 1px solid #D4D4D4;border-radius:5px;">
+ <div style="border-top: 3px solid #51606E;;border-bottom: 1px solid #D4D4D4;padding:3px;">
+ <div style="border: 1px solid #D4D4D4;border-radius:5px;">
+ <div style="border-top: 3px solid #51606E;;border-bottom: 1px solid #D4D4D4;padding:6px;">
+ <p style="font-size: 19px;"><strong>鐩樼偣鎯呭喌涓�瑙�</strong></p>
+
+ </div>
+ <div class="acc-container">
+ <lightning-record-edit-form object-api-name="Consumable_order__c" record-id={conId}>
+ <lightning-layout multiple-rows="true">
+ <!-- <template if:true={isSummonsFlag}> -->
+ <lightning-layout-item class="hehe-layoutItem" size="4">
+ <lightning-output-field field-name="Name"></lightning-output-field>
+ </lightning-layout-item>
+ <lightning-layout-item class="hehe-layoutItem" size="4">
+ <lightning-output-field field-name="Inventory_date__c"></lightning-output-field>
+ </lightning-layout-item>
+ <lightning-layout-item class="hehe-layoutItem" size="4">
+ </lightning-layout-item>
+ <!-- </template> -->
+ </lightning-layout>
+ </lightning-record-edit-form>
+ </div>
+ </div>
+ </div>
+
+ <lightning-accordion allow-multiple-sections-open class="slds-m-around_medium"
+ active-section-name={activeSections}>
+ <lightning-accordion-section name="dataExpand" label="鐩樼偣鏄庣粏">
+ <lightning-datatable key-field="id" data={detailData}
+ columns={dcolumns} hide-checkbox-column>
+ </lightning-datatable>
+
+ </lightning-accordion-section>
+ </lightning-accordion>
+ <lightning-accordion allow-multiple-sections-open class="slds-m-around_medium"
+ active-section-name={activeSections}>
+ <lightning-accordion-section name="dataExpand" label="鍦ㄥ簱璋冩暣鏄庣粏">
+ <lightning-datatable key-field="id" data={adjustdata}
+ columns={stockadjustcolumns} hide-checkbox-column>
+ </lightning-datatable>
+ </lightning-accordion-section>
+ </lightning-accordion>
+ </div>
+ </template>
+</template>
\ No newline at end of file
--
Gitblit v1.9.1