OrderDetailHeadViewController.m 37 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763
  1. //
  2. // OrderDetailHeadViewController.m
  3. // IBOSS
  4. //
  5. // Created by 关宏厚 on 2018/11/16.
  6. // Copyright © 2018 elongtian. All rights reserved.
  7. //
  8. #import "OrderDetailHeadViewController.h"
  9. @interface OrderDetailHeadViewController ()
  10. @end
  11. @implementation OrderDetailHeadViewController
  12. #pragma mark - 公共函数
  13. - (void)viewDidLoad {
  14. [super viewDidLoad];
  15. [self initUI];
  16. }
  17. #pragma mark - 私有函数
  18. -(void)initUI
  19. {
  20. self.view.backgroundColor = LineBackgroundColor;
  21. _scroll = [UIScrollView new];
  22. _scroll.frame = CGRectMake(0, 0, Screen_Width, Screen_Height - rectNavHeight - rectStatusHeight);
  23. [self.view addSubview:_scroll];
  24. _contentView = [[UIView alloc]init];
  25. [_contentView setBackgroundColor:[UIColor whiteColor]];
  26. CGFloat xpadding = 10;
  27. CGFloat ypadding = 10;
  28. _contentView.frame = CGRectZero;
  29. [_scroll addSubview:_contentView];
  30. UILabel *lblTitleAuditFlag = [[UILabel alloc]init];
  31. lblTitleAuditFlag.frame = CGRectMake(xpadding,ypadding,80,25);
  32. lblTitleAuditFlag.text = @"审核标识:";
  33. lblTitleAuditFlag.font=orderTextFont;
  34. [_contentView addSubview:lblTitleAuditFlag];
  35. UILabel *lblAuditFlag = [[UILabel alloc]init];
  36. lblAuditFlag.frame=CGRectMake(CGRectGetMaxX(lblTitleAuditFlag.frame),ypadding,250, 25);
  37. Boolean checkFlag= _auditListModel.checkFlag;
  38. NSString *checkFlagStr;
  39. if(!checkFlag){
  40. checkFlagStr=@"未审核";
  41. }
  42. else
  43. {
  44. checkFlagStr=@"审核";
  45. }
  46. lblAuditFlag.text=checkFlagStr;
  47. lblAuditFlag.font=orderTextFont;
  48. [_contentView addSubview:lblAuditFlag];
  49. UILabel *lblTitleOrderNo = [[UILabel alloc]init];
  50. lblTitleOrderNo.frame=CGRectMake(xpadding,CGRectGetMaxY(lblTitleAuditFlag.frame)+ypadding,80,25);
  51. lblTitleOrderNo.text = @"订单单号:";
  52. lblTitleOrderNo.font=orderTextFont;
  53. [_contentView addSubview:lblTitleOrderNo];
  54. UILabel *lblOrderNo = [[UILabel alloc]init];
  55. lblOrderNo.frame=CGRectMake(CGRectGetMaxX(lblTitleOrderNo.frame),CGRectGetMaxY(lblTitleAuditFlag.frame)+ypadding,250, 25);
  56. lblOrderNo.font=orderTextFont;
  57. lblOrderNo.text=_auditListModel.orderNo;
  58. [_contentView addSubview:lblOrderNo];
  59. UILabel *lblTitleOrderType = [[UILabel alloc]init];
  60. lblTitleOrderType.frame=CGRectMake(xpadding,CGRectGetMaxY(lblTitleOrderNo.frame)+ypadding,100,25);
  61. lblTitleOrderType.text = @"订单业务类型:";
  62. lblTitleOrderType.font=orderTextFont;
  63. [_contentView addSubview:lblTitleOrderType];
  64. UILabel *lblOrderType = [[UILabel alloc]init];
  65. lblOrderType.frame=CGRectMake(CGRectGetMaxX(lblTitleOrderType.frame),CGRectGetMaxY(lblTitleOrderNo.frame)+ypadding,250, 25);
  66. lblOrderType.font=orderTextFont;
  67. lblOrderType.text=_auditListModel.orderType;
  68. [_contentView addSubview:lblOrderType];
  69. UILabel *lblTitleCustomerName = [[UILabel alloc]init];
  70. lblTitleCustomerName.frame=CGRectMake(xpadding,CGRectGetMaxY(lblTitleOrderType.frame)+ypadding,80,25);
  71. lblTitleCustomerName.text = @"客户名称:";
  72. lblTitleCustomerName.font=orderTextFont;
  73. [_contentView addSubview:lblTitleCustomerName];
  74. UILabel *lblCustomerName = [[UILabel alloc]init];
  75. lblCustomerName.frame=CGRectMake(CGRectGetMaxX(lblTitleCustomerName.frame),CGRectGetMaxY(lblTitleOrderType.frame)+ypadding,250, 25);
  76. lblCustomerName.font=orderTextFont;
  77. lblCustomerName.text=_auditListModel.customerName;
  78. [_contentView addSubview:lblCustomerName];
  79. UILabel *lblTitleCustomerCode = [[UILabel alloc]init];
  80. lblTitleCustomerCode.frame=CGRectMake(xpadding,CGRectGetMaxY(lblTitleCustomerName.frame)+ypadding,80,25);
  81. lblTitleCustomerCode.text = @"客户编码:";
  82. lblTitleCustomerCode.font=orderTextFont;
  83. [_contentView addSubview:lblTitleCustomerCode];
  84. UILabel *lblCustomerCode = [[UILabel alloc]init];
  85. lblCustomerCode.frame=CGRectMake(CGRectGetMaxX(lblTitleCustomerCode.frame),CGRectGetMaxY(lblTitleCustomerName.frame)+ypadding,250, 25);
  86. lblCustomerCode.font=orderTextFont;
  87. lblCustomerCode.text=_auditListModel.customerCode;
  88. [_contentView addSubview:lblCustomerCode];
  89. UILabel *lblTitleOrderStatus = [[UILabel alloc]init];
  90. lblTitleOrderStatus.frame=CGRectMake(xpadding,CGRectGetMaxY(lblTitleCustomerCode.frame)+ypadding,80,25);
  91. lblTitleOrderStatus.text = @"订单状态:";
  92. lblTitleOrderStatus.font=orderTextFont;
  93. [_contentView addSubview:lblTitleOrderStatus];
  94. UILabel *lblOrderStatus = [[UILabel alloc]init];
  95. lblOrderStatus.frame=CGRectMake(CGRectGetMaxX(lblTitleOrderStatus.frame),CGRectGetMaxY(lblTitleCustomerCode.frame)+ypadding,250, 25);
  96. lblOrderStatus.font=orderTextFont;
  97. lblOrderStatus.text=_auditListModel.orderStatus;
  98. [_contentView addSubview:lblOrderStatus];
  99. UILabel *lblTitleContacts = [[UILabel alloc]init];
  100. lblTitleContacts.frame=CGRectMake(xpadding,CGRectGetMaxY(lblTitleOrderStatus.frame)+ypadding,80,25);
  101. lblTitleContacts.text = @"联系人:";
  102. lblTitleContacts.font=orderTextFont;
  103. [_contentView addSubview:lblTitleContacts];
  104. UILabel *lblContacts = [[UILabel alloc]init];
  105. lblContacts.frame=CGRectMake(CGRectGetMaxX(lblTitleContacts.frame),CGRectGetMaxY(lblTitleOrderStatus.frame)+ypadding,250, 25);
  106. lblContacts.font=orderTextFont;
  107. lblContacts.text=_auditListModel.contacts;
  108. [_contentView addSubview:lblContacts];
  109. UILabel *lblTitleTelephone = [[UILabel alloc]init];
  110. lblTitleTelephone.frame=CGRectMake(xpadding,CGRectGetMaxY(lblTitleContacts.frame)+ypadding,80,25);
  111. lblTitleTelephone.text = @"联系电话:";
  112. lblTitleTelephone.font=orderTextFont;
  113. [_contentView addSubview:lblTitleTelephone];
  114. UILabel *lblTelephone = [[UILabel alloc]init];
  115. lblTelephone.frame=CGRectMake(CGRectGetMaxX(lblTitleTelephone.frame),CGRectGetMaxY(lblTitleContacts.frame)+ypadding,250, 25);
  116. lblTelephone.font=orderTextFont;
  117. lblTelephone.text=_auditListModel.telephone;
  118. [_contentView addSubview:lblTelephone];
  119. UILabel *lblTitleOtherContact = [[UILabel alloc]init];
  120. lblTitleOtherContact.frame=CGRectMake(xpadding,CGRectGetMaxY(lblTitleTelephone.frame)+ypadding,100,25);
  121. lblTitleOtherContact.text = @"其它联系方式:";
  122. lblTitleOtherContact.font=orderTextFont;
  123. [_contentView addSubview:lblTitleOtherContact];
  124. UILabel *lblOtherContact = [[UILabel alloc]init];
  125. lblOtherContact.frame=CGRectMake(CGRectGetMaxX(lblTitleOtherContact.frame),CGRectGetMaxY(lblTitleTelephone.frame)+ypadding,250, 25);
  126. lblOtherContact.font=orderTextFont;
  127. lblOtherContact.text=_auditListModel.otherContact;
  128. [_contentView addSubview:lblOtherContact];
  129. UILabel *lblTitleCustomerType = [[UILabel alloc]init];
  130. lblTitleCustomerType.frame=CGRectMake(xpadding,CGRectGetMaxY(lblTitleOtherContact.frame)+ypadding,80,25);
  131. lblTitleCustomerType.text = @"客户性质:";
  132. lblTitleCustomerType.font=orderTextFont;
  133. [_contentView addSubview:lblTitleCustomerType];
  134. UILabel *lblCustomerType = [[UILabel alloc]init];
  135. lblCustomerType.frame=CGRectMake(CGRectGetMaxX(lblTitleCustomerType.frame),CGRectGetMaxY(lblTitleOtherContact.frame)+ypadding,250, 25);
  136. lblCustomerType.font=orderTextFont;
  137. lblCustomerType.text=_auditListModel.customerTypeName;
  138. [_contentView addSubview:lblCustomerType];
  139. UILabel *lblTitleCustomerAddress = [[UILabel alloc]init];
  140. lblTitleCustomerAddress.frame=CGRectMake(xpadding,CGRectGetMaxY(lblTitleCustomerType.frame)+ypadding,80,25);
  141. lblTitleCustomerAddress.text = @"客户地址:";
  142. lblTitleCustomerAddress.font=orderTextFont;
  143. [_contentView addSubview:lblTitleCustomerAddress];
  144. UILabel *lblCustomerAddress = [[UILabel alloc]init];
  145. lblCustomerAddress.frame=CGRectMake(CGRectGetMaxX(lblTitleCustomerAddress.frame),CGRectGetMaxY(lblTitleCustomerType.frame)+ypadding,250, 25);
  146. lblCustomerAddress.font=orderTextFont;
  147. lblCustomerAddress.text=_auditListModel.customerAddress;
  148. [_contentView addSubview:lblCustomerAddress];
  149. UILabel *lblTitleDepartment = [[UILabel alloc]init];
  150. lblTitleDepartment.frame=CGRectMake(xpadding,CGRectGetMaxY(lblTitleCustomerAddress.frame)+ypadding,80,25);
  151. lblTitleDepartment.text = @"业务部门:";
  152. lblTitleDepartment.font=orderTextFont;
  153. [_contentView addSubview:lblTitleDepartment];
  154. UILabel *lblDepartment = [[UILabel alloc]init];
  155. lblDepartment.frame=CGRectMake(CGRectGetMaxX(lblTitleDepartment.frame),CGRectGetMaxY(lblTitleCustomerAddress.frame)+ypadding,250, 25);
  156. lblDepartment.font=orderTextFont;
  157. lblDepartment.text=_auditListModel.organizationName;
  158. [_contentView addSubview:lblDepartment];
  159. UILabel *lblTitleStaff = [[UILabel alloc]init];
  160. lblTitleStaff.frame=CGRectMake(xpadding,CGRectGetMaxY(lblTitleDepartment.frame)+ypadding,80,25);
  161. lblTitleStaff.text = @"业务员:";
  162. lblTitleStaff.font=orderTextFont;
  163. [_contentView addSubview:lblTitleStaff];
  164. UILabel *lblStaff = [[UILabel alloc]init];
  165. lblStaff.frame=CGRectMake(CGRectGetMaxX(lblTitleStaff.frame),CGRectGetMaxY(lblTitleDepartment.frame)+ypadding,250, 25);
  166. lblStaff.font=orderTextFont;
  167. lblStaff.text=_auditListModel.staffName;
  168. [_contentView addSubview:lblStaff];
  169. UILabel *lblTitleAccountCategory = [[UILabel alloc]init];
  170. lblTitleAccountCategory.frame=CGRectMake(xpadding,CGRectGetMaxY(lblTitleStaff.frame)+ypadding,100,25);
  171. lblTitleAccountCategory.text = @"业绩核算类别:";
  172. lblTitleAccountCategory.font=orderTextFont;
  173. [_contentView addSubview:lblTitleAccountCategory];
  174. UILabel *lblAccountCategory = [[UILabel alloc]init];
  175. lblAccountCategory.frame=CGRectMake(CGRectGetMaxX(lblTitleAccountCategory.frame),CGRectGetMaxY(lblTitleStaff.frame)+ypadding,250, 25);
  176. lblAccountCategory.font=orderTextFont;
  177. lblAccountCategory.text=_auditListModel.accountCategoryName;
  178. [_contentView addSubview:lblAccountCategory];
  179. UILabel *lblTitleChannel = [[UILabel alloc]init];
  180. lblTitleChannel.frame=CGRectMake(xpadding,CGRectGetMaxY(lblTitleAccountCategory.frame)+ypadding,80,25);
  181. lblTitleChannel.text = @"渠道:";
  182. lblTitleChannel.font=orderTextFont;
  183. [_contentView addSubview:lblTitleChannel];
  184. UILabel *lblChannel = [[UILabel alloc]init];
  185. lblChannel.frame=CGRectMake(CGRectGetMaxX(lblTitleChannel.frame),CGRectGetMaxY(lblTitleAccountCategory.frame)+ypadding,250, 25);
  186. lblChannel.font=orderTextFont;
  187. lblChannel.text=_auditListModel.channelName;
  188. [_contentView addSubview:lblChannel];
  189. UILabel *lblTitleContractNumber = [[UILabel alloc]init];
  190. lblTitleContractNumber.frame=CGRectMake(xpadding,CGRectGetMaxY(lblTitleChannel.frame)+ypadding,80,25);
  191. lblTitleContractNumber.text = @"合同号:";
  192. lblTitleContractNumber.font=orderTextFont;
  193. [_contentView addSubview:lblTitleContractNumber];
  194. UILabel *lblContractNumber= [[UILabel alloc]init];
  195. lblContractNumber.frame=CGRectMake(CGRectGetMaxX(lblTitleContractNumber.frame),CGRectGetMaxY(lblTitleChannel.frame)+ypadding,250, 25);
  196. lblContractNumber.font=orderTextFont;
  197. lblContractNumber.text=_auditListModel.contractNumber;
  198. [_contentView addSubview:lblContractNumber];
  199. UILabel *lblTitleOtherInvoiceNo = [[UILabel alloc]init];
  200. lblTitleOtherInvoiceNo.frame=CGRectMake(xpadding,CGRectGetMaxY(lblTitleContractNumber.frame)+ypadding,80,25);
  201. lblTitleOtherInvoiceNo.text = @"其他单号:";
  202. lblTitleOtherInvoiceNo.font=orderTextFont;
  203. [_contentView addSubview:lblTitleOtherInvoiceNo];
  204. UILabel *lblOtherInvoiceNo= [[UILabel alloc]init];
  205. lblOtherInvoiceNo.frame=CGRectMake(CGRectGetMaxX(lblTitleOtherInvoiceNo.frame),CGRectGetMaxY(lblTitleContractNumber.frame)+ypadding,250, 25);
  206. lblOtherInvoiceNo.font=orderTextFont;
  207. lblOtherInvoiceNo.text=_auditListModel.otherInvoiceNo;
  208. [_contentView addSubview:lblOtherInvoiceNo];
  209. UILabel *lblTitleGoodsAmount = [[UILabel alloc]init];
  210. lblTitleGoodsAmount.frame=CGRectMake(xpadding,CGRectGetMaxY(lblTitleOtherInvoiceNo.frame)+ypadding,80,25);
  211. lblTitleGoodsAmount.text = @"货物总额:";
  212. lblTitleGoodsAmount.font=orderTextFont;
  213. [_contentView addSubview:lblTitleGoodsAmount];
  214. UILabel *lblGoodsAmount= [[UILabel alloc]init];
  215. lblGoodsAmount.frame=CGRectMake(CGRectGetMaxX(lblTitleGoodsAmount.frame),CGRectGetMaxY(lblTitleOtherInvoiceNo.frame)+ypadding,250, 25);
  216. lblGoodsAmount.font=orderTextFont;
  217. lblGoodsAmount.text=_auditListModel.goodsAmount;
  218. [_contentView addSubview:lblGoodsAmount];
  219. UILabel *lblTitleDiscountAmount = [[UILabel alloc]init];
  220. lblTitleDiscountAmount.frame=CGRectMake(xpadding,CGRectGetMaxY(lblTitleGoodsAmount.frame)+ypadding,80,25);
  221. lblTitleDiscountAmount.text = @"舍零金额:";
  222. lblTitleDiscountAmount.font=orderTextFont;
  223. [_contentView addSubview:lblTitleDiscountAmount];
  224. UILabel *lblDiscountAmount= [[UILabel alloc]init];
  225. lblDiscountAmount.frame=CGRectMake(CGRectGetMaxX(lblTitleDiscountAmount.frame),CGRectGetMaxY(lblTitleGoodsAmount.frame)+ypadding,250, 25);
  226. lblDiscountAmount.font=orderTextFont;
  227. lblDiscountAmount.text=_auditListModel.discountAmount;
  228. [_contentView addSubview:lblDiscountAmount];
  229. UILabel *lblTitleMarkedPriceAmount = [[UILabel alloc]init];
  230. lblTitleMarkedPriceAmount.frame=CGRectMake(xpadding,CGRectGetMaxY(lblTitleDiscountAmount.frame)+ypadding,80,25);
  231. lblTitleMarkedPriceAmount.text = @"标价总额:";
  232. lblTitleMarkedPriceAmount.font=orderTextFont;
  233. [_contentView addSubview:lblTitleMarkedPriceAmount];
  234. UILabel *lblMarkedPriceAmount= [[UILabel alloc]init];
  235. lblMarkedPriceAmount.frame=CGRectMake(CGRectGetMaxX(lblTitleMarkedPriceAmount.frame),CGRectGetMaxY(lblTitleDiscountAmount.frame)+ypadding,250, 25);
  236. lblMarkedPriceAmount.font=orderTextFont;
  237. lblMarkedPriceAmount.text=_auditListModel.markedPriceAmount;
  238. [_contentView addSubview:lblMarkedPriceAmount];
  239. UILabel *lblTitleGiveMarkedPriceAmount = [[UILabel alloc]init];
  240. lblTitleGiveMarkedPriceAmount.frame=CGRectMake(xpadding,CGRectGetMaxY(lblTitleMarkedPriceAmount.frame)+ypadding,100,25);
  241. lblTitleGiveMarkedPriceAmount.text = @"赠品标价总额:";
  242. lblTitleGiveMarkedPriceAmount.font=orderTextFont;
  243. [_contentView addSubview:lblTitleGiveMarkedPriceAmount];
  244. UILabel *lblGiveMarkedPriceAmount= [[UILabel alloc]init];
  245. lblGiveMarkedPriceAmount.frame=CGRectMake(CGRectGetMaxX(lblTitleGiveMarkedPriceAmount.frame),CGRectGetMaxY(lblTitleMarkedPriceAmount.frame)+ypadding,250, 25);
  246. lblGiveMarkedPriceAmount.font=orderTextFont;
  247. lblGiveMarkedPriceAmount.text=_auditListModel.giveMarkedPriceAmount;
  248. [_contentView addSubview:lblGiveMarkedPriceAmount];
  249. UILabel *lblTitleDiscount = [[UILabel alloc]init];
  250. lblTitleDiscount.frame=CGRectMake(xpadding,CGRectGetMaxY(lblTitleGiveMarkedPriceAmount.frame)+ypadding,80,25);
  251. lblTitleDiscount.text = @"整单折扣:";
  252. lblTitleDiscount.font=orderTextFont;
  253. [_contentView addSubview:lblTitleDiscount];
  254. UILabel *lblDiscount= [[UILabel alloc]init];
  255. lblDiscount.frame=CGRectMake(CGRectGetMaxX(lblTitleDiscount.frame),CGRectGetMaxY(lblTitleGiveMarkedPriceAmount.frame)+ypadding,250, 25);
  256. lblDiscount.font=orderTextFont;
  257. lblDiscount.text=_auditListModel.discount;
  258. [_contentView addSubview:lblDiscount];
  259. UILabel *lblTitleFeesAmount = [[UILabel alloc]init];
  260. lblTitleFeesAmount.frame=CGRectMake(xpadding,CGRectGetMaxY(lblTitleDiscount.frame)+ypadding,80,25);
  261. lblTitleFeesAmount.text = @"费用金额:";
  262. lblTitleFeesAmount.font=orderTextFont;
  263. [_contentView addSubview:lblTitleFeesAmount];
  264. UILabel *lblFeesAmount= [[UILabel alloc]init];
  265. lblFeesAmount.frame=CGRectMake(CGRectGetMaxX(lblTitleFeesAmount.frame),CGRectGetMaxY(lblTitleDiscount.frame)+ypadding,250, 25);
  266. lblFeesAmount.font=orderTextFont;
  267. lblFeesAmount.text=_auditListModel.feesAmount;
  268. [_contentView addSubview:lblFeesAmount];
  269. UILabel *lblTitleEarnestAmount = [[UILabel alloc]init];
  270. lblTitleEarnestAmount.frame=CGRectMake(xpadding,CGRectGetMaxY(lblTitleFeesAmount.frame)+ypadding,80,25);
  271. lblTitleEarnestAmount.text = @"剩余定金:";
  272. lblTitleEarnestAmount.font=orderTextFont;
  273. [_contentView addSubview:lblTitleEarnestAmount];
  274. UILabel *lblEarnestAmount= [[UILabel alloc]init];
  275. lblEarnestAmount.frame=CGRectMake(CGRectGetMaxX(lblTitleEarnestAmount.frame),CGRectGetMaxY(lblTitleFeesAmount.frame)+ypadding,250, 25);
  276. lblEarnestAmount.font=orderTextFont;
  277. lblEarnestAmount.text=_auditListModel.earnestAmount;
  278. [_contentView addSubview:lblEarnestAmount];
  279. UILabel *lblTitleEarnestRate = [[UILabel alloc]init];
  280. lblTitleEarnestRate.frame=CGRectMake(xpadding,CGRectGetMaxY(lblTitleEarnestAmount.frame)+ypadding,100,25);
  281. lblTitleEarnestRate.text = @"剩余定金比率:";
  282. lblTitleEarnestRate.font=orderTextFont;
  283. [_contentView addSubview:lblTitleEarnestRate];
  284. UILabel *lblEarnestRate= [[UILabel alloc]init];
  285. lblEarnestRate.frame=CGRectMake(CGRectGetMaxX(lblTitleEarnestRate.frame),CGRectGetMaxY(lblTitleEarnestAmount.frame)+ypadding,250, 25);
  286. lblEarnestRate.font=orderTextFont;
  287. lblEarnestRate.text=_auditListModel.earnestRate;
  288. [_contentView addSubview:lblEarnestRate];
  289. UILabel *lblTitleTotalEarnestAmount = [[UILabel alloc]init];
  290. lblTitleTotalEarnestAmount.frame=CGRectMake(xpadding,CGRectGetMaxY(lblTitleEarnestRate.frame)+ypadding,80,25);
  291. lblTitleTotalEarnestAmount.text = @"总定金:";
  292. lblTitleTotalEarnestAmount.font=orderTextFont;
  293. [_contentView addSubview:lblTitleTotalEarnestAmount];
  294. UILabel *lblTotalEarnestAmount= [[UILabel alloc]init];
  295. lblTotalEarnestAmount.frame=CGRectMake(CGRectGetMaxX(lblTitleTotalEarnestAmount.frame),CGRectGetMaxY(lblTitleEarnestRate.frame)+ypadding,250, 25);
  296. lblTotalEarnestAmount.font=orderTextFont;
  297. lblTotalEarnestAmount.text=_auditListModel.totalEarnestAmount;
  298. [_contentView addSubview:lblTotalEarnestAmount];
  299. UILabel *lblTitleTotalEarnestRate = [[UILabel alloc]init];
  300. lblTitleTotalEarnestRate.frame=CGRectMake(xpadding,CGRectGetMaxY(lblTitleTotalEarnestAmount.frame)+ypadding,100,25);
  301. lblTitleTotalEarnestRate.text = @"总定金比率:";
  302. lblTitleTotalEarnestRate.font=orderTextFont;
  303. [_contentView addSubview:lblTitleTotalEarnestRate];
  304. UILabel *lblTotalEarnestRate= [[UILabel alloc]init];
  305. lblTotalEarnestRate.frame=CGRectMake(CGRectGetMaxX(lblTitleTotalEarnestRate.frame),CGRectGetMaxY(lblTitleTotalEarnestAmount.frame)+ypadding,250, 25);
  306. lblTotalEarnestRate.font=orderTextFont;
  307. lblTotalEarnestRate.text=_auditListModel.totalEarnestRate;
  308. [_contentView addSubview:lblTotalEarnestRate];
  309. UILabel *lblTitleOrderEarnestSum = [[UILabel alloc]init];
  310. lblTitleOrderEarnestSum.frame=CGRectMake(xpadding,CGRectGetMaxY(lblTitleTotalEarnestRate.frame)+ypadding,80,25);
  311. lblTitleOrderEarnestSum.text = @"使用定金:";
  312. lblTitleOrderEarnestSum.font=orderTextFont;
  313. [_contentView addSubview:lblTitleOrderEarnestSum];
  314. UILabel *lblOrderEarnestSum= [[UILabel alloc]init];
  315. lblOrderEarnestSum.frame=CGRectMake(CGRectGetMaxX(lblTitleOrderEarnestSum.frame),CGRectGetMaxY(lblTitleTotalEarnestRate.frame)+ypadding,250, 25);
  316. lblOrderEarnestSum.font=orderTextFont;
  317. lblOrderEarnestSum.text=_auditListModel.orderEarnestSum;
  318. [_contentView addSubview:lblOrderEarnestSum];
  319. UILabel *lblTitleTotalSum = [[UILabel alloc]init];
  320. lblTitleTotalSum.frame=CGRectMake(xpadding,CGRectGetMaxY(lblTitleOrderEarnestSum.frame)+ypadding,80,25);
  321. lblTitleTotalSum.text = @"合计金额:";
  322. lblTitleTotalSum.font=orderTextFont;
  323. [_contentView addSubview:lblTitleTotalSum];
  324. UILabel *lblTotalSum= [[UILabel alloc]init];
  325. lblTotalSum.frame=CGRectMake(CGRectGetMaxX(lblTitleTotalSum.frame),CGRectGetMaxY(lblTitleOrderEarnestSum.frame)+ypadding,250, 25);
  326. lblTotalSum.font=orderTextFont;
  327. lblTotalSum.text=_auditListModel.totalAmount;
  328. [_contentView addSubview:lblTotalSum];
  329. UILabel *lblTitleTotalVolume = [[UILabel alloc]init];
  330. lblTitleTotalVolume.frame=CGRectMake(xpadding,CGRectGetMaxY(lblTitleTotalSum.frame)+ypadding,80,25);
  331. lblTitleTotalVolume.text = @"合计体积:";
  332. lblTitleTotalVolume.font=orderTextFont;
  333. [_contentView addSubview:lblTitleTotalVolume];
  334. UILabel *lblTotalVolume= [[UILabel alloc]init];
  335. lblTotalVolume.frame=CGRectMake(CGRectGetMaxX(lblTitleTotalVolume.frame),CGRectGetMaxY(lblTitleTotalSum.frame)+ypadding,250, 25);
  336. lblTotalVolume.font=orderTextFont;
  337. lblTotalVolume.text=_auditListModel.totalVolume;
  338. [_contentView addSubview:lblTotalVolume];
  339. UILabel *lblTitleDeliveryFlag = [[UILabel alloc]init];
  340. lblTitleDeliveryFlag.frame=CGRectMake(xpadding,CGRectGetMaxY(lblTitleTotalVolume.frame)+ypadding,80,25);
  341. lblTitleDeliveryFlag.text = @"送货标识:";
  342. lblTitleDeliveryFlag.font=orderTextFont;
  343. [_contentView addSubview:lblTitleDeliveryFlag];
  344. UILabel *lblDeliveryFlag= [[UILabel alloc]init];
  345. lblDeliveryFlag.frame=CGRectMake(CGRectGetMaxX(lblTitleDeliveryFlag.frame),CGRectGetMaxY(lblTitleTotalVolume.frame)+ypadding,250, 25);
  346. lblDeliveryFlag.font=orderTextFont;
  347. Boolean deliveryFlag= _auditListModel.deliveryFlag;
  348. NSString *deliveryFlagStr;
  349. if(deliveryFlag){
  350. deliveryFlagStr=@"是";
  351. }
  352. else{
  353. deliveryFlagStr=@"=否";
  354. }
  355. lblDeliveryFlag.text=deliveryFlagStr;
  356. [_contentView addSubview:lblDeliveryFlag];
  357. UILabel *lblTitleInstallationFlag = [[UILabel alloc]init];
  358. lblTitleInstallationFlag.frame=CGRectMake(xpadding,CGRectGetMaxY(lblTitleDeliveryFlag.frame)+ypadding,80,25);
  359. lblTitleInstallationFlag.text = @"安装标识:";
  360. lblTitleInstallationFlag.font=orderTextFont;
  361. [_contentView addSubview:lblTitleInstallationFlag];
  362. UILabel *lblInstallationFlag= [[UILabel alloc]init];
  363. lblInstallationFlag.frame=CGRectMake(CGRectGetMaxX(lblTitleInstallationFlag.frame),CGRectGetMaxY(lblTitleDeliveryFlag.frame)+ypadding,250, 25);
  364. lblInstallationFlag.font=orderTextFont;
  365. Boolean installationFlag= _auditListModel.installationFlag;
  366. NSString *installationFlagStr;
  367. if(installationFlag){
  368. installationFlagStr=@"是";
  369. }
  370. else{
  371. installationFlagStr=@"否";
  372. }
  373. lblInstallationFlag.text=installationFlagStr;
  374. [_contentView addSubview:lblInstallationFlag];
  375. UILabel *lblTitleExistPromotionFlag = [[UILabel alloc]init];
  376. lblTitleExistPromotionFlag.frame=CGRectMake(xpadding,CGRectGetMaxY(lblTitleInstallationFlag.frame)+ypadding,100,25);
  377. lblTitleExistPromotionFlag.text = @"促销存在标识:";
  378. lblTitleExistPromotionFlag.font=orderTextFont;
  379. [_contentView addSubview:lblTitleExistPromotionFlag];
  380. UILabel *lblExistPromotionFlag= [[UILabel alloc]init];
  381. lblExistPromotionFlag.frame=CGRectMake(CGRectGetMaxX(lblTitleExistPromotionFlag.frame),CGRectGetMaxY(lblTitleInstallationFlag.frame)+ypadding,250, 25);
  382. lblExistPromotionFlag.font=orderTextFont;
  383. Boolean existsPromotionFlag=_auditListModel.existPromotionFlag;
  384. NSString *existsPromotionFlagStr;
  385. if(existsPromotionFlag){
  386. existsPromotionFlagStr=@"是";
  387. }
  388. else
  389. {
  390. existsPromotionFlagStr=@"否";
  391. }
  392. lblExistPromotionFlag.text=existsPromotionFlagStr;
  393. [_contentView addSubview:lblExistPromotionFlag];
  394. UILabel *lblTitleEstimateDeliveryDate = [[UILabel alloc]init];
  395. lblTitleEstimateDeliveryDate.frame=CGRectMake(xpadding,CGRectGetMaxY(lblTitleExistPromotionFlag.frame)+ypadding,100,25);
  396. lblTitleEstimateDeliveryDate.text = @"预计送货日期:";
  397. lblTitleEstimateDeliveryDate.font=orderTextFont;
  398. [_contentView addSubview:lblTitleEstimateDeliveryDate];
  399. UILabel *lblEstimateDeliveryDate =[[UILabel alloc]init];
  400. lblEstimateDeliveryDate.frame=CGRectMake(CGRectGetMaxX(lblTitleEstimateDeliveryDate.frame),CGRectGetMaxY(lblTitleExistPromotionFlag.frame)+ypadding,250, 25);
  401. lblEstimateDeliveryDate.font=orderTextFont;
  402. lblEstimateDeliveryDate.text=_auditListModel.estimateDeliveryDate;
  403. [_contentView addSubview:lblEstimateDeliveryDate];
  404. UILabel *lblTitleDecorationProcessName = [[UILabel alloc]init];
  405. lblTitleDecorationProcessName.frame=CGRectMake(xpadding,CGRectGetMaxY(lblTitleEstimateDeliveryDate.frame)+ypadding,80,25);
  406. lblTitleDecorationProcessName.text = @"装修进度:";
  407. lblTitleDecorationProcessName.font=orderTextFont;
  408. [_contentView addSubview:lblTitleDecorationProcessName];
  409. UILabel *lblDecorationProcessName =[[UILabel alloc]init];
  410. lblDecorationProcessName.frame=CGRectMake(CGRectGetMaxX(lblTitleDecorationProcessName.frame),CGRectGetMaxY(lblTitleEstimateDeliveryDate.frame)+ypadding,250, 25);
  411. lblDecorationProcessName.font=orderTextFont;
  412. lblDecorationProcessName.text=_auditListModel.decorationProcessName;
  413. [_contentView addSubview:lblDecorationProcessName];
  414. UILabel *lblTitleWeight = [[UILabel alloc]init];
  415. lblTitleWeight.frame=CGRectMake(xpadding,CGRectGetMaxY(lblTitleDecorationProcessName.frame)+ypadding,80,25);
  416. lblTitleWeight.text = @"重量:";
  417. lblTitleWeight.font=orderTextFont;
  418. [_contentView addSubview:lblTitleWeight];
  419. UILabel *lblWeight =[[UILabel alloc]init];
  420. lblWeight.frame=CGRectMake(CGRectGetMaxX(lblTitleWeight.frame),CGRectGetMaxY(lblTitleDecorationProcessName.frame)+ypadding,250, 25);
  421. lblWeight.font=orderTextFont;
  422. lblWeight.text=_auditListModel.weight;
  423. [_contentView addSubview:lblWeight];
  424. UILabel *lblTitleEstimateInstallationDate = [[UILabel alloc]init];
  425. lblTitleEstimateInstallationDate.frame=CGRectMake(xpadding,CGRectGetMaxY(lblTitleWeight.frame)+ypadding,100,25);
  426. lblTitleEstimateInstallationDate.text = @"预计安装日期:";
  427. lblTitleEstimateInstallationDate.font=orderTextFont;
  428. [_contentView addSubview:lblTitleEstimateInstallationDate];
  429. UILabel *lblEstimateInstallationDate =[[UILabel alloc]init];
  430. lblEstimateInstallationDate.frame=CGRectMake(CGRectGetMaxX(lblTitleEstimateInstallationDate.frame),CGRectGetMaxY(lblTitleWeight.frame)+ypadding,250, 25);
  431. lblEstimateInstallationDate.font=orderTextFont;
  432. lblEstimateInstallationDate.text=_auditListModel.estimateInstallationDate;
  433. [_contentView addSubview:lblEstimateInstallationDate];
  434. UILabel *lblTitleDeliveryArea = [[UILabel alloc]init];
  435. lblTitleDeliveryArea.frame=CGRectMake(xpadding,CGRectGetMaxY(lblTitleEstimateInstallationDate.frame)+ypadding,80,25);
  436. lblTitleDeliveryArea.text = @"送货区域:";
  437. lblTitleDeliveryArea.font=orderTextFont;
  438. [_contentView addSubview:lblTitleDeliveryArea];
  439. UILabel *lblDeliveryArea =[[UILabel alloc]init];
  440. lblDeliveryArea.frame=CGRectMake(CGRectGetMaxX(lblTitleDeliveryArea.frame),CGRectGetMaxY(lblTitleEstimateInstallationDate.frame)+ypadding,250, 25);
  441. lblDeliveryArea.font=orderTextFont;
  442. lblDeliveryArea.text=_auditListModel.deliveryAreaName;
  443. [_contentView addSubview:lblDeliveryArea];
  444. UILabel *lblTitleFloorsName = [[UILabel alloc]init];
  445. lblTitleFloorsName.frame=CGRectMake(xpadding,CGRectGetMaxY(lblTitleDeliveryArea.frame)+ypadding,80,25);
  446. lblTitleFloorsName.text = @"楼层:";
  447. lblTitleFloorsName.font=orderTextFont;
  448. [_contentView addSubview:lblTitleFloorsName];
  449. UILabel *lblFloorsName =[[UILabel alloc]init];
  450. lblFloorsName.frame=CGRectMake(CGRectGetMaxX(lblTitleFloorsName.frame),CGRectGetMaxY(lblTitleDeliveryArea.frame)+ypadding,250, 25);
  451. lblFloorsName.font=orderTextFont;
  452. lblFloorsName.text=_auditListModel.floorsName;
  453. [_contentView addSubview:lblFloorsName];
  454. UILabel *lblTitleStepNo = [[UILabel alloc]init];
  455. lblTitleStepNo.frame=CGRectMake(xpadding,CGRectGetMaxY(lblTitleFloorsName.frame)+ypadding,80,25);
  456. lblTitleStepNo.text = @"审批步骤:";
  457. lblTitleStepNo.font=orderTextFont;
  458. [_contentView addSubview:lblTitleStepNo];
  459. UILabel *lblStepNo =[[UILabel alloc]init];
  460. lblStepNo.frame=CGRectMake(CGRectGetMaxX(lblTitleStepNo.frame),CGRectGetMaxY(lblTitleFloorsName.frame)+ypadding,250, 25);
  461. lblStepNo.font=orderTextFont;
  462. lblStepNo.text=_auditListModel.stepNo;
  463. [_contentView addSubview:lblStepNo];
  464. UILabel *lblTitleReviewerName = [[UILabel alloc]init];
  465. lblTitleReviewerName.frame=CGRectMake(xpadding,CGRectGetMaxY(lblTitleStepNo.frame)+ypadding,80,25);
  466. lblTitleReviewerName.text = @"审批人:";
  467. lblTitleReviewerName.font=orderTextFont;
  468. [_contentView addSubview:lblTitleReviewerName];
  469. UILabel *lblReviewerName =[[UILabel alloc]init];
  470. lblReviewerName.frame=CGRectMake(CGRectGetMaxX(lblTitleReviewerName.frame),CGRectGetMaxY(lblTitleStepNo.frame)+ypadding,250, 25);
  471. lblReviewerName.font=orderTextFont;
  472. lblReviewerName.text=_auditListModel.reviewerName;
  473. [_contentView addSubview:lblReviewerName];
  474. UILabel *lblTitleAuditReason=[[UILabel alloc]init];
  475. lblTitleAuditReason.frame=CGRectMake(xpadding,CGRectGetMaxY(lblTitleReviewerName.frame)+ypadding,80,25);
  476. lblTitleAuditReason.text = @"审批原因:";
  477. lblTitleAuditReason.font=orderTextFont;
  478. [_contentView addSubview:lblTitleAuditReason];
  479. UILabel *lblAuditReason=[[UILabel alloc]init];
  480. lblAuditReason.frame=CGRectMake(CGRectGetMaxX(lblTitleAuditReason.frame),CGRectGetMaxY(lblTitleReviewerName.frame)+ypadding,250, 25);
  481. lblAuditReason.font=orderTextFont;
  482. lblAuditReason.text=_auditListModel.auditReason;
  483. [_contentView addSubview:lblAuditReason];
  484. UILabel *lblTitleDocumentaryOrderNo=[[UILabel alloc]init];
  485. lblTitleDocumentaryOrderNo.frame=CGRectMake(xpadding,CGRectGetMaxY(lblTitleAuditReason.frame)+ypadding,100,25);
  486. lblTitleDocumentaryOrderNo.text = @"跟单原单号:";
  487. lblTitleDocumentaryOrderNo.font=orderTextFont;
  488. [_contentView addSubview:lblTitleDocumentaryOrderNo];
  489. UILabel *lblDocumentaryOrderNo=[[UILabel alloc]init];
  490. lblDocumentaryOrderNo.frame=CGRectMake(CGRectGetMaxX(lblTitleDocumentaryOrderNo.frame),CGRectGetMaxY(lblTitleAuditReason.frame)+ypadding,250, 25);
  491. lblDocumentaryOrderNo.font=orderTextFont;
  492. lblDocumentaryOrderNo.text=_auditListModel.documentaryOrderNo;
  493. [_contentView addSubview:lblDocumentaryOrderNo];
  494. UILabel *lblTitleReversedOrderNo=[[UILabel alloc]init];
  495. lblTitleReversedOrderNo.frame=CGRectMake(xpadding,CGRectGetMaxY(lblTitleDocumentaryOrderNo.frame)+ypadding,80,25);
  496. lblTitleReversedOrderNo.text = @"冲正订单:";
  497. lblTitleReversedOrderNo.font=orderTextFont;
  498. [_contentView addSubview:lblTitleReversedOrderNo];
  499. UILabel *lblReversedOrderNo=[[UILabel alloc]init];
  500. lblReversedOrderNo.frame=CGRectMake(CGRectGetMaxX(lblTitleReversedOrderNo.frame),CGRectGetMaxY(lblTitleDocumentaryOrderNo.frame)+ypadding,250, 25);
  501. lblReversedOrderNo.font=orderTextFont;
  502. lblReversedOrderNo.text=_auditListModel.reversedOrderNo;
  503. [_contentView addSubview:lblReversedOrderNo];
  504. UILabel *lblTitleAccountDate=[[UILabel alloc]init];
  505. lblTitleAccountDate.frame=CGRectMake(xpadding,CGRectGetMaxY(lblTitleReversedOrderNo.frame)+ypadding,80,25);
  506. lblTitleAccountDate.text = @"账务日期:";
  507. lblTitleAccountDate.font=orderTextFont;
  508. [_contentView addSubview:lblTitleAccountDate];
  509. UILabel *lblAccountDate=[[UILabel alloc]init];
  510. lblAccountDate.frame=CGRectMake(CGRectGetMaxX(lblTitleAccountDate.frame),CGRectGetMaxY(lblTitleReversedOrderNo.frame)+ypadding,250, 25);
  511. lblAccountDate.font=orderTextFont;
  512. lblAccountDate.text=_auditListModel.accountDate;
  513. [_contentView addSubview:lblAccountDate];
  514. UILabel *lblTitleDocumentationClerk=[[UILabel alloc]init];
  515. lblTitleDocumentationClerk.frame=CGRectMake(xpadding,CGRectGetMaxY(lblTitleAccountDate.frame)+ypadding,80,25);
  516. lblTitleDocumentationClerk.text = @"制单员:";
  517. lblTitleDocumentationClerk.font=orderTextFont;
  518. [_contentView addSubview:lblTitleDocumentationClerk];
  519. UILabel *lblDocumentationClerk=[[UILabel alloc]init];
  520. lblDocumentationClerk.frame=CGRectMake(CGRectGetMaxX(lblTitleDocumentationClerk.frame),CGRectGetMaxY(lblTitleAccountDate.frame)+ypadding,250, 25);
  521. lblDocumentationClerk.font=orderTextFont;
  522. lblDocumentationClerk.text=_auditListModel.documentationClerk;
  523. [_contentView addSubview:lblDocumentationClerk];
  524. UILabel *lblTitleAttachmentCount=[[UILabel alloc]init];
  525. lblTitleAttachmentCount.frame=CGRectMake(xpadding,CGRectGetMaxY(lblTitleDocumentationClerk.frame)+ypadding,80,25);
  526. lblTitleAttachmentCount.text = @"附件数量:";
  527. lblTitleAttachmentCount.font=orderTextFont;
  528. [_contentView addSubview:lblTitleAttachmentCount];
  529. UILabel *lblAttachmentCount=[[UILabel alloc]init];
  530. lblAttachmentCount.frame=CGRectMake(CGRectGetMaxX(lblTitleAttachmentCount.frame),CGRectGetMaxY(lblTitleDocumentationClerk.frame)+ypadding,250, 25);
  531. lblAttachmentCount.font=orderTextFont;
  532. lblAttachmentCount.text=_auditListModel.attachmentCount;
  533. [_contentView addSubview:lblAttachmentCount];
  534. UILabel *lblTitleCreateUser=[[UILabel alloc]init];
  535. lblTitleCreateUser.frame=CGRectMake(xpadding,CGRectGetMaxY(lblTitleAttachmentCount.frame)+ypadding,80,25);
  536. lblTitleCreateUser.text = @"创建者:";
  537. lblTitleCreateUser.font=orderTextFont;
  538. [_contentView addSubview:lblTitleCreateUser];
  539. UILabel *lblCreateUser=[[UILabel alloc]init];
  540. lblCreateUser.frame=CGRectMake(CGRectGetMaxX(lblTitleCreateUser.frame),CGRectGetMaxY(lblTitleAttachmentCount.frame)+ypadding,250, 25);
  541. lblCreateUser.font=orderTextFont;
  542. lblCreateUser.text=_auditListModel.createUser;
  543. [_contentView addSubview:lblCreateUser];
  544. UILabel *lblTitleCreateTime=[[UILabel alloc]init];
  545. lblTitleCreateTime.frame=CGRectMake(xpadding,CGRectGetMaxY(lblTitleCreateUser.frame)+ypadding,80,25);
  546. lblTitleCreateTime.text = @"创建时间:";
  547. lblTitleCreateTime.font=orderTextFont;
  548. [_contentView addSubview:lblTitleCreateTime];
  549. UILabel *lblCreateTime=[[UILabel alloc]init];
  550. lblCreateTime.frame=CGRectMake(CGRectGetMaxX(lblTitleCreateTime.frame),CGRectGetMaxY(lblTitleCreateUser.frame)+ypadding,250, 25);
  551. lblCreateTime.font=orderTextFont;
  552. lblCreateTime.text=_auditListModel.createTime;
  553. [_contentView addSubview:lblCreateTime];
  554. UILabel *lblTitleUpdateUser=[[UILabel alloc]init];
  555. lblTitleUpdateUser.frame=CGRectMake(xpadding,CGRectGetMaxY(lblTitleCreateTime.frame)+ypadding,100,25);
  556. lblTitleUpdateUser.text = @"最近更新者:";
  557. lblTitleUpdateUser.font=orderTextFont;
  558. [_contentView addSubview:lblTitleUpdateUser];
  559. UILabel *lblUpdateUser=[[UILabel alloc]init];
  560. lblUpdateUser.frame=CGRectMake(CGRectGetMaxX(lblTitleUpdateUser.frame),CGRectGetMaxY(lblTitleCreateTime.frame)+ypadding,250, 25);
  561. lblUpdateUser.font=orderTextFont;
  562. lblUpdateUser.text=_auditListModel.updateUser;
  563. [_contentView addSubview:lblUpdateUser];
  564. UILabel *lblTitleUpdateTime=[[UILabel alloc]init];
  565. lblTitleUpdateTime.frame=CGRectMake(xpadding,CGRectGetMaxY(lblTitleUpdateUser.frame)+ypadding,100,25);
  566. lblTitleUpdateTime.text = @"最近更新时间:";
  567. lblTitleUpdateTime.font=orderTextFont;
  568. [_contentView addSubview:lblTitleUpdateTime];
  569. UILabel *lblUpdateTime=[[UILabel alloc]init];
  570. lblUpdateTime.frame=CGRectMake(CGRectGetMaxX(lblTitleUpdateTime.frame),CGRectGetMaxY(lblTitleUpdateUser.frame)+ypadding,250, 25);
  571. lblUpdateTime.font=orderTextFont;
  572. lblUpdateTime.text=_auditListModel.updateTime;
  573. [_contentView addSubview:lblUpdateTime];
  574. UILabel *lblTitleRemarks=[[UILabel alloc]init];
  575. lblTitleRemarks.frame=CGRectMake(xpadding,CGRectGetMaxY(lblTitleUpdateTime.frame)+ypadding,80,25);
  576. lblTitleRemarks.text = @"备注:";
  577. lblTitleRemarks.font=orderTextFont;
  578. [_contentView addSubview:lblTitleRemarks];
  579. UILabel *lblRemarks=[[UILabel alloc]init];
  580. lblRemarks.frame=CGRectMake(CGRectGetMaxX(lblTitleRemarks.frame),CGRectGetMaxY(lblTitleUpdateTime.frame)+ypadding,250, 25);
  581. lblRemarks.font=orderTextFont;
  582. lblRemarks.text=_auditListModel.remarks;
  583. [_contentView addSubview:lblRemarks];
  584. UILabel *lblTitleSubStaff=[[UILabel alloc]init];
  585. lblTitleSubStaff.frame=CGRectMake(xpadding,CGRectGetMaxY(lblTitleRemarks.frame)+ypadding,80,25);
  586. lblTitleSubStaff.text = @"从业务员:";
  587. lblTitleSubStaff.font=orderTextFont;
  588. [_contentView addSubview:lblTitleSubStaff];
  589. UILabel *lblSubStaff=[[UILabel alloc]init];
  590. lblSubStaff.frame=CGRectMake(CGRectGetMaxX(lblTitleSubStaff.frame),CGRectGetMaxY(lblTitleRemarks.frame)+ypadding,250, 25);
  591. lblSubStaff.font=orderTextFont;
  592. lblSubStaff.text=_auditListModel.subSalesMan;
  593. [_contentView addSubview:lblSubStaff];
  594. _contentView.frame=CGRectMake(10,10, Screen_Width-20, CGRectGetMaxY( lblTitleSubStaff.frame));
  595. _contentView.layer.cornerRadius = CornerRadius;
  596. _scroll.contentSize=CGSizeMake(self.view.frame.size.width, CGRectGetMaxY(lblTitleSubStaff.frame)+rectStatusHeight+rectNavHeight+100);
  597. }
  598. @end