NewDeliveryReceiptVC.h 4.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248
  1. //
  2. // NewDeliveryReceiptVC.h
  3. // IBOSS
  4. //
  5. // Created by Dongke on 16/1/7.
  6. // Copyright © 2017年 沈阳东科云信软件有限公司. All rights reserved.
  7. //
  8. // 功能描述:新增配送控制器
  9. #import "BaseViewController.h"
  10. #import "NewDeliveryReceiptModel.h"
  11. #import "StatusInfoTextVC.h"
  12. #import "BRDatePickerView.h"
  13. #import "NIDropDown.h"
  14. #import "PayTypeDelegate.h"
  15. #import "MapViewController.h"
  16. #import "DKPhotoPickerBrowserViewController.h"
  17. #import "FollowUpBrowseProtocol.h"
  18. #import "DKPhotoPickerViewController.h"
  19. @interface NewDeliveryReceiptVC :BaseViewController<RefreshTableViewDelegate,UITextFieldDelegate,StatusInfoTextDelegate,PayTypeDelegate,PositionDelegate,DKPhotoPickerBrowserViewControllerDataSource,DKPhotoPickerBrowserViewControllerDelegate,UITextViewDelegate,UICollectionViewDataSource,UICollectionViewDelegate,DKPhotoPickerViewControllerDelegate,FollowUpBrowseProtocol>
  20. /**
  21. scroll view
  22. */
  23. @property (strong,nonatomic) UIScrollView *scroll;
  24. /**
  25. content view
  26. */
  27. @property (strong,nonatomic) UIView * contentView;
  28. /**
  29. 下载管理器
  30. */
  31. @property (nonatomic,strong) ASIDownManager *mDownManager;
  32. /**
  33. 数据字典
  34. */
  35. @property (strong,nonatomic) NSDictionary *dataDic;
  36. /**
  37. table view
  38. */
  39. @property (strong,nonatomic) UITableView *myTableView;
  40. /**
  41. 图片collection view
  42. */
  43. @property (strong,nonatomic) UICollectionView *collectionView;;
  44. /**
  45. 数据列表
  46. */
  47. @property (strong,nonatomic) NSMutableArray *dataList;
  48. /**
  49. 图片列表
  50. */
  51. @property (strong,nonatomic) NSMutableArray *photoList;
  52. /**
  53. 配送回执model
  54. */
  55. @property (strong,nonatomic) NewDeliveryReceiptModel *model;
  56. /**
  57. 图片路径数组
  58. */
  59. @property (strong,nonatomic) NSMutableArray *imagePaths;
  60. /**
  61. 相册数组
  62. */
  63. @property (nonatomic , strong) NSMutableArray *assets;
  64. /**
  65. 回执编码
  66. */
  67. @property (strong,nonatomic) UITextField* receiptCode;
  68. /**
  69. 回执金额
  70. */
  71. @property (strong,nonatomic) UITextField* receiptAmount;
  72. /**
  73. 客户名称
  74. */
  75. @property (strong,nonatomic) UILabel *customerName;
  76. @property (strong,nonatomic) NSString *signName;
  77. /**
  78. 应收金额
  79. */
  80. @property (strong,nonatomic) UILabel *receivables;
  81. /**
  82. 回执类型
  83. */
  84. @property (strong,nonatomic) UIButton *receiptType;
  85. @property (strong,nonatomic) UIButton *btnSign;
  86. @property (strong,nonatomic) UIButton *btnDeliveryAttribute;
  87. @property (strong,nonatomic) UIButton *btnGoodsAttribute;
  88. /**
  89. 推迟日期
  90. */
  91. @property (strong,nonatomic) UIButton *nextDeliveryDate;
  92. /**
  93. 收款方式
  94. */
  95. @property (strong,nonatomic) UIButton *receivablesType;
  96. /**
  97. 送货单号
  98. */
  99. @property (strong,nonatomic) NSString*sReceiptCode;
  100. /**
  101. 回执金额
  102. */
  103. @property (strong,nonatomic) NSString*sReceiptAmount;
  104. /**
  105. 客户名称
  106. */
  107. @property (strong,nonatomic) NSString *sCustomerName;
  108. /**
  109. 应收金额
  110. */
  111. @property (strong,nonatomic) NSString *sReceivables;
  112. /**
  113. 回执类型
  114. */
  115. @property (strong,nonatomic) NSString *sReceiptType;
  116. /**
  117. 推迟日期
  118. */
  119. @property (strong,nonatomic) NSString *sNextDeliveryDate;
  120. /**
  121. 已回执金额
  122. */
  123. @property (strong,nonatomic)NSString *completeReceivables;
  124. /**
  125. 收款方式名称
  126. */
  127. @property (strong,nonatomic) NSString *settlementTypeName;
  128. /**
  129. 收款方式
  130. */
  131. @property (strong,nonatomic) NSString *settlementType;
  132. /**
  133. 是否手工费
  134. */
  135. @property (strong,nonatomic) NSString *existsHandlingFee;
  136. /**
  137. 手工费
  138. */
  139. @property (strong,nonatomic) NSString *earnestFee;
  140. /**
  141. 备注
  142. */
  143. @property (strong,nonatomic) NSString *remarks;
  144. /**
  145. 回执标识
  146. */
  147. @property (strong,nonatomic) NSString *receiptFlag;
  148. @property (strong,nonatomic) NSString *signFlag;
  149. @property (strong,nonatomic) NSString *deliveryFlag;
  150. /**
  151. 配送id
  152. */
  153. @property (strong,nonatomic) NSString *deliveryId;
  154. @property (strong,nonatomic) NSString *deliveryAttributeId;
  155. @property (strong,nonatomic) NSString *goodsAttributeId;
  156. /**
  157. 回执类型数组
  158. */
  159. @property (strong,nonatomic) NSMutableArray* arrayDStatus;
  160. @property (strong,nonatomic) NSMutableArray* signArray;
  161. @property (strong,nonatomic) NSMutableArray* deliveryArray;
  162. @property (strong,nonatomic) NSMutableArray* goodsArray;
  163. /**
  164. 日历
  165. @param strong <#strong description#>
  166. @return <#return value description#>
  167. */
  168. @property (strong)BRDatePickerView *dealDatePicker;
  169. /**
  170. 回执类型
  171. */
  172. @property (strong,nonatomic) NSMutableArray *arrayStatus;
  173. /**
  174. 推迟日期
  175. */
  176. @property (nonatomic,strong) UIView *vNextDeliveryDate;
  177. /**
  178. 保存按钮
  179. */
  180. @property (nonatomic,strong)UIButton *saveBtn;
  181. /**
  182. cell索引
  183. */
  184. @property (nonatomic) NSInteger cellIndex;
  185. /**
  186. 用于键盘出现时函数调用多次的情况
  187. */
  188. @property (nonatomic,assign)BOOL flag;
  189. /**
  190. 弹出键盘
  191. */
  192. @property (nonatomic)BOOL keyboardShow;
  193. /**
  194. 代理
  195. */
  196. @property (nonatomic,assign) id<FollowUpBrowseProtocol> refreshDelegate;
  197. @property (nonatomic,assign) DeliveryUnreceiptListVC *parentVC;
  198. @end