From 557c2b3c50027c2eb6fb9f7e562fc2c7b2b38203 Mon Sep 17 00:00:00 2001
From: quxin <592870522@qq.com>
Date: 星期五, 04 九月 2026 11:37:17 +0800
Subject: [PATCH] 修复: 生产领料后的退料应该是选择领料的记录,不是选择库存的记录(同时库存数据需要根据领料退料变动,比如库存100,领用80,然后领用80中退料30,库存应由原来的20变成50)

---
 src/api/srm/tender/index.ts |   13 +++++++++++++
 1 files changed, 13 insertions(+), 0 deletions(-)

diff --git a/src/api/srm/tender/index.ts b/src/api/srm/tender/index.ts
index 5ac7ad8..cefefdb 100644
--- a/src/api/srm/tender/index.ts
+++ b/src/api/srm/tender/index.ts
@@ -1,5 +1,6 @@
 import type { PageParam, PageResult } from '@vben/request';
 
+import type { SystemStorageApi } from '#/api/system/storage';
 import { requestClient } from '#/api/request';
 
 export namespace SrmTenderApi {
@@ -21,7 +22,10 @@
     purchaseRequestId?: number;
     awardId?: number;
     purchaseOrderNo?: string;
+    biddingMode?: string;
     createTime?: string;
+    blobIds?: number[];
+    attachmentList?: SystemStorageApi.StorageBlob[];
   }
 
   export interface TenderMaterialVO {
@@ -104,6 +108,7 @@
     id: number;
     tenderDesc?: string;
     qualificationRequirements?: string;
+    blobIds?: number[];
   }
 }
 
@@ -149,6 +154,14 @@
   return requestClient.put(`/srm/tender-project/start-evaluation?id=${id}`);
 }
 
+export function startPriceComparing(id: number) {
+  return requestClient.put(`/srm/tender-project/start-price-comparing?id=${id}`);
+}
+
+export function confirmTenderProject(data: { id: number; bidId: number }) {
+  return requestClient.put('/srm/tender-project/confirm', data);
+}
+
 // ========== 鐗╂枡瀛愯〃 ==========
 
 export function getMaterialList(tenderProjectId: number) {

--
Gitblit v1.9.3