|
|
@@ -23,7 +23,6 @@ import com.ygtx.emcs.util.StringUtils;
|
|
|
import com.ygtx.emcs.util.ToastUtils;
|
|
|
|
|
|
import org.apache.log4j.Logger;
|
|
|
-import org.greenrobot.eventbus.EventBus;
|
|
|
import org.greenrobot.eventbus.Subscribe;
|
|
|
import org.greenrobot.eventbus.ThreadMode;
|
|
|
import org.json.JSONException;
|
|
|
@@ -51,7 +50,6 @@ public class StockItemActivity extends BaseActivity {
|
|
|
super.onCreate(savedInstanceState);
|
|
|
binding = YgtxStockItemBinding.inflate(getLayoutInflater());
|
|
|
setContentView(binding.getRoot());
|
|
|
- EventBus.getDefault().register(this);
|
|
|
context = this;
|
|
|
registerReceiver();
|
|
|
initCommonTop2();
|
|
|
@@ -156,14 +154,6 @@ public class StockItemActivity extends BaseActivity {
|
|
|
});
|
|
|
}
|
|
|
|
|
|
-
|
|
|
- @Subscribe(threadMode = ThreadMode.MAIN, sticky = true, priority = 1)
|
|
|
- public void onReceiveMsg(EventMessage message){
|
|
|
- if(message.getType() == 2){
|
|
|
- loadErpTask(null);
|
|
|
- }
|
|
|
- }
|
|
|
-
|
|
|
@Override
|
|
|
protected String getCommonTopTitle() {
|
|
|
return "库位信息";
|