| | |
| | | import type { PageParam, PageResult } from '@vben/request'; |
| | | |
| | | import type { SystemStorageApi } from '#/api/system/storage'; |
| | | import { requestClient } from '#/api/request'; |
| | | |
| | | export namespace SrmTenderApi { |
| | |
| | | purchaseOrderNo?: string; |
| | | biddingMode?: string; |
| | | createTime?: string; |
| | | blobIds?: number[]; |
| | | attachmentList?: SystemStorageApi.StorageBlob[]; |
| | | } |
| | | |
| | | export interface TenderMaterialVO { |
| | |
| | | id: number; |
| | | tenderDesc?: string; |
| | | qualificationRequirements?: string; |
| | | blobIds?: number[]; |
| | | } |
| | | } |
| | | |
| | |
| | | return requestClient.put(`/srm/tender-bid/withdraw?id=${id}`); |
| | | } |
| | | |
| | | export function updateBidTotal(id: number, bidTotalAmount?: number | null) { |
| | | const params = bidTotalAmount == null ? '' : `&bidTotalAmount=${bidTotalAmount}`; |
| | | return requestClient.put(`/srm/tender-bid/update-total?id=${id}${params}`); |
| | | } |
| | | |
| | | // ========== 报价管理 ========== |
| | | |
| | | export function getQuoteList(bidId: number) { |