feat: 出港计重 ui
This commit is contained in:
@@ -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()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user