feat: fix bugs

This commit is contained in:
2026-01-26 16:22:27 +08:00
parent 5e1e9e58a2
commit 8e2f584f3a
13 changed files with 32 additions and 23 deletions

View File

@@ -148,21 +148,20 @@
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text='@{"合计:"+viewModel.totalCount+"票"}'
android:text="合计:"
android:textColor="@color/bottom_tool_tips_text_color"
android:textSize="18sp"
android:textStyle="bold"
tools:text="合计:1票" />
tools:text="合计:" />
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginLeft="20dp"
android:text='@{"总件数:"+viewModel.totalPc}'
android:text='@{"总货重:"+viewModel.cargoWeight}'
android:textColor="@color/bottom_tool_tips_text_color"
android:textSize="18sp"
android:textStyle="bold"
tools:text="总件数100" />
tools:text="总货重100" />
<TextView
android:layout_width="wrap_content"

View File

@@ -56,7 +56,7 @@
title='@{"通道号"}'
titleLength="@{5}"
type="@{DataLayoutType.INPUT}"
value='@{viewModel.dataBean.passagewayName}'
value='@{viewModel.dataBean.passageway}'
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1" />

View File

@@ -46,7 +46,7 @@
title="@{`件数`}"
titleLength="@{2}"
type="@{DataLayoutType.INPUT}"
value="@{String.valueOf(bean.pc)}" />
value="@{String.valueOf(bean.checkInPc)}" />
<!-- 重量(可编辑) -->
<com.lukouguoji.module_base.ui.weight.data.layout.PadDataLayoutNew
@@ -60,7 +60,7 @@
title="@{`重量`}"
titleLength="@{2}"
type="@{DataLayoutType.INPUT}"
value="@={bean.weightStr}" />
value="@={bean.checkInWeightStr}" />
</LinearLayout>
</layout>

View File

@@ -51,7 +51,7 @@
android:layout_height="wrap_content"
android:layout_weight="0.8"
android:gravity="center"
android:text="@{String.valueOf(bean.pc)}"
android:text="@{String.valueOf(bean.checkInPc)}"
android:textColor="@color/text_normal"
android:textSize="14sp" />
@@ -61,7 +61,7 @@
android:layout_height="wrap_content"
android:layout_weight="0.8"
android:gravity="center"
android:text="@{String.valueOf((int)bean.weight)}"
android:text="@{String.valueOf((int)bean.checkInWeight)}"
android:textColor="@color/text_normal"
android:textSize="14sp" />