OrderListDelegate.h 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101
  1. //
  2. // OrderListDelegate.h
  3. // IBOSSmini
  4. //
  5. // Created by guan hong hou on 2018/1/23.
  6. // Copyright © 2018年 elongtian. All rights reserved.
  7. //
  8. #import <Foundation/Foundation.h>
  9. #import "SalesManModel.h"
  10. #import "InventoryModel.h"
  11. #import "ExternalCoordinateGoodsModel.h"
  12. #import "PromotionOrderModel.h"
  13. @class OrderGoodsListCell;
  14. @class SalesOrderDepartmentCell;
  15. @class SalesManCell;
  16. @class IntermediateCustomerCell;
  17. @class EarnestCell;
  18. @class InventoryGoodsSearchCell;
  19. @class NewOrderGoodsDetailCell;
  20. @class NewOrderGiftDetailCell;
  21. @class NewExternalCoordinateCell;
  22. @class NewSalesGoodsDetailCell;
  23. @class NewSalesExternalCoordinateCell;
  24. @class GradeCell;
  25. @protocol OrderListDelegate <NSObject>
  26. @optional
  27. -(void) btnCheckPressed:(OrderGoodsListCell *)cell;//chekbox
  28. @optional
  29. -(void)btnDepartmentCheckPressed:(SalesOrderDepartmentCell*)cell;
  30. @optional
  31. -(void)btnMainDepartmentPressed:(SalesOrderDepartmentCell*)cell;
  32. @optional
  33. -(void) btnIntermediateCustomerCheckPressed:(IntermediateCustomerCell *)cell;
  34. -(void) btnGradeCheckPressed:(GradeCell *)cell;
  35. @optional
  36. -(void)refreshData:(NSMutableArray*)topDataList bottomDataList:(NSMutableArray*)bottomData;
  37. @optional
  38. -(void)showDepartmentInfo:(NSMutableArray*)departmentList;
  39. @optional
  40. -(void)btnSaleManCheckPressed:(SalesManCell*)cell;
  41. @optional
  42. -(void)btnMainSalesManPressed:(SalesManCell*)cell;
  43. @optional
  44. -(void)showStaffInfo:(NSMutableArray*)salesmanList;
  45. @optional
  46. -(void)showSaleManInfo:(SalesManModel*)mainSalesMan secondarySalesMan:(NSMutableArray*)secondarySalesManList salesmanSelectedList:(NSMutableArray*)salesmanSelectedList;
  47. @optional
  48. -(void)showIntermediateCustomerInfo:(NSMutableArray*)intermediateCustomerList;
  49. -(void)showGradeInfo:(NSMutableArray*)gradeList;
  50. @optional
  51. -(void)updateEarnestInfo:(EarnestCell*)cell;
  52. @optional
  53. -(void)showEarnestInfo:(NSMutableArray*)earnestList;
  54. @optional
  55. -(void)btnInventoryListCheckPressed:(InventoryGoodsSearchCell*)cell;
  56. @optional
  57. -(void)showCheckedInventoryList:(NSMutableArray*)inventoryList;
  58. @optional
  59. -(void)goUsePosition:(NSInteger)position;
  60. @optional
  61. -(void)updateNewOrderGoodsDetail:(NewOrderGoodsDetailCell*)cell textField:(UITextField*)field;
  62. -(void)updateNewOrderGoodsDetail:(NewOrderGoodsDetailCell*)cell;
  63. @optional
  64. -(void)updateNewOrderGiftDetail:(NewOrderGiftDetailCell*)cell textField:(UITextField*)field;
  65. @optional
  66. -(void)updateNewSalesGoodsDetail:(NewSalesGoodsDetailCell*)cell textField:(UITextField*)field;
  67. @optional
  68. -(void)showNewOrderDetailError:(NSString*)errorMsg;
  69. @optional
  70. -(void)deleteOrderDetail:(NSInteger)cellIndex;
  71. @optional
  72. -(void)addExternalCoordinateGoods:(ExternalCoordinateGoodsModel*)externalCoordinateGoodsModel resultCode:(NSString*) resultCode;
  73. @optional
  74. -(void)recoveryData;
  75. @optional
  76. -(void)refreshOrderData;
  77. @optional
  78. -(void)updateNewExternalCoordinateGoodsCell:(NewExternalCoordinateCell*)cell textField:(UITextField*)field;
  79. @optional
  80. -(void)updateNewSalesExternalCoordinateGoodsCell:(NewSalesExternalCoordinateCell*)cell textField:(UITextField*)field;
  81. @optional
  82. -(void)refreshData:(NSMutableArray*)goodsList;
  83. @optional
  84. -(void)refreshPromotionGoodsData:(NSMutableArray*)goodsList;
  85. @optional
  86. -(void)updatePromotionGoodsData:(PromotionOrderModel*)orderModel goodsDetailList:(NSMutableArray*)goodsList giftAmount:(double)amount
  87. goodsDetailDic:(NSMutableDictionary*)detailDic;
  88. ;
  89. @end