You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
209 lines
7.2 KiB
209 lines
7.2 KiB
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:background="@color/color_app_bg">
|
|
|
|
<LinearLayout
|
|
android:id="@+id/main"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="fill_parent"
|
|
android:baselineAligned="false"
|
|
android:gravity="center"
|
|
android:orientation="vertical"
|
|
android:paddingTop="10dp"
|
|
android:textSize="18sp">
|
|
|
|
|
|
<LinearLayout
|
|
android:id="@+id/top_1"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
android:baselineAligned="false"
|
|
android:gravity="center"
|
|
android:orientation="horizontal"
|
|
android:padding="2dp">
|
|
|
|
<TextView
|
|
android:id="@+id/tv_transferNo"
|
|
android:layout_width="75dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginLeft="5dp"
|
|
android:gravity="right"
|
|
android:text="源头单据:" />
|
|
|
|
<EditText
|
|
android:id="@+id/et_transferNo"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="26dp"
|
|
android:layout_marginRight="5dp"
|
|
android:background="@drawable/shape_white"
|
|
android:gravity="center"
|
|
android:selectAllOnFocus="true"
|
|
android:singleLine="true" />
|
|
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:id="@+id/top_2"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
android:baselineAligned="false"
|
|
android:gravity="center"
|
|
android:orientation="horizontal"
|
|
android:padding="2dp">
|
|
|
|
<TextView
|
|
android:id="@+id/tv_toBin"
|
|
android:layout_width="75dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginLeft="5dp"
|
|
android:gravity="right"
|
|
android:text="目标库位:" />
|
|
|
|
<EditText
|
|
android:id="@+id/et_toBin"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="26dp"
|
|
android:layout_marginRight="5dp"
|
|
android:background="@drawable/shape_white"
|
|
android:gravity="center"
|
|
android:selectAllOnFocus="true"
|
|
android:singleLine="true" />
|
|
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:id="@+id/top_3"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
android:baselineAligned="false"
|
|
android:gravity="center_vertical"
|
|
android:orientation="horizontal"
|
|
android:padding="2dp">
|
|
|
|
<TextView
|
|
android:id="@+id/tv_barCode"
|
|
android:layout_width="75dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginLeft="5dp"
|
|
android:gravity="right"
|
|
android:text="物料条码:" />
|
|
|
|
<EditText
|
|
android:id="@+id/et_barCode"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="26dp"
|
|
android:layout_marginRight="5dp"
|
|
android:background="@drawable/shape_white"
|
|
android:gravity="center"
|
|
android:selectAllOnFocus="true"
|
|
android:singleLine="true" />
|
|
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:id="@+id/middle"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="5dp"
|
|
android:layout_marginBottom="5dp"
|
|
android:layout_weight="1"
|
|
android:background="@color/color_tbgc"
|
|
android:baselineAligned="false"
|
|
android:gravity="center"
|
|
android:orientation="horizontal"
|
|
android:padding="2dp">
|
|
<com.bin.david.form.core.SmartTable
|
|
android:id="@+id/table"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent" />
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:id="@+id/down_1"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="26dp"
|
|
android:baselineAligned="false"
|
|
android:gravity="center"
|
|
android:orientation="horizontal"
|
|
android:padding="2dp">
|
|
|
|
<TextView
|
|
android:id="@+id/tv_qty"
|
|
android:layout_width="75dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginLeft="5dp"
|
|
android:gravity="right"
|
|
android:text="操作模式:" />
|
|
|
|
<RadioGroup
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:orientation="horizontal">
|
|
|
|
<RadioButton
|
|
android:id="@+id/rbIn"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1"
|
|
android:checked="true"
|
|
android:text="移入" />
|
|
|
|
<RadioButton
|
|
android:id="@+id/rbOut"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1"
|
|
android:text="移出" />
|
|
</RadioGroup>
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:id="@+id/boom"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="50dp"
|
|
android:baselineAligned="false"
|
|
android:gravity="center"
|
|
android:orientation="horizontal"
|
|
android:padding="2dp">
|
|
|
|
<Button
|
|
android:id="@+id/btn_del"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="40dp"
|
|
android:layout_weight="1"
|
|
android:text="移除" />
|
|
|
|
<Button
|
|
android:id="@+id/btn_ok"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="40dp"
|
|
android:layout_weight="1"
|
|
android:text="提交" />
|
|
</LinearLayout>
|
|
|
|
<ScrollView
|
|
android:layout_width="match_parent"
|
|
android:layout_height="50dp">
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="50dp"
|
|
android:baselineAligned="false"
|
|
android:gravity="center"
|
|
android:orientation="horizontal"
|
|
android:padding="2dp">
|
|
|
|
<TextView
|
|
android:id="@+id/tv_msg"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:text="" />
|
|
</LinearLayout>
|
|
</ScrollView>
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
</RelativeLayout>
|