Commit f8583ba5 by mReturn

备件发货物流公司选择功能

parent 17e6dcfb
......@@ -156,6 +156,9 @@ public class PartSendPresenter extends PartSendContract.Presenter {
if (!canEdit || TextUtils.isEmpty(courierNum.get()))
return;
if (!TextUtils.isEmpty(courierCompany.get())){
getTransCompanys();
}else {
mView.showDialog();
Api.getService(OrderService.class).getTransCompany(courierNum.get()).compose(Api.applySchedulers())
.subscribe(baseObserver(data -> {
......@@ -166,6 +169,7 @@ public class PartSendPresenter extends PartSendContract.Presenter {
getTransCompanys();
}
}, responeThrowable -> getTransCompanys()));
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment