NewDeliveryListTableViewCell.h 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146
  1. //
  2. // NewDeliveryListCellTableViewCell.h
  3. // IBOSS
  4. //
  5. // Created by guan hong hou on 2017/7/10.
  6. // Copyright © 2017年 沈阳东科云信软件有限公司. All rights reserved.
  7. //
  8. // 功能描述:新增配送列表明细单元格
  9. #import <UIKit/UIKit.h>
  10. #import "StatusInfoTextVC.h"
  11. #import "NewDeliveryReceiptModel.h"
  12. #import "NewDeliveryReceiptVC.h"
  13. #import "NewDeliveryKeyBoardDelegate.h"
  14. @protocol DataListTableViewCellDetegate <NSObject>
  15. /**
  16. 设置回执类型
  17. @param path <#path description#>
  18. */
  19. - (void)setReceiptType:(NSIndexPath*) path;
  20. @end
  21. @interface NewDeliveryListTableViewCell : UITableViewCell<StatusInfoTextDelegate,UITextFieldDelegate>
  22. /**
  23. 编码
  24. */
  25. @property (strong,nonatomic) UILabel * code;
  26. @property (strong,nonatomic) UILabel * lblOnlyCode;
  27. /**
  28. 送货数量
  29. */
  30. @property (strong,nonatomic) UILabel * deliveryQuantity;
  31. /**
  32. 回执数量
  33. */
  34. @property (strong,nonatomic) UITextField *receiptQuantity;
  35. /**
  36. 出库数量
  37. */
  38. @property (strong,nonatomic) UILabel * outQuantity;
  39. /**
  40. 回执类型
  41. */
  42. @property (strong,nonatomic) UIButton *btstate;
  43. /**
  44. 备注
  45. */
  46. @property (strong,nonatomic) UITextField *remark;
  47. /**
  48. 编码
  49. */
  50. @property (strong,nonatomic) NSString * sCode;
  51. /**
  52. 送货数量
  53. */
  54. @property (strong,nonatomic) NSString * sDeliveryQuantity;
  55. /**
  56. 回执类型
  57. */
  58. @property (strong,nonatomic) NSString * sReceiptType;
  59. /**
  60. 回执数量
  61. */
  62. @property (strong,nonatomic) NSString * sReceiptQuantity;
  63. /**
  64. 回执备注
  65. */
  66. @property (strong,nonatomic) NSString * sReceiptRemarks;
  67. /**
  68. 出库数量
  69. */
  70. @property (strong,nonatomic) NSString * sOutQuantity;
  71. /**
  72. 明细id
  73. */
  74. @property (strong,nonatomic) NSString * sDetailID;
  75. /**
  76. 发票id
  77. */
  78. @property (strong,nonatomic) NSString * sInvoiceID;
  79. /**
  80. 发票明细id
  81. */
  82. @property (strong,nonatomic) NSString * sInvoiceDetailID;
  83. /**
  84. 回执类型
  85. */
  86. @property (strong,nonatomic)NSString *receiptType;
  87. /**
  88. 配送回执模型
  89. */
  90. @property (copy,nonatomic) NewDeliveryReceiptModel* model;
  91. /**
  92. 配送单元格代理
  93. */
  94. @property (nonatomic, weak) id <DataListTableViewCellDetegate> delegate;
  95. /**
  96. 设置配送回执单元格UI和数据
  97. @param model <#model description#>
  98. @param receiptType <#receiptType description#>
  99. */
  100. - (void)parseInfoModel:(NewDeliveryReceiptModel *)model receiptType:(NSString*)receiptType;
  101. /**
  102. 索引路径
  103. */
  104. @property (strong,nonatomic) NSIndexPath *myIndexPath;
  105. /**
  106. 单元格索引
  107. */
  108. @property (nonatomic) NSInteger cellIndex;
  109. /**
  110. 配送回执键盘代理
  111. */
  112. @property (nonatomic, weak) id<NewDeliveryKeyBoardDelegate> nddelegate;
  113. /**
  114. 是否有小数点
  115. */
  116. @property (nonatomic)BOOL isHaveDian;
  117. @end