| | |
| | | * @Author: chen jing wu |
| | | * @Date: 2023-04-20 17:16:48 |
| | | * @LastEditors: chen jing wu |
| | | * @LastEditTime: 2023-06-28 17:53:19 |
| | | * @LastEditTime: 2023-06-30 10:06:30 |
| | | --> |
| | | <template> |
| | | <template if:true={isInit}> |
| | |
| | | <div class="mainTitle" style="padding: 10px 3px;font-weight: bold;font-size: large">失单报告查看页面</div> |
| | | </lightning-layout-item> |
| | | <lightning-layout-item alignment-bump="left"> |
| | | <template if:false={submitFlag}> |
| | | <lightning-button label="提交" onclick={submitJs}></lightning-button> |
| | | </template> |
| | | <lightning-button name="编辑" label="编辑" onclick={editJs}></lightning-button> |
| | | <lightning-button label="返回询价" onclick={cancel}></lightning-button> |
| | | </lightning-layout-item> |
| | |
| | | <lightning-layout style="margin-top: 20px;"> |
| | | <div class="slds-align_absolute-center"> |
| | | <lightning-layout-item size="12"> |
| | | <template if:false={submitFlag}> |
| | | <lightning-button label="提交" onclick={submitJs}></lightning-button> |
| | | </template> |
| | | <lightning-button name="编辑" label="编辑" onclick={editJs}></lightning-button> |
| | | <lightning-button label="返回询价" onclick={cancel}></lightning-button> |
| | | </lightning-layout-item> |
| | |
| | | <div class="mainTitle" style="padding: 10px 3px;font-weight: bold;font-size: large">批准历史</div> |
| | | </lightning-layout-item> |
| | | <lightning-layout-item alignment-bump="left"> |
| | | <lightning-button label="撤回批准请求"></lightning-button> |
| | | <lightning-button label="撤回批准请求" onclick={onApproveChange}></lightning-button> |
| | | </lightning-layout-item> |
| | | </lightning-layout> |
| | | <lightning-layout> |
| | |
| | | <template for:each={LostReport.approvalHistorys} for:item="approvalHistory" for:index="j"> |
| | | <tr class="inputRows" key={approvalHistory.Id}> |
| | | <td> |
| | | <a onclick={test}>重新分配</a> |
| | | <template if:true={approvalHistory.IsPending}> |
| | | <a onclick={onApproveChange}>重新分配</a> |
| | | <label>|</label> |
| | | <a onclick={test}>批准/拒绝</a> |
| | | <a onclick={onApproveChange}>批准/拒绝</a> |
| | | </template> |
| | | </td> |
| | | <td> |
| | | <div>{approvalHistory.CreatedDate}</div> |