feat: opt 出港计重 完成计重

This commit is contained in:
2025-12-16 09:17:20 +08:00
parent d600cbe4f1
commit d1ed050c76
2 changed files with 11 additions and 12 deletions

View File

@@ -1,8 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="oval">
<solid android:color="#7FD16E" />
<solid android:color="#ebfcd0" />
<size
android:width="40dp"
android:height="40dp" />
android:width="32dp"
android:height="32dp" />
</shape>

View File

@@ -23,11 +23,11 @@
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginBottom="15dp"
android:background="@drawable/bg_white_radius_8"
android:gravity="center_vertical"
android:orientation="horizontal"
android:padding="15dp">
android:paddingVertical="8dp"
android:paddingHorizontal="15dp">
<!-- 绿色圆圈序号 -->
<TextView
@@ -36,9 +36,8 @@
android:background="@drawable/bg_circle_green"
android:gravity="center"
android:text="@{String.valueOf(position + 1)}"
android:textColor="@color/white"
android:textSize="16sp"
android:textStyle="bold" />
android:textColor="@color/c666666"
android:textSize="16sp" />
<!-- 件数字段 -->
<com.lukouguoji.module_base.ui.weight.data.layout.PadDataLayoutNew
@@ -50,7 +49,7 @@
hint="@{`件数`}"
inputType="@{android.text.InputType.TYPE_CLASS_NUMBER}"
title="@{`件数`}"
titleLength="@{5}"
titleLength="@{2}"
type="@{DataLayoutType.INPUT}"
value="@={record.pcStr}" />
@@ -64,7 +63,7 @@
hint="@{`重量`}"
inputType="@{android.text.InputType.TYPE_CLASS_NUMBER | android.text.InputType.TYPE_NUMBER_FLAG_DECIMAL}"
title="@{`重量`}"
titleLength="@{5}"
titleLength="@{2}"
type="@{DataLayoutType.INPUT}"
value="@={record.weightStr}" />
@@ -76,7 +75,7 @@
android:layout_weight="1"
enable="@{false}"
title="@{`托盘自重`}"
titleLength="@{5}"
titleLength="@{4}"
type="@{DataLayoutType.INPUT}"
value="@{`100`}" />
@@ -88,7 +87,7 @@
android:layout_weight="1.5"
enable="@{false}"
title="@{`计重时间`}"
titleLength="@{5}"
titleLength="@{4}"
type="@{DataLayoutType.INPUT}"
value="@{record.opDate}" />