8.3 KiB
8.3 KiB
Battery Rejection Management
1. Function Overview
Battery Rejection Management is used to reactivate NG (defective) batteries produced during production, restoring them to normal production status and continuing to flow according to the process flow.
Main Functions:
- Battery Verification: Input battery barcode, the system verifies whether the battery meets the reactivation conditions
- Rejection Activation: Reactivate eligible NG batteries and restore them to normal production status
Function Screenshot:
2. Term Explanation
| Term | Definition |
|---|---|
| NG Battery | Batteries judged as defective during quality inspection in production |
| Rejection | Reactivate NG batteries to restore normal production |
| Battery Barcode | Unique identification number of the battery |
| Activation Status | Whether the battery is currently in a flowable production state |
| Tray | Production container carrying batteries |
| Batch | Production batch to which the battery belongs |
3. Battery Rejection Logic Flow
sequenceDiagram
participant 用户 as User
participant 前端页面 as Frontend Page
participant 后端服务 as Backend Service
participant Workerman as Workerman
用户->>前端页面: Input battery barcode, click verify data
前端页面->>后端服务: Request to verify battery information
后端服务->>后端服务: Validation 1: Check if battery exists in the system
alt Battery does not exist
后端服务-->>前端页面: Prompt battery does not exist
前端页面-->>用户: Display exception information
end
后端服务->>后端服务: Validation 2: Check if all battery batches are the same
alt Batch mismatch
后端服务-->>前端页面: Prompt batch mismatch
前端页面-->>用户: Display exception information
end
后端服务->>后端服务: Validation 3: Check if battery is bound to an activated tray
alt Tray still activated
后端服务-->>前端页面: Prompt tray activated
前端页面-->>用户: Display exception information
end
后端服务->>后端服务: Validation 4: Check if battery is in NG status
alt Not NG battery
后端服务-->>前端页面: Prompt not NG battery
前端页面-->>用户: Display exception information
end
后端服务->>后端服务: Validation 5: Check if battery is in inactive status
alt Battery already activated
后端服务-->>前端页面: Prompt battery already activated
前端页面-->>用户: Display exception information
end
后端服务-->>前端页面: Verification passed, return battery details
前端页面-->>用户: Display battery information table
用户->>前端页面: Verify information, click rejection activation
前端页面-->>用户: Pop up confirmation prompt
用户->>前端页面: Click OK
前端页面->>Workerman: Send rejection activation command
Workerman->>Workerman: Copy battery data to generate new record
Workerman->>Workerman: Clear NG flag and grade information
Workerman->>Workerman: Reactivate battery
Workerman-->>前端页面: Return activation success
前端页面-->>用户: Prompt rejection successful, battery restored to flow
Key Validation Rules:
| Validation Item | Rule Description |
|---|---|
| Battery Existence | Each input battery barcode must exist in the system |
| Batch Consistency | All input batteries must belong to the same production batch |
| Tray Status | If the battery is bound to a tray, the tray cannot be in activated status |
| NG Status | The battery must have an NG flag; normal batteries cannot be rejected |
| Activation Status | The battery must currently be in inactive status; already activated batteries cannot be rejected |
4. Operation Steps
4.1 Verify Battery
- Go to [Production Monitoring] → [Battery Rejection Management]
- Enter battery barcodes in the input box:
- Method 1: Directly enter multiple battery barcodes in the input box, separated by commas
- Method 2: Click the 📄 button on the right side of the input box, enter one battery barcode per line in the pop-up multi-line input box, click OK
- Click the [Verify Data] button
- The system validates the battery information, and upon passing, displays the battery details in the table below
Table Field Description:
| Field | Description |
|---|---|
| Battery Barcode | Unique identification number of the battery |
| Batch | Production batch to which the battery belongs |
| Tray | Tray number bound to the battery |
| Serial Number | Production serial number of the battery |
| Activation Status | "Activated" or "Inactivated" |
| Grade Type | Grade classification of the battery |
| Grade | Grade information of the battery |
| Previous Process | Last completed process of the battery |
| Current Process | Next process for the battery to flow to |
4.2 Execute Rejection Activation
- After verification, verify the battery information in the table
- Click the [Rejection Activation] button
- The system pops up a confirmation prompt: "After confirmation, the battery will be activated. After activation, production can only start from the current process, and cannot redo the previous process"
- Click OK to complete the rejection
[Important]:
- After rejection activation, the NG flag of the battery will be cleared, and the grade information will also be cleared
- After activation, the battery can only continue to flow from the current process and cannot return to the previous process
- This operation is irreversible. Please confirm before executing
Function Screenshots:
5. Common Exception Prompts
| Prompt Message | Cause | Handling Suggestion |
|---|---|---|
| Battery does not exist in BATTERY_MAP data | Battery barcode input error or not registered in the system | Check if the barcode is correct |
| Battery batch does not match the first one | Batteries from different batches were input | Ensure batteries from the same batch are rejected together |
| The tray bound to the battery is still activated | The tray containing the battery is still in production | Wait for the tray to complete before operating |
| The barcode must be inactive and an NG battery | The battery does not meet the rejection conditions | Only NG and inactive batteries can be rejected |
| The battery is already activated in the batch, no need to reactivate | The battery is already activated | No operation needed |
| The battery has no NG information, not an NG battery | The battery is a normal product | Normal batteries do not need rejection |




