| | |
| | | <template> |
| | | <template if:true={showSpinner}> |
| | | <lightning-spinner size="medium" variant="brand"></lightning-spinner> |
| | | <!-- <lightning-spinner size="medium" variant="brand"></lightning-spinner> --> |
| | | <div class="slds-spinner_container"> |
| | | <div role="status" class="slds-spinner slds-spinner_medium slds-spinner_brand"> |
| | | <span class="slds-assistive-text">Loading</span> |
| | | <div class="slds-spinner__dot-a"></div> |
| | | <div class="slds-spinner__dot-b"></div> |
| | | </div> |
| | | </div> |
| | | </template> |
| | | <c-common-toast></c-common-toast> |
| | | <div style="border: 1px solid #D4D4D4;border-radius:5px;"> |
| | |
| | | <lightning-button variant="brand" class = 'lexstyle' style="margin: 12px;" label="拆盒" title="拆盒" onclick={removeBox}></lightning-button> |
| | | <lightning-button variant="brand" class = 'lexstyle' style="margin: 12px;" label="取消拆盒" title="取消拆盒" |
| | | onclick={cancelremoveBox}></lightning-button> --> |
| | | <button style ="margin-left:5px;" class="slds-button slds-button_neutral slds-button_stretch lexBorder" label="库存盘点" onclick={inventoryCount}>库存盘点</button> |
| | | <button class="slds-button slds-button_neutral slds-button_stretch lexBorder" label="过期库存销存" style = "margin-left:150px;" onclick={handleExpired}>过期库存销存</button> |
| | | <button class="slds-button slds-button_neutral slds-button_stretch lexBorder" label="拆盒" style = "margin-left:150px;" onclick={removeBox}>拆盒</button> |
| | | <button class="slds-button slds-button_neutral slds-button_stretch lexBorder" label="取消拆盒" style = "margin-left:150px;" onclick={cancelremoveBox}>取消拆盒</button> |
| | | <button style="margin-left:5px" |
| | | class="slds-button slds-button_neutral slds-button_stretch lexBorder" label="库存盘点" |
| | | onclick={inventoryCount}>库存盘点</button> |
| | | <button class="slds-button slds-button_neutral slds-button_stretch lexButtoun" label="过期库存销存" |
| | | style="margin-left:60px;" onclick={handleExpired}>过期库存销存</button> |
| | | <button class="slds-button slds-button_neutral slds-button_stretch lexButtoun" label="拆盒" |
| | | style="margin-left:60px;" onclick={removeBox}>拆盒</button> |
| | | <button class="slds-button slds-button_neutral slds-button_stretch lexButtoun" label="取消拆盒" |
| | | style="margin-left:60px;" onclick={cancelremoveBox}>取消拆盒</button> |
| | | </div> |
| | | </div> |
| | | |
| | |
| | | <col width="100px" /> |
| | | </colgroup> |
| | | <tbody> |
| | | <tr> |
| | | <tr> |
| | | <td style="width:10px;"></td> |
| | | <td style="width:250px"> |
| | | <div style="width:90px;margin-left:12px;" class="searchName">消耗品名称</div> |
| | | </td> |
| | | <td style="width: 21%;"> |
| | | <lightning-input class="searchName" type="text" name="Name" label="消耗品名称" value={Name} |
| | | variant="label-hidden" onchange={dataChange} |
| | | <lightning-input class="searchName" type="text" name="Name" label="消耗品名称" |
| | | value={Name} variant="label-hidden" onchange={dataChange} |
| | | data-field="Name"></lightning-input> |
| | | </td> |
| | | <td style="width:150px"> |
| | | <div style="width:90px;text-align:center;" class="searchName">第3分类</div> |
| | | </td> |
| | | <td style="width: 21%;"> |
| | | <lightning-combobox class="inputFont" style="margin-left:5px;" name="CategoryThree" label="第3分类" value={value} |
| | | placeholder="请选择..." options={category3Options} variant="label-hidden" |
| | | data-field="CategoryThree" onchange={dataChange}></lightning-combobox> |
| | | <lightning-combobox class="inputFont" style="margin-left:5px;" name="CategoryThree" |
| | | label="第3分类" value={value} placeholder="请选择..." options={category3Options} |
| | | variant="label-hidden" data-field="CategoryThree" |
| | | onchange={dataChange}></lightning-combobox> |
| | | </td> |
| | | <td style="width:150px"> |
| | | <div style="width:90px;text-align:center;" class="searchName">第4分类</div> |
| | | </td> |
| | | <td style="width: 21%;"> |
| | | <lightning-combobox class="inputFont" name="CategoryFour" label="第4分类" value={value} |
| | | placeholder="请选择..." options={category4Options} variant="label-hidden" |
| | | <lightning-combobox class="inputFont" name="CategoryFour" label="第4分类" value={value} |
| | | placeholder="请选择..." options={category4Options} variant="label-hidden" |
| | | data-field="CategoryFour" onchange={dataChange}></lightning-combobox> |
| | | </td> |
| | | <td style="width:150px"> |
| | |
| | | </td> |
| | | <td style="width: 21%;"> |
| | | <lightning-combobox class="inputFont" name="CategoryFive" label="第5分类" value={value} |
| | | placeholder="请选择..." options={category5Options} variant="label-hidden" |
| | | placeholder="请选择..." options={category5Options} variant="label-hidden" |
| | | data-field="CategoryFive" onchange={dataChange}></lightning-combobox> |
| | | </td> |
| | | <td style="width: 1%;"></td> |
| | | </tr> |
| | | </tbody> |
| | | </table> |
| | | <br/> |
| | | <div style="float:right;margin-right:10px;"> <button class="slds-button slds-button_neutral slds-button_stretch lexsearchStyle" label="消耗品搜索" onclick={searchOrderDetail}>消耗品搜索</button> |
| | | <button style="margin-left:10px;" class="slds-button slds-button_neutral slds-button_stretch lexclearStyle" label="清空" onclick={clearAll}>清空</button></div> |
| | | |
| | | <br /> |
| | | <div style="float:right;margin-right:10px;"> <button |
| | | class="slds-button slds-button_neutral slds-button_stretch lexsearchStyle" label="消耗品搜索" |
| | | onclick={searchOrderDetail}>消耗品搜索</button> |
| | | <button style="margin-left:10px;" |
| | | class="slds-button slds-button_neutral slds-button_stretch lexclearStyle" label="清空" |
| | | onclick={clearAll}>清空</button> |
| | | </div> |
| | | |
| | | </div> |
| | | </div> |
| | | <div style="border: 1px solid #D4D4D4;border-radius:5px;margin-bottom:7px;"> |