feat: 交接单 static ui v2

This commit is contained in:
2025-11-19 18:45:34 +08:00
parent 1c292787a1
commit 27b9f14a6a

View File

@@ -4,6 +4,7 @@
xmlns:tools="http://schemas.android.com/tools"> xmlns:tools="http://schemas.android.com/tools">
<data> <data>
<variable <variable
name="viewModel" name="viewModel"
type="com.lukouguoji.gjc.viewModel.GjcHandoverViewModel" /> type="com.lukouguoji.gjc.viewModel.GjcHandoverViewModel" />
@@ -398,8 +399,9 @@
<LinearLayout <LinearLayout
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:orientation="vertical" android:background="@drawable/bg_table_cell"
android:background="@drawable/bg_table_cell"> android:orientation="vertical">
<TextView <TextView
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
@@ -411,21 +413,23 @@
android:textSize="13sp" /> android:textSize="13sp" />
<LinearLayout <LinearLayout
android:orientation="horizontal"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="36dp"
android:gravity="center_vertical|end" android:gravity="center_vertical|end"
android:paddingHorizontal="10dp" android:orientation="horizontal"
android:layout_height="36dp"> android:paddingHorizontal="10dp">
<TextView <TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="销售代理人盖章:" android:text="销售代理人盖章:"
android:textColor="@color/color_33" android:textColor="@color/color_33" />
android:layout_width="wrap_content"
android:layout_height="wrap_content"/>
<TextView <TextView
tools:text="李某某"
android:textColor="@color/color_33"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content"/> android:layout_height="wrap_content"
android:textColor="@color/color_33"
tools:text="李某某" />
</LinearLayout> </LinearLayout>
</LinearLayout> </LinearLayout>
@@ -511,7 +515,6 @@
</LinearLayout> </LinearLayout>
<!-- 分隔标题:以下由货站人员填写 --> <!-- 分隔标题:以下由货站人员填写 -->
<TextView <TextView
android:layout_width="match_parent" android:layout_width="match_parent"
@@ -525,71 +528,21 @@
android:textSize="15sp" android:textSize="15sp"
android:textStyle="bold" /> android:textStyle="bold" />
<!-- 防止隐含危险品货物收运检查单 -->
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="10dp"
android:background="#E8F5E9"
android:gravity="center"
android:padding="8dp"
android:text="《防止隐含危险品货物收运检查单》"
android:textColor="@color/color_33"
android:textSize="14sp"
android:textStyle="bold" />
<!-- 检查项表格 - 修复为正确的4列布局第1列包含文件部分和货物部分 -->
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@drawable/bg_table_cell"
android:orientation="vertical">
<!-- 表头行 --> <!-- 表头行 -->
<LinearLayout <LinearLayout
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="80dp" android:layout_height="40dp"
android:orientation="horizontal"> android:orientation="horizontal">
<!-- 列1文件部分和货物部分上下堆叠 -->
<LinearLayout
android:layout_width="0dp"
android:layout_height="match_parent"
android:layout_weight="1"
android:background="@drawable/bg_table_cell"
android:orientation="vertical">
<TextView
android:layout_width="match_parent"
android:layout_height="0dp"
android:layout_weight="1"
android:background="@drawable/bg_table_cell"
android:gravity="center"
android:text="文件部分(柜台)"
android:textColor="@color/color_33"
android:textSize="12sp"
android:textStyle="bold" />
<TextView
android:layout_width="match_parent"
android:layout_height="0dp"
android:layout_weight="1"
android:background="@drawable/bg_table_cell"
android:gravity="center"
android:text="货物部分(收运)"
android:textColor="@color/color_33"
android:textSize="12sp"
android:textStyle="bold" />
</LinearLayout>
<!-- 列2具体项目 --> <!-- 列2具体项目 -->
<TextView <TextView
android:layout_width="0dp" android:layout_width="0dp"
android:layout_height="match_parent" android:layout_height="match_parent"
android:layout_weight="2" android:layout_weight="4"
android:background="@drawable/bg_table_cell" android:background="@drawable/bg_table_cell"
android:gravity="center" android:gravity="center"
android:text="具体项目" android:text="《防止隐含危险品货物收运检查单》"
android:textColor="@color/color_33" android:textColor="@color/color_33"
android:textSize="14sp" android:textSize="14sp"
android:textStyle="bold" /> android:textStyle="bold" />
@@ -619,14 +572,12 @@
android:textStyle="bold" /> android:textStyle="bold" />
</LinearLayout> </LinearLayout>
<!-- 检查项1 --> <!-- 检查项表格 - 修复为正确的4列布局第1列包含文件部分和货物部分 -->
<LinearLayout <LinearLayout
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:minHeight="80dp"
android:orientation="horizontal"> android:orientation="horizontal">
<!-- 列1文件部分和货物部分上下堆叠 -->
<!-- 列1对应的两行文本 -->
<LinearLayout <LinearLayout
android:layout_width="0dp" android:layout_width="0dp"
android:layout_height="match_parent" android:layout_height="match_parent"
@@ -637,147 +588,35 @@
<TextView <TextView
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="0dp" android:layout_height="0dp"
android:layout_weight="1" android:layout_weight="3"
android:background="@drawable/bg_table_cell" android:background="@drawable/bg_table_cell"
android:gravity="center" android:gravity="center"
android:padding="5dp" android:text="文件部分(柜台)"
android:text="1.申报货物的品名为确指品名"
android:textColor="@color/color_33" android:textColor="@color/color_33"
android:textSize="12sp" /> android:textSize="12sp"
android:textStyle="bold" />
<TextView <TextView
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="0dp" android:layout_height="0dp"
android:layout_weight="1"
android:background="@drawable/bg_table_cell"
android:gravity="center"
android:padding="5dp"
android:text="1.包装件没有油渍或液体渗漏,也没有烟雾或者气体冒出"
android:textColor="@color/color_33"
android:textSize="12sp" />
</LinearLayout>
<!-- 列2留空 -->
<TextView
android:layout_width="0dp"
android:layout_height="match_parent"
android:layout_weight="2" android:layout_weight="2"
android:background="@drawable/bg_table_cell" android:background="@drawable/bg_table_cell"
android:gravity="center" android:gravity="center"
android:text="货物部分(收运)"
android:textColor="@color/color_33" android:textColor="@color/color_33"
android:textSize="12sp" /> android:textSize="12sp"
android:textStyle="bold" />
<!-- 列3是 checkbox居中 -->
<LinearLayout
android:layout_width="0dp"
android:layout_height="match_parent"
android:layout_weight="1"
android:background="@drawable/bg_table_cell"
android:gravity="center">
<CheckBox
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="" />
</LinearLayout> </LinearLayout>
<!-- 列4否 checkbox居中 -->
<LinearLayout <LinearLayout
android:layout_width="0dp" android:layout_width="0dp"
android:layout_height="match_parent"
android:layout_weight="1"
android:background="@drawable/bg_table_cell"
android:gravity="center">
<CheckBox
android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:text="" /> android:layout_weight="5"
</LinearLayout>
</LinearLayout>
<!-- 检查项2 -->
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:minHeight="80dp"
android:orientation="horizontal">
<!-- 列1对应的两行文本 -->
<LinearLayout
android:layout_width="0dp"
android:layout_height="match_parent"
android:layout_weight="1"
android:background="@drawable/bg_table_cell"
android:orientation="vertical"> android:orientation="vertical">
<TextView
android:layout_width="match_parent"
android:layout_height="0dp"
android:layout_weight="1"
android:background="@drawable/bg_table_cell"
android:gravity="center"
android:padding="5dp"
android:text="2.对货物品名进行判断,确认货物内不含未申报的危险品"
android:textColor="@color/color_33"
android:textSize="12sp" />
<TextView
android:layout_width="match_parent"
android:layout_height="0dp"
android:layout_weight="1"
android:background="@drawable/bg_table_cell"
android:gravity="center"
android:padding="5dp"
android:text="2.清除或涂去无关标记或标签"
android:textColor="@color/color_33"
android:textSize="12sp" />
</LinearLayout>
<!-- 列2留空 -->
<TextView
android:layout_width="0dp"
android:layout_height="match_parent"
android:layout_weight="2"
android:background="@drawable/bg_table_cell"
android:gravity="center"
android:textColor="@color/color_33"
android:textSize="12sp" />
<!-- 列3是 checkbox居中 -->
<LinearLayout
android:layout_width="0dp"
android:layout_height="match_parent"
android:layout_weight="1"
android:background="@drawable/bg_table_cell"
android:gravity="center">
<CheckBox
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="" />
</LinearLayout>
<!-- 列4否 checkbox居中 -->
<LinearLayout
android:layout_width="0dp"
android:layout_height="match_parent"
android:layout_weight="1"
android:background="@drawable/bg_table_cell"
android:gravity="center">
<CheckBox
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="" />
</LinearLayout>
</LinearLayout>
<!-- 检查项3 - 跨列合并 -->
<LinearLayout <LinearLayout
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="40dp"
android:minHeight="50dp"
android:orientation="horizontal"> android:orientation="horizontal">
<TextView <TextView
@@ -785,13 +624,12 @@
android:layout_height="match_parent" android:layout_height="match_parent"
android:layout_weight="3" android:layout_weight="3"
android:background="@drawable/bg_table_cell" android:background="@drawable/bg_table_cell"
android:gravity="center_vertical" android:gravity="start|center_vertical"
android:padding="8dp" android:padding="5dp"
android:text="3.是否非观赏鱼类货物,或属于无&quot;暖宝宝&quot;且无&quot;高锰酸钾等氧化剂类或其他类消毒剂&quot;的观赏鱼类货物" android:text="1.申报货物的品名为确指品名"
android:textColor="@color/color_33" android:textColor="@color/color_33"
android:textSize="12sp" /> android:textSize="12sp" />
<!-- 是 checkbox居中 -->
<LinearLayout <LinearLayout
android:layout_width="0dp" android:layout_width="0dp"
android:layout_height="match_parent" android:layout_height="match_parent"
@@ -805,7 +643,6 @@
android:text="" /> android:text="" />
</LinearLayout> </LinearLayout>
<!-- 否 checkbox居中 -->
<LinearLayout <LinearLayout
android:layout_width="0dp" android:layout_width="0dp"
android:layout_height="match_parent" android:layout_height="match_parent"
@@ -820,20 +657,182 @@
</LinearLayout> </LinearLayout>
</LinearLayout> </LinearLayout>
</LinearLayout> <LinearLayout
android:layout_width="match_parent"
android:layout_height="40dp"
android:orientation="horizontal">
<!-- 高风险货物收运检查单 -->
<TextView <TextView
android:layout_width="0dp"
android:layout_height="match_parent"
android:layout_weight="3"
android:background="@drawable/bg_table_cell"
android:gravity="start|center_vertical"
android:padding="5dp"
android:text="2.对货物品名进行判断,确认货物内不含未申报的危险品"
android:textColor="@color/color_33"
android:textSize="12sp" />
<LinearLayout
android:layout_width="0dp"
android:layout_height="match_parent"
android:layout_weight="1"
android:background="@drawable/bg_table_cell"
android:gravity="center">
<CheckBox
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="" />
</LinearLayout>
<LinearLayout
android:layout_width="0dp"
android:layout_height="match_parent"
android:layout_weight="1"
android:background="@drawable/bg_table_cell"
android:gravity="center">
<CheckBox
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="" />
</LinearLayout>
</LinearLayout>
<LinearLayout
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginTop="15dp" android:minHeight="40dp"
android:background="#FFF3E0" android:orientation="horizontal">
android:gravity="center"
android:padding="8dp" <TextView
android:text="《高风险货物收运检查单》" android:layout_width="0dp"
android:layout_height="match_parent"
android:layout_weight="3"
android:background="@drawable/bg_table_cell"
android:gravity="start|center_vertical"
android:padding="5dp"
android:text="3.是否非观赏鱼类货物,或属于无“暖宝宝”且无“高锰酸钾等氧化剂类或其他类消毒剂”的观赏鱼类货物"
android:textColor="@color/color_33" android:textColor="@color/color_33"
android:textSize="14sp" android:textSize="12sp" />
android:textStyle="bold" />
<LinearLayout
android:layout_width="0dp"
android:layout_height="match_parent"
android:layout_weight="1"
android:background="@drawable/bg_table_cell"
android:gravity="center">
<CheckBox
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="" />
</LinearLayout>
<LinearLayout
android:layout_width="0dp"
android:layout_height="match_parent"
android:layout_weight="1"
android:background="@drawable/bg_table_cell"
android:gravity="center">
<CheckBox
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="" />
</LinearLayout>
</LinearLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="40dp"
android:orientation="horizontal">
<TextView
android:layout_width="0dp"
android:layout_height="match_parent"
android:layout_weight="3"
android:background="@drawable/bg_table_cell"
android:gravity="start|center_vertical"
android:padding="5dp"
android:text="1.包装件没有油渍或液体渗漏,也没有烟雾或者气体冒出"
android:textColor="@color/color_33"
android:textSize="12sp" />
<LinearLayout
android:layout_width="0dp"
android:layout_height="match_parent"
android:layout_weight="1"
android:background="@drawable/bg_table_cell"
android:gravity="center">
<CheckBox
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="" />
</LinearLayout>
<LinearLayout
android:layout_width="0dp"
android:layout_height="match_parent"
android:layout_weight="1"
android:background="@drawable/bg_table_cell"
android:gravity="center">
<CheckBox
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="" />
</LinearLayout>
</LinearLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="40dp"
android:orientation="horizontal">
<TextView
android:layout_width="0dp"
android:layout_height="match_parent"
android:layout_weight="3"
android:background="@drawable/bg_table_cell"
android:gravity="start|center_vertical"
android:padding="5dp"
android:text="2.清除或涂去无关标记或标签"
android:textColor="@color/color_33"
android:textSize="12sp" />
<LinearLayout
android:layout_width="0dp"
android:layout_height="match_parent"
android:layout_weight="1"
android:background="@drawable/bg_table_cell"
android:gravity="center">
<CheckBox
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="" />
</LinearLayout>
<LinearLayout
android:layout_width="0dp"
android:layout_height="match_parent"
android:layout_weight="1"
android:background="@drawable/bg_table_cell"
android:gravity="center">
<CheckBox
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="" />
</LinearLayout>
</LinearLayout>
</LinearLayout>
</LinearLayout>
<!-- 高风险检查表 - Excel风格3列布局checkbox居中 --> <!-- 高风险检查表 - Excel风格3列布局checkbox居中 -->
<LinearLayout <LinearLayout
@@ -894,7 +893,7 @@
android:layout_height="match_parent" android:layout_height="match_parent"
android:layout_weight="4" android:layout_weight="4"
android:background="@drawable/bg_table_cell" android:background="@drawable/bg_table_cell"
android:gravity="center_vertical" android:gravity="start|center_vertical"
android:padding="8dp" android:padding="8dp"
android:text="1.航空货物外观显现异常或有拆换夹带迹象" android:text="1.航空货物外观显现异常或有拆换夹带迹象"
android:textColor="@color/color_33" android:textColor="@color/color_33"
@@ -941,7 +940,7 @@
android:layout_height="match_parent" android:layout_height="match_parent"
android:layout_weight="4" android:layout_weight="4"
android:background="@drawable/bg_table_cell" android:background="@drawable/bg_table_cell"
android:gravity="center_vertical" android:gravity="start|center_vertical"
android:padding="8dp" android:padding="8dp"
android:text="2.有具体情报显示航空货物可能对民用航空安全构成威胁" android:text="2.有具体情报显示航空货物可能对民用航空安全构成威胁"
android:textColor="@color/color_33" android:textColor="@color/color_33"
@@ -986,9 +985,10 @@
android:layout_width="0dp" android:layout_width="0dp"
android:layout_height="match_parent" android:layout_height="match_parent"
android:layout_weight="4" android:layout_weight="4"
android:padding="8dp"
android:background="@drawable/bg_table_cell" android:background="@drawable/bg_table_cell"
android:gravity="center" android:gravity="start|center_vertical"
android:text="结论:是否可以判定为高风险货物" android:text="结论是否可以判定为高风险货物"
android:textColor="@color/color_33" android:textColor="@color/color_33"
android:textSize="13sp" android:textSize="13sp"
android:textStyle="bold" /> android:textStyle="bold" />
@@ -1023,19 +1023,6 @@
</LinearLayout> </LinearLayout>
</LinearLayout> </LinearLayout>
<!-- 跨境电商货物收运检查单 -->
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="15dp"
android:background="#E1F5FE"
android:gravity="center"
android:padding="8dp"
android:text="《跨境电商货物收运检查单》"
android:textColor="@color/color_33"
android:textSize="14sp"
android:textStyle="bold" />
<!-- 跨境电商检查表 - Excel风格4列布局是/不适用/否checkbox居中 --> <!-- 跨境电商检查表 - Excel风格4列布局是/不适用/否checkbox居中 -->
<LinearLayout <LinearLayout
android:layout_width="match_parent" android:layout_width="match_parent"