|
|
@@ -115,6 +115,8 @@ public class InventoryDetailActivity extends IBossBaseActivity implements OnClic
|
|
|
private TextView tvBox;
|
|
|
|
|
|
private TextView tvPiece;
|
|
|
+ private TextView tvOccupyQuantity;
|
|
|
+
|
|
|
private TextView tvPackage;
|
|
|
|
|
|
private List<ImagePath> imageList;
|
|
|
@@ -161,7 +163,7 @@ public class InventoryDetailActivity extends IBossBaseActivity implements OnClic
|
|
|
llPiece = (LinearLayout) findViewById(R.id.ll_piece);
|
|
|
tvBox = (TextView) findViewById(R.id.tv_box);
|
|
|
tvPiece = (TextView) findViewById(R.id.tv_piece);
|
|
|
-
|
|
|
+ tvOccupyQuantity = (TextView) findViewById(R.id.tv_OccupyQuantity);
|
|
|
llPrice = (LinearLayout) findViewById(R.id.ll_price);
|
|
|
}
|
|
|
|
|
|
@@ -230,6 +232,7 @@ public class InventoryDetailActivity extends IBossBaseActivity implements OnClic
|
|
|
// 修复textView赋值异常
|
|
|
tvPackage.setText(jsonObj.optInt("Package") + "");
|
|
|
tvBrand.setText(jsonObj.optString("BrandName"));
|
|
|
+ tvOccupyQuantity.setText(jsonObj.optString("OccupyQuantity"));
|
|
|
|
|
|
int decimalPlaces = jsonObj.optInt("DecimalPlaces");
|
|
|
|
|
|
@@ -418,6 +421,7 @@ public class InventoryDetailActivity extends IBossBaseActivity implements OnClic
|
|
|
tvPositionNumber.setText(bean.getPositionNumber());
|
|
|
tvGradeName.setText(bean.getGrade());
|
|
|
tvVariety.setText(bean.getVariety());
|
|
|
+ tvOccupyQuantity.setText(bean.getOccupyQuantity());
|
|
|
} catch (Exception e) {
|
|
|
|
|
|
}
|