| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718 |
- //
- // SalesOutStorageListDetailCellTableViewCell.m
- // IBOSSmini
- //
- // Created by guan hong hou on 2018/4/11.
- // Copyright © 2018年 elongtian. All rights reserved.
- //
- #import "SalesOutStorageListDetailCell.h"
- @implementation SalesOutStorageListDetailCell
- #pragma mark 公共函数
- /**
- 加载 cell
- @param style <#style description#>
- @param reuseIdentifier <#reuseIdentifier description#>
- @return <#return value description#>
- */
- - (id)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier {
- self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
-
- return self;
- }
- #pragma mark 私有函数
- /**
- 初始化cell UI和数据
- @param salesOutStorageListDetailModel <#salesOutStorageListDetailModel description#>
- */
- - (void)setSalesOutStorageListDetailModel:(SalesOutStorageListDetailModel *)salesOutStorageListDetailModel{
-
- _outStorageListDetailModel=salesOutStorageListDetailModel;
-
- if(_outStorageListDetailModel==nil){
- return;
- }
-
- CGFloat heightLine = 1;
- CGFloat heightRow = 40;
- CGFloat lblx = 20;
- CGFloat lbly = 8;
- CGFloat lblwidth = 70;
- CGFloat lblheight = 25;
- CGFloat valuey = 8;
- CGFloat valueheight = 25;
- UIView *vOutStorageNo = [UIView new];
- vOutStorageNo.frame=CGRectMake(0, valuey, Screen_Width, heightRow);
- [self.contentView addSubview:vOutStorageNo];
- UILabel *outStorageNoTitleLbl=[UILabel new];
- outStorageNoTitleLbl.frame=CGRectMake(lblx, lbly, lblwidth, lblheight);
- outStorageNoTitleLbl.text=@"出库单号:";
- outStorageNoTitleLbl.textColor = [UIColor blackColor];
- outStorageNoTitleLbl.font = [UIFont systemFontOfSize: LabelAndTextFontOfSize];
- [vOutStorageNo addSubview:outStorageNoTitleLbl];
- _outStorageNoLbl = [UILabel new];
- _outStorageNoLbl.frame=CGRectMake(CGRectGetMaxX(outStorageNoTitleLbl.frame), valuey, Screen_Width -CGRectGetMaxX(outStorageNoTitleLbl.frame)-10, valueheight);
- _outStorageNoLbl.font = [UIFont systemFontOfSize: LabelAndTextFontOfSize];
- [vOutStorageNo addSubview:_outStorageNoLbl];
- _outStorageNoLbl.text = _outStorageListDetailModel.outStorageNo;
- _topSeparator=[UIView new];
- _topSeparator.frame = CGRectMake(0, CGRectGetMaxY(vOutStorageNo.frame), Screen_Width, heightLine);
-
- [self.contentView addSubview:_topSeparator];
- UIButton *btnLine = [UIButton buttonWithType:UIButtonTypeCustom];
- [btnLine setBackgroundImage:[UIImage imageNamed:@"dash"] forState:UIControlStateNormal];
- btnLine.frame = CGRectMake(0 ,0 , Screen_Width, heightLine);
- [_topSeparator addSubview:btnLine];
-
- _vSalesNo = [UIView new];
- _vSalesNo.frame=CGRectMake(0,CGRectGetMaxY(_topSeparator.frame), Screen_Width, heightRow);
- [self.contentView addSubview:_vSalesNo];
- UILabel *salesNoTitleLbl= [UILabel new];
- salesNoTitleLbl.frame=CGRectMake(lblx, valuey,lblwidth, lblheight);
- salesNoTitleLbl.textColor = [UIColor blackColor];
- salesNoTitleLbl.font = [UIFont systemFontOfSize: LabelAndTextFontOfSize];
- salesNoTitleLbl.text=@"销售单号:";
- [_vSalesNo addSubview:salesNoTitleLbl];
-
- _salesNoLbl=[UILabel new];
- _salesNoLbl.frame=CGRectMake(CGRectGetMaxX(salesNoTitleLbl.frame), valuey,Screen_Width-CGRectGetMaxX(salesNoTitleLbl.frame)-10, valueheight);
- _salesNoLbl.textColor = [UIColor blackColor];
- _salesNoLbl.font = [UIFont systemFontOfSize: LabelAndTextFontOfSize];
- [_vSalesNo addSubview:_salesNoLbl];
- _salesNoLbl.text=_outStorageListDetailModel.salesNo;
- _topSeparator1= [UIView new];
- _topSeparator1.frame=CGRectMake(0, CGRectGetMaxY(_vSalesNo.frame), Screen_Width, 1);
- _topSeparator1.backgroundColor = LineBackgroundColor;
- [self.contentView addSubview:_topSeparator1];
-
- UIView *vDepartment = [UIView new];
- vDepartment.frame=CGRectMake(0,CGRectGetMaxY(_topSeparator1.frame), Screen_Width, heightRow);
- [self.contentView addSubview:vDepartment];
- UILabel *departmentTitleLbl= [UILabel new];
- departmentTitleLbl.frame=CGRectMake(lblx, valuey,lblwidth, lblheight);
- departmentTitleLbl.textColor = [UIColor blackColor];
- departmentTitleLbl.font = [UIFont systemFontOfSize: LabelAndTextFontOfSize];
- departmentTitleLbl.text=@"业务部门:";
- [vDepartment addSubview:departmentTitleLbl];
-
- _businessDepartmentLbl=[UILabel new];
- _businessDepartmentLbl.frame=CGRectMake(CGRectGetMaxX(departmentTitleLbl.frame), valuey,Screen_Width-CGRectGetMaxX(departmentTitleLbl.frame)-10, valueheight);
- _businessDepartmentLbl.textColor = [UIColor blackColor];
- _businessDepartmentLbl.font = [UIFont systemFontOfSize: LabelAndTextFontOfSize];
- [vDepartment addSubview:_businessDepartmentLbl];
- _businessDepartmentLbl.text=_outStorageListDetailModel.organizationName;
-
-
- UIView *vStaff = [UIView new];
- vStaff.frame=CGRectMake(0,CGRectGetMaxY(vDepartment.frame), Screen_Width, heightRow);
- [self.contentView addSubview:vStaff];
- UILabel *staffTitleLbl= [UILabel new];
- staffTitleLbl.frame=CGRectMake(lblx, valuey,lblwidth, lblheight);
- staffTitleLbl.textColor = [UIColor blackColor];
- staffTitleLbl.font = [UIFont systemFontOfSize: LabelAndTextFontOfSize];
- staffTitleLbl.text=@"业 务 员:";
- [vStaff addSubview:staffTitleLbl];
-
- _staffLbl=[UILabel new];
- _staffLbl.frame=CGRectMake(CGRectGetMaxX(staffTitleLbl.frame), valuey,Screen_Width-CGRectGetMaxX(staffTitleLbl.frame)-10, valueheight);
- _staffLbl.textColor = [UIColor blackColor];
- _staffLbl.font = [UIFont systemFontOfSize: LabelAndTextFontOfSize];
- [vStaff addSubview:_staffLbl];
- _staffLbl.text=_outStorageListDetailModel.staffName;
-
- UIView *vSecondaryDepartment = [UIView new];
- vSecondaryDepartment.frame=CGRectMake(0,CGRectGetMaxY(vStaff.frame), Screen_Width, heightRow);
- [self.contentView addSubview:vSecondaryDepartment];
-
- UILabel *secondaryDepartmentTitleLbl= [UILabel new];
- secondaryDepartmentTitleLbl.frame=CGRectMake(lblx, valuey,lblwidth+20, lblheight);
- secondaryDepartmentTitleLbl.textColor = [UIColor blackColor];
- secondaryDepartmentTitleLbl.font = [UIFont systemFontOfSize: LabelAndTextFontOfSize];
- secondaryDepartmentTitleLbl.text=@"从业务部门:";
- [vSecondaryDepartment addSubview:secondaryDepartmentTitleLbl];
-
- _secondaryBusinessDepartmentLbl=[UILabel new];
- _secondaryBusinessDepartmentLbl.frame=CGRectMake(CGRectGetMaxX(secondaryDepartmentTitleLbl.frame), valuey,Screen_Width-CGRectGetMaxX(secondaryDepartmentTitleLbl.frame)-10, valueheight);
- _secondaryBusinessDepartmentLbl.textColor = [UIColor blackColor];
- _secondaryBusinessDepartmentLbl.font = [UIFont systemFontOfSize: LabelAndTextFontOfSize];
- [vSecondaryDepartment addSubview:_secondaryBusinessDepartmentLbl];
- _secondaryBusinessDepartmentLbl.text=_outStorageListDetailModel.secondaryBusinessDepartment;
-
-
- UIView *vSecondaryStaff = [UIView new];
- vSecondaryStaff.frame=CGRectMake(0,CGRectGetMaxY(vSecondaryDepartment.frame), Screen_Width, heightRow);
- [self.contentView addSubview:vSecondaryStaff];
-
- UILabel *secondaryStaffTitleLbl= [UILabel new];
- secondaryStaffTitleLbl.frame=CGRectMake(lblx, valuey,lblwidth, lblheight);
- secondaryStaffTitleLbl.textColor = [UIColor blackColor];
- secondaryStaffTitleLbl.font = [UIFont systemFontOfSize: LabelAndTextFontOfSize];
- secondaryStaffTitleLbl.text=@"从业务员:";
- [vSecondaryStaff addSubview:secondaryStaffTitleLbl];
-
- _secondaryStaffLbl=[UILabel new];
- _secondaryStaffLbl.frame=CGRectMake(CGRectGetMaxX(secondaryStaffTitleLbl.frame), valuey,Screen_Width-CGRectGetMaxX(secondaryStaffTitleLbl.frame)-10, valueheight);
- _secondaryStaffLbl.textColor = [UIColor blackColor];
- _secondaryStaffLbl.font = [UIFont systemFontOfSize: LabelAndTextFontOfSize];
- [vSecondaryStaff addSubview:_secondaryStaffLbl];
- _secondaryStaffLbl.text=_outStorageListDetailModel.secondaryStaff;
-
- UIView *vOnlyCode = [UIView new];
- vOnlyCode.frame=CGRectMake(0,CGRectGetMaxY(vSecondaryStaff.frame), Screen_Width, heightRow);
- [self.contentView addSubview:vOnlyCode];
-
- UILabel *onlyCodeTitleLbl= [UILabel new];
- onlyCodeTitleLbl.frame=CGRectMake(lblx, valuey,lblwidth, lblheight);
- onlyCodeTitleLbl.textColor = [UIColor blackColor];
- onlyCodeTitleLbl.font = [UIFont systemFontOfSize: LabelAndTextFontOfSize];
- onlyCodeTitleLbl.text=@"唯一编码:";
- [vOnlyCode addSubview:onlyCodeTitleLbl];
-
- _onlyCodeLbl=[UILabel new];
- _onlyCodeLbl.frame=CGRectMake(CGRectGetMaxX(onlyCodeTitleLbl.frame), valuey,Screen_Width-CGRectGetMaxX(onlyCodeTitleLbl.frame)-10, valueheight);
- _onlyCodeLbl.textColor = [UIColor blackColor];
- _onlyCodeLbl.font = [UIFont systemFontOfSize: LabelAndTextFontOfSize];
- [vOnlyCode addSubview:_onlyCodeLbl];
- _onlyCodeLbl.text=_outStorageListDetailModel.onlyCode;
-
- UIView *vGoodsCode = [UIView new];
- vGoodsCode.frame=CGRectMake(0,CGRectGetMaxY(vOnlyCode.frame), Screen_Width, heightRow);
- [self.contentView addSubview:vGoodsCode];
-
- UILabel *goodsCodeTitleLbl= [UILabel new];
- goodsCodeTitleLbl.frame=CGRectMake(lblx, valuey,lblwidth, lblheight);
- goodsCodeTitleLbl.textColor = [UIColor blackColor];
- goodsCodeTitleLbl.font = [UIFont systemFontOfSize: LabelAndTextFontOfSize];
- goodsCodeTitleLbl.text=@"产品编码:";
- [vGoodsCode addSubview:goodsCodeTitleLbl];
-
- _goodsCodeLbl=[UILabel new];
- _goodsCodeLbl.frame=CGRectMake(CGRectGetMaxX(goodsCodeTitleLbl.frame), valuey,Screen_Width-CGRectGetMaxX(goodsCodeTitleLbl.frame)-10, valueheight);
- _goodsCodeLbl.textColor = [UIColor blackColor];
- _goodsCodeLbl.font = [UIFont systemFontOfSize: LabelAndTextFontOfSize];
- [vGoodsCode addSubview:_goodsCodeLbl];
- _goodsCodeLbl.text=_outStorageListDetailModel.code;
-
- UIView *vBrand = [UIView new];
- vBrand.frame=CGRectMake(0,CGRectGetMaxY(vGoodsCode.frame), Screen_Width, heightRow);
- [self.contentView addSubview:vBrand];
-
- UILabel *brandTitleLbl= [UILabel new];
- brandTitleLbl.frame=CGRectMake(lblx, valuey,lblwidth, lblheight);
- brandTitleLbl.textColor = [UIColor blackColor];
- brandTitleLbl.font = [UIFont systemFontOfSize: LabelAndTextFontOfSize];
- brandTitleLbl.text=@"商品品牌:";
- [vBrand addSubview:brandTitleLbl];
-
- _brandNameLbl=[UILabel new];
- _brandNameLbl.frame=CGRectMake(CGRectGetMaxX(brandTitleLbl.frame), valuey,Screen_Width-CGRectGetMaxX(brandTitleLbl.frame)-10, valueheight);
- _brandNameLbl.textColor = [UIColor blackColor];
- _brandNameLbl.font = [UIFont systemFontOfSize: LabelAndTextFontOfSize];
- [vBrand addSubview:_brandNameLbl];
- _brandNameLbl.text=_outStorageListDetailModel.brandName;
-
- UIView *vKind = [UIView new];
- vKind.frame=CGRectMake(0,CGRectGetMaxY(vBrand.frame), Screen_Width, heightRow);
- [self.contentView addSubview:vKind];
-
- UILabel *kindTitleLbl= [UILabel new];
- kindTitleLbl.frame=CGRectMake(lblx, valuey,lblwidth, lblheight);
- kindTitleLbl.textColor = [UIColor blackColor];
- kindTitleLbl.font = [UIFont systemFontOfSize: LabelAndTextFontOfSize];
- kindTitleLbl.text=@"商品种类:";
- [vKind addSubview:kindTitleLbl];
-
- _kindNameLbl=[UILabel new];
- _kindNameLbl.frame=CGRectMake(CGRectGetMaxX(kindTitleLbl.frame), valuey,Screen_Width-CGRectGetMaxX(kindTitleLbl.frame)-10, valueheight);
- _kindNameLbl.textColor = [UIColor blackColor];
- _kindNameLbl.font = [UIFont systemFontOfSize: LabelAndTextFontOfSize];
- [vKind addSubview:_kindNameLbl];
- _kindNameLbl.text=_outStorageListDetailModel.kindName;
-
- UIView *vVariety = [UIView new];
- vVariety.frame=CGRectMake(0,CGRectGetMaxY(vKind.frame), Screen_Width, heightRow);
- [self.contentView addSubview:vVariety];
-
- UILabel *varietyTitleLbl= [UILabel new];
- varietyTitleLbl.frame=CGRectMake(lblx, valuey,lblwidth, lblheight);
- varietyTitleLbl.textColor = [UIColor blackColor];
- varietyTitleLbl.font = [UIFont systemFontOfSize: LabelAndTextFontOfSize];
- varietyTitleLbl.text=@"商品品种:";
- [vVariety addSubview:varietyTitleLbl];
-
- _varietyNameLbl=[UILabel new];
- _varietyNameLbl.frame=CGRectMake(CGRectGetMaxX(varietyTitleLbl.frame), valuey,Screen_Width-CGRectGetMaxX(varietyTitleLbl.frame)-10, valueheight);
- _varietyNameLbl.textColor = [UIColor blackColor];
- _varietyNameLbl.font = [UIFont systemFontOfSize: LabelAndTextFontOfSize];
- [vVariety addSubview:_varietyNameLbl];
- _varietyNameLbl.text=_outStorageListDetailModel.varietyName;
-
- UIView *vSeries = [UIView new];
- vSeries.frame=CGRectMake(0,CGRectGetMaxY(vVariety.frame), Screen_Width, heightRow);
- [self.contentView addSubview:vSeries];
-
- UILabel *seriesTitleLbl= [UILabel new];
- seriesTitleLbl.frame=CGRectMake(lblx, valuey,lblwidth, lblheight);
- seriesTitleLbl.textColor = [UIColor blackColor];
- seriesTitleLbl.font = [UIFont systemFontOfSize: LabelAndTextFontOfSize];
- seriesTitleLbl.text=@"商品系列:";
- [vSeries addSubview:seriesTitleLbl];
-
- _goodsSeriesLbl=[UILabel new];
- _goodsSeriesLbl.frame=CGRectMake(CGRectGetMaxX(seriesTitleLbl.frame), valuey,Screen_Width-CGRectGetMaxX(seriesTitleLbl.frame)-10, valueheight);
- _goodsSeriesLbl.textColor = [UIColor blackColor];
- _goodsSeriesLbl.font = [UIFont systemFontOfSize: LabelAndTextFontOfSize];
- [vSeries addSubview:_goodsSeriesLbl];
- _goodsSeriesLbl.text=_outStorageListDetailModel.seriesName;
-
- UIView *vSpecification = [UIView new];
- vSpecification.frame=CGRectMake(0,CGRectGetMaxY(vSeries.frame), Screen_Width, heightRow);
- [self.contentView addSubview:vSpecification];
-
- UILabel *specificationTitleLbl= [UILabel new];
- specificationTitleLbl.frame=CGRectMake(lblx, valuey,lblwidth, lblheight);
- specificationTitleLbl.textColor = [UIColor blackColor];
- specificationTitleLbl.font = [UIFont systemFontOfSize: LabelAndTextFontOfSize];
- specificationTitleLbl.text=@"商品规格:";
- [vSpecification addSubview:specificationTitleLbl];
-
- _goodsSpecificationLbl=[UILabel new];
- _goodsSpecificationLbl.frame=CGRectMake(CGRectGetMaxX(specificationTitleLbl.frame), valuey,Screen_Width-CGRectGetMaxX(specificationTitleLbl.frame)-10, valueheight);
- _goodsSpecificationLbl.textColor = [UIColor blackColor];
- _goodsSpecificationLbl.font = [UIFont systemFontOfSize: LabelAndTextFontOfSize];
- [vSpecification addSubview:_goodsSpecificationLbl];
- _goodsSpecificationLbl.text=_outStorageListDetailModel.specification;
-
- UIView *vGoodsLevel = [UIView new];
- vGoodsLevel.frame=CGRectMake(0,CGRectGetMaxY(vSpecification.frame), Screen_Width, heightRow);
- [self.contentView addSubview:vGoodsLevel];
-
- UILabel *goodsLevelTitleLbl= [UILabel new];
- goodsLevelTitleLbl.frame=CGRectMake(lblx, valuey,lblwidth, lblheight);
- goodsLevelTitleLbl.textColor = [UIColor blackColor];
- goodsLevelTitleLbl.font = [UIFont systemFontOfSize: LabelAndTextFontOfSize];
- goodsLevelTitleLbl.text=@"商品等级:";
- [vGoodsLevel addSubview:goodsLevelTitleLbl];
-
- _goodsLevelLbl=[UILabel new];
- _goodsLevelLbl.frame=CGRectMake(CGRectGetMaxX(goodsLevelTitleLbl.frame), valuey,Screen_Width-CGRectGetMaxX(goodsLevelTitleLbl.frame)-10, valueheight);
- _goodsLevelLbl.textColor = [UIColor blackColor];
- _goodsLevelLbl.font = [UIFont systemFontOfSize: LabelAndTextFontOfSize];
- [vGoodsLevel addSubview:_goodsLevelLbl];
- _goodsLevelLbl.text=_outStorageListDetailModel.gradeName;
-
- UIView *vColorNumber = [UIView new];
- vColorNumber.frame=CGRectMake(0,CGRectGetMaxY(vGoodsLevel.frame), Screen_Width, heightRow);
- [self.contentView addSubview:vColorNumber];
-
- UILabel *colorNumberTitleLbl= [UILabel new];
- colorNumberTitleLbl.frame=CGRectMake(lblx, valuey,lblwidth, lblheight);
- colorNumberTitleLbl.textColor = [UIColor blackColor];
- colorNumberTitleLbl.font = [UIFont systemFontOfSize: LabelAndTextFontOfSize];
- colorNumberTitleLbl.text=@"色 号:";
- [vColorNumber addSubview:colorNumberTitleLbl];
-
- _colorNumberLbl=[UILabel new];
- _colorNumberLbl.frame=CGRectMake(CGRectGetMaxX(colorNumberTitleLbl.frame), valuey,Screen_Width-CGRectGetMaxX(colorNumberTitleLbl.frame)-10, valueheight);
- _colorNumberLbl.textColor = [UIColor blackColor];
- _colorNumberLbl.font = [UIFont systemFontOfSize: LabelAndTextFontOfSize];
- [vColorNumber addSubview:_colorNumberLbl];
- _colorNumberLbl.text=_outStorageListDetailModel.colorNumber;
-
-
- UIView *vWarehouseArea = [UIView new];
- vWarehouseArea.frame=CGRectMake(0,CGRectGetMaxY(vColorNumber.frame), Screen_Width, heightRow);
- [self.contentView addSubview:vWarehouseArea];
-
- UILabel *warehouseAreaTitleLbl= [UILabel new];
- warehouseAreaTitleLbl.frame=CGRectMake(lblx, valuey,lblwidth, lblheight);
- warehouseAreaTitleLbl.textColor = [UIColor blackColor];
- warehouseAreaTitleLbl.font = [UIFont systemFontOfSize: LabelAndTextFontOfSize];
- warehouseAreaTitleLbl.text=@"库区名称:";
- [vWarehouseArea addSubview:warehouseAreaTitleLbl];
-
- _warehouseAreaNameLbl=[UILabel new];
- _warehouseAreaNameLbl.frame=CGRectMake(CGRectGetMaxX(warehouseAreaTitleLbl.frame), valuey,Screen_Width-CGRectGetMaxX(warehouseAreaTitleLbl.frame)-10, valueheight);
- _warehouseAreaNameLbl.textColor = [UIColor blackColor];
- _warehouseAreaNameLbl.font = [UIFont systemFontOfSize: LabelAndTextFontOfSize];
- [vWarehouseArea addSubview:_warehouseAreaNameLbl];
- _warehouseAreaNameLbl.text=_outStorageListDetailModel.warehouseName;
-
- UIView *vPositionNumber = [UIView new];
- vPositionNumber.frame=CGRectMake(0,CGRectGetMaxY(vWarehouseArea.frame), Screen_Width, heightRow);
- [self.contentView addSubview:vPositionNumber];
-
- UILabel *positionNumberTitleLbl= [UILabel new];
- positionNumberTitleLbl.frame=CGRectMake(lblx, valuey,lblwidth, lblheight);
- positionNumberTitleLbl.textColor = [UIColor blackColor];
- positionNumberTitleLbl.font = [UIFont systemFontOfSize: LabelAndTextFontOfSize];
- positionNumberTitleLbl.text=@"仓 位 号:";
- [vPositionNumber addSubview:positionNumberTitleLbl];
-
- _positionNumberLbl=[UILabel new];
- _positionNumberLbl.frame=CGRectMake(CGRectGetMaxX(positionNumberTitleLbl.frame), valuey,Screen_Width-CGRectGetMaxX(positionNumberTitleLbl.frame)-10, valueheight);
- _positionNumberLbl.textColor = [UIColor blackColor];
- _positionNumberLbl.font = [UIFont systemFontOfSize: LabelAndTextFontOfSize];
- [vPositionNumber addSubview:_positionNumberLbl];
- _positionNumberLbl.text=_outStorageListDetailModel.positionNumber;
-
- UIView *vOutStorageQuantity = [UIView new];
- vOutStorageQuantity.frame=CGRectMake(0,CGRectGetMaxY(vPositionNumber.frame), Screen_Width, heightRow);
- [self.contentView addSubview:vOutStorageQuantity];
-
- UILabel *outStorageQuantityTitleLbl= [UILabel new];
- outStorageQuantityTitleLbl.frame=CGRectMake(lblx, valuey,lblwidth, lblheight);
- outStorageQuantityTitleLbl.textColor = [UIColor blackColor];
- outStorageQuantityTitleLbl.font = [UIFont systemFontOfSize: LabelAndTextFontOfSize];
- outStorageQuantityTitleLbl.text=@"出库数量:";
- [vOutStorageQuantity addSubview:outStorageQuantityTitleLbl];
-
- _outStorageQuantityLbl=[UILabel new];
- _outStorageQuantityLbl.frame=CGRectMake(CGRectGetMaxX(outStorageQuantityTitleLbl.frame), valuey,Screen_Width-CGRectGetMaxX(outStorageQuantityTitleLbl.frame)-10, valueheight);
- _outStorageQuantityLbl.textColor = [UIColor blackColor];
- _outStorageQuantityLbl.font = [UIFont systemFontOfSize: LabelAndTextFontOfSize];
- [vOutStorageQuantity addSubview:_outStorageQuantityLbl];
- _outStorageQuantityLbl.text=_outStorageListDetailModel.deliveryQuantity;
-
-
- UIView *vBox = [UIView new];
- vBox.frame=CGRectMake(0,CGRectGetMaxY(vOutStorageQuantity.frame), Screen_Width, heightRow);
- [self.contentView addSubview:vBox];
-
- UILabel *boxTitleLbl= [UILabel new];
- boxTitleLbl.frame=CGRectMake(lblx, valuey,lblwidth, lblheight);
- boxTitleLbl.textColor = [UIColor blackColor];
- boxTitleLbl.font = [UIFont systemFontOfSize: LabelAndTextFontOfSize];
- boxTitleLbl.text=@"箱:";
- [vBox addSubview:boxTitleLbl];
-
- _boxLbl=[UILabel new];
- _boxLbl.frame=CGRectMake(CGRectGetMaxX(boxTitleLbl.frame), valuey,Screen_Width-CGRectGetMaxX(boxTitleLbl.frame)-10, valueheight);
- _boxLbl.textColor = [UIColor blackColor];
- _boxLbl.font = [UIFont systemFontOfSize: LabelAndTextFontOfSize];
- [vBox addSubview:_boxLbl];
- _boxLbl.text=_outStorageListDetailModel.box;
-
- UIView *vPiece = [UIView new];
- vPiece.frame=CGRectMake(0,CGRectGetMaxY(vBox.frame), Screen_Width, heightRow);
- [self.contentView addSubview:vPiece];
-
- UILabel *pieceTitleLbl= [UILabel new];
- pieceTitleLbl.frame=CGRectMake(lblx, valuey,lblwidth, lblheight);
- pieceTitleLbl.textColor = [UIColor blackColor];
- pieceTitleLbl.font = [UIFont systemFontOfSize: LabelAndTextFontOfSize];
- pieceTitleLbl.text=@"片/个:";
- [vPiece addSubview:pieceTitleLbl];
-
- _pieceLbl=[UILabel new];
- _pieceLbl.frame=CGRectMake(CGRectGetMaxX(pieceTitleLbl.frame), valuey,Screen_Width-CGRectGetMaxX(pieceTitleLbl.frame)-10, valueheight);
- _pieceLbl.textColor = [UIColor blackColor];
- _pieceLbl.font = [UIFont systemFontOfSize: LabelAndTextFontOfSize];
- [vPiece addSubview:_pieceLbl];
- _pieceLbl.text=_outStorageListDetailModel.piece;
-
- UIView *vOutStorageAcreage = [UIView new];
- vOutStorageAcreage.frame=CGRectMake(0,CGRectGetMaxY(vPiece.frame), Screen_Width, heightRow);
- [self.contentView addSubview:vOutStorageAcreage];
-
- UILabel *outStorageAcreageTitleLbl= [UILabel new];
- outStorageAcreageTitleLbl.frame=CGRectMake(lblx, valuey,lblwidth, lblheight);
- outStorageAcreageTitleLbl.textColor = [UIColor blackColor];
- outStorageAcreageTitleLbl.font = [UIFont systemFontOfSize: LabelAndTextFontOfSize];
- outStorageAcreageTitleLbl.text=@"出库面积:";
- [vOutStorageAcreage addSubview:outStorageAcreageTitleLbl];
-
- _outStorageAcreageLbl=[UILabel new];
- _outStorageAcreageLbl.frame=CGRectMake(CGRectGetMaxX(outStorageAcreageTitleLbl.frame), valuey,Screen_Width-CGRectGetMaxX(outStorageAcreageTitleLbl.frame)-10, valueheight);
- _outStorageAcreageLbl.textColor = [UIColor blackColor];
- _outStorageAcreageLbl.font = [UIFont systemFontOfSize: LabelAndTextFontOfSize];
- [vOutStorageAcreage addSubview:_outStorageAcreageLbl];
- _outStorageAcreageLbl.text=_outStorageListDetailModel.M2;
-
- UIView *vReturnQuantity = [UIView new];
- vReturnQuantity.frame=CGRectMake(0,CGRectGetMaxY(vOutStorageAcreage.frame), Screen_Width, heightRow);
- [self.contentView addSubview:vReturnQuantity];
-
- UILabel *returnQuantityTitleLbl= [UILabel new];
- returnQuantityTitleLbl.frame=CGRectMake(lblx, valuey,lblwidth, lblheight);
- returnQuantityTitleLbl.textColor = [UIColor blackColor];
- returnQuantityTitleLbl.font = [UIFont systemFontOfSize: LabelAndTextFontOfSize];
- returnQuantityTitleLbl.text=@"退货数量:";
- [vReturnQuantity addSubview:returnQuantityTitleLbl];
-
- _returnQuantityLbl=[UILabel new];
- _returnQuantityLbl.frame=CGRectMake(CGRectGetMaxX(returnQuantityTitleLbl.frame), valuey,Screen_Width-CGRectGetMaxX(returnQuantityTitleLbl.frame)-10, valueheight);
- _returnQuantityLbl.textColor = [UIColor blackColor];
- _returnQuantityLbl.font = [UIFont systemFontOfSize: LabelAndTextFontOfSize];
- [vReturnQuantity addSubview:_returnQuantityLbl];
- _returnQuantityLbl.text=_outStorageListDetailModel.returnQuantity;
-
- UIView *vDeliveryPrice = [UIView new];
- vDeliveryPrice.frame=CGRectMake(0,CGRectGetMaxY(vReturnQuantity.frame), Screen_Width, heightRow);
- [self.contentView addSubview:vDeliveryPrice];
-
- UILabel *deliveryPriceTitleLbl= [UILabel new];
- deliveryPriceTitleLbl.frame=CGRectMake(lblx, valuey,lblwidth, lblheight);
- deliveryPriceTitleLbl.textColor = [UIColor blackColor];
- deliveryPriceTitleLbl.font = [UIFont systemFontOfSize: LabelAndTextFontOfSize];
- deliveryPriceTitleLbl.text=@"出库单价:";
- [vDeliveryPrice addSubview:deliveryPriceTitleLbl];
-
- _outStoragePriceLbl=[UILabel new];
- _outStoragePriceLbl.frame=CGRectMake(CGRectGetMaxX(deliveryPriceTitleLbl.frame), valuey,Screen_Width-CGRectGetMaxX(deliveryPriceTitleLbl.frame)-10, valueheight);
- _outStoragePriceLbl.textColor = [UIColor blackColor];
- _outStoragePriceLbl.font = [UIFont systemFontOfSize: LabelAndTextFontOfSize];
- [vDeliveryPrice addSubview:_outStoragePriceLbl];
- _outStoragePriceLbl.text=_outStorageListDetailModel.deliveryPrice;
-
- UIView *vSalesPrice = [UIView new];
- vSalesPrice.frame=CGRectMake(0,CGRectGetMaxY(vDeliveryPrice.frame), Screen_Width, heightRow);
- [self.contentView addSubview:vSalesPrice];
-
- UILabel *salesPriceTitleLbl= [UILabel new];
- salesPriceTitleLbl.frame=CGRectMake(lblx, valuey,lblwidth, lblheight);
- salesPriceTitleLbl.textColor = [UIColor blackColor];
- salesPriceTitleLbl.font = [UIFont systemFontOfSize: LabelAndTextFontOfSize];
- salesPriceTitleLbl.text=@"销售价格:";
- [vSalesPrice addSubview:salesPriceTitleLbl];
-
- _salesPriceLbl=[UILabel new];
- _salesPriceLbl.frame=CGRectMake(CGRectGetMaxX(salesPriceTitleLbl.frame), valuey,Screen_Width-CGRectGetMaxX(salesPriceTitleLbl.frame)-10, valueheight);
- _salesPriceLbl.textColor = [UIColor blackColor];
- _salesPriceLbl.font = [UIFont systemFontOfSize: LabelAndTextFontOfSize];
- [vSalesPrice addSubview:_salesPriceLbl];
- _salesPriceLbl.text=_outStorageListDetailModel.salesPrice;
-
- UIView *vAccountDate = [UIView new];
- vAccountDate.frame=CGRectMake(0,CGRectGetMaxY(vSalesPrice.frame), Screen_Width, heightRow);
- [self.contentView addSubview:vAccountDate];
-
- UILabel *accountDateTitleLbl= [UILabel new];
- accountDateTitleLbl.frame=CGRectMake(lblx, valuey,lblwidth, lblheight);
- accountDateTitleLbl.textColor = [UIColor blackColor];
- accountDateTitleLbl.font = [UIFont systemFontOfSize: LabelAndTextFontOfSize];
- accountDateTitleLbl.text=@"账务日期:";
- [vAccountDate addSubview:accountDateTitleLbl];
-
- _accountDateLbl=[UILabel new];
- _accountDateLbl.frame=CGRectMake(CGRectGetMaxX(accountDateTitleLbl.frame), valuey,Screen_Width-CGRectGetMaxX(accountDateTitleLbl.frame)-10, valueheight);
- _accountDateLbl.textColor = [UIColor blackColor];
- _accountDateLbl.font = [UIFont systemFontOfSize: LabelAndTextFontOfSize];
- [vAccountDate addSubview:_accountDateLbl];
- _accountDateLbl.text=_outStorageListDetailModel.accountDate;
-
- UIView *vPackage = [UIView new];
- vPackage.frame=CGRectMake(0,CGRectGetMaxY(vAccountDate.frame), Screen_Width, heightRow);
- [self.contentView addSubview:vPackage];
-
- UILabel *packageTitleLbl= [UILabel new];
- packageTitleLbl.frame=CGRectMake(lblx, valuey,lblwidth, lblheight);
- packageTitleLbl.textColor = [UIColor blackColor];
- packageTitleLbl.font = [UIFont systemFontOfSize: LabelAndTextFontOfSize];
- packageTitleLbl.text=@"包 装:";
- [vPackage addSubview:packageTitleLbl];
-
- _packageLbl=[UILabel new];
- _packageLbl.frame=CGRectMake(CGRectGetMaxX(packageTitleLbl.frame), valuey,Screen_Width-CGRectGetMaxX(packageTitleLbl.frame)-10, valueheight);
- _packageLbl.textColor = [UIColor blackColor];
- _packageLbl.font = [UIFont systemFontOfSize: LabelAndTextFontOfSize];
- [vPackage addSubview:_packageLbl];
- _packageLbl.text=_outStorageListDetailModel.package;
-
- UIView *vUnit = [UIView new];
- vUnit.frame=CGRectMake(0,CGRectGetMaxY(vPackage.frame), Screen_Width, heightRow);
- [self.contentView addSubview:vUnit];
-
- UILabel *unitTitleLbl= [UILabel new];
- unitTitleLbl.frame=CGRectMake(lblx, valuey,lblwidth, lblheight);
- unitTitleLbl.textColor = [UIColor blackColor];
- unitTitleLbl.font = [UIFont systemFontOfSize: LabelAndTextFontOfSize];
- unitTitleLbl.text=@"计量单位:";
- [vUnit addSubview:unitTitleLbl];
-
- _unitLbl=[UILabel new];
- _unitLbl.frame=CGRectMake(CGRectGetMaxX(unitTitleLbl.frame), valuey,Screen_Width-CGRectGetMaxX(unitTitleLbl.frame)-10, valueheight);
- _unitLbl.textColor = [UIColor blackColor];
- _unitLbl.font = [UIFont systemFontOfSize: LabelAndTextFontOfSize];
- [vUnit addSubview:_unitLbl];
- _unitLbl.text=_outStorageListDetailModel.unitName;
-
- UIView *vCirculateType = [UIView new];
- vCirculateType.frame=CGRectMake(0,CGRectGetMaxY(vUnit.frame), Screen_Width, heightRow);
- [self.contentView addSubview:vCirculateType];
-
- UILabel *circulateTypeTitleLbl= [UILabel new];
- circulateTypeTitleLbl.frame=CGRectMake(lblx, valuey,lblwidth, lblheight);
- circulateTypeTitleLbl.textColor = [UIColor blackColor];
- circulateTypeTitleLbl.font = [UIFont systemFontOfSize: LabelAndTextFontOfSize];
- circulateTypeTitleLbl.text=@"流通方式:";
- [vCirculateType addSubview:circulateTypeTitleLbl];
-
- _circulateTypeNameLbl=[UILabel new];
- _circulateTypeNameLbl.frame=CGRectMake(CGRectGetMaxX(circulateTypeTitleLbl.frame), valuey,Screen_Width-CGRectGetMaxX(circulateTypeTitleLbl.frame)-10, valueheight);
- _circulateTypeNameLbl.textColor = [UIColor blackColor];
- _circulateTypeNameLbl.font = [UIFont systemFontOfSize: LabelAndTextFontOfSize];
- [vCirculateType addSubview:_circulateTypeNameLbl];
- _circulateTypeNameLbl.text=_outStorageListDetailModel.goodsCirculateTypeName;
-
- UIView *vWeight = [UIView new];
- vWeight.frame=CGRectMake(0,CGRectGetMaxY(vCirculateType.frame), Screen_Width, heightRow);
- [self.contentView addSubview:vWeight];
-
- UILabel *weightTitleLbl= [UILabel new];
- weightTitleLbl.frame=CGRectMake(lblx, valuey,lblwidth, lblheight);
- weightTitleLbl.textColor = [UIColor blackColor];
- weightTitleLbl.font = [UIFont systemFontOfSize: LabelAndTextFontOfSize];
- weightTitleLbl.text=@"单位重量:";
- [vWeight addSubview:weightTitleLbl];
-
- _weightLbl=[UILabel new];
- _weightLbl.frame=CGRectMake(CGRectGetMaxX(weightTitleLbl.frame), valuey,Screen_Width-CGRectGetMaxX(circulateTypeTitleLbl.frame)-10, valueheight);
- _weightLbl.textColor = [UIColor blackColor];
- _weightLbl.font = [UIFont systemFontOfSize: LabelAndTextFontOfSize];
- [vWeight addSubview:_weightLbl];
- _weightLbl.text=_outStorageListDetailModel.weight;
-
- UIView *vUnitAcreage = [UIView new];
- vUnitAcreage.frame=CGRectMake(0,CGRectGetMaxY(vWeight.frame), Screen_Width, heightRow);
- [self.contentView addSubview:vUnitAcreage];
-
- UILabel *acreageTitleLbl= [UILabel new];
- acreageTitleLbl.frame=CGRectMake(lblx, valuey,lblwidth, lblheight);
- acreageTitleLbl.textColor = [UIColor blackColor];
- acreageTitleLbl.font = [UIFont systemFontOfSize: LabelAndTextFontOfSize];
- acreageTitleLbl.text=@"单位面积:";
- [vUnitAcreage addSubview:acreageTitleLbl];
-
- _acreageLbl=[UILabel new];
- _acreageLbl.frame=CGRectMake(CGRectGetMaxX(acreageTitleLbl.frame), valuey,Screen_Width-CGRectGetMaxX(acreageTitleLbl.frame)-10, valueheight);
- _acreageLbl.textColor = [UIColor blackColor];
- _acreageLbl.font = [UIFont systemFontOfSize: LabelAndTextFontOfSize];
- [vUnitAcreage addSubview:_acreageLbl];
- _acreageLbl.text=_outStorageListDetailModel.acreage;
-
- UIView *vUnitVolume = [UIView new];
- vUnitVolume.frame=CGRectMake(0,CGRectGetMaxY(vUnitAcreage.frame), Screen_Width, heightRow);
- [self.contentView addSubview:vUnitVolume];
-
- UILabel *volumeTitleLbl= [UILabel new];
- volumeTitleLbl.frame=CGRectMake(lblx, valuey,lblwidth, lblheight);
- volumeTitleLbl.textColor = [UIColor blackColor];
- volumeTitleLbl.font = [UIFont systemFontOfSize: LabelAndTextFontOfSize];
- volumeTitleLbl.text=@"单位体积:";
- [vUnitVolume addSubview:volumeTitleLbl];
-
- _volumeLbl=[UILabel new];
- _volumeLbl.frame=CGRectMake(CGRectGetMaxX(volumeTitleLbl.frame), valuey,Screen_Width-CGRectGetMaxX(volumeTitleLbl.frame)-10, valueheight);
- _volumeLbl.textColor = [UIColor blackColor];
- _volumeLbl.font = [UIFont systemFontOfSize: LabelAndTextFontOfSize];
- [vUnitVolume addSubview:_volumeLbl];
- _volumeLbl.text=_outStorageListDetailModel.volume;
-
-
- UIView *vGoodsName = [UIView new];
- vGoodsName.frame=CGRectMake(0,CGRectGetMaxY(vUnitVolume.frame), Screen_Width, heightRow);
- [self.contentView addSubview:vGoodsName];
-
- UILabel *goodsNameTitleLbl= [UILabel new];
- goodsNameTitleLbl.frame=CGRectMake(lblx, valuey,lblwidth, lblheight);
- goodsNameTitleLbl.textColor = [UIColor blackColor];
- goodsNameTitleLbl.font = [UIFont systemFontOfSize: LabelAndTextFontOfSize];
- goodsNameTitleLbl.text=@"商品名称:";
- [vGoodsName addSubview:goodsNameTitleLbl];
-
- _goodsNameLbl=[UILabel new];
- _goodsNameLbl.frame=CGRectMake(CGRectGetMaxX(goodsNameTitleLbl.frame), valuey,Screen_Width-CGRectGetMaxX(goodsNameTitleLbl.frame)-10, valueheight);
- _goodsNameLbl.textColor = [UIColor blackColor];
- _goodsNameLbl.font = [UIFont systemFontOfSize: LabelAndTextFontOfSize];
- [vGoodsName addSubview:_goodsNameLbl];
- _goodsNameLbl.text=_outStorageListDetailModel.goodsName;
-
- UIView *vExpandAttribute = [UIView new];
- vExpandAttribute.frame=CGRectMake(0,CGRectGetMaxY(vGoodsName.frame), Screen_Width, heightRow);
- [self.contentView addSubview:vExpandAttribute];
-
- UILabel *expandAttributeTitleLbl= [UILabel new];
- expandAttributeTitleLbl.frame=CGRectMake(lblx, valuey,lblwidth, lblheight);
- expandAttributeTitleLbl.textColor = [UIColor blackColor];
- expandAttributeTitleLbl.font = [UIFont systemFontOfSize: LabelAndTextFontOfSize];
- expandAttributeTitleLbl.text=@"扩展属性:";
- [vExpandAttribute addSubview:expandAttributeTitleLbl];
-
- _expandAtrributeLbl=[UILabel new];
- _expandAtrributeLbl.frame=CGRectMake(CGRectGetMaxX(expandAttributeTitleLbl.frame), valuey,Screen_Width-CGRectGetMaxX(expandAttributeTitleLbl.frame)-10, valueheight);
- _expandAtrributeLbl.textColor = [UIColor blackColor];
- _expandAtrributeLbl.font = [UIFont systemFontOfSize: LabelAndTextFontOfSize];
- [vExpandAttribute addSubview:_expandAtrributeLbl];
- _expandAtrributeLbl.text=_outStorageListDetailModel.expandAtrribute;
-
-
- UIView *vExpandAttribute2 = [UIView new];
- vExpandAttribute2.frame=CGRectMake(0,CGRectGetMaxY(vExpandAttribute.frame), Screen_Width, heightRow);
- [self.contentView addSubview:vExpandAttribute2];
-
- UILabel *expandAttribute2TitleLbl= [UILabel new];
- expandAttribute2TitleLbl.frame=CGRectMake(lblx, valuey,lblwidth+10, lblheight);
- expandAttribute2TitleLbl.textColor = [UIColor blackColor];
- expandAttribute2TitleLbl.font = [UIFont systemFontOfSize: LabelAndTextFontOfSize];
- expandAttribute2TitleLbl.text=@"扩展属性二:";
- [vExpandAttribute2 addSubview:expandAttribute2TitleLbl];
-
- _expandAtrribute2Lbl=[UILabel new];
- _expandAtrribute2Lbl.frame=CGRectMake(CGRectGetMaxX(expandAttribute2TitleLbl.frame), valuey,Screen_Width-CGRectGetMaxX(expandAttribute2TitleLbl.frame)-10, valueheight);
- _expandAtrribute2Lbl.textColor = [UIColor blackColor];
- _expandAtrribute2Lbl.font = [UIFont systemFontOfSize: LabelAndTextFontOfSize];
- [vExpandAttribute2 addSubview:_expandAtrribute2Lbl];
- _expandAtrribute2Lbl.text=_outStorageListDetailModel.expandAtrribute2;
-
-
- UIView *vGoodsRemarks = [UIView new];
- vGoodsRemarks.frame=CGRectMake(0,CGRectGetMaxY(vExpandAttribute2.frame), Screen_Width, heightRow);
- [self.contentView addSubview:vGoodsRemarks];
-
- UILabel *goodsRemarksTitleLbl= [UILabel new];
- goodsRemarksTitleLbl.frame=CGRectMake(lblx, valuey,lblwidth, lblheight);
- goodsRemarksTitleLbl.textColor = [UIColor blackColor];
- goodsRemarksTitleLbl.font = [UIFont systemFontOfSize: LabelAndTextFontOfSize];
- goodsRemarksTitleLbl.text=@"商品备注:";
- [vGoodsRemarks addSubview:goodsRemarksTitleLbl];
-
- _goodsRemarksLbl=[UILabel new];
- _goodsRemarksLbl.frame=CGRectMake(CGRectGetMaxX(goodsRemarksTitleLbl.frame), valuey,Screen_Width-CGRectGetMaxX(goodsRemarksTitleLbl.frame)-10, valueheight);
- _goodsRemarksLbl.textColor = [UIColor blackColor];
- _goodsRemarksLbl.font = [UIFont systemFontOfSize: LabelAndTextFontOfSize];
- [vGoodsRemarks addSubview:_goodsRemarksLbl];
- _goodsRemarksLbl.text=_outStorageListDetailModel.goodsRemarks;
-
-
- UIView *vRemarks = [UIView new];
- vRemarks.frame=CGRectMake(0,CGRectGetMaxY(vGoodsRemarks.frame), Screen_Width, heightRow);
- [self.contentView addSubview:vRemarks];
-
- UILabel *remarksTitleLbl= [UILabel new];
- remarksTitleLbl.frame=CGRectMake(lblx, valuey,lblwidth, lblheight);
- remarksTitleLbl.textColor = [UIColor blackColor];
- remarksTitleLbl.font = [UIFont systemFontOfSize: LabelAndTextFontOfSize];
- remarksTitleLbl.text=@"备 注:";
- [vRemarks addSubview:remarksTitleLbl];
-
- _remarksLbl=[UILabel new];
- _remarksLbl.frame=CGRectMake(CGRectGetMaxX(remarksTitleLbl.frame), valuey,Screen_Width-CGRectGetMaxX(remarksTitleLbl.frame)-10, valueheight);
- _remarksLbl.textColor = [UIColor blackColor];
- _remarksLbl.font = [UIFont systemFontOfSize: LabelAndTextFontOfSize];
- [vRemarks addSubview:_remarksLbl];
- _remarksLbl.text=_outStorageListDetailModel.remarks;
-
- _bottomSeparator= [UIView new];
- _bottomSeparator.frame=CGRectMake(0, CGRectGetMaxY(vRemarks.frame)+5, Screen_Width, 10);
- _bottomSeparator.backgroundColor = LineBackgroundColor;
- [self.contentView addSubview:_bottomSeparator];
-
- }
- @end
|