feat: add component inventory check module
Implement automatic component inventory verification that marks orders with insufficient stock as "Component Priority = No". Key features: - Reads orders from [产品订单] worksheet - Parses BOM to identify component category materials - Validates inventory against [现存量] worksheet - Allocates stock in order sequence - Handles missing components with warnings instead of errors - Provides detailed statistics on completion Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -1,4 +1,16 @@
|
||||
'=====================================================================
|
||||
' 主按钮点击事件
|
||||
' 功能: 执行BOM提取和BIP上传
|
||||
'=====================================================================
|
||||
Private Sub CommandButton1_Click()
|
||||
Call ProcessProductModels
|
||||
Call ProcessOrdersToBIP
|
||||
End Sub
|
||||
|
||||
'=====================================================================
|
||||
' 部件库存核对按钮点击事件
|
||||
' 功能: 执行部件库存核对,标记库存不足的订单
|
||||
'=====================================================================
|
||||
Private Sub CommandButton2_Click()
|
||||
Call CheckComponentInventory
|
||||
End Sub
|
||||
Reference in New Issue
Block a user