feat: 国际出港 理货报告
This commit is contained in:
@@ -1,5 +1,8 @@
|
||||
package com.lukouguoji.module_base.bean
|
||||
|
||||
import androidx.databinding.ObservableBoolean
|
||||
import java.io.Serializable
|
||||
|
||||
/**
|
||||
* 国际进港理货数据
|
||||
*/
|
||||
@@ -72,4 +75,17 @@ data class GjjImportTally(
|
||||
var volume: Double = 0.0,
|
||||
// 重量(kg)
|
||||
var weight: Double = 0.0
|
||||
)
|
||||
) : Serializable {
|
||||
// 选中状态(用于多选功能)- 不参与序列化
|
||||
@Transient
|
||||
val checked: ObservableBoolean = ObservableBoolean(false)
|
||||
|
||||
// 兼容现有API的isSelected属性
|
||||
var isSelected: Boolean
|
||||
get() = checked.get()
|
||||
set(value) = checked.set(value)
|
||||
|
||||
// 获取完整运单号
|
||||
fun getWaybillNo() = "$prefix$no"
|
||||
}
|
||||
|
||||
|
||||
@@ -268,6 +268,7 @@ interface Constant {
|
||||
const val IntImpMsgParseActivity = "AppIntImpMsgParse" //电报解析(电报生成)
|
||||
const val IntArrAirManifest = "AppIntArrAirManifest" //原始舱单
|
||||
const val IntImpManifest = "AppIntImpManifest" //进港舱单
|
||||
const val IntImpTally = "AppIntImpTally" //理货报告
|
||||
const val GjjManifestListActivity = "AppIntExpManifest" //舱单
|
||||
const val GjjTallyListActivity = "AppIntExpTally" //理货
|
||||
const val GjjGoodsListActivity = "AppIntExpGjjGoods" //货物交接
|
||||
|
||||
@@ -48,6 +48,7 @@ import com.lukouguoji.module_base.bean.GjjGoodsBean
|
||||
import com.lukouguoji.module_base.bean.GjjGoodsDetailsBean
|
||||
import com.lukouguoji.module_base.bean.GjjGoodsTypeBean
|
||||
import com.lukouguoji.module_base.bean.GjjHandoverRecordBean
|
||||
import com.lukouguoji.module_base.bean.GjjImportTally
|
||||
import com.lukouguoji.module_base.bean.GjjManifest
|
||||
import com.lukouguoji.module_base.bean.GjjManifestBean
|
||||
import com.lukouguoji.module_base.bean.GjjPackTypeBean
|
||||
@@ -1598,4 +1599,16 @@ interface Api {
|
||||
*/
|
||||
@POST("IntImpManifest/pageQueryAirTotal")
|
||||
suspend fun getIntImpLoadingTotal(@Body data: RequestBody): BaseResultBean<ManifestTotalDto>
|
||||
|
||||
/**
|
||||
* 国际进港理货报告-分页查询
|
||||
*/
|
||||
@POST("IntImpTally/pageQuery")
|
||||
suspend fun getIntImpTallyList(@Body data: RequestBody): PageInfo<GjjImportTally>
|
||||
|
||||
/**
|
||||
* 国际进港理货报告-分页合计
|
||||
*/
|
||||
@POST("IntImpTally/pageQueryTotal")
|
||||
suspend fun getIntImpTallyTotal(@Body data: RequestBody): BaseResultBean<ManifestTotalDto>
|
||||
}
|
||||
@@ -173,6 +173,7 @@ object ARouterConstants {
|
||||
const val ACTIVITY_URL_INT_ARR_SUPPLEMENT_INFO = "/gjj/IntArrSupplementInfoActivity" //国际进港 补充信息
|
||||
const val ACTIVITY_URL_INT_IMP_MANIFEST = "/gjj/IntImpManifestActivity" //国际进港 进港舱单
|
||||
const val ACTIVITY_URL_INT_IMP_LOADING_LIST = "/gjj/IntImpLoadingListActivity" //国际进港 装机单(分拣理货)
|
||||
const val ACTIVITY_URL_INT_IMP_TALLY = "/gjj/IntImpTallyActivity" //国际进港 理货报告
|
||||
|
||||
///////////////// 航班查询模块
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user