增加 选择工位
parent
c0350056a6
commit
38eba84a89
@ -0,0 +1,101 @@
|
||||
package com.example.haiwei_mom.data;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* 载具工装信息对象 base_tooling_info
|
||||
*
|
||||
* @author zangch
|
||||
* @date 2025-01-08
|
||||
*/
|
||||
|
||||
public class BaseToolingInfo {
|
||||
|
||||
|
||||
private Long toolingId;
|
||||
|
||||
/**
|
||||
* 工装编号
|
||||
*/
|
||||
private String toolingCode;
|
||||
|
||||
/**
|
||||
* 工装名称
|
||||
*/
|
||||
private String toolingName;
|
||||
|
||||
|
||||
/**
|
||||
* 工装条码
|
||||
*/
|
||||
private String toolingBarcode;
|
||||
|
||||
/**
|
||||
* 工装RFID条码
|
||||
*/
|
||||
private String toolingRfidBarcode;
|
||||
|
||||
/**
|
||||
* 物料编号
|
||||
*/
|
||||
private String materialCode;
|
||||
|
||||
|
||||
private List<TyreInfo> tyreInfoList;
|
||||
|
||||
public List<TyreInfo> getTyreInfoList() {
|
||||
return tyreInfoList;
|
||||
}
|
||||
|
||||
public void setTyreInfoList(List<TyreInfo> tyreInfoList) {
|
||||
this.tyreInfoList = tyreInfoList;
|
||||
}
|
||||
|
||||
public Long getToolingId() {
|
||||
return toolingId;
|
||||
}
|
||||
|
||||
public void setToolingId(Long toolingId) {
|
||||
this.toolingId = toolingId;
|
||||
}
|
||||
|
||||
public String getToolingCode() {
|
||||
return toolingCode;
|
||||
}
|
||||
|
||||
public void setToolingCode(String toolingCode) {
|
||||
this.toolingCode = toolingCode;
|
||||
}
|
||||
|
||||
public String getToolingName() {
|
||||
return toolingName;
|
||||
}
|
||||
|
||||
public void setToolingName(String toolingName) {
|
||||
this.toolingName = toolingName;
|
||||
}
|
||||
|
||||
public String getToolingBarcode() {
|
||||
return toolingBarcode;
|
||||
}
|
||||
|
||||
public void setToolingBarcode(String toolingBarcode) {
|
||||
this.toolingBarcode = toolingBarcode;
|
||||
}
|
||||
|
||||
public String getToolingRfidBarcode() {
|
||||
return toolingRfidBarcode;
|
||||
}
|
||||
|
||||
public void setToolingRfidBarcode(String toolingRfidBarcode) {
|
||||
this.toolingRfidBarcode = toolingRfidBarcode;
|
||||
}
|
||||
|
||||
public String getMaterialCode() {
|
||||
return materialCode;
|
||||
}
|
||||
|
||||
public void setMaterialCode(String materialCode) {
|
||||
this.materialCode = materialCode;
|
||||
}
|
||||
}
|
@ -0,0 +1,33 @@
|
||||
package com.example.haiwei_mom.data;
|
||||
|
||||
|
||||
public class TyreInfo {
|
||||
|
||||
private String returnBarcode;
|
||||
private Long materialId;
|
||||
private String materialName;
|
||||
|
||||
public String getReturnBarcode() {
|
||||
return returnBarcode;
|
||||
}
|
||||
|
||||
public void setReturnBarcode(String returnBarcode) {
|
||||
this.returnBarcode = returnBarcode;
|
||||
}
|
||||
|
||||
public Long getMaterialId() {
|
||||
return materialId;
|
||||
}
|
||||
|
||||
public void setMaterialId(Long materialId) {
|
||||
this.materialId = materialId;
|
||||
}
|
||||
|
||||
public String getMaterialName() {
|
||||
return materialName;
|
||||
}
|
||||
|
||||
public void setMaterialName(String materialName) {
|
||||
this.materialName = materialName;
|
||||
}
|
||||
}
|
@ -1,9 +1,92 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
<layout 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"
|
||||
tools:context=".wms.product.ProductOutActivity">
|
||||
xmlns:tools="http://schemas.android.com/tools">
|
||||
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
<data>
|
||||
<variable
|
||||
name="title"
|
||||
type="String" />
|
||||
</data>
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:orientation="vertical"
|
||||
tools:context=".wms.product.ProductOutActivity">
|
||||
|
||||
<include
|
||||
layout="@layout/toolbar"
|
||||
app:title='@{title??"原材料出库"}' />
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="45dp"
|
||||
android:layout_marginTop="12dp"
|
||||
android:layout_marginEnd="4dp">
|
||||
|
||||
<TextView
|
||||
style="@style/text_title"
|
||||
android:layout_width="90dp"
|
||||
android:layout_height="match_parent"
|
||||
android:text="出库单号:" />
|
||||
|
||||
<EditText
|
||||
android:id="@+id/raw_out_code"
|
||||
style="@style/text_san"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:drawableRight="@mipmap/icon_chaxun"
|
||||
/>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="8dp"
|
||||
android:layout_marginTop="8dp"
|
||||
android:text="待出库物料"
|
||||
android:textColor="@color/blue" />
|
||||
|
||||
<androidx.recyclerview.widget.RecyclerView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="1"
|
||||
|
||||
android:background="@color/white"
|
||||
android:padding="5dp"
|
||||
app:layoutManager="androidx.recyclerview.widget.LinearLayoutManager" />
|
||||
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="45dp"
|
||||
android:layout_marginTop="8dp"
|
||||
android:layout_marginEnd="4dp">
|
||||
|
||||
<TextView
|
||||
style="@style/text_title"
|
||||
android:layout_width="110dp"
|
||||
android:layout_height="match_parent"
|
||||
android:text="扫描轮胎:" />
|
||||
|
||||
<EditText
|
||||
android:id="@+id/raw_out_goods"
|
||||
style="@style/text_san"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
/>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
|
||||
<Button
|
||||
style="@style/button_style"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="55dp"
|
||||
android:layout_margin="12dp"
|
||||
android:onClick="rawOutSubmit"
|
||||
android:text="提交" />
|
||||
</LinearLayout>
|
||||
</layout>
|
Loading…
Reference in New Issue