From d841a8ea6dc2f7fdedbf0ea2b1e539842f5f3e37 Mon Sep 17 00:00:00 2001
From: gaoluyang <2820782392@qq.com>
Date: 星期一, 12 十月 2026 19:45:36 +0800
Subject: [PATCH] 宁夏-九鸿 1.发版配置文件修改

---
 src/api/erp/purchase/request/index.ts |   26 +++++++++++++++++++++++++-
 1 files changed, 25 insertions(+), 1 deletions(-)

diff --git a/src/api/erp/purchase/request/index.ts b/src/api/erp/purchase/request/index.ts
index 3ba18a9..128bdd0 100644
--- a/src/api/erp/purchase/request/index.ts
+++ b/src/api/erp/purchase/request/index.ts
@@ -38,12 +38,26 @@
     productUnitId?: number; // 浜у搧鍗曚綅缂栧彿
     productUnitName?: string; // 浜у搧鍗曚綅鍚嶇О
     productBarCode?: string; // 浜у搧鏉$爜
-    productPrice?: number; // 浜у搧鍗曚环锛堝弬鑰冧环锛�
+    productPrice?: number; // 鍚◣鍗曚环锛堝弬鑰冧环锛�
     count: number; // 鏁伴噺
     taxPercent?: number; // 绋庣巼
+    totalPrice?: number; // 涓嶅惈绋庨噾棰�
+    taxPrice?: number; // 绋庨
     demandTime?: string; // 闇�姹傛棩鏈�
     remark?: string; // 澶囨敞
+    qcCheckFlag?: boolean; // 鏄惁璐ㄦ
+    inCount?: number; // 鍏ュ簱鏁伴噺
   }
+}
+
+/** 閲囪喘鐢宠瀵煎叆缁撴灉 */
+export interface ImportResult {
+  /** 鍒涘缓鎴愬姛鐨勯噰璐敵璇峰崟鍙� */
+  createList?: string[];
+  /** 鏇存柊鎴愬姛鐨勯噰璐敵璇峰崟鍙� */
+  updateList?: string[];
+  /** 瀵煎叆澶辫触闆嗗悎锛宬ey 涓洪噰璐敵璇峰崟鍙锋垨琛屽彿锛寁alue 涓哄け璐ュ師鍥� */
+  failureList?: Record<string, string>;
 }
 
 /** 鍒涘缓閲囪喘鐢宠 */
@@ -134,3 +148,13 @@
     }
   }
 }
+
+/** 涓嬭浇閲囪喘鐢宠瀵煎叆妯℃澘 */
+export function importPurchaseRequestTemplate() {
+  return requestClient.download('/erp/purchase-request/get-import-template');
+}
+
+/** 瀵煎叆閲囪喘鐢宠 */
+export function importPurchaseRequest(file: File) {
+  return requestClient.upload<ImportResult>('/erp/purchase-request/import', { file });
+}

--
Gitblit v1.9.3