feat: 开始计重 业务类型

This commit is contained in:
2025-12-08 16:04:28 +08:00
parent 37ffc539c9
commit ee2bfe02a7
2 changed files with 7 additions and 2 deletions

View File

@@ -139,8 +139,12 @@ class GjcWeighingStartViewModel : BaseViewModel() {
* 加载业务类型列表 * 加载业务类型列表
*/ */
private fun loadBusinessTypeList() { private fun loadBusinessTypeList() {
// TODO: 从字典获取业务类型列表 DictUtils.getBusinessTypeList(
businessTypeList.value = listOf() type = "IO", // IO = 国际出港
addAll = false // 不添加"全部"选项
) {
businessTypeList.value = it
}
} }
/** /**

View File

@@ -63,6 +63,7 @@
titleLength="@{5}" titleLength="@{5}"
type="@{DataLayoutType.INPUT}" type="@{DataLayoutType.INPUT}"
value='@={viewModel.maWbBean.wbNo}' value='@={viewModel.maWbBean.wbNo}'
required="@{true}"
android:layout_width="0dp" android:layout_width="0dp"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_weight="1" /> android:layout_weight="1" />