//
//  NotuceRecordCell.m
//  XFFruit
//
//  Created by mac on 15/9/16.
//  Copyright (c) 2015年 Xummer. All rights reserved.
//

#import "NotuceRecordCell.h"

@implementation NotuceRecordCell

- (void)awakeFromNib {
    // Initialization code
}
- (instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier{
    
    self =  [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {

        [self initdata];
       
        [self bulidLayout];
    }
    return self;
}
-(void)initdata
{
    self.uuidLable=[[UILabel alloc]init];//唯一标识
    self.traceIdLable=[[UILabel alloc]init];//采购通知单uuid
    self.typeLable=[[UILabel alloc]init];//业务类型
    self.creatorLable=[[UILabel alloc]init];//业务人
    self.createdLable=[[UILabel alloc]init];//业务时间
    self.remarkLable=[[UILabel alloc]init];//日志描述信息
    
   
}
- (void)bulidLayout
{
    self.createdLable.frame=CGRectMake(0, 0, self.frame.size.width-30-100, self.frame.size.height/5);
    self.creatorLable.frame=CGRectMake(self.frame.size.width-30-70, 0, 70, self.frame.size.height/5);
    self.traceIdLable.frame=CGRectMake(0, self.frame.size.height/5, self.frame.size.width, self.frame.size.height/5);
    self.remarkLable.frame=CGRectMake(0, self.frame.size.height/5*2, self.frame.size.width, self.frame.size.height/5*3);
}
- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
