feat: 国际出港 组装分配
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
package com.lukouguoji.module_base.bean
|
||||
|
||||
import dev.utils.app.info.KeyValue
|
||||
|
||||
/**
|
||||
* 组装公司Bean
|
||||
* 用于组装分配时选择分配人
|
||||
*/
|
||||
data class AssembleCompanyBean(
|
||||
val code: String = "", // 公司代码,例如 "ATR"
|
||||
val name: String = "" // 公司名称,例如 "ATR:马道"
|
||||
) {
|
||||
/**
|
||||
* 转换为 KeyValue 用于下拉列表
|
||||
* @return KeyValue(显示文本, 实际值)
|
||||
* 例如: KeyValue("ATR:马道", "ATR")
|
||||
*/
|
||||
fun toKeyValue() = KeyValue(name, code)
|
||||
}
|
||||
@@ -5,6 +5,7 @@ import com.lukouguoji.module_base.bean.AccidentVisaBean
|
||||
import com.lukouguoji.module_base.bean.AirportBean
|
||||
import com.lukouguoji.module_base.bean.AppUpdateResponse
|
||||
import com.lukouguoji.module_base.bean.AppUpdateResponseInfo
|
||||
import com.lukouguoji.module_base.bean.AssembleCompanyBean
|
||||
import com.lukouguoji.module_base.bean.BaseListBean
|
||||
import com.lukouguoji.module_base.bean.BaseResultBean
|
||||
import com.lukouguoji.module_base.bean.BoxDetailsForCarIdBean
|
||||
@@ -496,6 +497,13 @@ interface Api {
|
||||
@POST("IntExpAssemble/allocate")
|
||||
suspend fun allocateAssemble(@Body params: RequestBody): BaseResultBean<Boolean>
|
||||
|
||||
/**
|
||||
* 获取组装公司下拉列表
|
||||
* 接口路径: /typeCode/assembleCompany
|
||||
*/
|
||||
@POST("typeCode/assembleCompany")
|
||||
suspend fun getAssembleCompanyList(): BaseResultBean<List<AssembleCompanyBean>>
|
||||
|
||||
/**
|
||||
* 国际出港板箱过磅-分页搜索
|
||||
* 接口路径: /IntExpWeighting/pageQuery
|
||||
|
||||
Reference in New Issue
Block a user