提交 a2ba4d04 authored 作者: lgd's avatar lgd

1修改质量追溯页面

2.TODO 单独菜单
上级 b1a3a18a
......@@ -657,7 +657,7 @@ public interface MesApiService {
*
* @return
*/
@POST("/himes/api/mpsProduct/show/getMpsProductByBasket/list.json")
@POST("/himes/api/mpsProduct/show/getBySingleCode/list.json")
Observable<BaseMesBean> getMpsProductByBasket(@Query("functionId") String functionId, @Body RequestBody requestBody);
/**
......
......@@ -25,7 +25,7 @@ public class MudAdapter extends BaseQuickAdapter<MudBean, BaseViewHolder> {
@Override
protected void convert(BaseViewHolder helper, MudBean item) {
// helper.setText(R.id.tv_no,String.format( "泥料编码:%s",item.getProcedureName()));
helper.setText(R.id.tv_no,String.format( "泥料编码:%s",item.getMudCode()));
helper.setText(R.id.tv_name, item.getMudName());
helper.setText(R.id.tv_code, item.getMudCode());
helper.setText(R.id.tv_code_no, item.getMudVoucherNumber());
......
......@@ -24,6 +24,7 @@ public class QualityDispatchAdapter extends BaseQuickAdapter<DispatchBean, BaseV
@Override
protected void convert(BaseViewHolder helper, DispatchBean item) {
helper.setText(R.id.tv_no,String.format( "工序名称:%s",item.getProcedureName()));
helper.setText(R.id.tv_name, item.getProcedureName());
helper.setText(R.id.tv_identify_name, item.getAssetName());
helper.setText(R.id.tv_person, item.getCreateUserName());
......
......@@ -24,8 +24,8 @@ public class QualityTraceabilityAdapter extends BaseQuickAdapter<QualityTraceabi
@Override
protected void convert(BaseViewHolder helper, QualityTraceabilityBean.ListBean item) {
helper.setText(R.id.tv_no, String.format("订单号:%s", item.getOrderNumber()));
helper.setText(R.id.tv_single_code, item.getSerialNumber());
helper.setText(R.id.tv_no, String.format("单支码:%s", item.getSerialNumber()));
helper.setText(R.id.tv_single_code, item.getOrderNumber());
helper.setText(R.id.tv_pro_name, item.getProductName());
helper.setText(R.id.tv_pro_code, item.getProductCode());
helper.setText(R.id.tv_img_code, item.getDrawingNumber());
......
......@@ -20,7 +20,7 @@
android:id="@+id/tv_no"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="订单号:"
android:text="单支码:"
android:textSize="16sp"
android:textStyle="bold" />
......@@ -52,7 +52,7 @@
android:layout_height="wrap_content"
android:layout_centerVertical="true"
android:layout_marginLeft="10mm"
android:text="单支码"
android:text="订单号"
android:textColor="@color/flexible_text_gray"
android:textSize="13sp" />
......
......@@ -45,6 +45,7 @@
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:visibility="gone"
android:paddingHorizontal="10mm">
<TextView
......@@ -68,7 +69,6 @@
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="10mm"
android:paddingHorizontal="10mm">
<TextView
......
......@@ -41,10 +41,10 @@
android:background="#FCFCFD"
android:orientation="vertical"
android:paddingVertical="10mm">
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="10mm"
android:paddingHorizontal="10mm">
<TextView
......@@ -52,12 +52,12 @@
android:layout_height="wrap_content"
android:layout_centerVertical="true"
android:layout_marginLeft="10mm"
android:text="泥料名称"
android:text="泥料传票号"
android:textColor="@color/flexible_text_gray"
android:textSize="13sp" />
<TextView
android:id="@+id/tv_name"
android:id="@+id/tv_code_no"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentRight="true"
......@@ -76,12 +76,12 @@
android:layout_height="wrap_content"
android:layout_centerVertical="true"
android:layout_marginLeft="10mm"
android:text="泥料编码"
android:text="泥料名称"
android:textColor="@color/flexible_text_gray"
android:textSize="13sp" />
<TextView
android:id="@+id/tv_code"
android:id="@+id/tv_name"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentRight="true"
......@@ -93,6 +93,7 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="10mm"
android:visibility="gone"
android:paddingHorizontal="10mm">
<TextView
......@@ -100,12 +101,12 @@
android:layout_height="wrap_content"
android:layout_centerVertical="true"
android:layout_marginLeft="10mm"
android:text="泥料传票号"
android:text="泥料编码"
android:textColor="@color/flexible_text_gray"
android:textSize="13sp" />
<TextView
android:id="@+id/tv_code_no"
android:id="@+id/tv_code"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentRight="true"
......@@ -113,6 +114,7 @@
android:textColor="@color/flexible_text_gray"
android:textSize="13sp" />
</RelativeLayout>
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论