CustomerReceiptDetailCell.m 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. // CustomerReceiptDetailCell
  2. // IOBSS 2.0
  3. //
  4. // Created by 刘瀚璘 on 2017.7.18
  5. // Copyright 2017 沈阳东科云信软件有限公司. All rights reserved.
  6. //
  7. // 系统名称:
  8. // 功能描述:定制品详细Cell
  9. #import "CustomerReceiptDetailCell.h"
  10. @implementation CustomerReceiptDetailCell
  11. /**
  12. 点击效果
  13. @param selected
  14. @param animated
  15. */
  16. - (void)setSelected:(BOOL)selected animated:(BOOL)animated {
  17. }
  18. /**
  19. 加载页面
  20. */
  21. - (void)loadCell {
  22. _content.layer.masksToBounds = YES;
  23. _content.layer.cornerRadius = CornerRadius;
  24. _content.layer.borderWidth = 0.0;
  25. _content.superview.backgroundColor = [UIColor colorWithRed:234.0/255 green:235.0/255 blue:236.0/255 alpha:1];
  26. _lblCommodityCode.text = _model.code;
  27. _onlyCode.text = _model.onlyCode;
  28. _lblBrandName.text = _model.brandName;
  29. _lblKindName.text = _model.kindName;
  30. _lblVarietyName.text = _model.varietyName;
  31. _lblSeriesName.text = _model.seriesName;
  32. _lblPackage.text = [NSString stringWithFormat:@"%@",_model.mPackage];
  33. _lblWeight.text = [NSString stringWithFormat:@"%@",_model.weight];
  34. _lblAcreage.text = [NSString stringWithFormat:@"%@",_model.acreage];
  35. _lblUnitName.text = _model.unitName;
  36. _lblGoodsName.text = _model.goodsName;
  37. _lblExpandAttribute.text = _model.expandAttribute;
  38. _lblExpandAttribute2.numberOfLines = 0;
  39. _lblExpandAttribute2.text = _model.expandAttribute2;
  40. _lblSpecification.text = _model.specification;
  41. _lblRemark.numberOfLines = 0;
  42. _lblRemark.text = _model.receiptRemarks;
  43. }
  44. - (void)awakeFromNib {
  45. [super awakeFromNib];
  46. // Initialization code
  47. }
  48. @end