SalesOutStorageDetailVC.m 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389
  1. //
  2. // SalesOutStorageDetailVC.m
  3. // IBOSSmini
  4. //
  5. // Created by guan hong hou on 2018/4/12.
  6. // Copyright © 2018年 elongtian. All rights reserved.
  7. //
  8. #import "SalesOutStorageDetailVC.h"
  9. @interface SalesOutStorageDetailVC (){
  10. UIScrollView *_scrollView;
  11. }
  12. @end
  13. @implementation SalesOutStorageDetailVC
  14. #pragma mark 公共函数
  15. /**
  16. 视图加载完成函数
  17. */
  18. - (void)viewDidLoad {
  19. [super viewDidLoad];
  20. [self loadNavStyle];
  21. [self initUI];
  22. }
  23. /**
  24. 修改:2017-9-25
  25. 适配机型
  26. 安全区视图发生变化
  27. */
  28. -(void)viewSafeAreaInsetsDidChange{
  29. self.view.backgroundColor = [UIColor whiteColor];
  30. _scrollView.frame = CGRectMake(0, 0,Screen_Width, self.view.safeAreaLayoutGuide.layoutFrame.size.height);
  31. [super viewSafeAreaInsetsDidChange];
  32. }
  33. - (void)didReceiveMemoryWarning {
  34. [super didReceiveMemoryWarning];
  35. }
  36. #pragma mark 私有函数
  37. /**
  38. 导航按钮样式
  39. */
  40. -(void)loadNavStyle
  41. {
  42. self.navigationItem.title=@"销售出库信息";
  43. //返回
  44. UIButton *button = [UIButton buttonWithType:UIButtonTypeCustom];
  45. [button setBackgroundImage:[UIImage imageNamed:@"icon_back"]
  46. forState:UIControlStateNormal];
  47. [button addTarget:self action:@selector(goBack)
  48. forControlEvents:UIControlEventTouchUpInside];
  49. button.frame = CGRectMake(0, 0, 15, 18);
  50. UIBarButtonItem *menuButton = [[UIBarButtonItem alloc] initWithCustomView:button];
  51. self.navigationItem.leftBarButtonItem = menuButton;
  52. }
  53. /**
  54. 初始化UI
  55. */
  56. -(void)initUI{
  57. [self.view setBackgroundColor:[UIColor whiteColor]];
  58. CGFloat heightRow = 40;
  59. CGFloat lblx = 10;
  60. CGFloat lbly = 8;
  61. CGFloat lblwidth = 80;
  62. CGFloat lblheight = 25;
  63. CGFloat heightLine = 1;
  64. CGFloat valuey = 8;
  65. CGFloat valueheight = 25;
  66. _scrollView=[UIScrollView new];
  67. _scrollView.frame=self.view.bounds;
  68. [self.view addSubview:_scrollView];
  69. UIView *vBody = [UIView new];
  70. [_scrollView addSubview:vBody];
  71. UIView *topSeparatorView= [UIView new];
  72. topSeparatorView.frame = CGRectMake(0, 0, Screen_Width, 10);
  73. topSeparatorView.backgroundColor=LineBackgroundColor;
  74. [vBody addSubview:topSeparatorView];
  75. UIView *vOutStorageNo = [UIView new];
  76. vOutStorageNo.frame=CGRectMake(0,CGRectGetMaxY(topSeparatorView.frame), Screen_Width, heightRow);
  77. [vBody addSubview:vOutStorageNo];
  78. NSDictionary *outStorageDict = @{NSFontAttributeName: [UIFont systemFontOfSize: LabelAndTextFontOfSize]};
  79. NSString *outStorageNoTitle=@"出库单号:";
  80. CGRect outStorageNoTitleFrame = [outStorageNoTitle textRectWithSize:CGSizeMake(MAXFLOAT, MAXFLOAT) attributes:outStorageDict];
  81. outStorageNoTitleFrame.origin.x =lblx;
  82. outStorageNoTitleFrame.origin.y = 12;
  83. UILabel *lblTitleOutStorageNo=[UILabel new];
  84. lblTitleOutStorageNo.frame=outStorageNoTitleFrame;
  85. lblTitleOutStorageNo.textColor = [UIColor redColor];
  86. lblTitleOutStorageNo.font = [UIFont systemFontOfSize: LabelAndTextFontOfSize];
  87. [vOutStorageNo addSubview:lblTitleOutStorageNo];
  88. lblTitleOutStorageNo.text=outStorageNoTitle;
  89. NSString *outStorageNo= _salesOutStorageDetail.outStorageNo;
  90. CGRect outStorageNoFrame = [outStorageNo textRectWithSize:CGSizeMake(MAXFLOAT, MAXFLOAT) attributes:outStorageDict];
  91. outStorageNoFrame.origin.x =Screen_Width-outStorageNoFrame.size.width-10;
  92. outStorageNoFrame.origin.y = 12;
  93. UILabel *lblOutStorageNo = [UILabel new];
  94. lblOutStorageNo.frame=outStorageNoFrame;
  95. lblOutStorageNo.font = [UIFont systemFontOfSize: LabelAndTextFontOfSize];
  96. lblOutStorageNo.text = _salesOutStorageDetail.outStorageNo;
  97. [vOutStorageNo addSubview:lblOutStorageNo];
  98. UIView *topSeparatorView1= [UIView new];
  99. topSeparatorView1.frame = CGRectMake(0, CGRectGetMaxY(vOutStorageNo.frame), Screen_Width, heightLine);
  100. topSeparatorView1.backgroundColor=LineBackgroundColor;
  101. [vBody addSubview:topSeparatorView1];
  102. UIView *vOutStorageType = [UIView new];
  103. vOutStorageType.frame=CGRectMake(0,CGRectGetMaxY(topSeparatorView1.frame), Screen_Width, heightRow);
  104. [vBody addSubview:vOutStorageType];
  105. UILabel *lblTitleOutStorageType=[UILabel new];
  106. lblTitleOutStorageType.frame=CGRectMake(lblx, lbly, lblwidth, lblheight);
  107. lblTitleOutStorageType.text=@"出库类型:";
  108. lblTitleOutStorageType.textColor = [UIColor blackColor];
  109. lblTitleOutStorageType.font = [UIFont systemFontOfSize: LabelAndTextFontOfSize];
  110. [vOutStorageType addSubview:lblTitleOutStorageType];
  111. UILabel *lblOutStorageType = [UILabel new];
  112. lblOutStorageType.frame=CGRectMake(CGRectGetMaxX(lblTitleOutStorageType.frame), valuey, Screen_Width-CGRectGetMaxX(lblTitleOutStorageType.frame)-10, valueheight);
  113. lblOutStorageType.font = [UIFont systemFontOfSize: LabelAndTextFontOfSize];
  114. lblOutStorageType.text = _salesOutStorageDetail.outStorageTypeName;
  115. [vOutStorageType addSubview:lblOutStorageType];
  116. [vBody addSubview:vOutStorageType];
  117. UIView *vInvoiceStatus = [UIView new];
  118. vInvoiceStatus.frame=CGRectMake(0,CGRectGetMaxY(vOutStorageType.frame), Screen_Width, heightRow);
  119. [vBody addSubview:vInvoiceStatus];
  120. UILabel *lblTitleInvoiceStatus=[UILabel new];
  121. lblTitleInvoiceStatus.frame=CGRectMake(lblx, lbly, lblwidth, lblheight);
  122. lblTitleInvoiceStatus.text=@"单据状态:";
  123. lblTitleInvoiceStatus.textColor = [UIColor blackColor];
  124. lblTitleInvoiceStatus.font = [UIFont systemFontOfSize: LabelAndTextFontOfSize];
  125. [vInvoiceStatus addSubview:lblTitleInvoiceStatus];
  126. UILabel *lblInvoiceStatus = [UILabel new];
  127. lblInvoiceStatus.frame=CGRectMake(CGRectGetMaxX(lblTitleInvoiceStatus.frame), valuey, Screen_Width-CGRectGetMaxX(lblTitleInvoiceStatus.frame)-10, valueheight);
  128. lblInvoiceStatus.font = [UIFont systemFontOfSize: LabelAndTextFontOfSize];
  129. lblInvoiceStatus.text = _salesOutStorageDetail.invoiceStatusName;
  130. [vInvoiceStatus addSubview:lblInvoiceStatus];
  131. [vBody addSubview:vInvoiceStatus];
  132. UIView *vAccountDate = [UIView new];
  133. vAccountDate.frame=CGRectMake(0,CGRectGetMaxY(vInvoiceStatus.frame), Screen_Width, heightRow);
  134. [vBody addSubview:vAccountDate];
  135. UILabel *lblTitleAccountDate=[UILabel new];
  136. lblTitleAccountDate.frame=CGRectMake(lblx, lbly, lblwidth, lblheight);
  137. lblTitleAccountDate.text=@"账务日期:";
  138. lblTitleAccountDate.textColor = [UIColor blackColor];
  139. lblTitleAccountDate.font = [UIFont systemFontOfSize: LabelAndTextFontOfSize];
  140. [vAccountDate addSubview:lblTitleAccountDate];
  141. UILabel *lblAccountDate = [UILabel new];
  142. lblAccountDate.frame=CGRectMake(CGRectGetMaxX(lblTitleAccountDate.frame), valuey, Screen_Width-CGRectGetMaxX(lblTitleAccountDate.frame)-10, valueheight);
  143. lblAccountDate.font = [UIFont systemFontOfSize: LabelAndTextFontOfSize];
  144. lblAccountDate.text = _salesOutStorageDetail.accountDate;
  145. [vAccountDate addSubview:lblAccountDate];
  146. [vBody addSubview:vAccountDate];
  147. UIView *vBusinessDepartment = [UIView new];
  148. vBusinessDepartment.frame=CGRectMake(0,CGRectGetMaxY(vAccountDate.frame), Screen_Width, heightRow);
  149. [vBody addSubview:vBusinessDepartment];
  150. UILabel *lblTitleBusinessDepartment=[UILabel new];
  151. lblTitleBusinessDepartment.frame=CGRectMake(lblx, lbly, lblwidth, lblheight);
  152. lblTitleBusinessDepartment.text=@"业务部门:";
  153. lblTitleBusinessDepartment.textColor = [UIColor blackColor];
  154. lblTitleBusinessDepartment.font = [UIFont systemFontOfSize: LabelAndTextFontOfSize];
  155. [vBusinessDepartment addSubview:lblTitleBusinessDepartment];
  156. UILabel *lblBusinessDepartment = [UILabel new];
  157. lblBusinessDepartment.frame=CGRectMake(CGRectGetMaxX(lblTitleBusinessDepartment.frame), valuey, Screen_Width-CGRectGetMaxX(lblTitleBusinessDepartment.frame)-10, valueheight);
  158. lblBusinessDepartment.font = [UIFont systemFontOfSize: LabelAndTextFontOfSize];
  159. lblBusinessDepartment.text = _salesOutStorageDetail.businessDepartmentName;
  160. [vBusinessDepartment addSubview:lblBusinessDepartment];
  161. UIView *vStaff = [UIView new];
  162. vStaff.frame=CGRectMake(0,CGRectGetMaxY(vBusinessDepartment.frame), Screen_Width, heightRow);
  163. [vBody addSubview:vStaff];
  164. UILabel *lblTitleStaff=[UILabel new];
  165. lblTitleStaff.frame=CGRectMake(lblx, lbly, lblwidth, lblheight);
  166. lblTitleStaff.text=@"业 务 员:";
  167. lblTitleStaff.textColor = [UIColor blackColor];
  168. lblTitleStaff.font = [UIFont systemFontOfSize: LabelAndTextFontOfSize];
  169. [vStaff addSubview:lblTitleStaff];
  170. UILabel *lblStaff = [UILabel new];
  171. lblStaff.frame=CGRectMake(CGRectGetMaxX(lblTitleStaff.frame), valuey, Screen_Width-CGRectGetMaxX(lblTitleStaff.frame)-10, valueheight);
  172. lblStaff.font = [UIFont systemFontOfSize: LabelAndTextFontOfSize];
  173. lblStaff.text = _salesOutStorageDetail.staffName;
  174. [vStaff addSubview:lblStaff];
  175. UIView *vCustomerCode= [UIView new];
  176. vCustomerCode.frame=CGRectMake(0,CGRectGetMaxY(vStaff.frame), Screen_Width, heightRow);
  177. [vBody addSubview:vCustomerCode];
  178. UILabel *lblTitleCustomerCode=[UILabel new];
  179. lblTitleCustomerCode.frame=CGRectMake(lblx, lbly, lblwidth, lblheight);
  180. lblTitleCustomerCode.text=@"客户编码:";
  181. lblTitleCustomerCode.textColor = [UIColor blackColor];
  182. lblTitleCustomerCode.font = [UIFont systemFontOfSize: LabelAndTextFontOfSize];
  183. [vCustomerCode addSubview:lblTitleCustomerCode];
  184. UILabel *lblCustomerCode = [UILabel new];
  185. lblCustomerCode.frame=CGRectMake(CGRectGetMaxX(lblTitleCustomerCode.frame), valuey, Screen_Width-CGRectGetMaxX(lblTitleCustomerCode.frame)-10, valueheight);
  186. lblCustomerCode.font = [UIFont systemFontOfSize: LabelAndTextFontOfSize];
  187. lblCustomerCode.text = _salesOutStorageDetail.customerCode;
  188. [vCustomerCode addSubview:lblCustomerCode];
  189. UIView *vCustomerName= [UIView new];
  190. vCustomerName.frame=CGRectMake(0,CGRectGetMaxY(vCustomerCode.frame), Screen_Width, heightRow);
  191. [vBody addSubview:vCustomerName];
  192. UILabel *lblTitleCustomerName=[UILabel new];
  193. lblTitleCustomerName.frame=CGRectMake(lblx, lbly, lblwidth, lblheight);
  194. lblTitleCustomerName.text=@"客户名称:";
  195. lblTitleCustomerName.textColor = [UIColor blackColor];
  196. lblTitleCustomerName.font = [UIFont systemFontOfSize: LabelAndTextFontOfSize];
  197. [vCustomerName addSubview:lblTitleCustomerName];
  198. UILabel *lblCustomerName = [UILabel new];
  199. lblCustomerName.frame=CGRectMake(CGRectGetMaxX(lblTitleCustomerName.frame), valuey, Screen_Width-CGRectGetMaxX(lblTitleCustomerName.frame)-10, valueheight);
  200. lblCustomerName.font = [UIFont systemFontOfSize: LabelAndTextFontOfSize];
  201. lblCustomerName.text = _salesOutStorageDetail.customerName;
  202. [vCustomerName addSubview:lblCustomerName];
  203. UIView *vContacts= [UIView new];
  204. vContacts.frame=CGRectMake(0,CGRectGetMaxY(vCustomerName.frame), Screen_Width, heightRow);
  205. [vBody addSubview:vContacts];
  206. UILabel *lblTitleContacts=[UILabel new];
  207. lblTitleContacts.frame=CGRectMake(lblx, lbly, lblwidth, lblheight);
  208. lblTitleContacts.text=@"联 系 人:";
  209. lblTitleContacts.textColor = [UIColor blackColor];
  210. lblTitleContacts.font = [UIFont systemFontOfSize: LabelAndTextFontOfSize];
  211. [vContacts addSubview:lblTitleContacts];
  212. UILabel *lblContacts = [UILabel new];
  213. lblContacts.frame=CGRectMake(CGRectGetMaxX(lblTitleContacts.frame), valuey, Screen_Width-CGRectGetMaxX(lblTitleContacts.frame)-10, valueheight);
  214. lblContacts.font = [UIFont systemFontOfSize: LabelAndTextFontOfSize];
  215. lblContacts.text = _salesOutStorageDetail.contacts;
  216. [vContacts addSubview:lblContacts];
  217. UIView *vTelephone= [UIView new];
  218. vTelephone.frame=CGRectMake(0,CGRectGetMaxY(vContacts.frame), Screen_Width, heightRow);
  219. [vBody addSubview:vTelephone];
  220. UILabel *lblTitleTelephone=[UILabel new];
  221. lblTitleTelephone.frame=CGRectMake(lblx, lbly, lblwidth, lblheight);
  222. lblTitleTelephone.text=@"联系电话:";
  223. lblTitleTelephone.textColor = [UIColor blackColor];
  224. lblTitleTelephone.font = [UIFont systemFontOfSize: LabelAndTextFontOfSize];
  225. [vTelephone addSubview:lblTitleTelephone];
  226. UILabel *lblTelephone = [UILabel new];
  227. lblTelephone.frame=CGRectMake(CGRectGetMaxX(lblTitleTelephone.frame), valuey, Screen_Width-CGRectGetMaxX(lblTitleTelephone.frame)-10, valueheight);
  228. lblTelephone.font = [UIFont systemFontOfSize: LabelAndTextFontOfSize];
  229. lblTelephone.text = _salesOutStorageDetail.contactTelephone;
  230. [vTelephone addSubview:lblTelephone];
  231. UIView *vCustomerAddress= [UIView new];
  232. vCustomerAddress.frame=CGRectMake(0,CGRectGetMaxY(vTelephone.frame), Screen_Width, heightRow);
  233. [vBody addSubview:vCustomerAddress];
  234. UILabel *lblTitleCustomerAddress=[UILabel new];
  235. lblTitleCustomerAddress.frame=CGRectMake(lblx, lbly, lblwidth, lblheight);
  236. lblTitleCustomerAddress.text=@"客户地址:";
  237. lblTitleCustomerAddress.textColor = [UIColor blackColor];
  238. lblTitleCustomerAddress.font = [UIFont systemFontOfSize: LabelAndTextFontOfSize];
  239. [vCustomerAddress addSubview:lblTitleCustomerAddress];
  240. UILabel *lblCustomerAddress = [UILabel new];
  241. lblCustomerAddress.frame=CGRectMake(CGRectGetMaxX(lblTitleCustomerAddress.frame), valuey, Screen_Width-CGRectGetMaxX(lblTitleCustomerAddress.frame)-10, valueheight);
  242. lblCustomerAddress.font = [UIFont systemFontOfSize: LabelAndTextFontOfSize];
  243. lblCustomerAddress.text = _salesOutStorageDetail.customerAddress;
  244. [vCustomerAddress addSubview:lblCustomerAddress];
  245. UIView *vDriver= [UIView new];
  246. vDriver.frame=CGRectMake(0,CGRectGetMaxY(vCustomerAddress.frame), Screen_Width, heightRow);
  247. [vBody addSubview:vDriver];
  248. UILabel *lblTitleDriver=[UILabel new];
  249. lblTitleDriver.frame=CGRectMake(lblx, lbly, lblwidth, lblheight);
  250. lblTitleDriver.text=@"运输司机:";
  251. lblTitleDriver.textColor = [UIColor blackColor];
  252. lblTitleDriver.font = [UIFont systemFontOfSize: LabelAndTextFontOfSize];
  253. [vDriver addSubview:lblTitleDriver];
  254. UILabel *lblDriver = [UILabel new];
  255. lblDriver.frame=CGRectMake(CGRectGetMaxX(lblTitleDriver.frame), valuey, Screen_Width-CGRectGetMaxX(lblTitleDriver.frame)-10, valueheight);
  256. lblDriver.font = [UIFont systemFontOfSize: LabelAndTextFontOfSize];
  257. lblDriver.text = _salesOutStorageDetail.driverName;
  258. [vDriver addSubview:lblDriver];
  259. UIView *vDockerName= [UIView new];
  260. vDockerName.frame=CGRectMake(0,CGRectGetMaxY(vDriver.frame), Screen_Width, heightRow);
  261. [vBody addSubview:vDockerName];
  262. UILabel *lblTitleDockerName=[UILabel new];
  263. lblTitleDockerName.frame=CGRectMake(lblx, lbly, lblwidth, lblheight);
  264. lblTitleDockerName.text=@"装卸工人:";
  265. lblTitleDockerName.textColor = [UIColor blackColor];
  266. lblTitleDockerName.font = [UIFont systemFontOfSize: LabelAndTextFontOfSize];
  267. [vDockerName addSubview:lblTitleDockerName];
  268. UILabel *lblDockerName = [UILabel new];
  269. lblDockerName.frame=CGRectMake(CGRectGetMaxX(lblTitleDockerName.frame), valuey, Screen_Width-CGRectGetMaxX(lblTitleDockerName.frame)-10, valueheight);
  270. lblDockerName.font = [UIFont systemFontOfSize: LabelAndTextFontOfSize];
  271. lblDockerName.text = _salesOutStorageDetail.dockerName;
  272. [vDockerName addSubview:lblDockerName];
  273. UIView *vCorrectNo= [UIView new];
  274. vCorrectNo.frame=CGRectMake(0,CGRectGetMaxY(vDockerName.frame), Screen_Width, heightRow);
  275. [vBody addSubview:vCorrectNo];
  276. UILabel *lblTitleCorrectNo=[UILabel new];
  277. lblTitleCorrectNo.frame=CGRectMake(lblx, lbly, lblwidth, lblheight);
  278. lblTitleCorrectNo.text=@"冲正单号:";
  279. lblTitleCorrectNo.textColor = [UIColor blackColor];
  280. lblTitleCorrectNo.font = [UIFont systemFontOfSize: LabelAndTextFontOfSize];
  281. [vCorrectNo addSubview:lblTitleCorrectNo];
  282. UILabel *lblCorrectNo = [UILabel new];
  283. lblCorrectNo.frame=CGRectMake(CGRectGetMaxX(lblTitleCorrectNo.frame), valuey, Screen_Width-CGRectGetMaxX(lblTitleCorrectNo.frame)-10, valueheight);
  284. lblCorrectNo.font = [UIFont systemFontOfSize: LabelAndTextFontOfSize];
  285. lblCorrectNo.text = _salesOutStorageDetail.reversedDeliveryNo;
  286. [vCorrectNo addSubview:lblCorrectNo];
  287. UIView *vCreater= [UIView new];
  288. vCreater.frame=CGRectMake(0,CGRectGetMaxY(vCorrectNo.frame), Screen_Width, heightRow);
  289. [vBody addSubview:vCreater];
  290. UILabel *lblTitleCreater=[UILabel new];
  291. lblTitleCreater.frame=CGRectMake(lblx, lbly, lblwidth, lblheight);
  292. lblTitleCreater.text=@"创 建 者:";
  293. lblTitleCreater.textColor = [UIColor blackColor];
  294. lblTitleCreater.font = [UIFont systemFontOfSize: LabelAndTextFontOfSize];
  295. [vCreater addSubview:lblTitleCreater];
  296. UILabel *lblCreater = [UILabel new];
  297. lblCreater.frame=CGRectMake(CGRectGetMaxX(lblTitleCreater.frame), valuey, Screen_Width-CGRectGetMaxX(lblTitleCreater.frame)-10, valueheight);
  298. lblCreater.font = [UIFont systemFontOfSize: LabelAndTextFontOfSize];
  299. lblCreater.text = _salesOutStorageDetail.creater;
  300. [vCreater addSubview:lblCreater];
  301. UIView *vRemarks= [UIView new];
  302. vRemarks.frame=CGRectMake(0,CGRectGetMaxY(vCreater.frame), Screen_Width, heightRow);
  303. [vBody addSubview:vRemarks];
  304. UILabel *lblTitleRemarks=[UILabel new];
  305. lblTitleRemarks.frame=CGRectMake(lblx, lbly, lblwidth, lblheight);
  306. lblTitleRemarks.text=@"备 注:";
  307. lblTitleRemarks.textColor = [UIColor blackColor];
  308. lblTitleRemarks.font = [UIFont systemFontOfSize: LabelAndTextFontOfSize];
  309. [vRemarks addSubview:lblTitleRemarks];
  310. UILabel *lblRemarks = [UILabel new];
  311. lblRemarks.frame=CGRectMake(CGRectGetMaxX(lblTitleRemarks.frame), valuey, Screen_Width-CGRectGetMaxX(lblTitleRemarks.frame)-10, valueheight);
  312. lblRemarks.font = [UIFont systemFontOfSize: LabelAndTextFontOfSize];
  313. lblRemarks.text = _salesOutStorageDetail.remarks;
  314. [vRemarks addSubview:lblRemarks];
  315. vBody.frame=CGRectMake(0,0, Screen_Width,CGRectGetMaxY(vRemarks.frame));
  316. _scrollView.contentSize = CGSizeMake(self.view.frame.size.width, CGRectGetMaxY(vBody.frame)+rectStatusHeight+rectNavHeight);
  317. }
  318. @end