完善 盘点,新增移库
parent
e21b2942d1
commit
d5b7f8e336
@ -0,0 +1,18 @@
|
|||||||
|
package com.example.haiwei_mom.wms.semi;
|
||||||
|
|
||||||
|
import androidx.appcompat.app.AppCompatActivity;
|
||||||
|
|
||||||
|
import android.os.Bundle;
|
||||||
|
|
||||||
|
import com.bigkoo.pickerview.view.OptionsPickerView;
|
||||||
|
import com.example.haiwei_mom.R;
|
||||||
|
import com.example.haiwei_mom.base.BaseActivity;
|
||||||
|
|
||||||
|
public class SeimMoveActivity extends BaseActivity {
|
||||||
|
private OptionsPickerView opv;
|
||||||
|
@Override
|
||||||
|
protected void onCreate(Bundle savedInstanceState) {
|
||||||
|
super.onCreate(savedInstanceState);
|
||||||
|
setContentView(R.layout.activity_seim_move);
|
||||||
|
}
|
||||||
|
}
|
@ -0,0 +1,164 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<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">
|
||||||
|
|
||||||
|
<data>
|
||||||
|
|
||||||
|
<variable
|
||||||
|
name="title"
|
||||||
|
type="String" />
|
||||||
|
|
||||||
|
<variable
|
||||||
|
name="data"
|
||||||
|
type="com.example.haiwei_mom.data.SemiOutVo" />
|
||||||
|
</data>
|
||||||
|
|
||||||
|
<LinearLayout
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="match_parent"
|
||||||
|
android:orientation="vertical"
|
||||||
|
tools:context=".wms.semi.SeimMoveActivity">
|
||||||
|
|
||||||
|
<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/semi_out_code"
|
||||||
|
style="@style/text_san"
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="match_parent"
|
||||||
|
android:drawableRight="@mipmap/icon_chaxun" />
|
||||||
|
|
||||||
|
</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}" />
|
||||||
|
|
||||||
|
</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.storageNum)??"0"}' />
|
||||||
|
|
||||||
|
<TextView
|
||||||
|
style="@style/text_info"
|
||||||
|
android:layout_width="60dp"
|
||||||
|
android:layout_height="match_parent"
|
||||||
|
android:text="@{data.unitName}" />
|
||||||
|
|
||||||
|
</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.createTime}" />
|
||||||
|
|
||||||
|
</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.createTime}" />
|
||||||
|
|
||||||
|
</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>
|
||||||
|
</layout>
|
Loading…
Reference in New Issue