BottomPurchaseView.h 1.23 KB
//
//  BottomPurchaseView.h
//  XFFruit
//
//  Created by Mac on 16/3/6.
//  Copyright © 2016年 Xummer. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "PurchaseProductViewController.h"
#import "CostViewController.h"
#import "FeeAcountDetail.h"
#import "TransportPdtDetail.h"
#import "ProductBillViewController.h"

@interface BottomPurchaseView : UIView
- (instancetype)initWithFrame:(CGRect)frame withHidden:(BOOL)isHidden;
@property (nonatomic,strong)ProductBillViewController *productVC;
@property (nonatomic,strong)CostViewController *costVC;
@property (nonatomic,assign)BOOL isHiddenEdit;


//添加或者编辑费用
- (void)refreshCost:(FeeAcountDetail *)fee indexPath:(NSIndexPath *)indexPath;
//删除费用
- (void)refreshDelCost:(FeeAcountDetail *)fee indexPath:(NSIndexPath *)indexPath;
//刷新费用
- (void)refreshCost:(NSArray *)costArr;



//刷新商品
- (void)refreshTranProduct:(NSArray *)tranProductArr;
#warning - 临时
- (void)reProduct:(NSArray *)tranProductArr;
//删除商品
- (void)refreshDelProduct:(TransportPdtDetail *)fee tag:(NSInteger)indexTag;
//添加
- (void)refreshProduct:(TransportPdtDetail *)transportPdtDetail;
- (void)refreshEditProduct:(TransportPdtDetail *)transportPdtDetail tag:(NSInteger)indexTag;
@end