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

1.修改用户数据采集bug

2.//TODO 设备三个子菜单,退件详情(审核历史(缺接口)),领用申请列表(数据不对),坩埚下单,mes其他页面,编辑任务担当无法修改.支数参数
上级 d8acb850
...@@ -51,6 +51,7 @@ public class MesChooseClientActivity extends WorkToolBarActivity { ...@@ -51,6 +51,7 @@ public class MesChooseClientActivity extends WorkToolBarActivity {
private List<MesClientBean.ListBean> clientList; private List<MesClientBean.ListBean> clientList;
private UserDataClientAdapter clientAdapter; private UserDataClientAdapter clientAdapter;
private int page = 1; private int page = 1;
private Map<String, Object> paramMap;
@Override @Override
protected void initView() { protected void initView() {
...@@ -65,7 +66,9 @@ public class MesChooseClientActivity extends WorkToolBarActivity { ...@@ -65,7 +66,9 @@ public class MesChooseClientActivity extends WorkToolBarActivity {
clientAdapter.bindToRecyclerView(rvClient); clientAdapter.bindToRecyclerView(rvClient);
clientAdapter.setEmptyView(R.layout.view_empty_content, rvClient); clientAdapter.setEmptyView(R.layout.view_empty_content, rvClient);
param = WorkUtils.pageMesKey(); param = WorkUtils.pageMesKey();
paramMap = WorkUtils.simpleParam();
param.put("pageNum", 1); param.put("pageNum", 1);
param.put("paramMap",paramMap);
getData(); getData();
} }
...@@ -149,7 +152,7 @@ public class MesChooseClientActivity extends WorkToolBarActivity { ...@@ -149,7 +152,7 @@ public class MesChooseClientActivity extends WorkToolBarActivity {
@OnClick(R.id.btn_search) @OnClick(R.id.btn_search)
public void onViewClicked() { public void onViewClicked() {
param.put("customerName", etKey.getText().toString()); paramMap.put("customerName", etKey.getText().toString());
param.put("pageNum", 1); param.put("pageNum", 1);
page = 1; page = 1;
getData(); getData();
......
...@@ -121,7 +121,7 @@ public class MesUserDataConditionActivity extends WorkToolBarActivity { ...@@ -121,7 +121,7 @@ public class MesUserDataConditionActivity extends WorkToolBarActivity {
param.put("continuousCasterName", etMachine.getText().toString()); param.put("continuousCasterName", etMachine.getText().toString());
} }
if (!TextUtils.isEmpty(etName.getText().toString())) { if (!TextUtils.isEmpty(etName.getText().toString())) {
param.put("salesCompanyName", etName.getText().toString()); param.put("customerUserName", etName.getText().toString());
} }
Intent intent = new Intent(); Intent intent = new Intent();
intent.putExtra("param", JSON.toJSONString(param)); intent.putExtra("param", JSON.toJSONString(param));
......
...@@ -17,7 +17,7 @@ ...@@ -17,7 +17,7 @@
android:paddingVertical="9mm"> android:paddingVertical="9mm">
<TextView <TextView
android:layout_width="wrap_content" android:layout_width="60mm"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_alignParentLeft="true" android:layout_alignParentLeft="true"
android:text="客户名称" android:text="客户名称"
...@@ -27,7 +27,7 @@ ...@@ -27,7 +27,7 @@
android:id="@+id/et_name" android:id="@+id/et_name"
android:layout_width="0dp" android:layout_width="0dp"
android:layout_height="30mm" android:layout_height="30mm"
android:layout_marginLeft="40mm" android:layout_marginLeft="30mm"
android:layout_marginRight="3mm" android:layout_marginRight="3mm"
android:layout_weight="1" android:layout_weight="1"
android:background="@drawable/shape_input_white" android:background="@drawable/shape_input_white"
...@@ -47,17 +47,17 @@ ...@@ -47,17 +47,17 @@
android:paddingVertical="9mm"> android:paddingVertical="9mm">
<TextView <TextView
android:layout_width="wrap_content" android:layout_width="60mm"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_alignParentLeft="true" android:layout_alignParentLeft="true"
android:text="炼钢厂 " android:text="炼钢厂"
android:textSize="14sp" /> android:textSize="14sp" />
<EditText <EditText
android:id="@+id/et_factory" android:id="@+id/et_factory"
android:layout_width="0dp" android:layout_width="0dp"
android:layout_height="30mm" android:layout_height="30mm"
android:layout_marginLeft="40mm" android:layout_marginLeft="30mm"
android:layout_marginRight="3mm" android:layout_marginRight="3mm"
android:layout_weight="1" android:layout_weight="1"
android:background="@drawable/shape_input_white" android:background="@drawable/shape_input_white"
...@@ -77,17 +77,17 @@ ...@@ -77,17 +77,17 @@
android:paddingVertical="9mm"> android:paddingVertical="9mm">
<TextView <TextView
android:layout_width="wrap_content" android:layout_width="60mm"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_alignParentLeft="true" android:layout_alignParentLeft="true"
android:text="连铸机 " android:text="连铸机"
android:textSize="14sp" /> android:textSize="14sp" />
<EditText <EditText
android:id="@+id/et_machine" android:id="@+id/et_machine"
android:layout_width="0dp" android:layout_width="0dp"
android:layout_height="30mm" android:layout_height="30mm"
android:layout_marginLeft="40mm" android:layout_marginLeft="30mm"
android:layout_marginRight="3mm" android:layout_marginRight="3mm"
android:layout_weight="1" android:layout_weight="1"
android:background="@drawable/shape_input_white" android:background="@drawable/shape_input_white"
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论