| | |
| | | <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> |
| | | <template if:true={showPage}> |
| | |
| | | <td style="width:122px;"> |
| | | <div style="color:#696969;font-size:16px;">消耗品订单名称</div> |
| | | </td> |
| | | <td style="width: 200px;"> |
| | | <td > |
| | | <lightning-input class="inputFont" type="text" label="消耗品订单名称" value={category1} variant="label-hidden" onchange={category1Change}></lightning-input> |
| | | </td> |
| | | <td style="width:30px;"></td> |
| | | <td style="width: 74px;"> |
| | | <div style="color:#696969;font-size:16px;">订单日期</div> |
| | | </td> |
| | | <td style="width: 200px;"> |
| | | <td > |
| | | <lightning-input class="inputFont" type="date" name="orderDate" value={orderDate} label="订单日期" variant="label-hidden" onchange={orderDateChange}></lightning-input> |
| | | </td> |
| | | <td style="width:30px;"></td> |
| | | <td style="width: 74px;"> |
| | | <div style="color:#696969;font-size:16px;">订单状态</div> |
| | | </td> |
| | | <td style="width: 200px;"> |
| | | <td style="width: 250px;"> |
| | | <lightning-combobox class="inputFont" name="orderStatus" label="订单状态" value={orderStatus} placeholder="请选择..." options={provinceOpts} variant="label-hidden" onchange={orderStatusChange}></lightning-combobox> |
| | | </td> |
| | | <td style="width: 30px;"></td> |
| | | <td style="width: 400;"> |
| | | <!-- <lightning-button style="margin: 5px;" label="搜索" onclick={searchProduct}></lightning-button> |
| | | <lightning-button style="margin: 5px;" label="清空" onclick={clear}></lightning-button> --> |
| | | <button class="slds-button slds-button_neutral slds-button_stretch lexsearchStyle" style="margin-right: 30px;height:32px;" onclick={searchProduct}>搜索</button> |
| | | <button class="slds-button slds-button_neutral slds-button_stretch lexclearStyle" style="height:32px;" onclick={clear}>清空</button> |
| | | </tr> |
| | | </tbody> |
| | | </table> |
| | | <p style="height:10px;"></p> |
| | | <table> |
| | | <tbody> |
| | | <tr> |
| | | <td></td> |
| | | <td style="width:325px;"> |
| | | <button class="slds-button slds-button_neutral slds-button_stretch lexsearchStyle" style="margin-right: 20px;height:32px;width: 150px;" onclick={searchProduct}>搜索</button> |
| | | <button class="slds-button slds-button_neutral slds-button_stretch lexclearStyle" style="height:32px;width: 150px;" onclick={clear}>清空</button> |
| | | </td> |
| | | </tr> |
| | | </tbody> |