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

1.修改唛头数据验空

2.TODO 三个功能测试,下单新增唛头測試
上级 05724bc6
...@@ -35,7 +35,6 @@ import io.reactivex.disposables.Disposable; ...@@ -35,7 +35,6 @@ import io.reactivex.disposables.Disposable;
**/ **/
public class ChooseHeadActivity extends WorkToolBarActivity { public class ChooseHeadActivity extends WorkToolBarActivity {
@BindView(R.id.et_company) @BindView(R.id.et_company)
EditText etCompany; EditText etCompany;
@BindView(R.id.et_factory) @BindView(R.id.et_factory)
...@@ -127,6 +126,9 @@ public class ChooseHeadActivity extends WorkToolBarActivity { ...@@ -127,6 +126,9 @@ public class ChooseHeadActivity extends WorkToolBarActivity {
} }
private void changeView() { private void changeView() {
if (null == markBean) {
return;
}
etCompany.setText(markBean.getReceiveCompany()); etCompany.setText(markBean.getReceiveCompany());
etFactory.setText(markBean.getCustomerBranchFactory()); etFactory.setText(markBean.getCustomerBranchFactory());
etMachine.setText(markBean.getContinuousCastingMachine()); etMachine.setText(markBean.getContinuousCastingMachine());
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论