增加 半成品入库
parent
4669b3a3d6
commit
0b57b27987
@ -0,0 +1,90 @@
|
||||
package com.example.haiwei_mom.data;
|
||||
|
||||
|
||||
import androidx.databinding.BaseObservable;
|
||||
|
||||
import java.util.Date;
|
||||
import java.util.Observable;
|
||||
|
||||
/**
|
||||
* 装车架子信息对象 wms_psm_in_load
|
||||
*
|
||||
* @author LionLi
|
||||
* @date 2025-01-15
|
||||
*/
|
||||
|
||||
public class WmsPsmInLoad extends BaseObservable {
|
||||
|
||||
|
||||
public void setToolingBarcode(String toolingBarcode) {
|
||||
this.toolingBarcode = toolingBarcode;
|
||||
notifyChange();
|
||||
}
|
||||
|
||||
/**
|
||||
* 工装条码
|
||||
*/
|
||||
private String toolingBarcode;
|
||||
|
||||
private Long inLoadId;
|
||||
|
||||
/**
|
||||
* 物料ID
|
||||
*/
|
||||
private Long materialId;
|
||||
|
||||
/**
|
||||
* 轮胎规格
|
||||
*/
|
||||
private String materialSpe;
|
||||
|
||||
/**
|
||||
* 品级编号
|
||||
*/
|
||||
private String checkGradeCode;
|
||||
|
||||
/**
|
||||
* 装载数量
|
||||
*/
|
||||
private Long loadAmount;
|
||||
private String materialCode;
|
||||
|
||||
public String getToolingBarcode() {
|
||||
return toolingBarcode;
|
||||
}
|
||||
|
||||
public Long getMaterialId() {
|
||||
return materialId;
|
||||
}
|
||||
|
||||
public String getMaterialSpe() {
|
||||
return materialSpe;
|
||||
}
|
||||
|
||||
public String getCheckGradeCode() {
|
||||
return checkGradeCode;
|
||||
}
|
||||
|
||||
public Long getLoadAmount() {
|
||||
return loadAmount;
|
||||
}
|
||||
|
||||
public String getMaterialCode() {
|
||||
return materialCode;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* 库位条码
|
||||
*/
|
||||
private String storePlaceCode;
|
||||
|
||||
public String getStorePlaceCode() {
|
||||
return storePlaceCode;
|
||||
}
|
||||
|
||||
public void setStorePlaceCode(String storePlaceCode) {
|
||||
this.storePlaceCode = storePlaceCode;
|
||||
notifyChange();
|
||||
}
|
||||
}
|
@ -1,9 +1,151 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
<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"
|
||||
android:orientation="vertical"
|
||||
tools:context=".wms.raw.RawInActivity">
|
||||
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
<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="110dp"
|
||||
android:layout_height="match_parent"
|
||||
android:text="扫描批次码:" />
|
||||
|
||||
<EditText
|
||||
android:id="@+id/material_in_goods"
|
||||
style="@style/text_san"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent" />
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<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="110dp"
|
||||
android:layout_height="match_parent"
|
||||
android:text="物料编码:" />
|
||||
|
||||
<TextView
|
||||
style="@style/text_info"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:text="@{data.materialCode}" />
|
||||
<!-- android:text="@{vo.materialName}"-->
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<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="110dp"
|
||||
android:layout_height="match_parent"
|
||||
android:text="物料规格:" />
|
||||
|
||||
<TextView
|
||||
style="@style/text_info"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:text="@{data.materialSpec}" />
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<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="110dp"
|
||||
android:layout_height="match_parent"
|
||||
android:text="批次数量:" />
|
||||
|
||||
<TextView
|
||||
style="@style/text_info"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_marginEnd="5dp"
|
||||
android:layout_weight="1"
|
||||
android:text='@{String.valueOf(data.instockNum)??"0"}' />
|
||||
|
||||
<TextView
|
||||
style="@style/text_info"
|
||||
android:layout_width="60dp"
|
||||
android:layout_height="match_parent" />
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="12dp"
|
||||
android:layout_marginEnd="4dp">
|
||||
|
||||
<TextView
|
||||
style="@style/text_title"
|
||||
android:layout_width="110dp"
|
||||
android:layout_height="match_parent"
|
||||
android:text="目标库位:" />
|
||||
<!-- -->
|
||||
<EditText
|
||||
android:id="@+id/material_in_location"
|
||||
style="@style/text_san"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:minHeight="45dp" />
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
|
||||
<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="110dp"
|
||||
android:layout_height="match_parent"
|
||||
android:text="入库数量:" />
|
||||
|
||||
<EditText
|
||||
style="@style/text_info"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:inputType="numberDecimal" />
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<Button
|
||||
style="@style/button_style"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="55dp"
|
||||
android:layout_margin="20dp"
|
||||
android:onClick="semiInSubmit"
|
||||
android:text="提交" />
|
||||
</LinearLayout>
|
Loading…
Reference in New Issue