fix: 计重明细托盘自重改取托盘重量并支持编辑联动
托盘自重原误取托盘车重(carWeight),改为托盘重量(trayTotalWeight)。 编辑模式下托盘自重可编辑,重量按编辑前后差值同步浮动,底部统计随之更新。 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -67,17 +67,19 @@
|
||||
type="@{DataLayoutType.INPUT}"
|
||||
value="@={record.weightStr}" />
|
||||
|
||||
<!-- 托盘自重字段(只读) -->
|
||||
<!-- 托盘自重字段(取托盘重量 trayTotalWeight,可编辑) -->
|
||||
<com.lukouguoji.module_base.ui.weight.data.layout.PadDataLayoutNew
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="10dp"
|
||||
android:layout_weight="1"
|
||||
enable="@{false}"
|
||||
enable="@{isEditMode}"
|
||||
hint="@{`托盘自重`}"
|
||||
inputType="@{android.text.InputType.TYPE_CLASS_NUMBER | android.text.InputType.TYPE_NUMBER_FLAG_DECIMAL}"
|
||||
title="@{`托盘自重`}"
|
||||
titleLength="@{4}"
|
||||
type="@{DataLayoutType.INPUT}"
|
||||
value="@{record.carWeight}" />
|
||||
value="@={record.trayTotalWeightStr}" />
|
||||
|
||||
<!-- 计重时间字段(只读) -->
|
||||
<com.lukouguoji.module_base.ui.weight.data.layout.PadDataLayoutNew
|
||||
|
||||
Reference in New Issue
Block a user