SalesOutStorageListDetailCell.m 37 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718
  1. //
  2. // SalesOutStorageListDetailCellTableViewCell.m
  3. // IBOSSmini
  4. //
  5. // Created by guan hong hou on 2018/4/11.
  6. // Copyright © 2018年 elongtian. All rights reserved.
  7. //
  8. #import "SalesOutStorageListDetailCell.h"
  9. @implementation SalesOutStorageListDetailCell
  10. #pragma mark 公共函数
  11. /**
  12. 加载 cell
  13. @param style <#style description#>
  14. @param reuseIdentifier <#reuseIdentifier description#>
  15. @return <#return value description#>
  16. */
  17. - (id)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier {
  18. self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
  19. return self;
  20. }
  21. #pragma mark 私有函数
  22. /**
  23. 初始化cell UI和数据
  24. @param salesOutStorageListDetailModel <#salesOutStorageListDetailModel description#>
  25. */
  26. - (void)setSalesOutStorageListDetailModel:(SalesOutStorageListDetailModel *)salesOutStorageListDetailModel{
  27. _outStorageListDetailModel=salesOutStorageListDetailModel;
  28. if(_outStorageListDetailModel==nil){
  29. return;
  30. }
  31. CGFloat heightLine = 1;
  32. CGFloat heightRow = 40;
  33. CGFloat lblx = 20;
  34. CGFloat lbly = 8;
  35. CGFloat lblwidth = 70;
  36. CGFloat lblheight = 25;
  37. CGFloat valuey = 8;
  38. CGFloat valueheight = 25;
  39. UIView *vOutStorageNo = [UIView new];
  40. vOutStorageNo.frame=CGRectMake(0, valuey, Screen_Width, heightRow);
  41. [self.contentView addSubview:vOutStorageNo];
  42. UILabel *outStorageNoTitleLbl=[UILabel new];
  43. outStorageNoTitleLbl.frame=CGRectMake(lblx, lbly, lblwidth, lblheight);
  44. outStorageNoTitleLbl.text=@"出库单号:";
  45. outStorageNoTitleLbl.textColor = [UIColor blackColor];
  46. outStorageNoTitleLbl.font = [UIFont systemFontOfSize: LabelAndTextFontOfSize];
  47. [vOutStorageNo addSubview:outStorageNoTitleLbl];
  48. _outStorageNoLbl = [UILabel new];
  49. _outStorageNoLbl.frame=CGRectMake(CGRectGetMaxX(outStorageNoTitleLbl.frame), valuey, Screen_Width -CGRectGetMaxX(outStorageNoTitleLbl.frame)-10, valueheight);
  50. _outStorageNoLbl.font = [UIFont systemFontOfSize: LabelAndTextFontOfSize];
  51. [vOutStorageNo addSubview:_outStorageNoLbl];
  52. _outStorageNoLbl.text = _outStorageListDetailModel.outStorageNo;
  53. _topSeparator=[UIView new];
  54. _topSeparator.frame = CGRectMake(0, CGRectGetMaxY(vOutStorageNo.frame), Screen_Width, heightLine);
  55. [self.contentView addSubview:_topSeparator];
  56. UIButton *btnLine = [UIButton buttonWithType:UIButtonTypeCustom];
  57. [btnLine setBackgroundImage:[UIImage imageNamed:@"dash"] forState:UIControlStateNormal];
  58. btnLine.frame = CGRectMake(0 ,0 , Screen_Width, heightLine);
  59. [_topSeparator addSubview:btnLine];
  60. _vSalesNo = [UIView new];
  61. _vSalesNo.frame=CGRectMake(0,CGRectGetMaxY(_topSeparator.frame), Screen_Width, heightRow);
  62. [self.contentView addSubview:_vSalesNo];
  63. UILabel *salesNoTitleLbl= [UILabel new];
  64. salesNoTitleLbl.frame=CGRectMake(lblx, valuey,lblwidth, lblheight);
  65. salesNoTitleLbl.textColor = [UIColor blackColor];
  66. salesNoTitleLbl.font = [UIFont systemFontOfSize: LabelAndTextFontOfSize];
  67. salesNoTitleLbl.text=@"销售单号:";
  68. [_vSalesNo addSubview:salesNoTitleLbl];
  69. _salesNoLbl=[UILabel new];
  70. _salesNoLbl.frame=CGRectMake(CGRectGetMaxX(salesNoTitleLbl.frame), valuey,Screen_Width-CGRectGetMaxX(salesNoTitleLbl.frame)-10, valueheight);
  71. _salesNoLbl.textColor = [UIColor blackColor];
  72. _salesNoLbl.font = [UIFont systemFontOfSize: LabelAndTextFontOfSize];
  73. [_vSalesNo addSubview:_salesNoLbl];
  74. _salesNoLbl.text=_outStorageListDetailModel.salesNo;
  75. _topSeparator1= [UIView new];
  76. _topSeparator1.frame=CGRectMake(0, CGRectGetMaxY(_vSalesNo.frame), Screen_Width, 1);
  77. _topSeparator1.backgroundColor = LineBackgroundColor;
  78. [self.contentView addSubview:_topSeparator1];
  79. UIView *vDepartment = [UIView new];
  80. vDepartment.frame=CGRectMake(0,CGRectGetMaxY(_topSeparator1.frame), Screen_Width, heightRow);
  81. [self.contentView addSubview:vDepartment];
  82. UILabel *departmentTitleLbl= [UILabel new];
  83. departmentTitleLbl.frame=CGRectMake(lblx, valuey,lblwidth, lblheight);
  84. departmentTitleLbl.textColor = [UIColor blackColor];
  85. departmentTitleLbl.font = [UIFont systemFontOfSize: LabelAndTextFontOfSize];
  86. departmentTitleLbl.text=@"业务部门:";
  87. [vDepartment addSubview:departmentTitleLbl];
  88. _businessDepartmentLbl=[UILabel new];
  89. _businessDepartmentLbl.frame=CGRectMake(CGRectGetMaxX(departmentTitleLbl.frame), valuey,Screen_Width-CGRectGetMaxX(departmentTitleLbl.frame)-10, valueheight);
  90. _businessDepartmentLbl.textColor = [UIColor blackColor];
  91. _businessDepartmentLbl.font = [UIFont systemFontOfSize: LabelAndTextFontOfSize];
  92. [vDepartment addSubview:_businessDepartmentLbl];
  93. _businessDepartmentLbl.text=_outStorageListDetailModel.organizationName;
  94. UIView *vStaff = [UIView new];
  95. vStaff.frame=CGRectMake(0,CGRectGetMaxY(vDepartment.frame), Screen_Width, heightRow);
  96. [self.contentView addSubview:vStaff];
  97. UILabel *staffTitleLbl= [UILabel new];
  98. staffTitleLbl.frame=CGRectMake(lblx, valuey,lblwidth, lblheight);
  99. staffTitleLbl.textColor = [UIColor blackColor];
  100. staffTitleLbl.font = [UIFont systemFontOfSize: LabelAndTextFontOfSize];
  101. staffTitleLbl.text=@"业 务 员:";
  102. [vStaff addSubview:staffTitleLbl];
  103. _staffLbl=[UILabel new];
  104. _staffLbl.frame=CGRectMake(CGRectGetMaxX(staffTitleLbl.frame), valuey,Screen_Width-CGRectGetMaxX(staffTitleLbl.frame)-10, valueheight);
  105. _staffLbl.textColor = [UIColor blackColor];
  106. _staffLbl.font = [UIFont systemFontOfSize: LabelAndTextFontOfSize];
  107. [vStaff addSubview:_staffLbl];
  108. _staffLbl.text=_outStorageListDetailModel.staffName;
  109. UIView *vSecondaryDepartment = [UIView new];
  110. vSecondaryDepartment.frame=CGRectMake(0,CGRectGetMaxY(vStaff.frame), Screen_Width, heightRow);
  111. [self.contentView addSubview:vSecondaryDepartment];
  112. UILabel *secondaryDepartmentTitleLbl= [UILabel new];
  113. secondaryDepartmentTitleLbl.frame=CGRectMake(lblx, valuey,lblwidth+20, lblheight);
  114. secondaryDepartmentTitleLbl.textColor = [UIColor blackColor];
  115. secondaryDepartmentTitleLbl.font = [UIFont systemFontOfSize: LabelAndTextFontOfSize];
  116. secondaryDepartmentTitleLbl.text=@"从业务部门:";
  117. [vSecondaryDepartment addSubview:secondaryDepartmentTitleLbl];
  118. _secondaryBusinessDepartmentLbl=[UILabel new];
  119. _secondaryBusinessDepartmentLbl.frame=CGRectMake(CGRectGetMaxX(secondaryDepartmentTitleLbl.frame), valuey,Screen_Width-CGRectGetMaxX(secondaryDepartmentTitleLbl.frame)-10, valueheight);
  120. _secondaryBusinessDepartmentLbl.textColor = [UIColor blackColor];
  121. _secondaryBusinessDepartmentLbl.font = [UIFont systemFontOfSize: LabelAndTextFontOfSize];
  122. [vSecondaryDepartment addSubview:_secondaryBusinessDepartmentLbl];
  123. _secondaryBusinessDepartmentLbl.text=_outStorageListDetailModel.secondaryBusinessDepartment;
  124. UIView *vSecondaryStaff = [UIView new];
  125. vSecondaryStaff.frame=CGRectMake(0,CGRectGetMaxY(vSecondaryDepartment.frame), Screen_Width, heightRow);
  126. [self.contentView addSubview:vSecondaryStaff];
  127. UILabel *secondaryStaffTitleLbl= [UILabel new];
  128. secondaryStaffTitleLbl.frame=CGRectMake(lblx, valuey,lblwidth, lblheight);
  129. secondaryStaffTitleLbl.textColor = [UIColor blackColor];
  130. secondaryStaffTitleLbl.font = [UIFont systemFontOfSize: LabelAndTextFontOfSize];
  131. secondaryStaffTitleLbl.text=@"从业务员:";
  132. [vSecondaryStaff addSubview:secondaryStaffTitleLbl];
  133. _secondaryStaffLbl=[UILabel new];
  134. _secondaryStaffLbl.frame=CGRectMake(CGRectGetMaxX(secondaryStaffTitleLbl.frame), valuey,Screen_Width-CGRectGetMaxX(secondaryStaffTitleLbl.frame)-10, valueheight);
  135. _secondaryStaffLbl.textColor = [UIColor blackColor];
  136. _secondaryStaffLbl.font = [UIFont systemFontOfSize: LabelAndTextFontOfSize];
  137. [vSecondaryStaff addSubview:_secondaryStaffLbl];
  138. _secondaryStaffLbl.text=_outStorageListDetailModel.secondaryStaff;
  139. UIView *vOnlyCode = [UIView new];
  140. vOnlyCode.frame=CGRectMake(0,CGRectGetMaxY(vSecondaryStaff.frame), Screen_Width, heightRow);
  141. [self.contentView addSubview:vOnlyCode];
  142. UILabel *onlyCodeTitleLbl= [UILabel new];
  143. onlyCodeTitleLbl.frame=CGRectMake(lblx, valuey,lblwidth, lblheight);
  144. onlyCodeTitleLbl.textColor = [UIColor blackColor];
  145. onlyCodeTitleLbl.font = [UIFont systemFontOfSize: LabelAndTextFontOfSize];
  146. onlyCodeTitleLbl.text=@"唯一编码:";
  147. [vOnlyCode addSubview:onlyCodeTitleLbl];
  148. _onlyCodeLbl=[UILabel new];
  149. _onlyCodeLbl.frame=CGRectMake(CGRectGetMaxX(onlyCodeTitleLbl.frame), valuey,Screen_Width-CGRectGetMaxX(onlyCodeTitleLbl.frame)-10, valueheight);
  150. _onlyCodeLbl.textColor = [UIColor blackColor];
  151. _onlyCodeLbl.font = [UIFont systemFontOfSize: LabelAndTextFontOfSize];
  152. [vOnlyCode addSubview:_onlyCodeLbl];
  153. _onlyCodeLbl.text=_outStorageListDetailModel.onlyCode;
  154. UIView *vGoodsCode = [UIView new];
  155. vGoodsCode.frame=CGRectMake(0,CGRectGetMaxY(vOnlyCode.frame), Screen_Width, heightRow);
  156. [self.contentView addSubview:vGoodsCode];
  157. UILabel *goodsCodeTitleLbl= [UILabel new];
  158. goodsCodeTitleLbl.frame=CGRectMake(lblx, valuey,lblwidth, lblheight);
  159. goodsCodeTitleLbl.textColor = [UIColor blackColor];
  160. goodsCodeTitleLbl.font = [UIFont systemFontOfSize: LabelAndTextFontOfSize];
  161. goodsCodeTitleLbl.text=@"产品编码:";
  162. [vGoodsCode addSubview:goodsCodeTitleLbl];
  163. _goodsCodeLbl=[UILabel new];
  164. _goodsCodeLbl.frame=CGRectMake(CGRectGetMaxX(goodsCodeTitleLbl.frame), valuey,Screen_Width-CGRectGetMaxX(goodsCodeTitleLbl.frame)-10, valueheight);
  165. _goodsCodeLbl.textColor = [UIColor blackColor];
  166. _goodsCodeLbl.font = [UIFont systemFontOfSize: LabelAndTextFontOfSize];
  167. [vGoodsCode addSubview:_goodsCodeLbl];
  168. _goodsCodeLbl.text=_outStorageListDetailModel.code;
  169. UIView *vBrand = [UIView new];
  170. vBrand.frame=CGRectMake(0,CGRectGetMaxY(vGoodsCode.frame), Screen_Width, heightRow);
  171. [self.contentView addSubview:vBrand];
  172. UILabel *brandTitleLbl= [UILabel new];
  173. brandTitleLbl.frame=CGRectMake(lblx, valuey,lblwidth, lblheight);
  174. brandTitleLbl.textColor = [UIColor blackColor];
  175. brandTitleLbl.font = [UIFont systemFontOfSize: LabelAndTextFontOfSize];
  176. brandTitleLbl.text=@"商品品牌:";
  177. [vBrand addSubview:brandTitleLbl];
  178. _brandNameLbl=[UILabel new];
  179. _brandNameLbl.frame=CGRectMake(CGRectGetMaxX(brandTitleLbl.frame), valuey,Screen_Width-CGRectGetMaxX(brandTitleLbl.frame)-10, valueheight);
  180. _brandNameLbl.textColor = [UIColor blackColor];
  181. _brandNameLbl.font = [UIFont systemFontOfSize: LabelAndTextFontOfSize];
  182. [vBrand addSubview:_brandNameLbl];
  183. _brandNameLbl.text=_outStorageListDetailModel.brandName;
  184. UIView *vKind = [UIView new];
  185. vKind.frame=CGRectMake(0,CGRectGetMaxY(vBrand.frame), Screen_Width, heightRow);
  186. [self.contentView addSubview:vKind];
  187. UILabel *kindTitleLbl= [UILabel new];
  188. kindTitleLbl.frame=CGRectMake(lblx, valuey,lblwidth, lblheight);
  189. kindTitleLbl.textColor = [UIColor blackColor];
  190. kindTitleLbl.font = [UIFont systemFontOfSize: LabelAndTextFontOfSize];
  191. kindTitleLbl.text=@"商品种类:";
  192. [vKind addSubview:kindTitleLbl];
  193. _kindNameLbl=[UILabel new];
  194. _kindNameLbl.frame=CGRectMake(CGRectGetMaxX(kindTitleLbl.frame), valuey,Screen_Width-CGRectGetMaxX(kindTitleLbl.frame)-10, valueheight);
  195. _kindNameLbl.textColor = [UIColor blackColor];
  196. _kindNameLbl.font = [UIFont systemFontOfSize: LabelAndTextFontOfSize];
  197. [vKind addSubview:_kindNameLbl];
  198. _kindNameLbl.text=_outStorageListDetailModel.kindName;
  199. UIView *vVariety = [UIView new];
  200. vVariety.frame=CGRectMake(0,CGRectGetMaxY(vKind.frame), Screen_Width, heightRow);
  201. [self.contentView addSubview:vVariety];
  202. UILabel *varietyTitleLbl= [UILabel new];
  203. varietyTitleLbl.frame=CGRectMake(lblx, valuey,lblwidth, lblheight);
  204. varietyTitleLbl.textColor = [UIColor blackColor];
  205. varietyTitleLbl.font = [UIFont systemFontOfSize: LabelAndTextFontOfSize];
  206. varietyTitleLbl.text=@"商品品种:";
  207. [vVariety addSubview:varietyTitleLbl];
  208. _varietyNameLbl=[UILabel new];
  209. _varietyNameLbl.frame=CGRectMake(CGRectGetMaxX(varietyTitleLbl.frame), valuey,Screen_Width-CGRectGetMaxX(varietyTitleLbl.frame)-10, valueheight);
  210. _varietyNameLbl.textColor = [UIColor blackColor];
  211. _varietyNameLbl.font = [UIFont systemFontOfSize: LabelAndTextFontOfSize];
  212. [vVariety addSubview:_varietyNameLbl];
  213. _varietyNameLbl.text=_outStorageListDetailModel.varietyName;
  214. UIView *vSeries = [UIView new];
  215. vSeries.frame=CGRectMake(0,CGRectGetMaxY(vVariety.frame), Screen_Width, heightRow);
  216. [self.contentView addSubview:vSeries];
  217. UILabel *seriesTitleLbl= [UILabel new];
  218. seriesTitleLbl.frame=CGRectMake(lblx, valuey,lblwidth, lblheight);
  219. seriesTitleLbl.textColor = [UIColor blackColor];
  220. seriesTitleLbl.font = [UIFont systemFontOfSize: LabelAndTextFontOfSize];
  221. seriesTitleLbl.text=@"商品系列:";
  222. [vSeries addSubview:seriesTitleLbl];
  223. _goodsSeriesLbl=[UILabel new];
  224. _goodsSeriesLbl.frame=CGRectMake(CGRectGetMaxX(seriesTitleLbl.frame), valuey,Screen_Width-CGRectGetMaxX(seriesTitleLbl.frame)-10, valueheight);
  225. _goodsSeriesLbl.textColor = [UIColor blackColor];
  226. _goodsSeriesLbl.font = [UIFont systemFontOfSize: LabelAndTextFontOfSize];
  227. [vSeries addSubview:_goodsSeriesLbl];
  228. _goodsSeriesLbl.text=_outStorageListDetailModel.seriesName;
  229. UIView *vSpecification = [UIView new];
  230. vSpecification.frame=CGRectMake(0,CGRectGetMaxY(vSeries.frame), Screen_Width, heightRow);
  231. [self.contentView addSubview:vSpecification];
  232. UILabel *specificationTitleLbl= [UILabel new];
  233. specificationTitleLbl.frame=CGRectMake(lblx, valuey,lblwidth, lblheight);
  234. specificationTitleLbl.textColor = [UIColor blackColor];
  235. specificationTitleLbl.font = [UIFont systemFontOfSize: LabelAndTextFontOfSize];
  236. specificationTitleLbl.text=@"商品规格:";
  237. [vSpecification addSubview:specificationTitleLbl];
  238. _goodsSpecificationLbl=[UILabel new];
  239. _goodsSpecificationLbl.frame=CGRectMake(CGRectGetMaxX(specificationTitleLbl.frame), valuey,Screen_Width-CGRectGetMaxX(specificationTitleLbl.frame)-10, valueheight);
  240. _goodsSpecificationLbl.textColor = [UIColor blackColor];
  241. _goodsSpecificationLbl.font = [UIFont systemFontOfSize: LabelAndTextFontOfSize];
  242. [vSpecification addSubview:_goodsSpecificationLbl];
  243. _goodsSpecificationLbl.text=_outStorageListDetailModel.specification;
  244. UIView *vGoodsLevel = [UIView new];
  245. vGoodsLevel.frame=CGRectMake(0,CGRectGetMaxY(vSpecification.frame), Screen_Width, heightRow);
  246. [self.contentView addSubview:vGoodsLevel];
  247. UILabel *goodsLevelTitleLbl= [UILabel new];
  248. goodsLevelTitleLbl.frame=CGRectMake(lblx, valuey,lblwidth, lblheight);
  249. goodsLevelTitleLbl.textColor = [UIColor blackColor];
  250. goodsLevelTitleLbl.font = [UIFont systemFontOfSize: LabelAndTextFontOfSize];
  251. goodsLevelTitleLbl.text=@"商品等级:";
  252. [vGoodsLevel addSubview:goodsLevelTitleLbl];
  253. _goodsLevelLbl=[UILabel new];
  254. _goodsLevelLbl.frame=CGRectMake(CGRectGetMaxX(goodsLevelTitleLbl.frame), valuey,Screen_Width-CGRectGetMaxX(goodsLevelTitleLbl.frame)-10, valueheight);
  255. _goodsLevelLbl.textColor = [UIColor blackColor];
  256. _goodsLevelLbl.font = [UIFont systemFontOfSize: LabelAndTextFontOfSize];
  257. [vGoodsLevel addSubview:_goodsLevelLbl];
  258. _goodsLevelLbl.text=_outStorageListDetailModel.gradeName;
  259. UIView *vColorNumber = [UIView new];
  260. vColorNumber.frame=CGRectMake(0,CGRectGetMaxY(vGoodsLevel.frame), Screen_Width, heightRow);
  261. [self.contentView addSubview:vColorNumber];
  262. UILabel *colorNumberTitleLbl= [UILabel new];
  263. colorNumberTitleLbl.frame=CGRectMake(lblx, valuey,lblwidth, lblheight);
  264. colorNumberTitleLbl.textColor = [UIColor blackColor];
  265. colorNumberTitleLbl.font = [UIFont systemFontOfSize: LabelAndTextFontOfSize];
  266. colorNumberTitleLbl.text=@"色 号:";
  267. [vColorNumber addSubview:colorNumberTitleLbl];
  268. _colorNumberLbl=[UILabel new];
  269. _colorNumberLbl.frame=CGRectMake(CGRectGetMaxX(colorNumberTitleLbl.frame), valuey,Screen_Width-CGRectGetMaxX(colorNumberTitleLbl.frame)-10, valueheight);
  270. _colorNumberLbl.textColor = [UIColor blackColor];
  271. _colorNumberLbl.font = [UIFont systemFontOfSize: LabelAndTextFontOfSize];
  272. [vColorNumber addSubview:_colorNumberLbl];
  273. _colorNumberLbl.text=_outStorageListDetailModel.colorNumber;
  274. UIView *vWarehouseArea = [UIView new];
  275. vWarehouseArea.frame=CGRectMake(0,CGRectGetMaxY(vColorNumber.frame), Screen_Width, heightRow);
  276. [self.contentView addSubview:vWarehouseArea];
  277. UILabel *warehouseAreaTitleLbl= [UILabel new];
  278. warehouseAreaTitleLbl.frame=CGRectMake(lblx, valuey,lblwidth, lblheight);
  279. warehouseAreaTitleLbl.textColor = [UIColor blackColor];
  280. warehouseAreaTitleLbl.font = [UIFont systemFontOfSize: LabelAndTextFontOfSize];
  281. warehouseAreaTitleLbl.text=@"库区名称:";
  282. [vWarehouseArea addSubview:warehouseAreaTitleLbl];
  283. _warehouseAreaNameLbl=[UILabel new];
  284. _warehouseAreaNameLbl.frame=CGRectMake(CGRectGetMaxX(warehouseAreaTitleLbl.frame), valuey,Screen_Width-CGRectGetMaxX(warehouseAreaTitleLbl.frame)-10, valueheight);
  285. _warehouseAreaNameLbl.textColor = [UIColor blackColor];
  286. _warehouseAreaNameLbl.font = [UIFont systemFontOfSize: LabelAndTextFontOfSize];
  287. [vWarehouseArea addSubview:_warehouseAreaNameLbl];
  288. _warehouseAreaNameLbl.text=_outStorageListDetailModel.warehouseName;
  289. UIView *vPositionNumber = [UIView new];
  290. vPositionNumber.frame=CGRectMake(0,CGRectGetMaxY(vWarehouseArea.frame), Screen_Width, heightRow);
  291. [self.contentView addSubview:vPositionNumber];
  292. UILabel *positionNumberTitleLbl= [UILabel new];
  293. positionNumberTitleLbl.frame=CGRectMake(lblx, valuey,lblwidth, lblheight);
  294. positionNumberTitleLbl.textColor = [UIColor blackColor];
  295. positionNumberTitleLbl.font = [UIFont systemFontOfSize: LabelAndTextFontOfSize];
  296. positionNumberTitleLbl.text=@"仓 位 号:";
  297. [vPositionNumber addSubview:positionNumberTitleLbl];
  298. _positionNumberLbl=[UILabel new];
  299. _positionNumberLbl.frame=CGRectMake(CGRectGetMaxX(positionNumberTitleLbl.frame), valuey,Screen_Width-CGRectGetMaxX(positionNumberTitleLbl.frame)-10, valueheight);
  300. _positionNumberLbl.textColor = [UIColor blackColor];
  301. _positionNumberLbl.font = [UIFont systemFontOfSize: LabelAndTextFontOfSize];
  302. [vPositionNumber addSubview:_positionNumberLbl];
  303. _positionNumberLbl.text=_outStorageListDetailModel.positionNumber;
  304. UIView *vOutStorageQuantity = [UIView new];
  305. vOutStorageQuantity.frame=CGRectMake(0,CGRectGetMaxY(vPositionNumber.frame), Screen_Width, heightRow);
  306. [self.contentView addSubview:vOutStorageQuantity];
  307. UILabel *outStorageQuantityTitleLbl= [UILabel new];
  308. outStorageQuantityTitleLbl.frame=CGRectMake(lblx, valuey,lblwidth, lblheight);
  309. outStorageQuantityTitleLbl.textColor = [UIColor blackColor];
  310. outStorageQuantityTitleLbl.font = [UIFont systemFontOfSize: LabelAndTextFontOfSize];
  311. outStorageQuantityTitleLbl.text=@"出库数量:";
  312. [vOutStorageQuantity addSubview:outStorageQuantityTitleLbl];
  313. _outStorageQuantityLbl=[UILabel new];
  314. _outStorageQuantityLbl.frame=CGRectMake(CGRectGetMaxX(outStorageQuantityTitleLbl.frame), valuey,Screen_Width-CGRectGetMaxX(outStorageQuantityTitleLbl.frame)-10, valueheight);
  315. _outStorageQuantityLbl.textColor = [UIColor blackColor];
  316. _outStorageQuantityLbl.font = [UIFont systemFontOfSize: LabelAndTextFontOfSize];
  317. [vOutStorageQuantity addSubview:_outStorageQuantityLbl];
  318. _outStorageQuantityLbl.text=_outStorageListDetailModel.deliveryQuantity;
  319. UIView *vBox = [UIView new];
  320. vBox.frame=CGRectMake(0,CGRectGetMaxY(vOutStorageQuantity.frame), Screen_Width, heightRow);
  321. [self.contentView addSubview:vBox];
  322. UILabel *boxTitleLbl= [UILabel new];
  323. boxTitleLbl.frame=CGRectMake(lblx, valuey,lblwidth, lblheight);
  324. boxTitleLbl.textColor = [UIColor blackColor];
  325. boxTitleLbl.font = [UIFont systemFontOfSize: LabelAndTextFontOfSize];
  326. boxTitleLbl.text=@"箱:";
  327. [vBox addSubview:boxTitleLbl];
  328. _boxLbl=[UILabel new];
  329. _boxLbl.frame=CGRectMake(CGRectGetMaxX(boxTitleLbl.frame), valuey,Screen_Width-CGRectGetMaxX(boxTitleLbl.frame)-10, valueheight);
  330. _boxLbl.textColor = [UIColor blackColor];
  331. _boxLbl.font = [UIFont systemFontOfSize: LabelAndTextFontOfSize];
  332. [vBox addSubview:_boxLbl];
  333. _boxLbl.text=_outStorageListDetailModel.box;
  334. UIView *vPiece = [UIView new];
  335. vPiece.frame=CGRectMake(0,CGRectGetMaxY(vBox.frame), Screen_Width, heightRow);
  336. [self.contentView addSubview:vPiece];
  337. UILabel *pieceTitleLbl= [UILabel new];
  338. pieceTitleLbl.frame=CGRectMake(lblx, valuey,lblwidth, lblheight);
  339. pieceTitleLbl.textColor = [UIColor blackColor];
  340. pieceTitleLbl.font = [UIFont systemFontOfSize: LabelAndTextFontOfSize];
  341. pieceTitleLbl.text=@"片/个:";
  342. [vPiece addSubview:pieceTitleLbl];
  343. _pieceLbl=[UILabel new];
  344. _pieceLbl.frame=CGRectMake(CGRectGetMaxX(pieceTitleLbl.frame), valuey,Screen_Width-CGRectGetMaxX(pieceTitleLbl.frame)-10, valueheight);
  345. _pieceLbl.textColor = [UIColor blackColor];
  346. _pieceLbl.font = [UIFont systemFontOfSize: LabelAndTextFontOfSize];
  347. [vPiece addSubview:_pieceLbl];
  348. _pieceLbl.text=_outStorageListDetailModel.piece;
  349. UIView *vOutStorageAcreage = [UIView new];
  350. vOutStorageAcreage.frame=CGRectMake(0,CGRectGetMaxY(vPiece.frame), Screen_Width, heightRow);
  351. [self.contentView addSubview:vOutStorageAcreage];
  352. UILabel *outStorageAcreageTitleLbl= [UILabel new];
  353. outStorageAcreageTitleLbl.frame=CGRectMake(lblx, valuey,lblwidth, lblheight);
  354. outStorageAcreageTitleLbl.textColor = [UIColor blackColor];
  355. outStorageAcreageTitleLbl.font = [UIFont systemFontOfSize: LabelAndTextFontOfSize];
  356. outStorageAcreageTitleLbl.text=@"出库面积:";
  357. [vOutStorageAcreage addSubview:outStorageAcreageTitleLbl];
  358. _outStorageAcreageLbl=[UILabel new];
  359. _outStorageAcreageLbl.frame=CGRectMake(CGRectGetMaxX(outStorageAcreageTitleLbl.frame), valuey,Screen_Width-CGRectGetMaxX(outStorageAcreageTitleLbl.frame)-10, valueheight);
  360. _outStorageAcreageLbl.textColor = [UIColor blackColor];
  361. _outStorageAcreageLbl.font = [UIFont systemFontOfSize: LabelAndTextFontOfSize];
  362. [vOutStorageAcreage addSubview:_outStorageAcreageLbl];
  363. _outStorageAcreageLbl.text=_outStorageListDetailModel.M2;
  364. UIView *vReturnQuantity = [UIView new];
  365. vReturnQuantity.frame=CGRectMake(0,CGRectGetMaxY(vOutStorageAcreage.frame), Screen_Width, heightRow);
  366. [self.contentView addSubview:vReturnQuantity];
  367. UILabel *returnQuantityTitleLbl= [UILabel new];
  368. returnQuantityTitleLbl.frame=CGRectMake(lblx, valuey,lblwidth, lblheight);
  369. returnQuantityTitleLbl.textColor = [UIColor blackColor];
  370. returnQuantityTitleLbl.font = [UIFont systemFontOfSize: LabelAndTextFontOfSize];
  371. returnQuantityTitleLbl.text=@"退货数量:";
  372. [vReturnQuantity addSubview:returnQuantityTitleLbl];
  373. _returnQuantityLbl=[UILabel new];
  374. _returnQuantityLbl.frame=CGRectMake(CGRectGetMaxX(returnQuantityTitleLbl.frame), valuey,Screen_Width-CGRectGetMaxX(returnQuantityTitleLbl.frame)-10, valueheight);
  375. _returnQuantityLbl.textColor = [UIColor blackColor];
  376. _returnQuantityLbl.font = [UIFont systemFontOfSize: LabelAndTextFontOfSize];
  377. [vReturnQuantity addSubview:_returnQuantityLbl];
  378. _returnQuantityLbl.text=_outStorageListDetailModel.returnQuantity;
  379. UIView *vDeliveryPrice = [UIView new];
  380. vDeliveryPrice.frame=CGRectMake(0,CGRectGetMaxY(vReturnQuantity.frame), Screen_Width, heightRow);
  381. [self.contentView addSubview:vDeliveryPrice];
  382. UILabel *deliveryPriceTitleLbl= [UILabel new];
  383. deliveryPriceTitleLbl.frame=CGRectMake(lblx, valuey,lblwidth, lblheight);
  384. deliveryPriceTitleLbl.textColor = [UIColor blackColor];
  385. deliveryPriceTitleLbl.font = [UIFont systemFontOfSize: LabelAndTextFontOfSize];
  386. deliveryPriceTitleLbl.text=@"出库单价:";
  387. [vDeliveryPrice addSubview:deliveryPriceTitleLbl];
  388. _outStoragePriceLbl=[UILabel new];
  389. _outStoragePriceLbl.frame=CGRectMake(CGRectGetMaxX(deliveryPriceTitleLbl.frame), valuey,Screen_Width-CGRectGetMaxX(deliveryPriceTitleLbl.frame)-10, valueheight);
  390. _outStoragePriceLbl.textColor = [UIColor blackColor];
  391. _outStoragePriceLbl.font = [UIFont systemFontOfSize: LabelAndTextFontOfSize];
  392. [vDeliveryPrice addSubview:_outStoragePriceLbl];
  393. _outStoragePriceLbl.text=_outStorageListDetailModel.deliveryPrice;
  394. UIView *vSalesPrice = [UIView new];
  395. vSalesPrice.frame=CGRectMake(0,CGRectGetMaxY(vDeliveryPrice.frame), Screen_Width, heightRow);
  396. [self.contentView addSubview:vSalesPrice];
  397. UILabel *salesPriceTitleLbl= [UILabel new];
  398. salesPriceTitleLbl.frame=CGRectMake(lblx, valuey,lblwidth, lblheight);
  399. salesPriceTitleLbl.textColor = [UIColor blackColor];
  400. salesPriceTitleLbl.font = [UIFont systemFontOfSize: LabelAndTextFontOfSize];
  401. salesPriceTitleLbl.text=@"销售价格:";
  402. [vSalesPrice addSubview:salesPriceTitleLbl];
  403. _salesPriceLbl=[UILabel new];
  404. _salesPriceLbl.frame=CGRectMake(CGRectGetMaxX(salesPriceTitleLbl.frame), valuey,Screen_Width-CGRectGetMaxX(salesPriceTitleLbl.frame)-10, valueheight);
  405. _salesPriceLbl.textColor = [UIColor blackColor];
  406. _salesPriceLbl.font = [UIFont systemFontOfSize: LabelAndTextFontOfSize];
  407. [vSalesPrice addSubview:_salesPriceLbl];
  408. _salesPriceLbl.text=_outStorageListDetailModel.salesPrice;
  409. UIView *vAccountDate = [UIView new];
  410. vAccountDate.frame=CGRectMake(0,CGRectGetMaxY(vSalesPrice.frame), Screen_Width, heightRow);
  411. [self.contentView addSubview:vAccountDate];
  412. UILabel *accountDateTitleLbl= [UILabel new];
  413. accountDateTitleLbl.frame=CGRectMake(lblx, valuey,lblwidth, lblheight);
  414. accountDateTitleLbl.textColor = [UIColor blackColor];
  415. accountDateTitleLbl.font = [UIFont systemFontOfSize: LabelAndTextFontOfSize];
  416. accountDateTitleLbl.text=@"账务日期:";
  417. [vAccountDate addSubview:accountDateTitleLbl];
  418. _accountDateLbl=[UILabel new];
  419. _accountDateLbl.frame=CGRectMake(CGRectGetMaxX(accountDateTitleLbl.frame), valuey,Screen_Width-CGRectGetMaxX(accountDateTitleLbl.frame)-10, valueheight);
  420. _accountDateLbl.textColor = [UIColor blackColor];
  421. _accountDateLbl.font = [UIFont systemFontOfSize: LabelAndTextFontOfSize];
  422. [vAccountDate addSubview:_accountDateLbl];
  423. _accountDateLbl.text=_outStorageListDetailModel.accountDate;
  424. UIView *vPackage = [UIView new];
  425. vPackage.frame=CGRectMake(0,CGRectGetMaxY(vAccountDate.frame), Screen_Width, heightRow);
  426. [self.contentView addSubview:vPackage];
  427. UILabel *packageTitleLbl= [UILabel new];
  428. packageTitleLbl.frame=CGRectMake(lblx, valuey,lblwidth, lblheight);
  429. packageTitleLbl.textColor = [UIColor blackColor];
  430. packageTitleLbl.font = [UIFont systemFontOfSize: LabelAndTextFontOfSize];
  431. packageTitleLbl.text=@"包 装:";
  432. [vPackage addSubview:packageTitleLbl];
  433. _packageLbl=[UILabel new];
  434. _packageLbl.frame=CGRectMake(CGRectGetMaxX(packageTitleLbl.frame), valuey,Screen_Width-CGRectGetMaxX(packageTitleLbl.frame)-10, valueheight);
  435. _packageLbl.textColor = [UIColor blackColor];
  436. _packageLbl.font = [UIFont systemFontOfSize: LabelAndTextFontOfSize];
  437. [vPackage addSubview:_packageLbl];
  438. _packageLbl.text=_outStorageListDetailModel.package;
  439. UIView *vUnit = [UIView new];
  440. vUnit.frame=CGRectMake(0,CGRectGetMaxY(vPackage.frame), Screen_Width, heightRow);
  441. [self.contentView addSubview:vUnit];
  442. UILabel *unitTitleLbl= [UILabel new];
  443. unitTitleLbl.frame=CGRectMake(lblx, valuey,lblwidth, lblheight);
  444. unitTitleLbl.textColor = [UIColor blackColor];
  445. unitTitleLbl.font = [UIFont systemFontOfSize: LabelAndTextFontOfSize];
  446. unitTitleLbl.text=@"计量单位:";
  447. [vUnit addSubview:unitTitleLbl];
  448. _unitLbl=[UILabel new];
  449. _unitLbl.frame=CGRectMake(CGRectGetMaxX(unitTitleLbl.frame), valuey,Screen_Width-CGRectGetMaxX(unitTitleLbl.frame)-10, valueheight);
  450. _unitLbl.textColor = [UIColor blackColor];
  451. _unitLbl.font = [UIFont systemFontOfSize: LabelAndTextFontOfSize];
  452. [vUnit addSubview:_unitLbl];
  453. _unitLbl.text=_outStorageListDetailModel.unitName;
  454. UIView *vCirculateType = [UIView new];
  455. vCirculateType.frame=CGRectMake(0,CGRectGetMaxY(vUnit.frame), Screen_Width, heightRow);
  456. [self.contentView addSubview:vCirculateType];
  457. UILabel *circulateTypeTitleLbl= [UILabel new];
  458. circulateTypeTitleLbl.frame=CGRectMake(lblx, valuey,lblwidth, lblheight);
  459. circulateTypeTitleLbl.textColor = [UIColor blackColor];
  460. circulateTypeTitleLbl.font = [UIFont systemFontOfSize: LabelAndTextFontOfSize];
  461. circulateTypeTitleLbl.text=@"流通方式:";
  462. [vCirculateType addSubview:circulateTypeTitleLbl];
  463. _circulateTypeNameLbl=[UILabel new];
  464. _circulateTypeNameLbl.frame=CGRectMake(CGRectGetMaxX(circulateTypeTitleLbl.frame), valuey,Screen_Width-CGRectGetMaxX(circulateTypeTitleLbl.frame)-10, valueheight);
  465. _circulateTypeNameLbl.textColor = [UIColor blackColor];
  466. _circulateTypeNameLbl.font = [UIFont systemFontOfSize: LabelAndTextFontOfSize];
  467. [vCirculateType addSubview:_circulateTypeNameLbl];
  468. _circulateTypeNameLbl.text=_outStorageListDetailModel.goodsCirculateTypeName;
  469. UIView *vWeight = [UIView new];
  470. vWeight.frame=CGRectMake(0,CGRectGetMaxY(vCirculateType.frame), Screen_Width, heightRow);
  471. [self.contentView addSubview:vWeight];
  472. UILabel *weightTitleLbl= [UILabel new];
  473. weightTitleLbl.frame=CGRectMake(lblx, valuey,lblwidth, lblheight);
  474. weightTitleLbl.textColor = [UIColor blackColor];
  475. weightTitleLbl.font = [UIFont systemFontOfSize: LabelAndTextFontOfSize];
  476. weightTitleLbl.text=@"单位重量:";
  477. [vWeight addSubview:weightTitleLbl];
  478. _weightLbl=[UILabel new];
  479. _weightLbl.frame=CGRectMake(CGRectGetMaxX(weightTitleLbl.frame), valuey,Screen_Width-CGRectGetMaxX(circulateTypeTitleLbl.frame)-10, valueheight);
  480. _weightLbl.textColor = [UIColor blackColor];
  481. _weightLbl.font = [UIFont systemFontOfSize: LabelAndTextFontOfSize];
  482. [vWeight addSubview:_weightLbl];
  483. _weightLbl.text=_outStorageListDetailModel.weight;
  484. UIView *vUnitAcreage = [UIView new];
  485. vUnitAcreage.frame=CGRectMake(0,CGRectGetMaxY(vWeight.frame), Screen_Width, heightRow);
  486. [self.contentView addSubview:vUnitAcreage];
  487. UILabel *acreageTitleLbl= [UILabel new];
  488. acreageTitleLbl.frame=CGRectMake(lblx, valuey,lblwidth, lblheight);
  489. acreageTitleLbl.textColor = [UIColor blackColor];
  490. acreageTitleLbl.font = [UIFont systemFontOfSize: LabelAndTextFontOfSize];
  491. acreageTitleLbl.text=@"单位面积:";
  492. [vUnitAcreage addSubview:acreageTitleLbl];
  493. _acreageLbl=[UILabel new];
  494. _acreageLbl.frame=CGRectMake(CGRectGetMaxX(acreageTitleLbl.frame), valuey,Screen_Width-CGRectGetMaxX(acreageTitleLbl.frame)-10, valueheight);
  495. _acreageLbl.textColor = [UIColor blackColor];
  496. _acreageLbl.font = [UIFont systemFontOfSize: LabelAndTextFontOfSize];
  497. [vUnitAcreage addSubview:_acreageLbl];
  498. _acreageLbl.text=_outStorageListDetailModel.acreage;
  499. UIView *vUnitVolume = [UIView new];
  500. vUnitVolume.frame=CGRectMake(0,CGRectGetMaxY(vUnitAcreage.frame), Screen_Width, heightRow);
  501. [self.contentView addSubview:vUnitVolume];
  502. UILabel *volumeTitleLbl= [UILabel new];
  503. volumeTitleLbl.frame=CGRectMake(lblx, valuey,lblwidth, lblheight);
  504. volumeTitleLbl.textColor = [UIColor blackColor];
  505. volumeTitleLbl.font = [UIFont systemFontOfSize: LabelAndTextFontOfSize];
  506. volumeTitleLbl.text=@"单位体积:";
  507. [vUnitVolume addSubview:volumeTitleLbl];
  508. _volumeLbl=[UILabel new];
  509. _volumeLbl.frame=CGRectMake(CGRectGetMaxX(volumeTitleLbl.frame), valuey,Screen_Width-CGRectGetMaxX(volumeTitleLbl.frame)-10, valueheight);
  510. _volumeLbl.textColor = [UIColor blackColor];
  511. _volumeLbl.font = [UIFont systemFontOfSize: LabelAndTextFontOfSize];
  512. [vUnitVolume addSubview:_volumeLbl];
  513. _volumeLbl.text=_outStorageListDetailModel.volume;
  514. UIView *vGoodsName = [UIView new];
  515. vGoodsName.frame=CGRectMake(0,CGRectGetMaxY(vUnitVolume.frame), Screen_Width, heightRow);
  516. [self.contentView addSubview:vGoodsName];
  517. UILabel *goodsNameTitleLbl= [UILabel new];
  518. goodsNameTitleLbl.frame=CGRectMake(lblx, valuey,lblwidth, lblheight);
  519. goodsNameTitleLbl.textColor = [UIColor blackColor];
  520. goodsNameTitleLbl.font = [UIFont systemFontOfSize: LabelAndTextFontOfSize];
  521. goodsNameTitleLbl.text=@"商品名称:";
  522. [vGoodsName addSubview:goodsNameTitleLbl];
  523. _goodsNameLbl=[UILabel new];
  524. _goodsNameLbl.frame=CGRectMake(CGRectGetMaxX(goodsNameTitleLbl.frame), valuey,Screen_Width-CGRectGetMaxX(goodsNameTitleLbl.frame)-10, valueheight);
  525. _goodsNameLbl.textColor = [UIColor blackColor];
  526. _goodsNameLbl.font = [UIFont systemFontOfSize: LabelAndTextFontOfSize];
  527. [vGoodsName addSubview:_goodsNameLbl];
  528. _goodsNameLbl.text=_outStorageListDetailModel.goodsName;
  529. UIView *vExpandAttribute = [UIView new];
  530. vExpandAttribute.frame=CGRectMake(0,CGRectGetMaxY(vGoodsName.frame), Screen_Width, heightRow);
  531. [self.contentView addSubview:vExpandAttribute];
  532. UILabel *expandAttributeTitleLbl= [UILabel new];
  533. expandAttributeTitleLbl.frame=CGRectMake(lblx, valuey,lblwidth, lblheight);
  534. expandAttributeTitleLbl.textColor = [UIColor blackColor];
  535. expandAttributeTitleLbl.font = [UIFont systemFontOfSize: LabelAndTextFontOfSize];
  536. expandAttributeTitleLbl.text=@"扩展属性:";
  537. [vExpandAttribute addSubview:expandAttributeTitleLbl];
  538. _expandAtrributeLbl=[UILabel new];
  539. _expandAtrributeLbl.frame=CGRectMake(CGRectGetMaxX(expandAttributeTitleLbl.frame), valuey,Screen_Width-CGRectGetMaxX(expandAttributeTitleLbl.frame)-10, valueheight);
  540. _expandAtrributeLbl.textColor = [UIColor blackColor];
  541. _expandAtrributeLbl.font = [UIFont systemFontOfSize: LabelAndTextFontOfSize];
  542. [vExpandAttribute addSubview:_expandAtrributeLbl];
  543. _expandAtrributeLbl.text=_outStorageListDetailModel.expandAtrribute;
  544. UIView *vExpandAttribute2 = [UIView new];
  545. vExpandAttribute2.frame=CGRectMake(0,CGRectGetMaxY(vExpandAttribute.frame), Screen_Width, heightRow);
  546. [self.contentView addSubview:vExpandAttribute2];
  547. UILabel *expandAttribute2TitleLbl= [UILabel new];
  548. expandAttribute2TitleLbl.frame=CGRectMake(lblx, valuey,lblwidth+10, lblheight);
  549. expandAttribute2TitleLbl.textColor = [UIColor blackColor];
  550. expandAttribute2TitleLbl.font = [UIFont systemFontOfSize: LabelAndTextFontOfSize];
  551. expandAttribute2TitleLbl.text=@"扩展属性二:";
  552. [vExpandAttribute2 addSubview:expandAttribute2TitleLbl];
  553. _expandAtrribute2Lbl=[UILabel new];
  554. _expandAtrribute2Lbl.frame=CGRectMake(CGRectGetMaxX(expandAttribute2TitleLbl.frame), valuey,Screen_Width-CGRectGetMaxX(expandAttribute2TitleLbl.frame)-10, valueheight);
  555. _expandAtrribute2Lbl.textColor = [UIColor blackColor];
  556. _expandAtrribute2Lbl.font = [UIFont systemFontOfSize: LabelAndTextFontOfSize];
  557. [vExpandAttribute2 addSubview:_expandAtrribute2Lbl];
  558. _expandAtrribute2Lbl.text=_outStorageListDetailModel.expandAtrribute2;
  559. UIView *vGoodsRemarks = [UIView new];
  560. vGoodsRemarks.frame=CGRectMake(0,CGRectGetMaxY(vExpandAttribute2.frame), Screen_Width, heightRow);
  561. [self.contentView addSubview:vGoodsRemarks];
  562. UILabel *goodsRemarksTitleLbl= [UILabel new];
  563. goodsRemarksTitleLbl.frame=CGRectMake(lblx, valuey,lblwidth, lblheight);
  564. goodsRemarksTitleLbl.textColor = [UIColor blackColor];
  565. goodsRemarksTitleLbl.font = [UIFont systemFontOfSize: LabelAndTextFontOfSize];
  566. goodsRemarksTitleLbl.text=@"商品备注:";
  567. [vGoodsRemarks addSubview:goodsRemarksTitleLbl];
  568. _goodsRemarksLbl=[UILabel new];
  569. _goodsRemarksLbl.frame=CGRectMake(CGRectGetMaxX(goodsRemarksTitleLbl.frame), valuey,Screen_Width-CGRectGetMaxX(goodsRemarksTitleLbl.frame)-10, valueheight);
  570. _goodsRemarksLbl.textColor = [UIColor blackColor];
  571. _goodsRemarksLbl.font = [UIFont systemFontOfSize: LabelAndTextFontOfSize];
  572. [vGoodsRemarks addSubview:_goodsRemarksLbl];
  573. _goodsRemarksLbl.text=_outStorageListDetailModel.goodsRemarks;
  574. UIView *vRemarks = [UIView new];
  575. vRemarks.frame=CGRectMake(0,CGRectGetMaxY(vGoodsRemarks.frame), Screen_Width, heightRow);
  576. [self.contentView addSubview:vRemarks];
  577. UILabel *remarksTitleLbl= [UILabel new];
  578. remarksTitleLbl.frame=CGRectMake(lblx, valuey,lblwidth, lblheight);
  579. remarksTitleLbl.textColor = [UIColor blackColor];
  580. remarksTitleLbl.font = [UIFont systemFontOfSize: LabelAndTextFontOfSize];
  581. remarksTitleLbl.text=@"备 注:";
  582. [vRemarks addSubview:remarksTitleLbl];
  583. _remarksLbl=[UILabel new];
  584. _remarksLbl.frame=CGRectMake(CGRectGetMaxX(remarksTitleLbl.frame), valuey,Screen_Width-CGRectGetMaxX(remarksTitleLbl.frame)-10, valueheight);
  585. _remarksLbl.textColor = [UIColor blackColor];
  586. _remarksLbl.font = [UIFont systemFontOfSize: LabelAndTextFontOfSize];
  587. [vRemarks addSubview:_remarksLbl];
  588. _remarksLbl.text=_outStorageListDetailModel.remarks;
  589. _bottomSeparator= [UIView new];
  590. _bottomSeparator.frame=CGRectMake(0, CGRectGetMaxY(vRemarks.frame)+5, Screen_Width, 10);
  591. _bottomSeparator.backgroundColor = LineBackgroundColor;
  592. [self.contentView addSubview:_bottomSeparator];
  593. }
  594. @end