|
|
@@ -1231,7 +1231,7 @@ public class TravelDataFormDetailActivity extends BaseActivity implements View.O
|
|
|
param.put("page", "1");
|
|
|
param.put("which", "form");
|
|
|
param.put("condition", "1=1");
|
|
|
- param.put("pageSize", "30");
|
|
|
+ param.put("pageSize", "1000");
|
|
|
param.put("field", data.getField());
|
|
|
Bundle bundle = new Bundle();
|
|
|
bundle.putSerializable("param", param);
|
|
|
@@ -1242,6 +1242,7 @@ public class TravelDataFormDetailActivity extends BaseActivity implements View.O
|
|
|
} else {
|
|
|
intent.putExtra("isSingle", false);
|
|
|
}
|
|
|
+ currentGroupId = data.getGroupId();
|
|
|
|
|
|
intent.putExtra("reid", R.style.OAThemeMeet);
|
|
|
intent.putExtras(bundle);
|
|
|
@@ -1282,7 +1283,7 @@ public class TravelDataFormDetailActivity extends BaseActivity implements View.O
|
|
|
}
|
|
|
param.put("page", "1");
|
|
|
param.put("condition", "1=1");
|
|
|
- param.put("pageSize", "30");
|
|
|
+ param.put("pageSize", "1000");
|
|
|
param.put("field", data.getField());
|
|
|
Bundle bundle = new Bundle();
|
|
|
bundle.putSerializable("param", param);
|
|
|
@@ -1535,10 +1536,10 @@ public class TravelDataFormDetailActivity extends BaseActivity implements View.O
|
|
|
sa_custaddress = i + 1;
|
|
|
}
|
|
|
}
|
|
|
- if (sa_custname>0){
|
|
|
+ if (sa_custname > 0) {
|
|
|
mAdapter.getmListData().get(currentGroupId).getDatas().get(sa_custname - 1).setValue(cu_name);
|
|
|
}
|
|
|
- if (sa_custaddress>0){
|
|
|
+ if (sa_custaddress > 0) {
|
|
|
mAdapter.getmListData().get(currentGroupId).getDatas().get(sa_custaddress - 1).setValue(cu_address);
|
|
|
}
|
|
|
mAdapter.notifyDataSetChanged();
|
|
|
@@ -1554,19 +1555,21 @@ public class TravelDataFormDetailActivity extends BaseActivity implements View.O
|
|
|
StringBuilder str = new StringBuilder("");
|
|
|
if (!ListUtils.isEmpty(muliData)) {
|
|
|
for (int i = 0; i < muliData.size(); i++) {
|
|
|
- LogUtil.d(muliData.get(i).getName());
|
|
|
if (i == (muliData.size() - 1)) {
|
|
|
str.append(muliData.get(i).getName());
|
|
|
} else {
|
|
|
- str.append(muliData.get(i).getName() + ",");
|
|
|
+ str.append(muliData.get(i).getName() + "#");
|
|
|
}
|
|
|
|
|
|
}
|
|
|
}
|
|
|
LogUtil.d(str.toString());
|
|
|
-
|
|
|
- Toast.makeText(ct, "下拉项:" + datas.get(id - 1).getName() + "返回值:" + str.toString(), Toast.LENGTH_LONG).show();
|
|
|
- mAdapter.notifyDataSetChanged();
|
|
|
+ try {
|
|
|
+ mAdapter.getmListData().get(currentGroupId).getDatas().get(id - 1).setValue(str.toString());
|
|
|
+ mAdapter.notifyDataSetChanged();
|
|
|
+ } catch (Exception e) {
|
|
|
+ e.printStackTrace();
|
|
|
+ }
|
|
|
// mHandler.postDelayed(new Runnable() {
|
|
|
// @Override
|
|
|
// public void run() {
|