//
//  TopPurchaseView.h
//  XFFruit
//
//  Created by n22 on 15/8/21.
//  Copyright (c) 2015年 Xummer. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "HPGrowingTextView.h"
#import "PurchaseBill.h"
#import "SurveyUser.h"
@protocol TopPurchaseViewDelegate <NSObject>

- (void)hiddenKeyBoard;
- (void)pushNextViewController:(id)vc;
@end

@interface TopPurchaseView : UIView
@property (nonatomic,strong)UILabel *purchaserLabel;//采购员
@property (nonatomic,strong)UILabel *purchaseTypeLabel;//类型
@property (nonatomic,strong)UILabel *purchaseSupplierLabel;//供应商
@property (nonatomic,strong)UILabel *purchaseStoreLabel;//收货仓库
@property (nonatomic,strong)UITextField *otherPriceFiled;//其他费用
@property (nonatomic,strong)UILabel *purchasePriceLabel;//总金额
@property (nonatomic,strong)HPGrowingTextView *remarkTextView;//备注
/**
 *  外部单据号
 */
@property (strong, nonatomic) UITextField *purchaseExternal;
//数据
@property (nonatomic,strong)NSString *noticeUuid;
@property (nonatomic,strong)NSString *noticeNumber;
@property (nonatomic,strong)NSString *billNumber;
@property (nonatomic,strong)NSString *type;
@property (nonatomic,strong)NSString *vendor_uuid;
@property (nonatomic,strong)NSString *vendor_code;
@property (nonatomic,strong)NSString *vendor_name;
@property (nonatomic,strong)NSString *receiveWrh_uuid;
@property (nonatomic,strong)NSString *receiveWrh_code;
@property (nonatomic,strong)NSString *receiveWrh_name;
@property (nonatomic,strong)NSNumber *total;
@property (nonatomic,strong)NSNumber *chargePurchase;
@property (nonatomic,strong)NSString *remark;
@property (nonatomic,strong)PurchaseBill *bill;
@property (nonatomic,strong)SurveyUser *selectPerson;


@property (nonatomic,weak)id <TopPurchaseViewDelegate>delegate;


@end
