|
|
|
@ -11,6 +11,9 @@
|
|
|
|
<variable
|
|
|
|
<variable
|
|
|
|
name="title"
|
|
|
|
name="title"
|
|
|
|
type="String" />
|
|
|
|
type="String" />
|
|
|
|
|
|
|
|
<variable
|
|
|
|
|
|
|
|
name="sum"
|
|
|
|
|
|
|
|
type="com.example.aucma_mes.entity.CheckSum" />
|
|
|
|
</data>
|
|
|
|
</data>
|
|
|
|
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
<LinearLayout
|
|
|
|
@ -33,7 +36,7 @@
|
|
|
|
<LinearLayout
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="43dp"
|
|
|
|
android:layout_height="43dp"
|
|
|
|
android:layout_marginTop="12dp"
|
|
|
|
android:layout_marginTop="4dp"
|
|
|
|
android:layout_marginEnd="4dp">
|
|
|
|
android:layout_marginEnd="4dp">
|
|
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
<TextView
|
|
|
|
@ -53,7 +56,7 @@
|
|
|
|
<LinearLayout
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="43dp"
|
|
|
|
android:layout_height="43dp"
|
|
|
|
android:layout_marginTop="5dp"
|
|
|
|
android:layout_marginTop="4dp"
|
|
|
|
android:layout_marginEnd="4dp">
|
|
|
|
android:layout_marginEnd="4dp">
|
|
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
<TextView
|
|
|
|
@ -69,7 +72,49 @@
|
|
|
|
android:text="@={vm.materialName}" />
|
|
|
|
android:text="@={vm.materialName}" />
|
|
|
|
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
|
|
|
android:text="当班检测数据"
|
|
|
|
|
|
|
|
android:textColor="@color/blue" />
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
|
|
|
android:layout_height="38dp"
|
|
|
|
|
|
|
|
android:layout_marginEnd="4dp"
|
|
|
|
|
|
|
|
android:background="@color/white"
|
|
|
|
|
|
|
|
android:orientation="horizontal">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
|
|
|
style="@style/text_style1"
|
|
|
|
|
|
|
|
android:layout_width="100dp"
|
|
|
|
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
|
|
|
|
android:background="@color/grey"
|
|
|
|
|
|
|
|
android:text="已检测数量:" />
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
|
|
|
style="@style/text_style1_1"
|
|
|
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
|
|
|
|
android:layout_weight="1"
|
|
|
|
|
|
|
|
android:text="@{String.valueOf(sum.QUANTITY_SUM)}" />
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
|
|
|
style="@style/text_style1"
|
|
|
|
|
|
|
|
android:layout_width="80dp"
|
|
|
|
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
|
|
|
|
android:background="@color/grey"
|
|
|
|
|
|
|
|
android:text="返修数量:" />
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
|
|
|
style="@style/text_style1_1"
|
|
|
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
|
|
|
|
android:layout_weight="1"
|
|
|
|
|
|
|
|
android:text="@{String.valueOf(sum.REPAIR_SUM)}" />
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
<TextView
|
|
|
|
<TextView
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="20dp"
|
|
|
|
android:layout_height="20dp"
|
|
|
|
@ -79,14 +124,14 @@
|
|
|
|
<androidx.recyclerview.widget.RecyclerView
|
|
|
|
<androidx.recyclerview.widget.RecyclerView
|
|
|
|
android:id="@+id/recyclerView"
|
|
|
|
android:id="@+id/recyclerView"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="215dp"
|
|
|
|
android:layout_height="175dp"
|
|
|
|
app:layoutManager="androidx.recyclerview.widget.LinearLayoutManager"
|
|
|
|
app:layoutManager="androidx.recyclerview.widget.LinearLayoutManager"
|
|
|
|
android:background="@color/white" />
|
|
|
|
android:background="@color/white" />
|
|
|
|
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="43dp"
|
|
|
|
android:layout_height="43dp"
|
|
|
|
android:layout_marginTop="8dp"
|
|
|
|
android:layout_marginTop="4dp"
|
|
|
|
android:layout_marginEnd="4dp"
|
|
|
|
android:layout_marginEnd="4dp"
|
|
|
|
android:background="@color/white"
|
|
|
|
android:background="@color/white"
|
|
|
|
android:orientation="horizontal">
|
|
|
|
android:orientation="horizontal">
|
|
|
|
@ -114,7 +159,7 @@
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="45dp"
|
|
|
|
android:layout_height="45dp"
|
|
|
|
android:layout_marginStart="20dp"
|
|
|
|
android:layout_marginStart="20dp"
|
|
|
|
android:layout_marginTop="12dp"
|
|
|
|
android:layout_marginTop="8dp"
|
|
|
|
android:layout_marginEnd="20dp"
|
|
|
|
android:layout_marginEnd="20dp"
|
|
|
|
android:onClick="repairSubmit"
|
|
|
|
android:onClick="repairSubmit"
|
|
|
|
android:text="提交" />
|
|
|
|
android:text="提交" />
|
|
|
|
|