FANGLH 8 years ago
parent
commit
431baaf365

+ 5 - 4
WeiChat/src/main/java/com/xzjmyk/pm/activity/ui/erp/activity/oa/ExpenseReimbursementActivity.java

@@ -220,6 +220,10 @@ public class ExpenseReimbursementActivity extends BaseActivity implements View.O
                     if (!StringUtils.isEmpty(result)) {
                         JSONObject resultJsonObject = JSON.parseObject(result);
                         cb_id = resultJsonObject.getInteger("id");
+                        for (int i = 0; i < mPhotoList.size(); i++) {
+                            String path = mPhotoList.get(i);
+                            sendPictureRequest(path);
+                        }
                         Log.i("0x08result", result + "");
                     }
                     break;
@@ -1261,10 +1265,7 @@ public class ExpenseReimbursementActivity extends BaseActivity implements View.O
         }
         CommonUtil.getCommonId("http://218.18.115.198:8888/ERP/",ct, "Commentsback_mobile_SEQ", erhandler, 0x08);
 //        cb_emcode = CommonUtil.getSharedPreferences(MyApplication.getInstance(), "erp_username");
-        for (int i = 0; i < mPhotoList.size(); i++) {
-            String path = mPhotoList.get(i);
-            sendPictureRequest(path);
-        }
+
     }
     private Boolean platform = ApiUtils.getApiModel() instanceof ApiPlatform;
     private int sended_p = 0;