feat: 开始计重 业务类型
This commit is contained in:
@@ -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
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -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" />
|
||||||
|
|||||||
Reference in New Issue
Block a user