buli
2023-07-11 0c4796706fc9473d069b620321a54b20a119906c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
<template>
    <div style="border: 1px solid #D4D4D4;border-radius:5px;">
        <div style="border-top: 3px solid #51606E;;border-bottom: 1px solid #D4D4D4;padding:3px;">
            <p style="font-size: 19px;"><strong>库存管理</strong></p>
        </div>
        <div style="border-top: 3px solid #51606E;border-bottom: 1px solid #D4D4D4;padding:3px;text-align:center;">
            <lightning-button label="库存盘点" title="Non-primary action" onclick={handleClick} class="slds-m-left_x-small"></lightning-button>
            <lightning-button label="过期库存销存" title="Non-primary action" onclick={handleClick} class="slds-m-left_x-small"></lightning-button>
            <lightning-button label="拆盒" title="Non-primary action" onclick={handleClick} class="slds-m-left_x-small"></lightning-button>
            <lightning-button label="取消拆盒" title="Non-primary action" onclick={handleClick} class="slds-m-left_x-small"></lightning-button>
        </div>
        <div class = 'searchBlock' style="border-top: 3px solid #51606E;border-bottom: 1px solid #D4D4D4;padding:3px;text-align:center;height:80%px;">
            <table>
                <tr>
                    <td style="width:90px">消耗品名称</td>
                    <td style="width:90px"><lightning-input type="text" label="" style="width:70px"></lightning-input></td>
                    <td style="width:90px">第3分类</td>
                    <td style="width:90px">
                        <lightning-combobox
                        name="progress"
                        value={value}
                        options={options}
                        onchange={handleChange} style="width:90px;"></lightning-combobox></td>
                    <td style="width:90px">第4分类</td>
                    <td style="width:90px">
                        <lightning-combobox
                        name="progress"
                        value={value}
                        options={options}
                        onchange={handleChange} style="width:80px;"></lightning-combobox>
                    </td>
                    <td style="width:90px">第5分类</td>
                    <td style="width:90px">
                        <lightning-combobox
                        name="progress"
                        value={value}
                        options={options}
                        onchange={handleChange} style="width:80px;"></lightning-combobox>
                    </td>
 
                </tr>
              
 
            </table>
            
            </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;">
                <table class="list" border="0" cellpadding="0" cellspacing="0" id="example">
                    <thead>
                        <tr class="headerRow">
                            <th>消耗品名称</th>
                            <th>第3分类</th>
                            <th>第4分类</th>
                            <th>第5分类</th>
                            <th>规格</th>
                            <th>单位</th>
                            <th>注册证编码号</th>
                            <th>注册证效期</th>
                            <th>CFDA状态</th>
                            <th>使用期限</th>
                            <th>有效期内库存</th>
                            <th>过期库存</th>
                        </tr>
                    </thead>
                        <tbody>
                            <template for:each={inventoryRcords} for:item="re">
                                <tr key={re.Prod.Name__c}>
                                    <td>{re.Prod.Name__c}</td>
                                    <td>{re.Prod.Category3__c}</td>
                                    <td>{re.Prod.Category4__c}</td>
                                    <td>{re.Prod.Category5__c}</td>
                                    <td>{re.packing_list}</td>
                                    <td>{re.BoxPiece}</td>
                                    <td>{re.approbation_No}</td>
                                    <td>{re.expiration_Date}</td>
                                    <td>{re.guaranteeperiod}</td>
                                    <td>{re.limitCount}</td>
                                    <td>{re.overlimitCount}</td>
                                </tr>
                            </template>
                        
                    </tbody> 
                </table>
                <table style="width: 100%">
                    <tbody>
                       <tr>  
                           <td width="20%">
                              <!-- 1-0 共 0  -->
                           </td>
                           <td></td>
                           <td align="center" width="60%">
                               <lightning-button-icon style="margin: 3px;" icon-name="utility:jump_to_left"></lightning-button-icon>
                               <lightning-button-icon style="margin: 3px;" icon-name="utility:chevronleft"></lightning-button-icon>
                               <lightning-button-icon style="margin: 3px;" icon-name="utility:chevronright"></lightning-button-icon>
                               <lightning-button-icon style="margin: 3px;" icon-name="utility:jump_to_right"></lightning-button-icon>
                           </td>
                      </tr>
                   </tbody>
               </table>
            </div>
        </div>
       
 
        </div>
</template>