<div v-pre>

# Commission Log

View user referral commission records including commission sources and amounts.

## Table Column Description

### User
User receiving commission (clickable for details).

### Amount
Commission amount.

### Order No.
Order that generated commission (clickable for order details).

### Type
Commission type (displayed as Badge):
- Referral commission
- Cashback commission
- Reward commission
- Other types

### Time
Commission issued time.

## Filter Functions

### Date Filter
Select date to view commission records, defaults to today.

### User ID Filter
Input user ID to view that user's commission records.

## Usage Scenarios

### Scenario 1: View Today's Commissions

1. Shows today's commission records by default
2. Calculate total commission amount
3. Analyze referral effectiveness

### Scenario 2: Track User Commissions

**View Referral Earnings**:
1. Filter by user ID
2. View all commission records
3. Calculate cumulative earnings
4. Verify commission accuracy

### Scenario 3: Analyze Referral Performance

**Calculate Referral Data**:
1. Select time range
2. View commission records
3. Identify top referrers
4. Optimize referral strategy

## Commission Rules

### Commission Sources
- **Referral Commission**: Generated from referred user purchases
- **Cashback Commission**: Cashback from own purchases
- **Reward Commission**: Activity rewards

### Commission Calculation
- Percentage of order amount
- Real-time or periodic settlement
- Linked to original order

## Important Notes

1. **Log Retention**: Retention per system config
2. **Order Association**: Can trace commission source
3. **Type Recognition**: Quick categorization by type
4. **Real-time Stats**: View referral effectiveness
5. **Regular Reconciliation**: Verify commission issuance accuracy

</div>
