|
|
@@ -1,184 +1,236 @@
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
<LinearLayout 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"
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="match_parent"
|
|
|
- xmlns:tools="http://schemas.android.com/tools"
|
|
|
- xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
|
android:background="@color/white"
|
|
|
android:orientation="vertical">
|
|
|
+
|
|
|
<com.scwang.smartrefresh.layout.SmartRefreshLayout
|
|
|
android:id="@+id/pda_wms_in_filter_list_srl"
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="0dp"
|
|
|
android:layout_weight="1">
|
|
|
|
|
|
- <com.scwang.smartrefresh.layout.header.ClassicsHeader
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="wrap_content" />
|
|
|
<LinearLayout
|
|
|
- android:background="@color/white"
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="match_parent"
|
|
|
+ android:background="@color/white"
|
|
|
android:orientation="vertical">
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_margin="15dp"
|
|
|
+ android:background="@drawable/bg_line_edittext">
|
|
|
+
|
|
|
+ <com.uas.equipment.view.ClearableEditText
|
|
|
+ android:id="@+id/cet_barcaode"
|
|
|
+ style="@style/EditTextStyle"
|
|
|
+ android:layout_weight="1"
|
|
|
+ android:background="@null"
|
|
|
+ android:focusable="true"
|
|
|
+ android:focusableInTouchMode="true"
|
|
|
+ android:hint="请输入条码号"
|
|
|
+ android:imeOptions="actionSend"
|
|
|
+ android:textColor="@color/black" />
|
|
|
+
|
|
|
+ <ImageView
|
|
|
+ android:id="@+id/iv_scan"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_gravity="center"
|
|
|
+ android:layout_marginRight="10dp"
|
|
|
+ android:clickable="false"
|
|
|
+ android:src="@drawable/ic_edittext_scan" />
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
<LinearLayout
|
|
|
- android:background="@color/white"
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
|
android:layout_marginLeft="@dimen/dp_10"
|
|
|
+ android:background="@color/white"
|
|
|
android:orientation="horizontal">
|
|
|
+
|
|
|
<TextView
|
|
|
- android:text="设备号:"
|
|
|
android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content"/>
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:text="设备号:" />
|
|
|
+
|
|
|
<TextView
|
|
|
android:id="@+id/tv_de_code"
|
|
|
- android:text=""
|
|
|
android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content"/>
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:text="" />
|
|
|
</LinearLayout>
|
|
|
+
|
|
|
<LinearLayout
|
|
|
- android:background="@color/white"
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
|
android:layout_marginLeft="@dimen/dp_10"
|
|
|
+ android:background="@color/white"
|
|
|
android:orientation="horizontal">
|
|
|
+
|
|
|
<TextView
|
|
|
- android:text="品牌:"
|
|
|
android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content"/>
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:text="品牌:" />
|
|
|
+
|
|
|
<TextView
|
|
|
android:id="@+id/tv_de_vendor"
|
|
|
- android:text=""
|
|
|
android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content"/>
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:text="" />
|
|
|
</LinearLayout>
|
|
|
|
|
|
<LinearLayout
|
|
|
- android:background="@color/white"
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
|
android:layout_marginLeft="@dimen/dp_10"
|
|
|
+ android:background="@color/white"
|
|
|
android:orientation="horizontal">
|
|
|
+
|
|
|
<TextView
|
|
|
- android:text="名称:"
|
|
|
android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content"/>
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:text="名称:" />
|
|
|
+
|
|
|
<TextView
|
|
|
android:id="@+id/tv_de_name"
|
|
|
- android:text=""
|
|
|
android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content"/>
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:text="" />
|
|
|
</LinearLayout>
|
|
|
+
|
|
|
<LinearLayout
|
|
|
- android:background="@color/white"
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
|
android:layout_marginLeft="@dimen/dp_10"
|
|
|
+ android:background="@color/white"
|
|
|
android:orientation="horizontal">
|
|
|
+
|
|
|
<TextView
|
|
|
- android:text="规格:"
|
|
|
android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content"/>
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:text="规格:" />
|
|
|
+
|
|
|
<TextView
|
|
|
android:id="@+id/tv_de_spec"
|
|
|
- android:text=""
|
|
|
android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content"/>
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:text="" />
|
|
|
</LinearLayout>
|
|
|
+
|
|
|
<LinearLayout
|
|
|
- android:background="@color/white"
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
|
android:layout_marginLeft="@dimen/dp_10"
|
|
|
+ android:background="@color/white"
|
|
|
android:orientation="horizontal">
|
|
|
+
|
|
|
<TextView
|
|
|
- android:text="储位:"
|
|
|
android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content"/>
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:text="储位:" />
|
|
|
+
|
|
|
<TextView
|
|
|
android:id="@+id/tv_de_location"
|
|
|
- android:text=""
|
|
|
android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content"/>
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:text="" />
|
|
|
</LinearLayout>
|
|
|
+
|
|
|
<LinearLayout
|
|
|
- android:background="@color/white"
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
|
android:layout_marginLeft="@dimen/dp_10"
|
|
|
+ android:background="@color/white"
|
|
|
android:orientation="horizontal">
|
|
|
+
|
|
|
<TextView
|
|
|
- android:text="当前部门名称:"
|
|
|
android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content"/>
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:text="当前部门名称:" />
|
|
|
+
|
|
|
<TextView
|
|
|
android:id="@+id/tv_de_currentcentername"
|
|
|
- android:text=""
|
|
|
android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content"/>
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:text="" />
|
|
|
</LinearLayout>
|
|
|
|
|
|
<LinearLayout
|
|
|
- android:background="@color/white"
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
|
android:layout_marginLeft="@dimen/dp_10"
|
|
|
+ android:background="@color/white"
|
|
|
android:orientation="horizontal">
|
|
|
+
|
|
|
<TextView
|
|
|
- android:text="厂商联系人:"
|
|
|
android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content"/>
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:text="厂商联系人:" />
|
|
|
+
|
|
|
<TextView
|
|
|
android:id="@+id/tv_de_contact"
|
|
|
- android:text=""
|
|
|
android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content"/>
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:text="" />
|
|
|
</LinearLayout>
|
|
|
+
|
|
|
<LinearLayout
|
|
|
- android:background="@color/white"
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
|
android:layout_marginLeft="@dimen/dp_10"
|
|
|
+ android:background="@color/white"
|
|
|
android:orientation="horizontal">
|
|
|
+
|
|
|
<TextView
|
|
|
- android:text="厂商电话:"
|
|
|
android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content"/>
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:text="厂商电话:" />
|
|
|
+
|
|
|
<TextView
|
|
|
android:id="@+id/tv_de_telvendor"
|
|
|
- android:text=""
|
|
|
android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content"/>
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:text="" />
|
|
|
</LinearLayout>
|
|
|
+
|
|
|
<LinearLayout
|
|
|
- android:layout_marginTop="@dimen/dp_10"
|
|
|
- android:orientation="vertical"
|
|
|
android:layout_width="match_parent"
|
|
|
- android:layout_height="match_parent">
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:layout_marginTop="@dimen/dp_10"
|
|
|
+ android:orientation="vertical">
|
|
|
+
|
|
|
<com.bin.david.form.core.SmartTable
|
|
|
android:id="@+id/smar_item1"
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="0dp"
|
|
|
- android:layout_weight="1"
|
|
|
- android:layout_marginBottom="5dp"/>
|
|
|
+ android:layout_marginBottom="5dp"
|
|
|
+ android:layout_weight="1" />
|
|
|
|
|
|
<com.bin.david.form.core.SmartTable
|
|
|
- android:layout_marginTop="5dp"
|
|
|
android:id="@+id/pda_wms_in_filter_list_st"
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="0dp"
|
|
|
+ android:layout_marginTop="5dp"
|
|
|
android:layout_weight="1.7" />
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
|
-
|
|
|
</LinearLayout>
|
|
|
|
|
|
<com.scwang.smartrefresh.layout.footer.ClassicsFooter
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
|
app:srlAccentColor="@android:color/darker_gray" />
|
|
|
+
|
|
|
+ <com.scwang.smartrefresh.layout.header.ClassicsHeader
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content" />
|
|
|
</com.scwang.smartrefresh.layout.SmartRefreshLayout>
|
|
|
|
|
|
|