feat(进港移库): 移库人取 opUserName,已移库照片经 movedDetail 回填(问题清单 #32~#34)

- #32 fdate/fno/spCode 后端已实装(search/searchMoved),手机端原有传参零改动生效
- #33 searchMoved 已回填 opId/opDate 并新增 opUserName:详情「移库人」改绑姓名(回退 opId)
- #34 新增 GET /DomImpMove/movedDetail:已移库运单(列表无 mawbId)拍照页按 moveId 回填照片
- 已移库运单 searchMoved/movedDetail 均无 mawbId,而 modify 以 mawbId 定位(实测返回「未能获取到运单id」),
  提交前给出明确提示,不再发出必失败请求;缺口已登记问题清单
- 内网实测:fno=MU2222 待移库 0 / 已移库 2 与直调一致;详情移库人「张三」

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
YANG JIANKUAN
2026-10-09 07:34:59 -07:00
parent 68e6c7c52b
commit 6f813f9cff
7 changed files with 39 additions and 8 deletions

View File

@@ -27,7 +27,9 @@ class MoveStashBean : ICheck {
var flight: String = "" // 20240711/MU7766
var fno: String = "" // MU7766
var goods: String = "" // 国际货
var mawbId: String = "" // 996422
var mawbId: String = "" // 996422(searchMoved 出参不含此字段)
var moveId: String = "" // CIII260930141150(已移库,movedDetail 入参)
var opUserName: String = "" // 移库人姓名(searchMoved / movedDetail 出参)
var no: String = "" // 44445074
var opDate: String = "" // null
var opId: String = "" // null
@@ -63,6 +65,10 @@ class MoveStashBean : ICheck {
val agentDisplay: String
get() = if (agentName.isNotEmpty()) agentName else agentCode
/** 移库人:优先姓名,为空回退操作人 ID */
val opUserDisplay: String
get() = opUserName.ifEmpty { opId }
/** 详情页/卡片字段统一空值占位 */
fun orDash(value: String?): String = if (value.isNullOrEmpty()) "-" else value
}

View File

@@ -1796,6 +1796,13 @@ interface Api {
@GET("DomImpMove/detail")
suspend fun getGnjMoveStashDetail(@Query("mawbId") mawbId: String): BaseResultBean<GnjYiKuBean>
/**
* 国内进港移库-移库完成详情(已移库运单无 mawbId,按 moveId 查,含 pic 三字段与移库人)
* 接口路径: /DomImpMove/movedDetail
*/
@GET("DomImpMove/movedDetail")
suspend fun getGnjMoveStashMovedDetail(@Query("moveId") moveId: String): BaseResultBean<GnjYiKuBean>
/**
* 编辑-国内进港移库(新接口)
*/