更新採購單跟商品資料一些bug
All checks were successful
Koori-ERP-Deploy-System / deploy-demo (push) Has been skipped
Koori-ERP-Deploy-System / deploy-production (push) Successful in 52s

This commit is contained in:
2026-01-06 15:45:13 +08:00
parent 7160a7e780
commit fad74df6ac
9 changed files with 159 additions and 64 deletions

View File

@@ -22,6 +22,9 @@ export interface PurchaseOrderItem {
productName: string;
quantity: number;
unit: string;
base_unit?: string; // 基本庫存單位
purchase_unit?: string; // 採購單位
conversion_rate?: number;// 換算率
unitPrice: number;
previousPrice?: number;
subtotal: number;
@@ -77,6 +80,9 @@ export interface CommonProduct {
productId: string;
productName: string;
unit: string;
base_unit?: string;
purchase_unit?: string;
conversion_rate?: number;
lastPrice: number;
}