fix: add missing spec-compliant methods and fields to Excel parser
Add missing spec-compliant methods and fields while keeping the working implementation that correctly handles the complex Excel structure. Changes: - Add public isOrderRow() method to detect order title rows - Add public extractOrderNumber() method to extract order numbers - Add public parseMaterialRow() method for spec compliance - Rename internal parseMaterialRow() to parseMaterialRowInternal() - Add missing pendingQty field to DiscreteMaterialPlan type All tests pass (23/23). Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -50,6 +50,9 @@ export interface DiscreteMaterialPlan {
|
||||
/** Cumulative outbound quantity (累计出库数量) */
|
||||
cumulativeOutboundQty?: number;
|
||||
|
||||
/** Pending quantity (pending quantity for fulfillment) */
|
||||
pendingQty?: number;
|
||||
|
||||
/** Row number in Excel file */
|
||||
rowNumber?: number;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user