feat: 开始计重 业务类型
This commit is contained in:
@@ -139,8 +139,12 @@ class GjcWeighingStartViewModel : BaseViewModel() {
|
||||
* 加载业务类型列表
|
||||
*/
|
||||
private fun loadBusinessTypeList() {
|
||||
// TODO: 从字典获取业务类型列表
|
||||
businessTypeList.value = listOf()
|
||||
DictUtils.getBusinessTypeList(
|
||||
type = "IO", // IO = 国际出港
|
||||
addAll = false // 不添加"全部"选项
|
||||
) {
|
||||
businessTypeList.value = it
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -63,6 +63,7 @@
|
||||
titleLength="@{5}"
|
||||
type="@{DataLayoutType.INPUT}"
|
||||
value='@={viewModel.maWbBean.wbNo}'
|
||||
required="@{true}"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1" />
|
||||
|
||||
Reference in New Issue
Block a user