|
@@ -166,8 +166,6 @@ public class PurchaseInfoActivity extends BaseActivity {
|
|
|
wipedEntity.setQrcodeNo(transmitIntent.getStringExtra("qrcodeNo"));
|
|
|
wipedEntity.setMobile(transmitIntent.getStringExtra("mobile"));
|
|
|
wipedEntity.setName(transmitIntent.getStringExtra("name"));
|
|
|
-// qrcodeNo = transmitIntent.getStringExtra("qrcodeNo");
|
|
|
-// idcard = transmitIntent.getStringExtra("idcard");
|
|
|
}
|
|
|
|
|
|
private void reflashFinish(){
|
|
@@ -287,11 +285,22 @@ public class PurchaseInfoActivity extends BaseActivity {
|
|
|
return;
|
|
|
}
|
|
|
if (cleared){
|
|
|
+ setAllEnabled(true,rows);
|
|
|
adapter.clearDatas();
|
|
|
}
|
|
|
adapter.addDatas(rows);
|
|
|
}
|
|
|
|
|
|
+
|
|
|
+ private void setAllEnabled(boolean enabled,List<handleBean> rows){
|
|
|
+ if (enabled){
|
|
|
+ all_btn.setChecked(true);
|
|
|
+ for (int i = 0; i < rows.size(); i++) {
|
|
|
+ rows.get(i).checkedStatus = true;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
// 核销提交
|
|
|
private void orderSubmit(){
|
|
|
JSONObject options = new JSONObject();
|