You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
169 lines
5.4 KiB
XML
169 lines
5.4 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<layout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
xmlns:tools="http://schemas.android.com/tools">
|
|
|
|
<data>
|
|
|
|
<variable
|
|
name="title"
|
|
type="String" />
|
|
<variable
|
|
name="location"
|
|
type="String" />
|
|
|
|
<variable
|
|
name="data"
|
|
type="com.example.haiwei_mom.data.SemiOutVo" />
|
|
</data>
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:orientation="vertical"
|
|
tools:context=".wms.semi.SeimMoveActivity">
|
|
|
|
<include
|
|
layout="@layout/toolbar"
|
|
app:title='@{title??"半成品调拨"}' />
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="45dp"
|
|
android:layout_marginTop="12dp"
|
|
android:layout_marginEnd="4dp">
|
|
|
|
<TextView
|
|
style="@style/text_title"
|
|
android:layout_width="110dp"
|
|
android:layout_height="match_parent"
|
|
android:text="扫描流转卡:" />
|
|
|
|
<EditText
|
|
android:id="@+id/semi_out_code"
|
|
style="@style/text_san"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:drawableRight="@mipmap/icon_chaxun" />
|
|
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="45dp"
|
|
android:layout_marginTop="12dp"
|
|
android:layout_marginEnd="4dp">
|
|
|
|
<TextView
|
|
style="@style/text_title"
|
|
android:layout_width="110dp"
|
|
android:layout_height="match_parent"
|
|
android:text="物料编码:" />
|
|
|
|
<TextView
|
|
style="@style/text_info"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:text="@{data.materialCode}" />
|
|
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="45dp"
|
|
android:layout_marginTop="12dp"
|
|
android:layout_marginEnd="4dp">
|
|
|
|
<TextView
|
|
style="@style/text_title"
|
|
android:layout_width="110dp"
|
|
android:layout_height="match_parent"
|
|
android:text="物料规格:" />
|
|
|
|
<TextView
|
|
style="@style/text_info"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:text="@{data.materialSpec}" />
|
|
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="45dp"
|
|
android:layout_marginTop="12dp"
|
|
android:layout_marginEnd="4dp">
|
|
|
|
<TextView
|
|
style="@style/text_title"
|
|
android:layout_width="110dp"
|
|
android:layout_height="match_parent"
|
|
android:text="数量:" />
|
|
|
|
<TextView
|
|
style="@style/text_info"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:layout_marginEnd="5dp"
|
|
android:layout_weight="1"
|
|
android:text='@{String.valueOf(data.storageNum)??"0"}' />
|
|
|
|
<TextView
|
|
style="@style/text_info"
|
|
android:layout_width="60dp"
|
|
android:layout_height="match_parent"
|
|
android:text="@{data.unitName}" />
|
|
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="45dp"
|
|
android:layout_marginTop="12dp"
|
|
android:layout_marginEnd="4dp">
|
|
|
|
<TextView
|
|
style="@style/text_title"
|
|
android:layout_width="110dp"
|
|
android:layout_height="match_parent"
|
|
android:text="生产时间:" />
|
|
|
|
<TextView
|
|
style="@style/text_info"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:text="@{data.createTime}" />
|
|
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="45dp"
|
|
android:layout_marginTop="12dp"
|
|
android:layout_marginEnd="4dp">
|
|
|
|
<TextView
|
|
style="@style/text_title"
|
|
android:layout_width="110dp"
|
|
android:layout_height="match_parent"
|
|
android:text="移入库位:" />
|
|
|
|
<TextView
|
|
style="@style/text_info"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:background="@drawable/spinner_bg"
|
|
android:onClick="semiMoveSelect"
|
|
android:text="@{location}" />
|
|
|
|
</LinearLayout>
|
|
|
|
<Button
|
|
style="@style/button_style"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="55dp"
|
|
android:layout_margin="20dp"
|
|
android:onClick="semiMoveSubmit"
|
|
android:text="提交" />
|
|
</LinearLayout>
|
|
</layout> |