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

View File

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