|
|
@ -470,17 +470,18 @@ public class FinshWarehouseActivity extends CommonFunctionActivity { |
|
|
|
return; |
|
|
|
} |
|
|
|
int selectNum = 0; |
|
|
|
int totalSelectNum = 0; |
|
|
|
for (int i = 0; i < list.size(); i++) { |
|
|
|
ReportWorkBean reportWorkBean = list.get(i); |
|
|
|
if (reportWorkBean.getZxtpc().equalsIgnoreCase(value)) { |
|
|
|
reportWorkBean.setSelect(true); |
|
|
|
selectNum++; |
|
|
|
} else { |
|
|
|
reportWorkBean.setSelect(false); |
|
|
|
} |
|
|
|
if (reportWorkBean.isSelect()) totalSelectNum++; |
|
|
|
} |
|
|
|
dynamicFormAdapter.setFocusById(dynamicFormBean.getId()); |
|
|
|
select.setColumnName(getString(R.string.select_all)); |
|
|
|
if (list.size() == selectNum) { |
|
|
|
if (list.size() == totalSelectNum) { |
|
|
|
select.setColumnName(getString(R.string.cancel_info)); |
|
|
|
} |
|
|
|
setTableData(); |
|
|
|