|
@@ -0,0 +1,416 @@
|
|
|
+<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
+ xmlns:tools="http://schemas.android.com/tools"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:orientation="vertical"
|
|
|
+ tools:context="com.uas.bgdq.fragment.IOCOutMakeMaterialOper">
|
|
|
+ <!-- <include
|
|
|
+ android:id="@+id/include_menuactionbar"
|
|
|
+ layout="@layout/actionbar_withback" />-->
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="0dp"
|
|
|
+ android:layout_weight="1"
|
|
|
+ android:orientation="vertical">
|
|
|
+ <!--no use-->
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="60dp"
|
|
|
+ android:orientation="horizontal"
|
|
|
+ android:padding="10dp"
|
|
|
+ android:visibility="gone">
|
|
|
+
|
|
|
+ <RadioGroup
|
|
|
+ android:id="@+id/iocout_collect_rg"
|
|
|
+ android:layout_width="0dp"
|
|
|
+ android:layout_height="40dp"
|
|
|
+ android:layout_weight="2"
|
|
|
+ android:orientation="horizontal"
|
|
|
+ android:visibility="gone">
|
|
|
+
|
|
|
+ <RadioButton
|
|
|
+ android:id="@+id/iocout_collect_barcode_rb"
|
|
|
+ android:layout_width="0dp"
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:layout_weight="1"
|
|
|
+ android:background="@drawable/selector_collect_type_bg"
|
|
|
+ android:button="@null"
|
|
|
+ android:checked="true"
|
|
|
+ android:clickable="true"
|
|
|
+ android:gravity="center"
|
|
|
+ android:text="条码号"
|
|
|
+ android:textColor="@color/selector_collect_type_text"
|
|
|
+ android:textSize="18sp" />
|
|
|
+
|
|
|
+ <RadioButton
|
|
|
+ android:id="@+id/iocout_collect_box_rb"
|
|
|
+ android:layout_width="0dp"
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:layout_weight="1"
|
|
|
+ android:background="@drawable/selector_collect_type_bg"
|
|
|
+ android:button="@null"
|
|
|
+ android:clickable="true"
|
|
|
+ android:gravity="center"
|
|
|
+ android:text="外箱号"
|
|
|
+ android:textColor="@color/selector_collect_type_text"
|
|
|
+ android:textSize="18sp" />
|
|
|
+ </RadioGroup>
|
|
|
+
|
|
|
+ <Spinner
|
|
|
+ android:id="@+id/iocout_material_type_sp"
|
|
|
+ android:layout_width="0dp"
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:layout_marginRight="10dp"
|
|
|
+ android:layout_weight="2"
|
|
|
+ android:background="@drawable/bg_blue_spinner"
|
|
|
+ android:gravity="center">
|
|
|
+
|
|
|
+ </Spinner>
|
|
|
+
|
|
|
+ <Button
|
|
|
+ android:id="@+id/iocout_collect_model_btn"
|
|
|
+ style="@style/ButtonStyle"
|
|
|
+ android:layout_width="0dp"
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:layout_margin="0dp"
|
|
|
+ android:layout_weight="1"
|
|
|
+ android:text="在线"
|
|
|
+ android:visibility="gone" />
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
+
|
|
|
+ <ScrollView
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content">
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:orientation="vertical"
|
|
|
+ android:padding="@dimen/padding_normal">
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:orientation="horizontal">
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:text="单号:"
|
|
|
+ android:textColor="@color/body_text_1"
|
|
|
+ android:layout_gravity="center"
|
|
|
+ android:textSize="14sp" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/tv_pi_inoutno"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_weight="1"
|
|
|
+ android:textColor="@color/body_text_1"
|
|
|
+ android:textSize="14sp"
|
|
|
+ android:layout_gravity="center"
|
|
|
+ tools:text="YS1506002" />
|
|
|
+ <TextView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:textColor="@color/body_text_1"
|
|
|
+ android:layout_gravity="center"
|
|
|
+ android:textSize="14sp"
|
|
|
+ tools:text="轨道编号" />
|
|
|
+ <Spinner
|
|
|
+ android:id="@+id/sp_login"
|
|
|
+ android:layout_marginLeft="@dimen/dp_10"
|
|
|
+ android:layout_marginRight="@dimen/dp_10"
|
|
|
+ style="@style/SpinnerStyle"
|
|
|
+ android:layout_width="70dp"
|
|
|
+ android:layout_height="30dp"
|
|
|
+ android:layout_marginTop="0dp"
|
|
|
+ android:padding="0dp"
|
|
|
+ android:gravity="center"
|
|
|
+ android:paddingLeft="0dp"
|
|
|
+ android:layout_gravity="top"
|
|
|
+ android:background="@drawable/bg_spinner" />
|
|
|
+ <CheckBox
|
|
|
+ android:id="@+id/special_check"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_gravity="center"
|
|
|
+ android:gravity="center"
|
|
|
+ android:text="特殊出库">
|
|
|
+ </CheckBox>
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:text="仓库:"
|
|
|
+ android:textColor="@color/body_text_1"
|
|
|
+ android:textSize="14sp"
|
|
|
+ android:visibility="gone" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/tv_pd_whcode"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_weight="1"
|
|
|
+ android:textColor="@color/body_text_1"
|
|
|
+ android:textSize="14sp"
|
|
|
+ android:visibility="gone"
|
|
|
+ tools:text="01" />
|
|
|
+
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
+ <TableLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginTop="@dimen/spacing_big"
|
|
|
+ android:stretchColumns="1">
|
|
|
+
|
|
|
+ <TableRow>
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/iocout_material_type_tv"
|
|
|
+ style="@style/tl_tv_style"
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:background="@color/gray_light"
|
|
|
+ android:drawableLeft="@drawable/switch_model"
|
|
|
+ android:drawablePadding="5dp"
|
|
|
+ android:gravity="center_vertical"
|
|
|
+ android:padding="10dp"
|
|
|
+ android:text="条码"
|
|
|
+ android:textColor="@color/body_text_1"
|
|
|
+ android:textSize="16sp" />
|
|
|
+ <!--<TextView-->
|
|
|
+ <!--android:id="@+id/iocout_material_type_tv"-->
|
|
|
+ <!--style="@style/tl_tv_style"-->
|
|
|
+ <!--android:layout_height="match_parent"-->
|
|
|
+ <!--android:background="@color/gray_light"-->
|
|
|
+ <!--android:gravity="center_vertical"-->
|
|
|
+ <!--android:padding="10dp"-->
|
|
|
+ <!--android:text="条码"-->
|
|
|
+ <!--android:textColor="@color/body_text_1"-->
|
|
|
+ <!--android:textSize="16sp" />-->
|
|
|
+
|
|
|
+ <com.uas.bgdq.view.ClearableEditText
|
|
|
+ android:id="@+id/et_bar_code"
|
|
|
+ style="@style/EditTextStyle"
|
|
|
+ android:focusable="true"
|
|
|
+ android:focusableInTouchMode="true"
|
|
|
+ android:hint="@string/please_collect_barcode"
|
|
|
+ android:textColor="@color/black" />
|
|
|
+ </TableRow>
|
|
|
+
|
|
|
+ </TableLayout>
|
|
|
+ <!--no use-->
|
|
|
+ <Button
|
|
|
+ android:id="@+id/btn_confirm"
|
|
|
+ style="@style/ButtonStyle"
|
|
|
+ android:enabled="false"
|
|
|
+ android:text="@string/confirm"
|
|
|
+ android:visibility="gone" />
|
|
|
+
|
|
|
+ <TableLayout
|
|
|
+ android:id="@+id/iocout_collect_barcode_tl"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginBottom="5dp"
|
|
|
+ android:layout_marginTop="@dimen/spacing_big"
|
|
|
+ android:background="@drawable/bg_button_enabled"
|
|
|
+ android:padding="10dp"
|
|
|
+ android:stretchColumns="1"
|
|
|
+ android:visibility="gone"
|
|
|
+ tools:visibility="visible">
|
|
|
+
|
|
|
+ <TableRow>
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/tv_barcode_collection_success"
|
|
|
+ style="@style/tl_tv_style"
|
|
|
+ android:layout_gravity="center_vertical"
|
|
|
+ android:layout_marginLeft="10dp"
|
|
|
+ android:textColor="@color/white"
|
|
|
+ android:visibility="gone"
|
|
|
+ tools:visibility="visible"/>
|
|
|
+ </TableRow>
|
|
|
+
|
|
|
+ <TableRow>
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ style="@style/tl_tv_style"
|
|
|
+ android:layout_gravity="center_vertical"
|
|
|
+ android:text="@string/text_barcode_tailback" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/iocout_bar_code_tv"
|
|
|
+ style="@style/tv"
|
|
|
+ android:layout_marginLeft="3dp" />
|
|
|
+ </TableRow>
|
|
|
+
|
|
|
+ <TableRow>
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ style="@style/tl_tv_style"
|
|
|
+ android:layout_gravity="center_vertical"
|
|
|
+ android:text="@string/bar_remain" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/iocout_bar_remain_tv"
|
|
|
+ style="@style/tv"
|
|
|
+ android:layout_marginLeft="3dp" />
|
|
|
+ </TableRow>
|
|
|
+
|
|
|
+ <TableRow>
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ style="@style/tl_tv_style"
|
|
|
+ android:layout_gravity="center_vertical"
|
|
|
+ android:text="@string/text_procode_tailback" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/iocout_bar_prodcode_tv"
|
|
|
+ style="@style/tv"
|
|
|
+ android:layout_marginLeft="3dp" />
|
|
|
+ </TableRow>
|
|
|
+ </TableLayout>
|
|
|
+
|
|
|
+ <TableLayout
|
|
|
+ android:id="@+id/iocout_collect_box_tl"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginBottom="5dp"
|
|
|
+ android:layout_marginTop="@dimen/spacing_big"
|
|
|
+ android:background="@drawable/bg_button_enabled"
|
|
|
+ android:padding="10dp"
|
|
|
+ android:stretchColumns="1"
|
|
|
+ android:visibility="gone"
|
|
|
+ tools:visibility="visible">
|
|
|
+
|
|
|
+ <TableRow>
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/tv_box_collection_success"
|
|
|
+ style="@style/tl_tv_style"
|
|
|
+ android:layout_gravity="center_vertical"
|
|
|
+ android:layout_marginLeft="10dp"
|
|
|
+ android:textColor="@color/white"
|
|
|
+ android:visibility="gone" />
|
|
|
+ </TableRow>
|
|
|
+
|
|
|
+ <TableRow>
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ style="@style/tl_tv_style"
|
|
|
+ android:layout_gravity="center_vertical"
|
|
|
+ android:text="箱号:" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/iocout_box_tv"
|
|
|
+ style="@style/tv"
|
|
|
+ android:layout_marginLeft="3dp" />
|
|
|
+ </TableRow>
|
|
|
+
|
|
|
+ <TableRow>
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ style="@style/tl_tv_style"
|
|
|
+ android:layout_gravity="center_vertical"
|
|
|
+ android:text="箱内总数:" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/iocout_box_num_tv"
|
|
|
+ style="@style/tv"
|
|
|
+ android:layout_marginLeft="3dp" />
|
|
|
+ </TableRow>
|
|
|
+
|
|
|
+ <TableRow>
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ style="@style/tl_tv_style"
|
|
|
+ android:layout_gravity="center_vertical"
|
|
|
+ android:text="@string/text_procode_tailback" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/iocout_box_prodcode_tv"
|
|
|
+ style="@style/tv"
|
|
|
+ android:layout_marginLeft="3dp" />
|
|
|
+ </TableRow>
|
|
|
+
|
|
|
+ <TableRow>
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ style="@style/tl_tv_style"
|
|
|
+ android:layout_gravity="center_vertical"
|
|
|
+ android:text="仓库:" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/iocout_box_whcode_tv"
|
|
|
+ style="@style/tv"
|
|
|
+ android:layout_marginLeft="3dp" />
|
|
|
+ </TableRow>
|
|
|
+ </TableLayout>
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/iocout_collect_result"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginTop="@dimen/spacing_big"
|
|
|
+ android:background="@drawable/shape_msg_block"
|
|
|
+ android:padding="10dp"
|
|
|
+ android:visibility="gone"
|
|
|
+ tools:text="boxResultboxResultboxResultboxResult"
|
|
|
+ tools:visibility="visible"/>
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/iocout_next_material_information"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginTop="@dimen/spacing_big"
|
|
|
+ android:background="@drawable/shape_msg_block"
|
|
|
+ android:padding="10dp"
|
|
|
+ tools:text="物料:PD_PRODCODE, 名称规格:PR_DETAIL || PR_SPEC未备料数: PD_RESTQTY,最小包装数:PR_ZXBZS,仓位:BAR_LOCATION,有PD_BATCHCODE 则显示批号:PD_BATCHCODE" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:visibility="gone"
|
|
|
+ android:id="@+id/text_finishno"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginTop="@dimen/spacing_big"
|
|
|
+ android:background="@drawable/shape_msg_block"
|
|
|
+ android:padding="10dp"
|
|
|
+ tools:text="" />
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
+ </ScrollView>
|
|
|
+ </LinearLayout>
|
|
|
+ <LinearLayout
|
|
|
+ android:orientation="horizontal"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content">
|
|
|
+ <Button
|
|
|
+ android:id="@+id/btn_startoutku"
|
|
|
+ style="@style/ButtonStyle"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_margin="12dp"
|
|
|
+ android:layout_weight="1"
|
|
|
+ android:text="发起"
|
|
|
+ />
|
|
|
+ <Button
|
|
|
+ android:id="@+id/btn_deleteoutku"
|
|
|
+ style="@style/ButtonStyle"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_margin="12dp"
|
|
|
+ android:layout_weight="1"
|
|
|
+ android:text="删除"
|
|
|
+ />
|
|
|
+ <Button
|
|
|
+ android:id="@+id/btn_guid"
|
|
|
+ style="@style/ButtonStyle"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_margin="12dp"
|
|
|
+ android:layout_weight="1"
|
|
|
+ android:text="轨道动作"
|
|
|
+ android:background="@drawable/bgstop_button"
|
|
|
+ />
|
|
|
+ </LinearLayout>
|
|
|
+</LinearLayout>
|