ICRFunctionItemControl.h 1.77 KB
Newer Older
mei's avatar
mei committed
1 2 3 4 5 6 7 8 9 10 11 12
//
//  ICRFunctionItemControl.h
//  XFFruit
//
//  Created by Lili Wang on 15/4/1.
//  Copyright (c) 2015年 Xummer. All rights reserved.
//

#import <UIKit/UIKit.h>

//@protocol ICRFuctionItemControlDelegate;

Sandy's avatar
Sandy committed
13
typedef NS_ENUM(NSUInteger, ICRFunctionID) {
freecui's avatar
freecui committed
14

Sandy's avatar
Sandy committed
15 16 17
    kFunctionNotice = 0,       //公告
    kFunctionNewSurvey,        //新建行情调研 1
    kFunctionSeeSurvey,        //查看行情调研2
AvatarC's avatar
AvatarC committed
18
    kFunctionFeedBackSurvey,   //填写行情反馈3
Sandy's avatar
Sandy committed
19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41
    kFunctionNewPurchaseNotice,//新建采购通知4
    kFunctionSeePurchaseNotice,//查看采购通知5
    kFunctionNewPurchase,      // 新建采购单6
    kFunctionSeePurchase,      //  查看采购单7
    kFunctionExaminePurchase,  // 审核采购单【供应商】8
    kFunctionNewShipment,      // 新建发运单9
    kFunctionSeeShipment,      // 查看发运单10
    kFunctionNewProcessing,    // 新增加工单11
    kFunctionSeeProcessing,    //  查看加工单12
    kFunctionNewTransfer,      //新建转运单13
    kFunctionSeeTransfer,      //查看发运单14

    kFunctionSeeReceive,//查看收货单15

    kFunctionAnnouncement,
    kFunctionTaskManagement,
    kFunctionPatrolPlan,
    kFunctionMyShop,
    kFunctionNavigation,
    kFunctionComeShopReg,
    kFunctionLeaveShopReg,
    kFunctionCreatTask,
    kFunctionHandleTask
mei's avatar
mei committed
42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60
};

@interface ICRFunctionItemControl : UIControl

//@property (weak, nonatomic) id <ICRFuctionItemControlDelegate> m_delegate;
@property (assign, nonatomic) BOOL highLightWhenTapped;
@property (strong, nonatomic) UIImageView *functionImage;
@property (strong, nonatomic) UILabel *functinNameLabel;

+ (ICRFunctionItemControl *)highLightControl;

@end

//@protocol ICRFuctionItemControlDelegate <NSObject>
//
//@optional
//- (void)singleImageClike:(ICRFunctionItemControl *)imageView;
//
//@end