diff --git a/app/src/main/java/com/example/jingyuan_mes/entity/store/OutstockDetail.java b/app/src/main/java/com/example/jingyuan_mes/entity/store/OutstockDetail.java index 3d77e55..52af86c 100644 --- a/app/src/main/java/com/example/jingyuan_mes/entity/store/OutstockDetail.java +++ b/app/src/main/java/com/example/jingyuan_mes/entity/store/OutstockDetail.java @@ -11,7 +11,7 @@ import java.util.Objects; * @date 2023-12-20 */ public class OutstockDetail { - private boolean selectedState=false; + private boolean selectedState = false; /** * 原材料出库记录明细ID */ @@ -141,7 +141,16 @@ public class OutstockDetail { private String taskType; private String taskCode; -private int index; + private int index; + private String warehouseName; + + public String getWarehouseName() { + return warehouseName; + } + + public void setWarehouseName(String warehouseName) { + this.warehouseName = warehouseName; + } public int getIndex() { return index; diff --git a/app/src/main/res/layout/item_out_pass.xml b/app/src/main/res/layout/item_out_pass.xml index 3412c77..e600644 100644 --- a/app/src/main/res/layout/item_out_pass.xml +++ b/app/src/main/res/layout/item_out_pass.xml @@ -53,7 +53,7 @@ android:layout_width="80dp" android:layout_height="match_parent" android:gravity="left|center" - android:text="库位:" + android:text="仓库名称:" android:textColor="#666666" /> @@ -85,7 +85,7 @@ android:layout_height="match_parent" android:layout_weight="1" android:gravity="left|center" - android:text="@{vm.instockBatch}" + android:text="@{vm.materialCode}" android:textColor="#666666" />