feat: ULD 管理所属航司下拉接入接口
列表页/编辑页所属航司下拉由 mock 改为接口数据源 POST /typeCode/intCarrier, 编辑页按已选航司置顶回填 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -320,6 +320,12 @@ interface Api {
|
||||
@POST("typeCode/communicateType")
|
||||
suspend fun getCommunicateTypeList(): DictListBean
|
||||
|
||||
/**
|
||||
* 获取所属航司列表(国际)
|
||||
*/
|
||||
@POST("typeCode/intCarrier")
|
||||
suspend fun getIntCarrierList(): DictListBean
|
||||
|
||||
/**
|
||||
* 查询平板车信息
|
||||
*/
|
||||
|
||||
@@ -84,6 +84,24 @@ object DictUtils {
|
||||
KeyValue("出港库存至库区", "3"),
|
||||
)
|
||||
|
||||
/**
|
||||
* 获取所属航司列表(国际)
|
||||
*/
|
||||
fun getIntCarrierList(
|
||||
addAll: Boolean = false,
|
||||
checkedValue: String? = null,
|
||||
callBack: (List<KeyValue>) -> Unit
|
||||
) {
|
||||
launchCollect({
|
||||
NetApply.api
|
||||
.getIntCarrierList()
|
||||
}) {
|
||||
onSuccess = {
|
||||
handleCallBack(it, checkedValue, addAll, callBack)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取代理列表
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user