| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960 |
- // CustomerReceiptDetailCell
- // IOBSS 2.0
- //
- // Created by 刘瀚璘 on 2017.7.18
- // Copyright 2017 沈阳东科云信软件有限公司. All rights reserved.
- //
- // 系统名称:
- // 功能描述:定制品详细Cell
- #import "CustomerReceiptDetailCell.h"
- @implementation CustomerReceiptDetailCell
- /**
- 点击效果
-
- @param selected
- @param animated
- */
- - (void)setSelected:(BOOL)selected animated:(BOOL)animated {
- }
- /**
- 加载页面
- */
- - (void)loadCell {
- _content.layer.masksToBounds = YES;
- _content.layer.cornerRadius = CornerRadius;
- _content.layer.borderWidth = 0.0;
- _content.superview.backgroundColor = [UIColor colorWithRed:234.0/255 green:235.0/255 blue:236.0/255 alpha:1];
-
- _lblCommodityCode.text = _model.code;
-
- _onlyCode.text = _model.onlyCode;
-
- _lblBrandName.text = _model.brandName;
- _lblKindName.text = _model.kindName;
- _lblVarietyName.text = _model.varietyName;
- _lblSeriesName.text = _model.seriesName;
- _lblPackage.text = [NSString stringWithFormat:@"%@",_model.mPackage];
- _lblWeight.text = [NSString stringWithFormat:@"%@",_model.weight];
- _lblAcreage.text = [NSString stringWithFormat:@"%@",_model.acreage];
- _lblUnitName.text = _model.unitName;
- _lblGoodsName.text = _model.goodsName;
-
- _lblExpandAttribute.text = _model.expandAttribute;
- _lblExpandAttribute2.numberOfLines = 0;
- _lblExpandAttribute2.text = _model.expandAttribute2;
- _lblSpecification.text = _model.specification;
- _lblRemark.numberOfLines = 0;
- _lblRemark.text = _model.receiptRemarks;
-
- }
- - (void)awakeFromNib {
- [super awakeFromNib];
- // Initialization code
- }
- @end
|