509 lines
14 KiB
XML
509 lines
14 KiB
XML
|
<?xml version="1.0" encoding="utf-8"?>
|
||
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||
|
xmlns:tools="http://schemas.android.com/tools"
|
||
|
android:orientation="vertical"
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="match_parent"
|
||
|
android:padding="3dp"
|
||
|
>
|
||
|
<ScrollView
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="match_parent"
|
||
|
android:layout_weight="1"
|
||
|
|
||
|
>
|
||
|
|
||
|
<LinearLayout
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="match_parent"
|
||
|
|
||
|
android:orientation="vertical">
|
||
|
|
||
|
<!-- TODO: Update blank fragment layout -->
|
||
|
|
||
|
<LinearLayout
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:visibility="gone"
|
||
|
android:orientation="horizontal">
|
||
|
<EditText
|
||
|
android:id="@+id/editPandianOrder"
|
||
|
style="@style/EditText.scanIn"
|
||
|
android:selectAllOnFocus="true"
|
||
|
android:layout_weight="1"
|
||
|
android:hint="@string/pandiandan"
|
||
|
|
||
|
>
|
||
|
<requestFocus />
|
||
|
</EditText>
|
||
|
|
||
|
</LinearLayout>
|
||
|
|
||
|
<LinearLayout
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:orientation="horizontal">
|
||
|
<EditText
|
||
|
android:id="@+id/edLoc"
|
||
|
style="@style/EditText.scanIn"
|
||
|
android:selectAllOnFocus="true"
|
||
|
android:layout_weight="1"
|
||
|
|
||
|
android:hint="扫描货位码,按巷道获取养护任务" />
|
||
|
|
||
|
|
||
|
</LinearLayout>
|
||
|
|
||
|
|
||
|
|
||
|
<LinearLayout
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:visibility="gone"
|
||
|
android:orientation="horizontal">
|
||
|
<TextView
|
||
|
style="@style/TextViewTitle"
|
||
|
android:text="@string/bluetoothInput" />
|
||
|
|
||
|
<TextView
|
||
|
android:id="@+id/tvBlueInput"
|
||
|
style="@style/TextViewValue"
|
||
|
|
||
|
android:layout_weight="1"
|
||
|
android:text=" " />
|
||
|
<Button
|
||
|
android:id="@+id/btnBlueInput"
|
||
|
style="@style/buttonCates"
|
||
|
|
||
|
android:text="@string/setup" />
|
||
|
|
||
|
</LinearLayout>
|
||
|
|
||
|
<LinearLayout
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:visibility="gone"
|
||
|
android:orientation="horizontal">
|
||
|
<TextView
|
||
|
style="@style/TextViewTitle"
|
||
|
android:text="@string/bluetoothOutPut" />
|
||
|
|
||
|
<TextView
|
||
|
android:id="@+id/tvBlueOutput"
|
||
|
style="@style/TextViewValue"
|
||
|
|
||
|
android:layout_weight="1"
|
||
|
android:text=" " />
|
||
|
<Button
|
||
|
android:id="@+id/btnBlueOutPut"
|
||
|
style="@style/buttonCates"
|
||
|
|
||
|
android:text="@string/setup" />
|
||
|
|
||
|
</LinearLayout>
|
||
|
|
||
|
|
||
|
<LinearLayout
|
||
|
style="@style/llView">
|
||
|
|
||
|
<TextView
|
||
|
style="@style/TextViewTitle"
|
||
|
android:text="@string/locCode" />
|
||
|
<TextView
|
||
|
android:id="@+id/tvLocationId"
|
||
|
style="@style/TextViewValue.bold"
|
||
|
android:textSize="18sp"
|
||
|
android:text=" " />
|
||
|
|
||
|
|
||
|
</LinearLayout>
|
||
|
|
||
|
<LinearLayout
|
||
|
style="@style/llView">
|
||
|
|
||
|
<TextView
|
||
|
style="@style/TextViewTitle"
|
||
|
android:text="@string/goodsName" />
|
||
|
<TextView
|
||
|
android:id="@+id/tvGoodsName"
|
||
|
style="@style/TextViewValue"
|
||
|
android:text=" " />
|
||
|
|
||
|
|
||
|
</LinearLayout>
|
||
|
|
||
|
<LinearLayout
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:layout_marginStart="0dp"
|
||
|
android:layout_marginBottom="5dp"
|
||
|
android:visibility="gone"
|
||
|
android:orientation="horizontal">
|
||
|
<TextView
|
||
|
style="@style/TextViewTitle"
|
||
|
android:text="@string/barcode" />
|
||
|
<TextView
|
||
|
android:id="@+id/barcode"
|
||
|
style="@style/TextViewValue"
|
||
|
android:text=" " />
|
||
|
|
||
|
|
||
|
</LinearLayout>
|
||
|
|
||
|
|
||
|
|
||
|
<LinearLayout
|
||
|
style="@style/llView">
|
||
|
|
||
|
<TextView
|
||
|
style="@style/TextViewTitle"
|
||
|
android:text="@string/productDate" />
|
||
|
<TextView
|
||
|
android:id="@+id/tvProductDate"
|
||
|
android:layout_weight="1"
|
||
|
style="@style/TextViewValue"
|
||
|
android:text=" " />
|
||
|
|
||
|
|
||
|
|
||
|
</LinearLayout>
|
||
|
<LinearLayout
|
||
|
style="@style/llView">
|
||
|
|
||
|
<TextView
|
||
|
style="@style/TextViewTitle"
|
||
|
android:text="@string/batch" />
|
||
|
|
||
|
|
||
|
<TextView
|
||
|
android:id="@+id/tvProductBatch"
|
||
|
android:layout_weight="1"
|
||
|
style="@style/TextViewValue"
|
||
|
android:text=" " />
|
||
|
|
||
|
|
||
|
</LinearLayout>
|
||
|
|
||
|
<LinearLayout
|
||
|
style="@style/llView">
|
||
|
|
||
|
|
||
|
<TextView
|
||
|
style="@style/TextViewTitle"
|
||
|
android:text="@string/spec" />
|
||
|
<TextView
|
||
|
android:id="@+id/tvSpec"
|
||
|
android:layout_weight="1"
|
||
|
style="@style/TextViewValue"
|
||
|
android:text=" " />
|
||
|
|
||
|
</LinearLayout>
|
||
|
|
||
|
|
||
|
<LinearLayout
|
||
|
style="@style/llView">
|
||
|
|
||
|
<TextView
|
||
|
style="@style/TextViewTitle"
|
||
|
android:text="@string/minOperationCnt" />
|
||
|
<TextView
|
||
|
android:id="@+id/tvMinOperationCnt"
|
||
|
android:layout_weight="2"
|
||
|
style="@style/TextViewValue"
|
||
|
android:text=" " />
|
||
|
|
||
|
</LinearLayout>
|
||
|
|
||
|
|
||
|
<LinearLayout
|
||
|
style="@style/llView"
|
||
|
android:id="@+id/llCnt"
|
||
|
android:orientation="vertical"
|
||
|
>
|
||
|
|
||
|
<LinearLayout
|
||
|
style="@style/llView">
|
||
|
|
||
|
<TextView
|
||
|
style="@style/TextViewTitle"
|
||
|
android:text="@string/loccount" />
|
||
|
<TextView
|
||
|
android:id="@+id/tvCount"
|
||
|
|
||
|
style="@style/TextViewValue"
|
||
|
android:layout_width="wrap_content"
|
||
|
|
||
|
android:text=" " />
|
||
|
|
||
|
<TextView
|
||
|
style="@style/TextViewTitle"
|
||
|
android:layout_height="match_parent"
|
||
|
android:visibility="gone"
|
||
|
android:text="@string/unit" />
|
||
|
<TextView
|
||
|
android:id="@+id/tvunit"
|
||
|
|
||
|
android:layout_width="wrap_content"
|
||
|
|
||
|
style="@style/TextViewValue"
|
||
|
android:paddingLeft="10dp"
|
||
|
android:text=" " />
|
||
|
|
||
|
</LinearLayout>
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
<LinearLayout
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:layout_marginLeft="0dp"
|
||
|
android:layout_marginTop="2dp"
|
||
|
android:visibility="gone"
|
||
|
android:orientation="horizontal">
|
||
|
|
||
|
<TextView
|
||
|
style="@style/TextViewTitle"
|
||
|
android:text="@string/locpcs" />
|
||
|
<TextView
|
||
|
android:id="@+id/tvPcs"
|
||
|
android:layout_weight="1"
|
||
|
style="@style/TextViewValue"
|
||
|
android:text=" " />
|
||
|
|
||
|
<TextView
|
||
|
style="@style/TextViewTitle"
|
||
|
android:text="@string/MinOperationUnit" />
|
||
|
<TextView
|
||
|
android:id="@+id/tvMinOperationUnit"
|
||
|
android:layout_weight="1"
|
||
|
style="@style/TextViewValue"
|
||
|
android:text=" " />
|
||
|
|
||
|
</LinearLayout>
|
||
|
|
||
|
|
||
|
</LinearLayout>
|
||
|
|
||
|
|
||
|
|
||
|
<LinearLayout
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:layout_marginStart="0dp"
|
||
|
|
||
|
android:orientation="horizontal">
|
||
|
|
||
|
<TextView
|
||
|
style="@style/TextViewTitle.EditTitle"
|
||
|
android:layout_weight="0"
|
||
|
android:text="@string/badcnt" />
|
||
|
|
||
|
<LinearLayout
|
||
|
android:id="@+id/llbatch"
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:layout_marginStart="0dp"
|
||
|
android:layout_weight="1"
|
||
|
android:orientation="horizontal">
|
||
|
|
||
|
|
||
|
<EditText
|
||
|
android:id="@+id/edPcs"
|
||
|
style="@style/EditText.float"
|
||
|
android:nextFocusDown="@id/edBulkcnt"
|
||
|
android:hint="@string/pcs"
|
||
|
android:layout_weight="3"
|
||
|
android:text="" />
|
||
|
<TextView
|
||
|
android:id="@+id/tvMinOperationUnit2"
|
||
|
style="@style/TextViewTitle.EditTitle"
|
||
|
android:layout_width="wrap_content"
|
||
|
android:layout_weight="0"
|
||
|
android:text=" " />'
|
||
|
|
||
|
</LinearLayout>
|
||
|
|
||
|
<LinearLayout
|
||
|
android:id="@+id/llbulk"
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:layout_marginStart="0dp"
|
||
|
android:layout_weight="1"
|
||
|
|
||
|
android:orientation="horizontal">
|
||
|
|
||
|
|
||
|
<EditText
|
||
|
android:id="@+id/edBulkcnt"
|
||
|
style="@style/EditText.float"
|
||
|
|
||
|
android:hint="@string/bulkcnts"
|
||
|
android:layout_weight="3"
|
||
|
android:text="" />
|
||
|
<TextView
|
||
|
android:id="@+id/tvUnit2"
|
||
|
style="@style/TextViewTitle.EditTitle"
|
||
|
android:layout_width="wrap_content"
|
||
|
android:layout_weight="0"
|
||
|
android:text=" " />'
|
||
|
|
||
|
</LinearLayout>
|
||
|
</LinearLayout>
|
||
|
<LinearLayout
|
||
|
|
||
|
style="@style/llView"
|
||
|
android:gravity="center"
|
||
|
android:layout_marginTop="@dimen/_10dp"
|
||
|
|
||
|
>
|
||
|
|
||
|
|
||
|
<CheckBox
|
||
|
|
||
|
android:id="@+id/chk1"
|
||
|
style="@style/TextViewTitle"
|
||
|
android:layout_height="34dp"
|
||
|
android:layout_weight="1"
|
||
|
|
||
|
android:text="@string/fanduo" />
|
||
|
|
||
|
<CheckBox
|
||
|
|
||
|
android:id="@+id/chk2"
|
||
|
style="@style/TextViewTitle"
|
||
|
android:layout_height="34dp"
|
||
|
android:layout_weight="1"
|
||
|
android:text="@string/waiguan" />
|
||
|
|
||
|
<CheckBox
|
||
|
|
||
|
android:id="@+id/chk3"
|
||
|
style="@style/TextViewTitle"
|
||
|
android:layout_height="34dp"
|
||
|
android:layout_weight="1"
|
||
|
android:text="@string/chushi" />
|
||
|
|
||
|
|
||
|
<CheckBox
|
||
|
|
||
|
android:id="@+id/chk4"
|
||
|
style="@style/TextViewTitle"
|
||
|
android:layout_height="34dp"
|
||
|
android:layout_weight="1"
|
||
|
android:text="@string/jiashi" />
|
||
|
|
||
|
|
||
|
|
||
|
</LinearLayout>
|
||
|
<LinearLayout
|
||
|
|
||
|
style="@style/llView"
|
||
|
android:gravity="center"
|
||
|
android:layout_marginTop="@dimen/_10dp"
|
||
|
|
||
|
>
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
<CheckBox
|
||
|
|
||
|
android:id="@+id/chk5"
|
||
|
style="@style/TextViewTitle"
|
||
|
android:layout_height="34dp"
|
||
|
android:layout_gravity="center"
|
||
|
android:layout_weight="1"
|
||
|
android:text="@string/shengwen" />
|
||
|
|
||
|
<CheckBox
|
||
|
|
||
|
android:id="@+id/chk6"
|
||
|
style="@style/TextViewTitle"
|
||
|
android:layout_height="34dp"
|
||
|
|
||
|
android:layout_weight="1"
|
||
|
android:text="@string/jiangwen" />
|
||
|
|
||
|
|
||
|
<CheckBox
|
||
|
|
||
|
android:id="@+id/chk7"
|
||
|
style="@style/TextViewTitle"
|
||
|
android:layout_height="34dp"
|
||
|
|
||
|
android:layout_weight="1"
|
||
|
android:text="@string/tongfeng" />
|
||
|
|
||
|
<CheckBox
|
||
|
|
||
|
android:id="@+id/chk8"
|
||
|
style="@style/TextViewTitle"
|
||
|
android:layout_height="34dp"
|
||
|
|
||
|
android:layout_weight="1"
|
||
|
android:text="@string/chuchen" />
|
||
|
</LinearLayout>
|
||
|
<LinearLayout
|
||
|
|
||
|
style="@style/llView"
|
||
|
android:gravity="center"
|
||
|
android:layout_marginTop="@dimen/_10dp"
|
||
|
android:layout_marginBottom="20dp"
|
||
|
|
||
|
>
|
||
|
|
||
|
|
||
|
<Button
|
||
|
|
||
|
android:id="@+id/btnConfirm"
|
||
|
style="@style/buttonCates.confirm"
|
||
|
android:layout_height="34dp"
|
||
|
android:layout_gravity="center"
|
||
|
|
||
|
android:text="@string/confirm" />
|
||
|
|
||
|
|
||
|
</LinearLayout>
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
</LinearLayout>
|
||
|
|
||
|
</ScrollView>
|
||
|
|
||
|
<LinearLayout
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="35dp"
|
||
|
android:layout_weight="0"
|
||
|
android:gravity="center_vertical"
|
||
|
android:orientation="horizontal">
|
||
|
|
||
|
<Button
|
||
|
android:id="@+id/btnLastPage"
|
||
|
style="@style/buttonCates"
|
||
|
android:layout_margin="@dimen/_5dp"
|
||
|
android:layout_marginLeft="0dp"
|
||
|
android:text="@string/lastPage" />
|
||
|
|
||
|
<TextView
|
||
|
android:id="@+id/tvPages"
|
||
|
style="@style/buttonCates"
|
||
|
android:enabled="false"
|
||
|
android:text="/" />
|
||
|
|
||
|
<Button
|
||
|
android:id="@+id/btnNextPage"
|
||
|
style="@style/buttonCates"
|
||
|
android:layout_margin="@dimen/_5dp"
|
||
|
|
||
|
android:text="@string/nextPage" />
|
||
|
|
||
|
|
||
|
</LinearLayout>
|
||
|
|
||
|
|
||
|
|
||
|
</LinearLayout>
|