| | |
| | | <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;"> |
| | |
| | | </template> |
| | | <!-- 加载框 --> |
| | | |
| | | <div if:true={casesSpinner} class="slds-spinner_inline spinner-padding" |
| | | <!-- <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> |
| | | |
| | |
| | | </tr> |
| | | </table> |
| | | </div> |
| | | |
| | | <template if:true={showTable}> |
| | | <div style="padding:10px;"> |
| | | <template if:true={showTable}> |
| | | |
| | | <c-lwc-datatable-utility records={codPageRecords} total-records={codPageRecords.length} |
| | | columns={column} key-field="Id" show-search-box="true" |
| | | columns={column} key-field="Id" show-search-box="true" hidecheckboxcolumn={hidecheckbox} |
| | | max-row-selection={codPageRecords.length} onpaginatorchange={handlePaginatorChange}> |
| | | </c-lwc-datatable-utility> |
| | | </template> |
| | | |
| | | |
| | | </div> |
| | | </template> |
| | | </div> |
| | | </div> |
| | | </template> |
| | |
| | | <lightning-accordion allow-multiple-sections-open class="slds-m-around_medium" |
| | | active-section-name={activeSections}> |
| | | <lightning-accordion-section name="dataExpand" label="盘点明细"> |
| | | <table class="list" border="0" cellpadding="0" cellspacing="0" id="example"> |
| | | <thead> |
| | | <tr class="headerRow"> |
| | | <th>消耗品名称</th> |
| | | <th>库存</th> |
| | | <th>盘点</th> |
| | | <th>丢失</th> |
| | | <th>寻回</th> |
| | | <th>差异原因</th> |
| | | </tr> |
| | | </thead> |
| | | <tbody> |
| | | <template for:each={detailData} for:item="m"> |
| | | <tr key={m.Prod.Name__c}> |
| | | <td>{m.Prod.Name__c}</td> |
| | | <td>{m.orderdetails1.Count_Sum__c}</td> |
| | | <td>{m.orderdetails1.inventory_sum__c}</td> |
| | | <td>{m.orderdetails1.Diff__c}</td> |
| | | <td>{m.orderdetails1.Product_Refind__c}</td> |
| | | <td>{m.orderdetails1.Lose_reason__c}</td> |
| | | </tr> |
| | | </template> |
| | | </tbody> |
| | | </table> |
| | | <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="在库调整明细"> |
| | | <table class="list" border="0" cellpadding="0" cellspacing="0" id="examples"> |
| | | <thead> |
| | | <tr class="headerRow"> |
| | | <th>消耗品名称</th> |
| | | <th>产品型号</th> |
| | | <th>差异原因</th> |
| | | <th>是否丢失</th> |
| | | </tr> |
| | | </thead> |
| | | <tbody> |
| | | <template for:each={adjustdata} for:item="m"> |
| | | <tr key={m.Prod.Name__c}> |
| | | <td>{m.Prod.Name__c}</td> |
| | | <td>{m.Prod.Asset_Model_No__c}</td> |
| | | <td>{m.orderdetails2.Lose_reason__c}</td> |
| | | <td>{m.orderdetails1.Diff__c}</td> |
| | | <td>{m.orderdetails1.Product_Refind__c}</td> |
| | | <td>{m.orderdetails2.Lose_Flag__c}</td> |
| | | </tr> |
| | | </template> |
| | | </tbody> |
| | | </table> |
| | | |
| | | <lightning-datatable key-field="id" data={adjustdata} |
| | | columns={stockadjustcolumns} hide-checkbox-column> |
| | | </lightning-datatable> |
| | | </lightning-accordion-section> |
| | | </lightning-accordion> |
| | | </div> |