|
|
|
@ -25,19 +25,31 @@
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
style="@style/item_title_left"
|
|
|
|
|
android:layout_width="110dp"
|
|
|
|
|
android:layout_width="60dp"
|
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
|
android:text="物料编号:" />
|
|
|
|
|
android:text="物料批次:" />
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
style="@style/text_info"
|
|
|
|
|
style="@style/item_info"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
|
android:layout_weight="1"
|
|
|
|
|
android:text='@{vm.materialBatch}' />
|
|
|
|
|
|
|
|
|
|
android:text='@{vm.materialCode}' />
|
|
|
|
|
<TextView
|
|
|
|
|
style="@style/item_title_left"
|
|
|
|
|
android:layout_width="60dp"
|
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
android:text="物料编号:" />
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
style="@style/item_info"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
|
android:layout_weight="1"
|
|
|
|
|
android:text='@{vm.materialCode}' />
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
@ -45,16 +57,31 @@
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
style="@style/item_title_left"
|
|
|
|
|
android:layout_width="110dp"
|
|
|
|
|
android:layout_width="60dp"
|
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
|
android:text="物料名称:" />
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
style="@style/text_info"
|
|
|
|
|
style="@style/item_info"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
|
android:layout_weight="1"
|
|
|
|
|
android:text="@{vm.materialName}" />
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
style="@style/item_title_left"
|
|
|
|
|
android:layout_width="60dp"
|
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
|
|
|
|
|
|
android:text="物料规格:" />
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
style="@style/item_info"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
|
android:layout_weight="1"
|
|
|
|
|
android:text='@{vm.materialSpec}' />
|
|
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -64,15 +91,28 @@
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
style="@style/item_title_left"
|
|
|
|
|
android:layout_width="110dp"
|
|
|
|
|
android:layout_width="60dp"
|
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
|
android:text="库位:" />
|
|
|
|
|
android:text='@{vm.stockType.equals("1")?"采购订单:":"销售订单:"}'/>
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
style="@style/text_info"
|
|
|
|
|
style="@style/item_info"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
|
android:layout_weight="1"
|
|
|
|
|
android:text='@{vm.stockType.equals("1")?vm.poNo:vm.saleorderCode}' />
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
style="@style/item_title_left"
|
|
|
|
|
android:layout_width="60dp"
|
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
|
android:text="库位:" />
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
style="@style/item_info"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
|
android:layout_weight="1"
|
|
|
|
|
android:text='@{vm.locationCode}' />
|
|
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
@ -89,7 +129,7 @@
|
|
|
|
|
android:text="库存数量:" />
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
style="@style/text_info"
|
|
|
|
|
style="@style/item_info"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
|
android:text='@{vm.stockAmount+""}' />
|
|
|
|
@ -107,7 +147,7 @@
|
|
|
|
|
android:text="盘点次数:" />
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
style="@style/text_info"
|
|
|
|
|
style="@style/item_info"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
|
|
|
|
|
@ -132,14 +172,14 @@
|
|
|
|
|
android:layout_weight="1"
|
|
|
|
|
android:enabled='@{!vm.checkStatus.equals("2")}'
|
|
|
|
|
android:text='@={vm.realAmount+""}' />
|
|
|
|
|
|
|
|
|
|
<Button
|
|
|
|
|
android:id="@+id/inventory_work_confirm"
|
|
|
|
|
android:layout_width="90dp"
|
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
|
android:layout_marginLeft="8dp"
|
|
|
|
|
android:visibility='@{vm.checkStatus.equals("2")?View.GONE:View.VISIBLE}'
|
|
|
|
|
android:text="确认"
|
|
|
|
|
/>
|
|
|
|
|
android:visibility='@{vm.checkStatus.equals("2")?View.GONE:View.VISIBLE}' />
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|