WithdrawalTableViewCell.m 885 Bytes
Newer Older
曹云霄's avatar
曹云霄 committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14
//
//  WithdrawalTableViewCell.m
//  Lighting
//
//  Created by 曹云霄 on 16/8/26.
//  Copyright © 2016年 上海勾芒科技有限公司. All rights reserved.
//

#import "WithdrawalTableViewCell.h"

@implementation WithdrawalTableViewCell

- (void)awakeFromNib {
    // Initialization code
曹云霄's avatar
曹云霄 committed
15
    [super awakeFromNib];
曹云霄's avatar
曹云霄 committed
16 17
}

18 19 20 21 22 23 24
- (void)setEntity:(TOApplyBillEntity *)entity
{
    _entity = entity;
    self.amountLabel.text = [NSString stringWithFormat:@"%.2f",[entity.applyMoney floatValue]];
    self.createTimeLabel.text = entity.createDate;
    self.progressLabel.textColor = [BaseViewController setupLabelColor:entity.billStates][@"color"];
    self.progressLabel.text = [BaseViewController setupLabelColor:entity.billStates][@"text"];
曹云霄's avatar
曹云霄 committed
25
    self.progressTitleLabel.text = [NSString stringWithFormat:@"%@ 进度",[BaseViewController setupLabelColor:entity.billType][@"text"]];
曹云霄's avatar
曹云霄 committed
26 27 28
}

@end