feat: fix bugs

This commit is contained in:
2026-01-26 16:22:27 +08:00
parent 5e1e9e58a2
commit 8e2f584f3a
13 changed files with 32 additions and 23 deletions

View File

@@ -41,7 +41,7 @@ import me.jessyan.autosize.internal.CustomAdapt
* ========== 开发调试开关 ==========
* TODO: 正式发布前务必设置为 false
*/
private const val DEV_AUTO_LOGIN = true // 自动登录开关
private const val DEV_AUTO_LOGIN = false // 自动登录开关
@Route(path = ARouterConstants.ACTIVITY_URL_LOGIN)
class LoginActivity : BaseActivity(),

View File

@@ -74,6 +74,7 @@ data class GjcMaWb(
var carId: String? = null, // 平板车号
var carNumber: String? = null, // 车牌号
var passageWay: String? = null, // 通道号
var passageWayId: String? = null,
// ==================== 状态信息 ====================
var checkIn: String? = null, // 收运状态。0待收运1已收运2收运中

View File

@@ -53,6 +53,7 @@ class GjcUldUseBean : Serializable {
var dgrCode: String = "" // IMP代码
var height: String = "" // 高度
var passageway: String = "" // 通道号
var passagewayId: String = ""
var passagewayName: String = "" // 通道号(中文)
var plClose: String = "" // 探板/收口
var plCloseSize: String = "" // 探板尺寸(CM)

View File

@@ -1,10 +1,12 @@
package com.lukouguoji.module_base.bean
import java.io.Serializable
/**
* 国际出港-运单明细Bean
* 对应API: IntExpAssemble/queryAssembled
*/
class GjcWarehouse {
class GjcWarehouse : Serializable {
var whId: Long = 0 // ID
var no: String = "" // 运单号11位
var prefix: String = "" // 运单前缀
@@ -44,10 +46,10 @@ class GjcWarehouse {
/**
* 重量字符串用于双向绑定EditText
*/
var weightStr: String
get() = if (weight == 0.0) "" else weight.toString()
var checkInWeightStr: String
get() = if (checkInWeight == 0.0) "" else checkInWeight.toString()
set(value) {
weight = value.toDoubleOrNull() ?: 0.0
checkInWeight = value.toDoubleOrNull() ?: 0.0
}
/**