//
//  SeeObtainHeaderView.m
//  total
//
//  Created by 曹云霄 on 16/6/27.
//  Copyright © 2016年 Delevin. All rights reserved.
//

#import "SeeObtainHeaderView.h"

@implementation SeeObtainHeaderView

/**
 *  初始化
 *
 *  @return SeeObtainHeaderView
 */
+ (instancetype)initialize
{
    return [[[NSBundle mainBundle] loadNibNamed:@"SeeObtainHeaderView" owner:nil options:nil] firstObject];
}

- (void)setModel:(ReceiveBill *)model
{
    _model = model;
    self.orderBillState.text = [GTOCommonTools returnOrderStateString:_model.state];
    self.orderBillState.textColor = [GTOCommonTools returnOrderSateColor:_model.state];
    self.orderBillNumberLabe.text = _model.billnumber;
    self.gasStationLabe.text = _model.store.name;
    self.createPersonLabe.text = _model.createInfo.operator.operName;
    self.createTimeLabe.text = _model.createInfo.time;
}


@end
