| | |
| | | String disCount = info.getMoneyInfo().getFinalMoney(); |
| | | if (info.isHasCoupon()) { |
| | | if (StringUtils.isNullOrEmpty(disCount)) |
| | | disCount = "¥ " + info.getCouponPrice(); |
| | | disCount = "¥" + info.getCouponPrice(); |
| | | viewHolder.tv_coupon_amount.setVisibility(View.VISIBLE); |
| | | viewHolder.tv_coupon_amount.setText("-¥ " + info.getCouponInfo().getAmount()); |
| | | viewHolder.tv_coupon_amount.setText("-¥" + info.getCouponInfo().getAmount()); |
| | | } else { |
| | | if (StringUtils.isNullOrEmpty(disCount)) |
| | | if (info.getGoodsType() == Constant.GOODS_TYPE_VIP) { |
| | | disCount = "¥ " + info.getCouponPrice(); |
| | | disCount = "¥" + info.getCouponPrice(); |
| | | } else |
| | | disCount = "¥ " + info.getZkPrice(); |
| | | disCount = "¥" + info.getZkPrice(); |
| | | viewHolder.tv_coupon_amount.setVisibility(View.GONE); |
| | | } |
| | | |