feat: 出港计重 ui

This commit is contained in:
2025-12-08 10:31:20 +08:00
parent 09d04cf539
commit d401f849c8
2 changed files with 45 additions and 39 deletions

View File

@@ -36,7 +36,6 @@ class GjcWeighingViewModel : BasePageViewModel() {
val totalCount = MutableLiveData("0") // 合计票数
val totalPc = MutableLiveData("0") // 总件数
val totalWeight = MutableLiveData("0") // 总重量
val cargoWeight = MutableLiveData("0") // 总货重
///////////////////////////////////////////////////////////////////////////
// 方法区
@@ -79,6 +78,13 @@ class GjcWeighingViewModel : BasePageViewModel() {
GjcWeighingRecordListActivity.start(getTopActivity())
}
/**
* 提前运抵
*/
fun arrivedAhead() {
}
/**
* 获取列表数据
*/
@@ -121,7 +127,6 @@ class GjcWeighingViewModel : BasePageViewModel() {
totalCount.value = (data?.wbNumber ?: 0).toString()
totalPc.value = (data?.totalPc ?: 0).toString()
totalWeight.value = (data?.totalWeight ?: 0.0).toString()
cargoWeight.value = (data?.cargoWeight ?: 0.0).toString()
}
}
}