| | |
| | | </template> |
| | | <template #btn> |
| | | <el-button type="primary" link @click="handleDownloadTemplate()">结算单模板</el-button> |
| | | <el-button type="primary" @click="handleAdd()">上传结算单</el-button> |
| | | <!-- <el-button type="primary" @click="handleAdd()">上传结算单</el-button> --> |
| | | <!-- <el-button type="primary" @click="handleDownloadTemplate()">导出</el-button> --> |
| | | </template> |
| | | </ProTableQueryFilterBar> |
| | |
| | | extraProps: { |
| | | hide: (role: API.GetSettlementTasksQueryResultItem) => |
| | | !( |
| | | role.settlementOrderStatus === EnumTaskSettlementOrderStatus.Completed && |
| | | role.settlementStatus === EnumTaskSettlementStatus.Wait |
| | | role.settlementStatus === EnumTaskSettlementStatus.Wait && |
| | | role.checkReceiveStatus === EnumTaskCheckReceiveStatus.Completed |
| | | ), |
| | | }, |
| | | }, |
| | |
| | | extraProps: { |
| | | hide: (role: API.GetSettlementTasksQueryResultItem) => |
| | | !( |
| | | role.settlementOrderStatus === EnumTaskSettlementOrderStatus.Completed && |
| | | role.settlementStatus === EnumTaskSettlementStatus.InProcess |
| | | role.settlementStatus === EnumTaskSettlementStatus.InProcess && |
| | | role.checkReceiveStatus === EnumTaskCheckReceiveStatus.Completed |
| | | ), |
| | | }, |
| | | }, |