40 lines
1.9 KiB
Markdown
40 lines
1.9 KiB
Markdown
# 出货交接单添加功能修复 - 实现计划
|
|
|
|
## [ ] 任务 1: 分析到货交接单的实现方式
|
|
- **Priority**: P0
|
|
- **Depends On**: None
|
|
- **Description**:
|
|
- 查看到货交接单添加功能的实现代码,了解它如何处理 POD 和 Remarks 字段
|
|
- 对比出货交接单的实现,找出差异
|
|
- **Acceptance Criteria Addressed**: AC-3
|
|
- **Test Requirements**:
|
|
- `human-judgement` TR-1.1: 确认到货交接单的实现方式
|
|
- `human-judgement` TR-1.2: 识别出货交接单与到货交接单实现的差异
|
|
- **Notes**: 重点关注 `processArrivalHandoverForms` 函数的实现
|
|
|
|
## [ ] 任务 2: 修改出货交接单添加逻辑
|
|
- **Priority**: P0
|
|
- **Depends On**: 任务 1
|
|
- **Description**:
|
|
- 修改 `processShippingHandoverForm` 函数,确保 POD 和 Remarks 字段在为空时传递 null 或 undefined
|
|
- 保持与到货交接单实现的一致性
|
|
- **Acceptance Criteria Addressed**: AC-1, AC-2, AC-3
|
|
- **Test Requirements**:
|
|
- `programmatic` TR-2.1: 验证无 POD 图片时能正常提交
|
|
- `programmatic` TR-2.2: 验证无备注时能正常提交
|
|
- `programmatic` TR-2.3: 验证有 POD 图片和备注时能正常提交
|
|
- **Notes**: 修改 `batch_query.html` 文件中的 `processShippingHandoverForm` 函数
|
|
|
|
## [ ] 任务 3: 测试修复结果
|
|
- **Priority**: P1
|
|
- **Depends On**: 任务 2
|
|
- **Description**:
|
|
- 测试出货交接单添加功能,验证修复是否成功
|
|
- 测试各种场景:无 POD 无备注、有 POD 无备注、无 POD 有备注、有 POD 有备注
|
|
- **Acceptance Criteria Addressed**: AC-1, AC-2, AC-3
|
|
- **Test Requirements**:
|
|
- `programmatic` TR-3.1: 测试无 POD 无备注的情况
|
|
- `programmatic` TR-3.2: 测试有 POD 无备注的情况
|
|
- `programmatic` TR-3.3: 测试无 POD 有备注的情况
|
|
- `programmatic` TR-3.4: 测试有 POD 有备注的情况
|
|
- **Notes**: 使用浏览器测试功能,确保所有场景都能正常提交 |