|
|
@@ -136,8 +136,8 @@ public class BillPresenter extends BaseNetPresenter implements OnSmartHttpListen
|
|
|
String formStoreStr = JSON.toJSONString(formStore);
|
|
|
String gridStoreStr = JSON.toJSONString(gridStoreList);
|
|
|
|
|
|
- LogUtil.prinlnLongMsg("raomengForm",formStoreStr);
|
|
|
- LogUtil.prinlnLongMsg("raomengGrid",gridStoreStr);
|
|
|
+ LogUtil.prinlnLongMsg("raomengForm", formStoreStr);
|
|
|
+ LogUtil.prinlnLongMsg("raomengGrid", gridStoreStr);
|
|
|
try {
|
|
|
requestCompanyHttp(new Parameter.Builder()
|
|
|
.url(mId == 0 ? saveUrl : updateUrl)
|
|
|
@@ -207,8 +207,8 @@ public class BillPresenter extends BaseNetPresenter implements OnSmartHttpListen
|
|
|
String formStoreStr = JSON.toJSONString(formStore);
|
|
|
String otherGridStoreListStr = JSON.toJSONString(otherGridStoreList);
|
|
|
|
|
|
- LogUtil.prinlnLongMsg("raomengForm",formStoreStr);
|
|
|
- LogUtil.prinlnLongMsg("raomengGrid",otherGridStoreListStr);
|
|
|
+ LogUtil.prinlnLongMsg("raomengForm", formStoreStr);
|
|
|
+ LogUtil.prinlnLongMsg("raomengGrid", otherGridStoreListStr);
|
|
|
try {
|
|
|
requestCompanyHttp(new Parameter.Builder()
|
|
|
.url(mId == 0 ? saveUrl : updateUrl)
|
|
|
@@ -488,6 +488,10 @@ public class BillPresenter extends BaseNetPresenter implements OnSmartHttpListen
|
|
|
judgeApproval(mId, "");
|
|
|
iBill.showToast(R.string.submit_success);
|
|
|
}
|
|
|
+ } else {
|
|
|
+ if (JSONUtil.validateJSONObject(message)) {
|
|
|
+ iBill.showToast(JSONUtil.getText(message, "exceptionInfo"));
|
|
|
+ }
|
|
|
}
|
|
|
break;
|
|
|
case LOAD_JUDGE_APPROVAL:
|