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

1.用户反馈连铸机 其他中包新增

2.//TODO erp用户是否选择新部门为空,质检接口数据无对应问题,内部交易订单审核,审核规则,领用申请列表/退件列表/参数,坩埚下单,mes,刷新token,编辑任务担当无法修改
上级 28296e5d
...@@ -196,12 +196,19 @@ public interface MesApiService { ...@@ -196,12 +196,19 @@ public interface MesApiService {
@POST("/himes/api/msContinuousProducts/save.json") @POST("/himes/api/msContinuousProducts/save.json")
Observable<BaseMesBean> threeAdd(@Query("functionId") String functionId,@Query("option") String option, @Body RequestBody requestBody); Observable<BaseMesBean> threeAdd(@Query("functionId") String functionId,@Query("option") String option, @Body RequestBody requestBody);
/** /**
* otherSupplierAdd * otherSupplierAdd
* *
* @return * @return
*/ */
@POST("/himes/api/msSupplierSupply/save.json") @POST("/himes/api/msSupplierSupply/save.json")
Observable<BaseMesBean> otherSupplierAdd(@Query("functionId") String functionId,@Query("option") String option, @Body RequestBody requestBody); Observable<BaseMesBean> otherSupplierAdd(@Query("functionId") String functionId,@Query("option") String option, @Body RequestBody requestBody);
/**
* otherSupplierAdd
*
* @return
*/
@POST("/himes/api/msLadleRefractoryRecord/save.json")
Observable<BaseMesBean> packageAdd(@Query("functionId") String functionId,@Query("option") String option, @Body RequestBody requestBody);
} }
...@@ -285,10 +285,10 @@ public class MesChooseMachineDetailActivity extends WorkToolBarActivity { ...@@ -285,10 +285,10 @@ public class MesChooseMachineDetailActivity extends WorkToolBarActivity {
startActivity(MesOtherSupplierAddActivity.class, "continuousCasterCode", data.getContinuousCasterCode()); startActivity(MesOtherSupplierAddActivity.class, "continuousCasterCode", data.getContinuousCasterCode());
break; break;
case R.id.tv_add4: case R.id.tv_add4:
startActivity(MesPackageAddActivity.class); startActivity(MesPackageAddActivity.class, "continuousCasterCode", data.getContinuousCasterCode());
break; break;
case R.id.rl_add: case R.id.rl_add:
startActivity(MesMiddleAddActivity.class); startActivity(MesMiddleAddActivity.class, "data", JSON.toJSONString(data));
break; break;
case R.id.rl_middle: case R.id.rl_middle:
if (llMiddle.getVisibility() == View.VISIBLE) { if (llMiddle.getVisibility() == View.VISIBLE) {
......
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<androidx.core.widget.NestedScrollView xmlns:android="http://schemas.android.com/apk/res/android" <androidx.core.widget.NestedScrollView xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent"> android:layout_height="match_parent">
...@@ -9,7 +10,7 @@ ...@@ -9,7 +10,7 @@
android:orientation="vertical"> android:orientation="vertical">
<RelativeLayout <RelativeLayout
android:id="@+id/rl_factory" android:id="@+id/rl_pro"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginTop="10mm" android:layout_marginTop="10mm"
...@@ -31,7 +32,7 @@ ...@@ -31,7 +32,7 @@
android:gravity="center_vertical"> android:gravity="center_vertical">
<TextView <TextView
android:id="@+id/tv_factory" android:id="@+id/tv_pro"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_alignParentLeft="true" android:layout_alignParentLeft="true"
...@@ -64,13 +65,13 @@ ...@@ -64,13 +65,13 @@
android:textSize="14sp" /> android:textSize="14sp" />
<EditText <TextView
android:id="@+id/et_img_code"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_alignParentRight="true" android:layout_alignParentRight="true"
android:layout_marginRight="3mm" android:layout_marginRight="3mm"
android:background="@null" android:background="@null"
android:hint="请输入"
android:textSize="14sp" /> android:textSize="14sp" />
</RelativeLayout> </RelativeLayout>
...@@ -91,6 +92,7 @@ ...@@ -91,6 +92,7 @@
android:textSize="14sp" /> android:textSize="14sp" />
<EditText <EditText
android:id="@+id/et_materials"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_alignParentRight="true" android:layout_alignParentRight="true"
...@@ -117,6 +119,7 @@ ...@@ -117,6 +119,7 @@
android:textSize="14sp" /> android:textSize="14sp" />
<EditText <EditText
android:id="@+id/et_requirements"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_alignParentRight="true" android:layout_alignParentRight="true"
...@@ -143,6 +146,7 @@ ...@@ -143,6 +146,7 @@
android:textSize="14sp" /> android:textSize="14sp" />
<EditText <EditText
android:id="@+id/et_years"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_alignParentRight="true" android:layout_alignParentRight="true"
...@@ -158,7 +162,6 @@ ...@@ -158,7 +162,6 @@
<TextView <TextView
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:background="@android:color/white"
android:paddingVertical="15mm" android:paddingVertical="15mm"
android:paddingLeft="18mm" android:paddingLeft="18mm"
android:text="使用问题反馈(侵蚀、冲刷、断裂等)" android:text="使用问题反馈(侵蚀、冲刷、断裂等)"
...@@ -178,15 +181,34 @@ ...@@ -178,15 +181,34 @@
android:padding="5mm" android:padding="5mm"
android:textSize="14sp" /> android:textSize="14sp" />
<androidx.recyclerview.widget.RecyclerView <LinearLayout
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginTop="10mm" /> android:paddingHorizontal="20mm">
<ImageView
android:id="@+id/iv_img1"
android:layout_width="100mm"
android:layout_height="100mm"
android:src="@mipmap/img_add" />
<ImageView
android:id="@+id/iv_img2"
android:layout_width="100mm"
android:layout_height="100mm"
android:layout_marginHorizontal="15mm"
android:src="@mipmap/img_add" />
<ImageView
android:id="@+id/iv_img3"
android:layout_width="100mm"
android:layout_height="100mm"
android:src="@mipmap/img_add" />
</LinearLayout>
<TextView <TextView
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:background="@android:color/white"
android:paddingVertical="15mm" android:paddingVertical="15mm"
android:paddingLeft="18mm" android:paddingLeft="18mm"
android:text="备注" android:text="备注"
...@@ -194,6 +216,7 @@ ...@@ -194,6 +216,7 @@
<EditText <EditText
android:id="@+id/et_remark"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginHorizontal="20mm" android:layout_marginHorizontal="20mm"
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论