feat: 国际出港 出港计重 opt v
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
package com.lukouguoji.module_base.bean
|
||||
|
||||
import androidx.databinding.ObservableBoolean
|
||||
import java.io.Serializable
|
||||
|
||||
/**
|
||||
@@ -98,4 +99,12 @@ class GjcWeighingRecordBean : Serializable {
|
||||
var haWbList: List<Any>? = null // 分单列表
|
||||
var storageUseList: List<Any>? = null // 库位使用列表
|
||||
var attachList: List<Any>? = null // 附件列表
|
||||
|
||||
// ========== UI扩展字段 ==========
|
||||
val checked: ObservableBoolean = ObservableBoolean(false) // 选中状态
|
||||
|
||||
// 兼容现有API的isSelected属性
|
||||
var isSelected: Boolean
|
||||
get() = checked.get()
|
||||
set(value) = checked.set(value)
|
||||
}
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<corners android:radius="8dp" />
|
||||
<solid android:color="#008000" />
|
||||
</shape>
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<corners android:radius="8dp" />
|
||||
<solid android:color="#E8F5E9" />
|
||||
</shape>
|
||||
|
||||
Reference in New Issue
Block a user