| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101 |
- //
- // OrderListDelegate.h
- // IBOSSmini
- //
- // Created by guan hong hou on 2018/1/23.
- // Copyright © 2018年 elongtian. All rights reserved.
- //
- #import <Foundation/Foundation.h>
- #import "SalesManModel.h"
- #import "InventoryModel.h"
- #import "ExternalCoordinateGoodsModel.h"
- #import "PromotionOrderModel.h"
- @class OrderGoodsListCell;
- @class SalesOrderDepartmentCell;
- @class SalesManCell;
- @class IntermediateCustomerCell;
- @class EarnestCell;
- @class InventoryGoodsSearchCell;
- @class NewOrderGoodsDetailCell;
- @class NewOrderGiftDetailCell;
- @class NewExternalCoordinateCell;
- @class NewSalesGoodsDetailCell;
- @class NewSalesExternalCoordinateCell;
- @class GradeCell;
- @protocol OrderListDelegate <NSObject>
- @optional
- -(void) btnCheckPressed:(OrderGoodsListCell *)cell;//chekbox
- @optional
- -(void)btnDepartmentCheckPressed:(SalesOrderDepartmentCell*)cell;
- @optional
- -(void)btnMainDepartmentPressed:(SalesOrderDepartmentCell*)cell;
- @optional
- -(void) btnIntermediateCustomerCheckPressed:(IntermediateCustomerCell *)cell;
- -(void) btnGradeCheckPressed:(GradeCell *)cell;
- @optional
- -(void)refreshData:(NSMutableArray*)topDataList bottomDataList:(NSMutableArray*)bottomData;
- @optional
- -(void)showDepartmentInfo:(NSMutableArray*)departmentList;
- @optional
- -(void)btnSaleManCheckPressed:(SalesManCell*)cell;
- @optional
- -(void)btnMainSalesManPressed:(SalesManCell*)cell;
- @optional
- -(void)showStaffInfo:(NSMutableArray*)salesmanList;
- @optional
- -(void)showSaleManInfo:(SalesManModel*)mainSalesMan secondarySalesMan:(NSMutableArray*)secondarySalesManList salesmanSelectedList:(NSMutableArray*)salesmanSelectedList;
- @optional
- -(void)showIntermediateCustomerInfo:(NSMutableArray*)intermediateCustomerList;
- -(void)showGradeInfo:(NSMutableArray*)gradeList;
- @optional
- -(void)updateEarnestInfo:(EarnestCell*)cell;
- @optional
- -(void)showEarnestInfo:(NSMutableArray*)earnestList;
- @optional
- -(void)btnInventoryListCheckPressed:(InventoryGoodsSearchCell*)cell;
- @optional
- -(void)showCheckedInventoryList:(NSMutableArray*)inventoryList;
- @optional
- -(void)goUsePosition:(NSInteger)position;
- @optional
- -(void)updateNewOrderGoodsDetail:(NewOrderGoodsDetailCell*)cell textField:(UITextField*)field;
- -(void)updateNewOrderGoodsDetail:(NewOrderGoodsDetailCell*)cell;
- @optional
- -(void)updateNewOrderGiftDetail:(NewOrderGiftDetailCell*)cell textField:(UITextField*)field;
- @optional
- -(void)updateNewSalesGoodsDetail:(NewSalesGoodsDetailCell*)cell textField:(UITextField*)field;
- @optional
- -(void)showNewOrderDetailError:(NSString*)errorMsg;
- @optional
- -(void)deleteOrderDetail:(NSInteger)cellIndex;
- @optional
- -(void)addExternalCoordinateGoods:(ExternalCoordinateGoodsModel*)externalCoordinateGoodsModel resultCode:(NSString*) resultCode;
- @optional
- -(void)recoveryData;
- @optional
- -(void)refreshOrderData;
- @optional
- -(void)updateNewExternalCoordinateGoodsCell:(NewExternalCoordinateCell*)cell textField:(UITextField*)field;
- @optional
- -(void)updateNewSalesExternalCoordinateGoodsCell:(NewSalesExternalCoordinateCell*)cell textField:(UITextField*)field;
- @optional
- -(void)refreshData:(NSMutableArray*)goodsList;
- @optional
- -(void)refreshPromotionGoodsData:(NSMutableArray*)goodsList;
- @optional
- -(void)updatePromotionGoodsData:(PromotionOrderModel*)orderModel goodsDetailList:(NSMutableArray*)goodsList giftAmount:(double)amount
- goodsDetailDic:(NSMutableDictionary*)detailDic;
- ;
- @end
|