Commit 428f8454 authored by lujunye's avatar lujunye

改Icon,部分出入库

parent b881c2e8
...@@ -27,6 +27,12 @@ ...@@ -27,6 +27,12 @@
E00E48C32457C0D600F16545 /* XuanZeShangPinViewController.xib in Resources */ = {isa = PBXBuildFile; fileRef = E00E48C12457C0D600F16545 /* XuanZeShangPinViewController.xib */; }; E00E48C32457C0D600F16545 /* XuanZeShangPinViewController.xib in Resources */ = {isa = PBXBuildFile; fileRef = E00E48C12457C0D600F16545 /* XuanZeShangPinViewController.xib */; };
E00E48C62457C99900F16545 /* KuCunShangPinXQViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = E00E48C42457C99900F16545 /* KuCunShangPinXQViewController.swift */; }; E00E48C62457C99900F16545 /* KuCunShangPinXQViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = E00E48C42457C99900F16545 /* KuCunShangPinXQViewController.swift */; };
E00E48C72457C99900F16545 /* KuCunShangPinXQViewController.xib in Resources */ = {isa = PBXBuildFile; fileRef = E00E48C52457C99900F16545 /* KuCunShangPinXQViewController.xib */; }; E00E48C72457C99900F16545 /* KuCunShangPinXQViewController.xib in Resources */ = {isa = PBXBuildFile; fileRef = E00E48C52457C99900F16545 /* KuCunShangPinXQViewController.xib */; };
E013D7882484B1B90092DE46 /* CRKXiangQVC.swift in Sources */ = {isa = PBXBuildFile; fileRef = E013D7862484B1B90092DE46 /* CRKXiangQVC.swift */; };
E013D7892484B1B90092DE46 /* CRKXiangQVC.xib in Resources */ = {isa = PBXBuildFile; fileRef = E013D7872484B1B90092DE46 /* CRKXiangQVC.xib */; };
E013D78C2484CAFC0092DE46 /* CRKBtnCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = E013D78A2484CAFC0092DE46 /* CRKBtnCell.swift */; };
E013D78D2484CAFC0092DE46 /* CRKBtnCell.xib in Resources */ = {isa = PBXBuildFile; fileRef = E013D78B2484CAFC0092DE46 /* CRKBtnCell.xib */; };
E013D7902484D5AF0092DE46 /* NewCKCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = E013D78E2484D5AF0092DE46 /* NewCKCell.swift */; };
E013D7912484D5AF0092DE46 /* NewCKCell.xib in Resources */ = {isa = PBXBuildFile; fileRef = E013D78F2484D5AF0092DE46 /* NewCKCell.xib */; };
E01C26B12446989700ADCC70 /* Interface_Z.plist in Resources */ = {isa = PBXBuildFile; fileRef = E01C26B02446989700ADCC70 /* Interface_Z.plist */; }; E01C26B12446989700ADCC70 /* Interface_Z.plist in Resources */ = {isa = PBXBuildFile; fileRef = E01C26B02446989700ADCC70 /* Interface_Z.plist */; };
E01C26B62446AF3100ADCC70 /* DemoViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = E01C26B42446AF3100ADCC70 /* DemoViewController.swift */; }; E01C26B62446AF3100ADCC70 /* DemoViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = E01C26B42446AF3100ADCC70 /* DemoViewController.swift */; };
E01C26B72446AF3100ADCC70 /* DemoViewController.xib in Resources */ = {isa = PBXBuildFile; fileRef = E01C26B52446AF3100ADCC70 /* DemoViewController.xib */; }; E01C26B72446AF3100ADCC70 /* DemoViewController.xib in Resources */ = {isa = PBXBuildFile; fileRef = E01C26B52446AF3100ADCC70 /* DemoViewController.xib */; };
...@@ -245,8 +251,6 @@ ...@@ -245,8 +251,6 @@
E0CC848824823EC1009B1FE9 /* CRKCell.xib in Resources */ = {isa = PBXBuildFile; fileRef = E0CC848624823EC1009B1FE9 /* CRKCell.xib */; }; E0CC848824823EC1009B1FE9 /* CRKCell.xib in Resources */ = {isa = PBXBuildFile; fileRef = E0CC848624823EC1009B1FE9 /* CRKCell.xib */; };
E0CC848B24824291009B1FE9 /* CRKListVC.swift in Sources */ = {isa = PBXBuildFile; fileRef = E0CC848924824291009B1FE9 /* CRKListVC.swift */; }; E0CC848B24824291009B1FE9 /* CRKListVC.swift in Sources */ = {isa = PBXBuildFile; fileRef = E0CC848924824291009B1FE9 /* CRKListVC.swift */; };
E0CC848C24824291009B1FE9 /* CRKListVC.xib in Resources */ = {isa = PBXBuildFile; fileRef = E0CC848A24824291009B1FE9 /* CRKListVC.xib */; }; E0CC848C24824291009B1FE9 /* CRKListVC.xib in Resources */ = {isa = PBXBuildFile; fileRef = E0CC848A24824291009B1FE9 /* CRKListVC.xib */; };
E0CC848F248251F6009B1FE9 /* CRKXQVC.swift in Sources */ = {isa = PBXBuildFile; fileRef = E0CC848D248251F6009B1FE9 /* CRKXQVC.swift */; };
E0CC8490248251F6009B1FE9 /* CRKXQVC.xib in Resources */ = {isa = PBXBuildFile; fileRef = E0CC848E248251F6009B1FE9 /* CRKXQVC.xib */; };
E0D197BA2448431C002B080C /* BabyDefine.m in Sources */ = {isa = PBXBuildFile; fileRef = E0D197A92448431B002B080C /* BabyDefine.m */; }; E0D197BA2448431C002B080C /* BabyDefine.m in Sources */ = {isa = PBXBuildFile; fileRef = E0D197A92448431B002B080C /* BabyDefine.m */; };
E0D197BB2448431C002B080C /* BabyCallback.m in Sources */ = {isa = PBXBuildFile; fileRef = E0D197AB2448431B002B080C /* BabyCallback.m */; }; E0D197BB2448431C002B080C /* BabyCallback.m in Sources */ = {isa = PBXBuildFile; fileRef = E0D197AB2448431B002B080C /* BabyCallback.m */; };
E0D197BC2448431C002B080C /* BabyPeripheralManager.m in Sources */ = {isa = PBXBuildFile; fileRef = E0D197AD2448431B002B080C /* BabyPeripheralManager.m */; }; E0D197BC2448431C002B080C /* BabyPeripheralManager.m in Sources */ = {isa = PBXBuildFile; fileRef = E0D197AD2448431B002B080C /* BabyPeripheralManager.m */; };
...@@ -522,6 +526,12 @@ ...@@ -522,6 +526,12 @@
E00E48C12457C0D600F16545 /* XuanZeShangPinViewController.xib */ = {isa = PBXFileReference; lastKnownFileType = file.xib; path = XuanZeShangPinViewController.xib; sourceTree = "<group>"; }; E00E48C12457C0D600F16545 /* XuanZeShangPinViewController.xib */ = {isa = PBXFileReference; lastKnownFileType = file.xib; path = XuanZeShangPinViewController.xib; sourceTree = "<group>"; };
E00E48C42457C99900F16545 /* KuCunShangPinXQViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = KuCunShangPinXQViewController.swift; sourceTree = "<group>"; }; E00E48C42457C99900F16545 /* KuCunShangPinXQViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = KuCunShangPinXQViewController.swift; sourceTree = "<group>"; };
E00E48C52457C99900F16545 /* KuCunShangPinXQViewController.xib */ = {isa = PBXFileReference; lastKnownFileType = file.xib; path = KuCunShangPinXQViewController.xib; sourceTree = "<group>"; }; E00E48C52457C99900F16545 /* KuCunShangPinXQViewController.xib */ = {isa = PBXFileReference; lastKnownFileType = file.xib; path = KuCunShangPinXQViewController.xib; sourceTree = "<group>"; };
E013D7862484B1B90092DE46 /* CRKXiangQVC.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = CRKXiangQVC.swift; sourceTree = "<group>"; };
E013D7872484B1B90092DE46 /* CRKXiangQVC.xib */ = {isa = PBXFileReference; lastKnownFileType = file.xib; path = CRKXiangQVC.xib; sourceTree = "<group>"; };
E013D78A2484CAFC0092DE46 /* CRKBtnCell.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = CRKBtnCell.swift; sourceTree = "<group>"; };
E013D78B2484CAFC0092DE46 /* CRKBtnCell.xib */ = {isa = PBXFileReference; lastKnownFileType = file.xib; path = CRKBtnCell.xib; sourceTree = "<group>"; };
E013D78E2484D5AF0092DE46 /* NewCKCell.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = NewCKCell.swift; sourceTree = "<group>"; };
E013D78F2484D5AF0092DE46 /* NewCKCell.xib */ = {isa = PBXFileReference; lastKnownFileType = file.xib; path = NewCKCell.xib; sourceTree = "<group>"; };
E01C26B02446989700ADCC70 /* Interface_Z.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = Interface_Z.plist; sourceTree = "<group>"; }; E01C26B02446989700ADCC70 /* Interface_Z.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = Interface_Z.plist; sourceTree = "<group>"; };
E01C26B42446AF3100ADCC70 /* DemoViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = DemoViewController.swift; sourceTree = "<group>"; }; E01C26B42446AF3100ADCC70 /* DemoViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = DemoViewController.swift; sourceTree = "<group>"; };
E01C26B52446AF3100ADCC70 /* DemoViewController.xib */ = {isa = PBXFileReference; lastKnownFileType = file.xib; path = DemoViewController.xib; sourceTree = "<group>"; }; E01C26B52446AF3100ADCC70 /* DemoViewController.xib */ = {isa = PBXFileReference; lastKnownFileType = file.xib; path = DemoViewController.xib; sourceTree = "<group>"; };
...@@ -740,8 +750,6 @@ ...@@ -740,8 +750,6 @@
E0CC848624823EC1009B1FE9 /* CRKCell.xib */ = {isa = PBXFileReference; lastKnownFileType = file.xib; path = CRKCell.xib; sourceTree = "<group>"; }; E0CC848624823EC1009B1FE9 /* CRKCell.xib */ = {isa = PBXFileReference; lastKnownFileType = file.xib; path = CRKCell.xib; sourceTree = "<group>"; };
E0CC848924824291009B1FE9 /* CRKListVC.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = CRKListVC.swift; sourceTree = "<group>"; }; E0CC848924824291009B1FE9 /* CRKListVC.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = CRKListVC.swift; sourceTree = "<group>"; };
E0CC848A24824291009B1FE9 /* CRKListVC.xib */ = {isa = PBXFileReference; lastKnownFileType = file.xib; path = CRKListVC.xib; sourceTree = "<group>"; }; E0CC848A24824291009B1FE9 /* CRKListVC.xib */ = {isa = PBXFileReference; lastKnownFileType = file.xib; path = CRKListVC.xib; sourceTree = "<group>"; };
E0CC848D248251F6009B1FE9 /* CRKXQVC.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = CRKXQVC.swift; sourceTree = "<group>"; };
E0CC848E248251F6009B1FE9 /* CRKXQVC.xib */ = {isa = PBXFileReference; lastKnownFileType = file.xib; path = CRKXQVC.xib; sourceTree = "<group>"; };
E0D197A82448431B002B080C /* BabyCentralManager.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = BabyCentralManager.h; sourceTree = "<group>"; }; E0D197A82448431B002B080C /* BabyCentralManager.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = BabyCentralManager.h; sourceTree = "<group>"; };
E0D197A92448431B002B080C /* BabyDefine.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = BabyDefine.m; sourceTree = "<group>"; }; E0D197A92448431B002B080C /* BabyDefine.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = BabyDefine.m; sourceTree = "<group>"; };
E0D197AA2448431B002B080C /* BabyOptions.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = BabyOptions.h; sourceTree = "<group>"; }; E0D197AA2448431B002B080C /* BabyOptions.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = BabyOptions.h; sourceTree = "<group>"; };
...@@ -1281,8 +1289,12 @@ ...@@ -1281,8 +1289,12 @@
children = ( children = (
E0CC848924824291009B1FE9 /* CRKListVC.swift */, E0CC848924824291009B1FE9 /* CRKListVC.swift */,
E0CC848A24824291009B1FE9 /* CRKListVC.xib */, E0CC848A24824291009B1FE9 /* CRKListVC.xib */,
E0CC848D248251F6009B1FE9 /* CRKXQVC.swift */, E013D7862484B1B90092DE46 /* CRKXiangQVC.swift */,
E0CC848E248251F6009B1FE9 /* CRKXQVC.xib */, E013D7872484B1B90092DE46 /* CRKXiangQVC.xib */,
E013D78A2484CAFC0092DE46 /* CRKBtnCell.swift */,
E013D78B2484CAFC0092DE46 /* CRKBtnCell.xib */,
E013D78E2484D5AF0092DE46 /* NewCKCell.swift */,
E013D78F2484D5AF0092DE46 /* NewCKCell.xib */,
); );
path = "出入库记录"; path = "出入库记录";
sourceTree = "<group>"; sourceTree = "<group>";
...@@ -2560,9 +2572,9 @@ ...@@ -2560,9 +2572,9 @@
F9DDBE972457D3EC00A32CB2 /* WebViewController.xib in Resources */, F9DDBE972457D3EC00A32CB2 /* WebViewController.xib in Resources */,
E0F97B0424512299001BD600 /* GLAlertSelectView.xib in Resources */, E0F97B0424512299001BD600 /* GLAlertSelectView.xib in Resources */,
F9023F6E2449A9B100DD5A63 /* TitleAndTFCell.xib in Resources */, F9023F6E2449A9B100DD5A63 /* TitleAndTFCell.xib in Resources */,
E0CC8490248251F6009B1FE9 /* CRKXQVC.xib in Resources */,
F94A315424626D7800FEC38E /* WorkCViewController.xib in Resources */, F94A315424626D7800FEC38E /* WorkCViewController.xib in Resources */,
E042F7392452766100CDFA12 /* AdressSelectCell.xib in Resources */, E042F7392452766100CDFA12 /* AdressSelectCell.xib in Resources */,
E013D7892484B1B90092DE46 /* CRKXiangQVC.xib in Resources */,
E0A409C92464010D00CFF109 /* FirstCell.xib in Resources */, E0A409C92464010D00CFF109 /* FirstCell.xib in Resources */,
E00E48C32457C0D600F16545 /* XuanZeShangPinViewController.xib in Resources */, E00E48C32457C0D600F16545 /* XuanZeShangPinViewController.xib in Resources */,
F9023F6A2449A50900DD5A63 /* TitleContentCell.xib in Resources */, F9023F6A2449A50900DD5A63 /* TitleContentCell.xib in Resources */,
...@@ -2634,6 +2646,7 @@ ...@@ -2634,6 +2646,7 @@
E0BE8A88245A7A1500E80134 /* JiBenXinXiCell.xib in Resources */, E0BE8A88245A7A1500E80134 /* JiBenXinXiCell.xib in Resources */,
F93E320F2473DF2300524DFC /* GeliAlertTextView.xib in Resources */, F93E320F2473DF2300524DFC /* GeliAlertTextView.xib in Resources */,
E0A2E81B24552E3C00D6DB34 /* XinZengPinPaiViewController.xib in Resources */, E0A2E81B24552E3C00D6DB34 /* XinZengPinPaiViewController.xib in Resources */,
E013D7912484D5AF0092DE46 /* NewCKCell.xib in Resources */,
F94A315C24628C7E00FEC38E /* WorkItemTableViewCell.xib in Resources */, F94A315C24628C7E00FEC38E /* WorkItemTableViewCell.xib in Resources */,
E0A7548B244A8F0F00A84B67 /* CheckWareHourseViewController.xib in Resources */, E0A7548B244A8F0F00A84B67 /* CheckWareHourseViewController.xib in Resources */,
F956D5A4246A2D9C003FF510 /* .gitignore in Resources */, F956D5A4246A2D9C003FF510 /* .gitignore in Resources */,
...@@ -2646,6 +2659,7 @@ ...@@ -2646,6 +2659,7 @@
E01EA1A5245A60E000F019D5 /* XiaDanChengGongViewController.xib in Resources */, E01EA1A5245A60E000F019D5 /* XiaDanChengGongViewController.xib in Resources */,
E042F74124528CD500CDFA12 /* TitleAndOnlyBtnCell.xib in Resources */, E042F74124528CD500CDFA12 /* TitleAndOnlyBtnCell.xib in Resources */,
E0D46C5724503EC50087B564 /* TitleAndSelectCell.xib in Resources */, E0D46C5724503EC50087B564 /* TitleAndSelectCell.xib in Resources */,
E013D78D2484CAFC0092DE46 /* CRKBtnCell.xib in Resources */,
E0A2E82C24555D8600D6DB34 /* KuCunXiangQingCell.xib in Resources */, E0A2E82C24555D8600D6DB34 /* KuCunXiangQingCell.xib in Resources */,
E020632D246CDD3F007A40C4 /* OrderDViewFooterView.xib in Resources */, E020632D246CDD3F007A40C4 /* OrderDViewFooterView.xib in Resources */,
E0F3C2CC24590C86006F0D1F /* XinZengAndBianJiKeHuViewController.xib in Resources */, E0F3C2CC24590C86006F0D1F /* XinZengAndBianJiKeHuViewController.xib in Resources */,
...@@ -2830,6 +2844,7 @@ ...@@ -2830,6 +2844,7 @@
F956D5A9246A2D9C003FF510 /* LMNLineChain.m in Sources */, F956D5A9246A2D9C003FF510 /* LMNLineChain.m in Sources */,
E020632F246CE2F9007A40C4 /* OrderDViewSumFooter.swift in Sources */, E020632F246CE2F9007A40C4 /* OrderDViewSumFooter.swift in Sources */,
F95D9CA424493E840080D6E3 /* ShopInfoViewController.swift in Sources */, F95D9CA424493E840080D6E3 /* ShopInfoViewController.swift in Sources */,
E013D7902484D5AF0092DE46 /* NewCKCell.swift in Sources */,
F9171EFC245128B200359C2B /* Interface.swift in Sources */, F9171EFC245128B200359C2B /* Interface.swift in Sources */,
E0F97B082451620B001BD600 /* ProductDetailViewController.swift in Sources */, E0F97B082451620B001BD600 /* ProductDetailViewController.swift in Sources */,
F95A9EDD24557CD500867849 /* GuanLianKehuVC.swift in Sources */, F95A9EDD24557CD500867849 /* GuanLianKehuVC.swift in Sources */,
...@@ -2905,6 +2920,7 @@ ...@@ -2905,6 +2920,7 @@
E09B03A82445B04E00211A51 /* BaseView.swift in Sources */, E09B03A82445B04E00211A51 /* BaseView.swift in Sources */,
F96A585224790E300070A057 /* XPathQuery.m in Sources */, F96A585224790E300070A057 /* XPathQuery.m in Sources */,
F933F6CB2452C68B00189561 /* Window.swift in Sources */, F933F6CB2452C68B00189561 /* Window.swift in Sources */,
E013D7882484B1B90092DE46 /* CRKXiangQVC.swift in Sources */,
E0DDCB0F244AD8C500DF54C7 /* DaiQueRenCell.swift in Sources */, E0DDCB0F244AD8C500DF54C7 /* DaiQueRenCell.swift in Sources */,
E042F74024528CD500CDFA12 /* TitleAndOnlyBtnCell.swift in Sources */, E042F74024528CD500CDFA12 /* TitleAndOnlyBtnCell.swift in Sources */,
F969BF07244EC38000C79953 /* GoodsCollectionViewCell.swift in Sources */, F969BF07244EC38000C79953 /* GoodsCollectionViewCell.swift in Sources */,
...@@ -2965,10 +2981,10 @@ ...@@ -2965,10 +2981,10 @@
E06524FD24581BD900CA22E2 /* PiCiXuanZeViewController.swift in Sources */, E06524FD24581BD900CA22E2 /* PiCiXuanZeViewController.swift in Sources */,
E00B0B1B24629E99006DC846 /* SJMapCell.swift in Sources */, E00B0B1B24629E99006DC846 /* SJMapCell.swift in Sources */,
F956D5B0246A2D9C003FF510 /* LMNItem.m in Sources */, F956D5B0246A2D9C003FF510 /* LMNItem.m in Sources */,
E013D78C2484CAFC0092DE46 /* CRKBtnCell.swift in Sources */,
F956D5B5246A2D9C003FF510 /* LMNStore.m in Sources */, F956D5B5246A2D9C003FF510 /* LMNStore.m in Sources */,
F956D5A7246A2D9C003FF510 /* LMNLineChain+Numbering.m in Sources */, F956D5A7246A2D9C003FF510 /* LMNLineChain+Numbering.m in Sources */,
E0A7548A244A8F0F00A84B67 /* CheckWareHourseViewController.swift in Sources */, E0A7548A244A8F0F00A84B67 /* CheckWareHourseViewController.swift in Sources */,
E0CC848F248251F6009B1FE9 /* CRKXQVC.swift in Sources */,
F9023F62244999F500DD5A63 /* WarehoseMangementCell.swift in Sources */, F9023F62244999F500DD5A63 /* WarehoseMangementCell.swift in Sources */,
F956D5B1246A2D9C003FF510 /* LMNFolder.m in Sources */, F956D5B1246A2D9C003FF510 /* LMNFolder.m in Sources */,
E0A409D424640B8300CFF109 /* DZGLViewController.swift in Sources */, E0A409D424640B8300CFF109 /* DZGLViewController.swift in Sources */,
......
...@@ -30,7 +30,7 @@ class GetGoodBatchDataModel: Mappable { ...@@ -30,7 +30,7 @@ class GetGoodBatchDataModel: Mappable {
var w_id : Int? //仓储id var w_id : Int? //仓储id
var p_id:Int? //库位id var p_id:Int? //库位id
var inventory : String? //现有库存 var inventory : Int? //现有库存
var production_data : Double?//生产日期 var production_data : Double?//生产日期
var valid_date:Double? //过期时间 var valid_date:Double? //过期时间
......
...@@ -12,7 +12,7 @@ import ObjectMapper ...@@ -12,7 +12,7 @@ import ObjectMapper
class OutGoodsDetailModel: Mappable { class OutGoodsDetailModel: Mappable {
var code:Int? var code:Int?
var message : String? var message : String?
var data : Array<OutGoodsDetailDataModel>? var data : OutGoodsDetailDataModel?
required init?( map: Map) { required init?( map: Map) {
......
...@@ -38,7 +38,7 @@ class WarehouseIoListDataModel: Mappable { ...@@ -38,7 +38,7 @@ class WarehouseIoListDataModel: Mappable {
var i_type : Int? var i_type : Int?
var o_type:Int? var o_type:Int?
var goods_res : WarehouseIoListDataResModel? //商品信息 var goods_res : Array<WarehouseIoListDataResModel>? //商品信息
var io_type_cn : String? //出/入库详细类型(已中文处理 var io_type_cn : String? //出/入库详细类型(已中文处理
......
...@@ -16,22 +16,24 @@ class CRKCell: UITableViewCell { ...@@ -16,22 +16,24 @@ class CRKCell: UITableViewCell {
@IBAction func btnClick(_ sender: UIButton) { @IBAction func btnClick(_ sender: UIButton) {
delegate?.CRKCellBtnClick(sender: sender,cell:self) delegate?.CRKCellBtnClick(sender: sender,cell:self)
} }
@IBOutlet weak var timeLbl: UILabel!
@IBOutlet weak var countLbl: UILabel! @IBOutlet weak var countLbl: UILabel!
@IBOutlet weak var statusNameLbl: UILabel! @IBOutlet weak var statusNameLbl: UILabel!
@IBOutlet weak var statusLbl: UILabel! @IBOutlet weak var statusLbl: UILabel!
@IBOutlet weak var nameLbl: UILabel! @IBOutlet weak var nameLbl: UILabel!
var dataArr:Array<Any>? = [] var dataArr:Array<WarehouseIoListDataResModel>? = []
override func awakeFromNib() { override func awakeFromNib() {
super.awakeFromNib() super.awakeFromNib()
self.selectionStyle = .none self.selectionStyle = .none
// Initialization code // Initialization code
} }
override func layoutIfNeeded() { override func layoutIfNeeded() {
super.layoutIfNeeded() print("234")
if dataArr != nil {
var num = 0 var num = 0
if dataArr!.count > 4 { if dataArr!.count > 4 {
num = 4 num = 4
...@@ -39,6 +41,7 @@ class CRKCell: UITableViewCell { ...@@ -39,6 +41,7 @@ class CRKCell: UITableViewCell {
num = dataArr!.count num = dataArr!.count
} }
for i in 0 ..< num { for i in 0 ..< num {
let model = dataArr![i]
let view = UIView() let view = UIView()
detialView.addSubview(view) detialView.addSubview(view)
view.backgroundColor = UIColor.white view.backgroundColor = UIColor.white
...@@ -60,7 +63,7 @@ class CRKCell: UITableViewCell { ...@@ -60,7 +63,7 @@ class CRKCell: UITableViewCell {
let lbl = UILabel() let lbl = UILabel()
lbl.font = UIFont.systemFont(ofSize: 13) lbl.font = UIFont.systemFont(ofSize: 13)
lbl.textColor = UIColor(named: "灰色字体颜色") lbl.textColor = UIColor(named: "灰色字体颜色")
lbl.text = "\(dataArr![i])" lbl.text = model.goods_name
view.addSubview(lbl) view.addSubview(lbl)
lbl.snp.makeConstraints { (make) in lbl.snp.makeConstraints { (make) in
make.left.equalTo(15) make.left.equalTo(15)
...@@ -70,6 +73,7 @@ class CRKCell: UITableViewCell { ...@@ -70,6 +73,7 @@ class CRKCell: UITableViewCell {
let lbl2 = UILabel() let lbl2 = UILabel()
lbl2.font = UIFont.systemFont(ofSize: 13) lbl2.font = UIFont.systemFont(ofSize: 13)
lbl2.textColor = UIColor(named: "灰色字体颜色") lbl2.textColor = UIColor(named: "灰色字体颜色")
lbl2.text = "x" + "\(model.number!)"
lbl2.textAlignment = .right lbl2.textAlignment = .right
view.addSubview(lbl2) view.addSubview(lbl2)
lbl2.snp.makeConstraints { (make) in lbl2.snp.makeConstraints { (make) in
...@@ -78,6 +82,9 @@ class CRKCell: UITableViewCell { ...@@ -78,6 +82,9 @@ class CRKCell: UITableViewCell {
} }
} }
} }
super.layoutIfNeeded()
}
override func setSelected(_ selected: Bool, animated: Bool) { override func setSelected(_ selected: Bool, animated: Bool) {
super.setSelected(selected, animated: animated) super.setSelected(selected, animated: animated)
......
...@@ -180,6 +180,7 @@ ...@@ -180,6 +180,7 @@
<outlet property="nameLbl" destination="C1r-Lj-aue" id="LhE-FE-60d"/> <outlet property="nameLbl" destination="C1r-Lj-aue" id="LhE-FE-60d"/>
<outlet property="statusLbl" destination="93P-aM-ST1" id="ch8-CG-bZc"/> <outlet property="statusLbl" destination="93P-aM-ST1" id="ch8-CG-bZc"/>
<outlet property="statusNameLbl" destination="Xmr-eU-LIr" id="xLJ-gj-9Ck"/> <outlet property="statusNameLbl" destination="Xmr-eU-LIr" id="xLJ-gj-9Ck"/>
<outlet property="timeLbl" destination="65j-rW-XU4" id="pUb-93-V9a"/>
</connections> </connections>
<point key="canvasLocation" x="116.66666666666667" y="175.11160714285714"/> <point key="canvasLocation" x="116.66666666666667" y="175.11160714285714"/>
</tableViewCell> </tableViewCell>
......
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="15702" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES"> <document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="16097" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES">
<device id="retina6_1" orientation="portrait" appearance="light"/> <device id="retina6_1" orientation="portrait" appearance="light"/>
<dependencies> <dependencies>
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="15704"/> <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="16087"/>
<capability name="Named colors" minToolsVersion="9.0"/> <capability name="Named colors" minToolsVersion="9.0"/>
<capability name="Safe area layout guides" minToolsVersion="9.0"/> <capability name="Safe area layout guides" minToolsVersion="9.0"/>
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/> <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
......
...@@ -17,14 +17,14 @@ ...@@ -17,14 +17,14 @@
<rect key="frame" x="0.0" y="0.0" width="320" height="44"/> <rect key="frame" x="0.0" y="0.0" width="320" height="44"/>
<autoresizingMask key="autoresizingMask"/> <autoresizingMask key="autoresizingMask"/>
<subviews> <subviews>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="数量" textAlignment="right" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="15g-hc-bWH"> <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="0" textAlignment="right" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="15g-hc-bWH">
<rect key="frame" x="278" y="14" width="27" height="16"/> <rect key="frame" x="296.5" y="14" width="8.5" height="16"/>
<fontDescription key="fontDescription" type="system" pointSize="13"/> <fontDescription key="fontDescription" type="system" pointSize="13"/>
<color key="textColor" name="#F57575"/> <color key="textColor" name="#F57575"/>
<nil key="highlightedColor"/> <nil key="highlightedColor"/>
</label> </label>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="出库商品数量:" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="G3w-rZ-aM6"> <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="出库商品数量:" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="G3w-rZ-aM6">
<rect key="frame" x="185" y="14" width="93" height="16"/> <rect key="frame" x="203.5" y="14" width="93" height="16"/>
<fontDescription key="fontDescription" type="system" pointSize="13"/> <fontDescription key="fontDescription" type="system" pointSize="13"/>
<color key="textColor" name="标题字颜色"/> <color key="textColor" name="标题字颜色"/>
<nil key="highlightedColor"/> <nil key="highlightedColor"/>
......
...@@ -8,18 +8,19 @@ ...@@ -8,18 +8,19 @@
import UIKit import UIKit
protocol PiCiXuanZeCellDelegate { protocol PiCiXuanZeCellDelegate {
func PiCiXuanZeCellBtnSelect(sender:String,cell:PiCiXuanZeCell) func PiCiXuanZeCellBtnTextChange(sender:String,cell:PiCiXuanZeCell)
func PiCiXuanZeCellBtnSelect(cell:PiCiXuanZeCell)
func PiCiXuanZeCellRefreshCount()
} }
class PiCiXuanZeCell: UITableViewCell { class PiCiXuanZeCell: UITableViewCell,UITextFieldDelegate {
var delegate:PiCiXuanZeCellDelegate? var delegate:PiCiXuanZeCellDelegate?
@IBAction func btnClickAction(_ sender: UIButton) { @IBAction func btnClickAction(_ sender: UIButton) {
iconBtn.isSelected = !iconBtn.isSelected iconBtn.isSelected = !iconBtn.isSelected
if isPurnInt(string: textTF.text!){ delegate?.PiCiXuanZeCellBtnSelect(cell: self)
delegate?.PiCiXuanZeCellBtnSelect(sender: textTF.text!, cell: self)
}
} }
@IBOutlet weak var iconBtn: UIButton! @IBOutlet weak var iconBtn: UIButton!
@IBOutlet weak var dateLbl: UILabel! @IBOutlet weak var dateLbl: UILabel!
@IBOutlet weak var nameLbl: UILabel! @IBOutlet weak var nameLbl: UILabel!
...@@ -28,10 +29,22 @@ class PiCiXuanZeCell: UITableViewCell { ...@@ -28,10 +29,22 @@ class PiCiXuanZeCell: UITableViewCell {
override func awakeFromNib() { override func awakeFromNib() {
super.awakeFromNib() super.awakeFromNib()
self.selectionStyle = .none self.selectionStyle = .none
textTF.keyboardType = .numberPad
textTF.delegate = self
textTF.addTarget(self, action: #selector(textChange(sender:)), for: .allEditingEvents)
// Initialization code // Initialization code
} }
func textFieldDidEndEditing(_ textField: UITextField) {
if isPurnInt(string: textTF.text!){
delegate?.PiCiXuanZeCellRefreshCount()
}
}
@objc func textChange(sender:UITextField){
if isPurnInt(string: textTF.text!){
delegate?.PiCiXuanZeCellBtnTextChange(sender: textTF.text!, cell: self)
}
}
override func setSelected(_ selected: Bool, animated: Bool) { override func setSelected(_ selected: Bool, animated: Bool) {
super.setSelected(selected, animated: animated) super.setSelected(selected, animated: animated)
......
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="15702" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES"> <document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="16097" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES">
<device id="retina6_1" orientation="portrait" appearance="light"/> <device id="retina6_1" orientation="portrait" appearance="light"/>
<dependencies> <dependencies>
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="15704"/> <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="16087"/>
<capability name="Named colors" minToolsVersion="9.0"/> <capability name="Named colors" minToolsVersion="9.0"/>
<capability name="Safe area layout guides" minToolsVersion="9.0"/> <capability name="Safe area layout guides" minToolsVersion="9.0"/>
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/> <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
<objects> <objects>
<placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner"/> <placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner"/>
<placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/> <placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
<tableViewCell contentMode="scaleToFill" selectionStyle="default" indentationWidth="10" id="KGk-i7-Jjw" customClass="PiCiXuanZeCell" customModule="GeliBusinessPlatform" customModuleProvider="target"> <tableViewCell contentMode="scaleToFill" selectionStyle="default" indentationWidth="10" id="KGk-i7-Jjw" customClass="PiCiXuanZeCell" customModule="TestClass" customModuleProvider="target">
<rect key="frame" x="0.0" y="0.0" width="375" height="49"/> <rect key="frame" x="0.0" y="0.0" width="375" height="49"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/> <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
<tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="KGk-i7-Jjw" id="H2p-sc-9uM"> <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="KGk-i7-Jjw" id="H2p-sc-9uM">
...@@ -143,7 +143,7 @@ ...@@ -143,7 +143,7 @@
<color red="0.92941176470588238" green="0.92941176470588238" blue="0.92941176470588238" alpha="1" colorSpace="custom" customColorSpace="sRGB"/> <color red="0.92941176470588238" green="0.92941176470588238" blue="0.92941176470588238" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
</namedColor> </namedColor>
<namedColor name="蓝色字体颜色"> <namedColor name="蓝色字体颜色">
<color red="0.27799999713897705" green="0.56099998950958252" blue="0.88999998569488525" alpha="1" colorSpace="custom" customColorSpace="sRGB"/> <color red="0.27843137254901962" green="0.5607843137254902" blue="0.8901960784313725" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
</namedColor> </namedColor>
</resources> </resources>
</document> </document>
...@@ -7,13 +7,20 @@ ...@@ -7,13 +7,20 @@
// //
import UIKit import UIKit
protocol PiCiXuanZeViewControllerDelegate {
func PiCiXuanZeViewControllerPiCiSelect(data:Array<Any>)
}
class PiCiXuanZeViewController: BaseViewController,UITableViewDelegate,UITableViewDataSource,PiCiXuanZeCellDelegate{ class PiCiXuanZeViewController: BaseViewController,UITableViewDelegate,UITableViewDataSource,PiCiXuanZeCellDelegate{
var countArr:Array<String> = [] var p_id:Int?
var dataArray:Array<Any> = [] var sku_id:Int?
var totalCount = 0
var countArr:Array<Int> = []
var selectArr:Array<Int> = []
var dataArray:Array<GetGoodBatchDataModel> = []
@IBOutlet weak var topView: UIView! @IBOutlet weak var topView: UIView!
@IBOutlet weak var btmLbl: UILabel! @IBOutlet weak var btmLbl: UILabel!
...@@ -34,15 +41,21 @@ class PiCiXuanZeViewController: BaseViewController,UITableViewDelegate,UITableVi ...@@ -34,15 +41,21 @@ class PiCiXuanZeViewController: BaseViewController,UITableViewDelegate,UITableVi
listView.register(UINib(nibName: "PiCiXuanZeCell", bundle: nil), forCellReuseIdentifier: "PiCiXuanZeCell") listView.register(UINib(nibName: "PiCiXuanZeCell", bundle: nil), forCellReuseIdentifier: "PiCiXuanZeCell")
listView.register(UINib(nibName: "CRKSumCell", bundle: nil), forCellReuseIdentifier: "CRKSumCell") listView.register(UINib(nibName: "CRKSumCell", bundle: nil), forCellReuseIdentifier: "CRKSumCell")
// Do any additional setup after loading the view. let UserToken = UserDefaults.standard.value(forKey: "user_token")
let dic = ["user_token":UserToken as Any,"sku_id":sku_id as Any]
GetGoodBatch(dic, success: { (data) in
let model = data as! GetGoodBatchModel
model.data?.forEach({ (item) in
self.dataArray.append(item)
self.countArr.append(0)
})
self.listView.reloadData()
}) { (error) in
} }
func PiCiXuanZeCellBtnSelect(sender: String, cell: PiCiXuanZeCell) {
countArr.insert(sender, at: cell.tag)
countArr.remove(at: cell.tag+1)
let idx = IndexPath(row: 0, section: 1)
listView.reloadRows(at: [idx], with: .none)
} }
//MARK: - CELL DELEGATE //MARK: - CELL DELEGATE
func tableView(_ tableView: UITableView, heightForRowAt indexPath: IndexPath) -> CGFloat { func tableView(_ tableView: UITableView, heightForRowAt indexPath: IndexPath) -> CGFloat {
return 49 return 49
...@@ -57,14 +70,59 @@ class PiCiXuanZeViewController: BaseViewController,UITableViewDelegate,UITableVi ...@@ -57,14 +70,59 @@ class PiCiXuanZeViewController: BaseViewController,UITableViewDelegate,UITableVi
func tableView(_ tableView: UITableView, cellForRowAt indexPath: IndexPath) -> UITableViewCell { func tableView(_ tableView: UITableView, cellForRowAt indexPath: IndexPath) -> UITableViewCell {
if indexPath.section == 1 { if indexPath.section == 1 {
let cell = tableView.dequeueReusableCell(withIdentifier: "CRKSumCell") as! CRKSumCell let cell = tableView.dequeueReusableCell(withIdentifier: "CRKSumCell") as! CRKSumCell
cell.countLbl.text = "\(totalCount)"
return cell return cell
} }
let cell = tableView.dequeueReusableCell(withIdentifier: "PiCiXuanZeCell") as! PiCiXuanZeCell let cell = tableView.dequeueReusableCell(withIdentifier: "PiCiXuanZeCell") as! PiCiXuanZeCell
cell.tag = indexPath.row cell.tag = indexPath.row
let model = dataArray[indexPath.row]
cell.delegate = self cell.delegate = self
var name = ""
switch model.status {
case 1:
name = "正常"
break
case 2:
name = "临期"
break
default:
name = "过期"
break
}
cell.nameLbl.text = name
cell.SLLbl.text = "\(model.inventory!)"
cell.dateLbl.text = dayByDouble(sender: model.production_data!)
return cell return cell
} }
func PiCiXuanZeCellBtnTextChange(sender: String, cell: PiCiXuanZeCell) {
let num = sender as NSString
self.countArr.insert(num.integerValue, at: cell.tag)
self.countArr.remove(at: cell.tag+1)
}
func PiCiXuanZeCellRefreshCount() {
totalCount = 0
for item in selectArr{
totalCount += countArr[item]
}
listView.reloadData()
}
func PiCiXuanZeCellBtnSelect(cell: PiCiXuanZeCell) {
if selectArr.contains(cell.tag) {
let idx = selectArr.index(of: cell.tag)
selectArr.remove(at: idx!)
}else{
selectArr.append(cell.tag)
}
totalCount = 0
for item in selectArr{
totalCount += countArr[item]
}
listView.reloadData()
}
func numberOfSections(in tableView: UITableView) -> Int { func numberOfSections(in tableView: UITableView) -> Int {
return 2 return 2
} }
......
//
// CRKBtnCell.swift
// GeliBusinessPlatform
//
// Created by junye lu on 2020/6/1.
// Copyright © 2020 junye lu. All rights reserved.
//
import UIKit
class CRKBtnCell: UITableViewCell {
@IBOutlet weak var mustLbl: UILabel!
@IBOutlet weak var contentRight: NSLayoutConstraint!
@IBOutlet weak var nameLeft: NSLayoutConstraint!
@IBOutlet weak var mustWidth: NSLayoutConstraint!
@IBOutlet weak var arrowImg: UIImageView!
@IBOutlet weak var contentLbl: UILabel!
@IBOutlet weak var nameLbl: UILabel!
override func awakeFromNib() {
super.awakeFromNib()
self.selectionStyle = .none
// Initialization code
}
override func setSelected(_ selected: Bool, animated: Bool) {
super.setSelected(selected, animated: animated)
// Configure the view for the selected state
}
}
<?xml version="1.0" encoding="UTF-8"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="16097" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES">
<device id="retina6_1" orientation="portrait" appearance="light"/>
<dependencies>
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="16087"/>
<capability name="Named colors" minToolsVersion="9.0"/>
<capability name="Safe area layout guides" minToolsVersion="9.0"/>
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
</dependencies>
<objects>
<placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner"/>
<placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
<tableViewCell contentMode="scaleToFill" selectionStyle="default" indentationWidth="10" rowHeight="65" id="KGk-i7-Jjw" customClass="CRKBtnCell" customModule="TestClass" customModuleProvider="target">
<rect key="frame" x="0.0" y="0.0" width="334" height="65"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
<tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="KGk-i7-Jjw" id="H2p-sc-9uM">
<rect key="frame" x="0.0" y="0.0" width="334" height="65"/>
<autoresizingMask key="autoresizingMask"/>
<subviews>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="*" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="v5K-tk-5dB">
<rect key="frame" x="15" y="29.5" width="6" height="6"/>
<constraints>
<constraint firstAttribute="height" constant="6" id="3BW-Hj-TdV"/>
<constraint firstAttribute="width" constant="6" id="CoQ-tS-fwe"/>
</constraints>
<fontDescription key="fontDescription" type="system" pointSize="13"/>
<color key="textColor" name="蓝色字体颜色"/>
<nil key="highlightedColor"/>
</label>
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="SIv-LZ-Qvo">
<rect key="frame" x="15" y="64" width="319" height="1"/>
<color key="backgroundColor" name="灰色分界线"/>
<constraints>
<constraint firstAttribute="height" constant="1" id="Nfs-G0-ITG"/>
</constraints>
</view>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="标题" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="rZC-N1-umj">
<rect key="frame" x="26" y="0.0" width="27" height="64"/>
<fontDescription key="fontDescription" type="system" pointSize="13"/>
<color key="textColor" name="标题字颜色"/>
<nil key="highlightedColor"/>
</label>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="内容" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="rkw-Cn-WEC">
<rect key="frame" x="275" y="0.0" width="27" height="64"/>
<fontDescription key="fontDescription" type="system" pointSize="13"/>
<color key="textColor" name="个人中心灰色字体"/>
<nil key="highlightedColor"/>
</label>
<imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="jinru" translatesAutoresizingMaskIntoConstraints="NO" id="WFz-VU-QFC">
<rect key="frame" x="312" y="29" width="7" height="7"/>
<constraints>
<constraint firstAttribute="width" constant="7" id="QOa-Nc-xcr"/>
<constraint firstAttribute="height" constant="7" id="kXI-Ot-dwR"/>
</constraints>
</imageView>
</subviews>
<constraints>
<constraint firstItem="rZC-N1-umj" firstAttribute="leading" secondItem="v5K-tk-5dB" secondAttribute="trailing" constant="5" id="1IJ-5D-Ndq"/>
<constraint firstAttribute="trailing" secondItem="WFz-VU-QFC" secondAttribute="trailing" constant="15" id="Bro-t8-Yfu"/>
<constraint firstItem="rkw-Cn-WEC" firstAttribute="top" secondItem="H2p-sc-9uM" secondAttribute="top" id="GO6-2i-dbD"/>
<constraint firstAttribute="bottom" secondItem="SIv-LZ-Qvo" secondAttribute="bottom" id="JRt-yC-B1M"/>
<constraint firstAttribute="trailing" secondItem="SIv-LZ-Qvo" secondAttribute="trailing" id="SfM-z2-ukI"/>
<constraint firstItem="WFz-VU-QFC" firstAttribute="centerY" secondItem="H2p-sc-9uM" secondAttribute="centerY" id="bh9-uJ-vUl"/>
<constraint firstItem="WFz-VU-QFC" firstAttribute="leading" secondItem="rkw-Cn-WEC" secondAttribute="trailing" constant="10" id="d6D-Rr-GGf"/>
<constraint firstItem="rZC-N1-umj" firstAttribute="top" secondItem="H2p-sc-9uM" secondAttribute="top" id="e7e-it-4oh"/>
<constraint firstItem="v5K-tk-5dB" firstAttribute="centerY" secondItem="H2p-sc-9uM" secondAttribute="centerY" id="fhy-aX-DI1"/>
<constraint firstItem="SIv-LZ-Qvo" firstAttribute="leading" secondItem="H2p-sc-9uM" secondAttribute="leading" constant="15" id="qzJ-QI-aia"/>
<constraint firstItem="SIv-LZ-Qvo" firstAttribute="top" secondItem="rkw-Cn-WEC" secondAttribute="bottom" id="sNg-vm-QNw"/>
<constraint firstItem="v5K-tk-5dB" firstAttribute="leading" secondItem="H2p-sc-9uM" secondAttribute="leading" constant="15" id="tIp-SF-ZAO"/>
<constraint firstItem="SIv-LZ-Qvo" firstAttribute="top" secondItem="rZC-N1-umj" secondAttribute="bottom" id="zjT-cW-lrZ"/>
</constraints>
</tableViewCellContentView>
<viewLayoutGuide key="safeArea" id="njF-e1-oar"/>
<connections>
<outlet property="arrowImg" destination="WFz-VU-QFC" id="ate-24-zMP"/>
<outlet property="contentLbl" destination="rkw-Cn-WEC" id="xTn-US-i2J"/>
<outlet property="contentRight" destination="d6D-Rr-GGf" id="Gsz-h7-hvv"/>
<outlet property="mustLbl" destination="v5K-tk-5dB" id="Lny-Qs-97w"/>
<outlet property="mustWidth" destination="CoQ-tS-fwe" id="uia-CJ-7M2"/>
<outlet property="nameLbl" destination="rZC-N1-umj" id="xjJ-VQ-0rJ"/>
<outlet property="nameLeft" destination="1IJ-5D-Ndq" id="PZ1-08-MyI"/>
</connections>
<point key="canvasLocation" x="142.02898550724638" y="115.51339285714285"/>
</tableViewCell>
</objects>
<resources>
<image name="jinru" width="13" height="23"/>
<namedColor name="个人中心灰色字体">
<color red="0.3919999897480011" green="0.3919999897480011" blue="0.3919999897480011" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
</namedColor>
<namedColor name="标题字颜色">
<color red="0.18000000715255737" green="0.18000000715255737" blue="0.18000000715255737" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
</namedColor>
<namedColor name="灰色分界线">
<color red="0.92941176470588238" green="0.92941176470588238" blue="0.92941176470588238" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
</namedColor>
<namedColor name="蓝色字体颜色">
<color red="0.27843137254901962" green="0.5607843137254902" blue="0.8901960784313725" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
</namedColor>
</resources>
</document>
...@@ -75,6 +75,7 @@ class CRKListVC: BaseViewController,UITableViewDelegate,UITableViewDataSource,CR ...@@ -75,6 +75,7 @@ class CRKListVC: BaseViewController,UITableViewDelegate,UITableViewDataSource,CR
}) })
self.listView.reloadData() self.listView.reloadData()
self.listView.mj_header?.endRefreshing() self.listView.mj_header?.endRefreshing()
self.page = 2 self.page = 2
self.listView.performBatchUpdates({ self.listView.performBatchUpdates({
...@@ -132,30 +133,49 @@ class CRKListVC: BaseViewController,UITableViewDelegate,UITableViewDataSource,CR ...@@ -132,30 +133,49 @@ class CRKListVC: BaseViewController,UITableViewDelegate,UITableViewDataSource,CR
//MARK: - CELL DELEGATE //MARK: - CELL DELEGATE
func tableView(_ tableView: UITableView, didSelectRowAt indexPath: IndexPath) { func tableView(_ tableView: UITableView, didSelectRowAt indexPath: IndexPath) {
print(indexPath.row) //MARK: - 跳转详情
//跳转详情
let model = datas![indexPath.row] let model = datas![indexPath.row]
let vc = CRKXiangQVC()
vc.model = model
self.navigationController?.pushViewController(vc, animated: true)
} }
func tableView(_ tableView: UITableView, numberOfRowsInSection section: Int) -> Int { func tableView(_ tableView: UITableView, numberOfRowsInSection section: Int) -> Int { return datas!.count
return datas!.count
} }
func tableView(_ tableView: UITableView, cellForRowAt indexPath: IndexPath) -> UITableViewCell { func tableView(_ tableView: UITableView, cellForRowAt indexPath: IndexPath) -> UITableViewCell {
let cell = tableView.dequeueReusableCell(withIdentifier: "CRKCell") as! CRKCell let cell = tableView.dequeueReusableCell(withIdentifier: "CRKCell") as! CRKCell
// cell.dataArr = arr[indexPath.row] let model = datas![indexPath.row]
cell.dataArr = model.goods_res
cell.delegate = self cell.delegate = self
cell.tag = indexPath.row cell.tag = indexPath.row
cell.nameLbl.text = model.applicant
let strs = model.io_type_cn?.components(separatedBy: ":")
cell.statusLbl.text = (strs?.first)! + ":"
cell.statusNameLbl.text = strs?.last
var count = 0
for item in model.goods_res! {
count += item.number!
}
if model.io_type == 1 {
cell.countLbl.text = "入库总数:" + "\(count)"
}
if model.io_type == 2 {
cell.countLbl.text = "出库总数:" + "\(count)"
}
cell.timeLbl.text = dayAndTimeByDouble(sender: model.add_time!)
return cell return cell
} }
func tableView(_ tableView: UITableView, heightForRowAt indexPath: IndexPath) -> CGFloat { func tableView(_ tableView: UITableView, heightForRowAt indexPath: IndexPath) -> CGFloat {
// let ar = datas![indexPath.row] let model = datas![indexPath.row]
var num = 0 var num = 0
// num = ar.count if model.goods_res != nil {
// if ar.count > 4 { num = model.goods_res!.count
// num = 4 if num > 4 {
// } num = 4
}
}
return 174.5 + CGFloat(num * 49) return 174.5 + CGFloat(num * 49)
} }
//MARK: - searchView delegate //MARK: - searchView delegate
......
//
// CRKXQVC.swift
// GeliBusinessPlatform
//
// Created by junye lu on 2020/5/30.
// Copyright © 2020 junye lu. All rights reserved.
//
import UIKit
class CRKXQVC: BaseViewController {
var model:WarehouseIoListDataModel?
override func viewDidLoad() {
super.viewDidLoad()
if model?.io_type == 1 {
navbar.title = "商品入库详情"
}else{
navbar.title = "商品出库详情"
}
self.view.addSubview(navbar)
}
}
//
// CRKXiangQVC.swift
// GeliBusinessPlatform
//
// Created by junye lu on 2020/6/1.
// Copyright © 2020 junye lu. All rights reserved.
//
import UIKit
class CRKXiangQVC: BaseViewController,UITableViewDelegate,UITableViewDataSource,NewCKCellDelegate{
@IBOutlet weak var btmView: UIView!
@IBOutlet weak var listView: UITableView!
var model:WarehouseIoListDataModel?
@IBOutlet weak var btmViewH: NSLayoutConstraint!
// var inGoodsModels:Array<InGoodsDetailModel>? = []
var outGoodsModels:Array<OutGoodsDetailDataGoodsResModel>? = []
var titleArr:Array<String>?
var holderArr:Array<String>?
override func viewDidLoad() {
super.viewDidLoad()
let UserToken = UserDefaults.standard.value(forKey: "user_token")
let dict = ["user_token":UserToken as Any,"io_id":model?.io_id as Any]
let strs = model!.io_type_cn?.components(separatedBy: ":")
let str = strs?.last! as! String
HUD.flash(.progress)
if model?.io_type == 1 {
titleArr = ["仓库","库位","入库类型"]
holderArr = ["默认仓库","默认库位",str]
navbar.title = "商品入库详情"
InGoodsDetail(dict, success: { (data) in
HUD.hide()
}) { (error) in
}
}
if model?.io_type == 2 {
titleArr = ["出库类型","出库日期","出库商品"]
holderArr = [str,dayAndTimeByDouble(sender: (model?.add_time)!),"\(model!.goods_res!.count)件"]
navbar.title = "商品出库详情"
OutGoodsDetail(dict, success: { (data) in
let model = data as! OutGoodsDetailModel
model.data?.goods_res!.forEach({ (item) in
self.outGoodsModels?.append(item)
})
self.listView.reloadData()
HUD.hide()
}) { (error) in
}
}
self.view.addSubview(navbar)
listView.register(UINib(nibName: "CRKBtnCell", bundle: nil), forCellReuseIdentifier: "CRKBtnCell")
listView.separatorStyle = .none
SetTopFrameView(view: listView, btmView: btmView)
listView.register(UINib(nibName: "NewCKCell", bundle: nil), forCellReuseIdentifier: "NewCKCell")
}
@IBAction func crkxqBtnClick(_ sender: UIButton) {
if sender.tag == 1 {//不通过
}else{
//通过
}
}
//MARK: - CELL DELEGATE
func tableView(_ tableView: UITableView, didSelectRowAt indexPath: IndexPath) {
if indexPath.section == 0 {
if indexPath.row == 0 {
}
if indexPath.row == 1 {
}
}
}
func tableView(_ tableView: UITableView, numberOfRowsInSection section: Int) -> Int {
if section == 0 {
return 3
}
return (model?.goods_res?.count)!
}
func tableView(_ tableView: UITableView, cellForRowAt indexPath: IndexPath) -> UITableViewCell {
if indexPath.section == 0 {
let cell = tableView.dequeueReusableCell(withIdentifier: "CRKBtnCell") as! CRKBtnCell
cell.nameLbl.text = titleArr![indexPath.row]
cell.contentLbl.text = holderArr![indexPath.row]
if model?.io_type == 1 {//入库
if indexPath.row == 2 {
setCellUI(cell: cell)
}
}else{
setCellUI(cell: cell)
}
return cell
}
if model?.io_type == 1 { //入库
}
let cell = tableView.dequeueReusableCell(withIdentifier: "NewCKCell") as! NewCKCell
cell.delegate = self
cell.tag = indexPath.row
if outGoodsModels!.count > 0 {
let data = outGoodsModels![indexPath.row]
cell.nameLbl.text = data.goods_name
cell.guiGeLbl.text = data.goods_spec
cell.chuKuLbl.text = "出库数量:" + "\(data.number!)"
cell.keChuKuLbl.text = "可出库数量:" + "\(data.inventory!)"
}
return cell
}
func NewCKCellBtnClick(cell: NewCKCell) {
if model?.io_type == 2 {
let data = outGoodsModels![cell.tag]
let vc = PiCiXuanZeViewController()
vc.sku_id = data.sku_id
self.navigationController?.pushViewController(vc, animated: true)
}
}
func tableView(_ tableView: UITableView, heightForRowAt indexPath: IndexPath) -> CGFloat {
if indexPath.section == 0{
return 49
}
if model?.io_type == 1 {//入库
return 264
}
return 214 + 0
}
func numberOfSections(in tableView: UITableView) -> Int {
return 2
}
func setCellUI(cell:CRKBtnCell){
cell.mustLbl.isHidden = true
cell.arrowImg.isHidden = true
cell.contentLbl.textColor = UIColor(named: "标题字颜色")
cell.mustWidth.constant = 0
cell.nameLeft.constant = 0
cell.contentRight.constant = -7
}
}
...@@ -8,8 +8,11 @@ ...@@ -8,8 +8,11 @@
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/> <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
</dependencies> </dependencies>
<objects> <objects>
<placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner" customClass="CRKXQVC" customModule="TestClass" customModuleProvider="target"> <placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner" customClass="CRKXiangQVC" customModule="TestClass" customModuleProvider="target">
<connections> <connections>
<outlet property="btmView" destination="EBn-Ps-D90" id="WGL-Ly-iBo"/>
<outlet property="btmViewH" destination="9Zg-jL-ofh" id="NLT-V0-Qye"/>
<outlet property="listView" destination="w5k-1L-VKh" id="Y7w-Rk-zRm"/>
<outlet property="view" destination="i5M-Pr-FkT" id="sfx-zR-JGt"/> <outlet property="view" destination="i5M-Pr-FkT" id="sfx-zR-JGt"/>
</connections> </connections>
</placeholder> </placeholder>
...@@ -18,75 +21,88 @@ ...@@ -18,75 +21,88 @@
<rect key="frame" x="0.0" y="0.0" width="414" height="896"/> <rect key="frame" x="0.0" y="0.0" width="414" height="896"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/> <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<subviews> <subviews>
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="nlM-gF-F9f"> <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="WaS-5d-gVj">
<rect key="frame" x="0.0" y="813" width="414" height="83"/>
<color key="backgroundColor" systemColor="systemBackgroundColor" cocoaTouchSystemColor="whiteColor"/>
</view>
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="EBn-Ps-D90">
<rect key="frame" x="0.0" y="813" width="414" height="49"/> <rect key="frame" x="0.0" y="813" width="414" height="49"/>
<subviews> <subviews>
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="S9g-Qd-TxR"> <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="ydi-1B-6A5">
<rect key="frame" x="0.0" y="0.0" width="207" height="49"/> <rect key="frame" x="0.0" y="0.0" width="414" height="1"/>
<fontDescription key="fontDescription" type="system" pointSize="13"/> <color key="backgroundColor" name="灰色分界线"/>
<constraints>
<constraint firstAttribute="height" constant="1" id="rS8-nk-JNK"/>
</constraints>
</view>
<button opaque="NO" tag="1" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="sPz-uT-fTr">
<rect key="frame" x="0.0" y="1" width="207" height="48"/>
<fontDescription key="fontDescription" name="PingFangSC-Medium" family="PingFang SC" pointSize="13"/>
<state key="normal" title="不通过"> <state key="normal" title="不通过">
<color key="titleColor" name="蓝色字体颜色"/> <color key="titleColor" name="蓝色字体颜色"/>
</state> </state>
<connections>
<action selector="crkxqBtnClick:" destination="-1" eventType="touchUpInside" id="SsN-9N-cc4"/>
</connections>
</button> </button>
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="Fxi-7K-5uG"> <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="QU8-BL-JRl">
<rect key="frame" x="207" y="0.0" width="207" height="49"/> <rect key="frame" x="207" y="1" width="207" height="48"/>
<fontDescription key="fontDescription" type="system" pointSize="13"/> <fontDescription key="fontDescription" name="PingFangSC-Medium" family="PingFang SC" pointSize="13"/>
<state key="normal" title="通过"> <state key="normal" title="通过">
<color key="titleColor" name="蓝色字体颜色"/> <color key="titleColor" name="蓝色字体颜色"/>
</state> </state>
<connections>
<action selector="crkxqBtnClick:" destination="-1" eventType="touchUpInside" id="Qun-7h-Sjv"/>
</connections>
</button> </button>
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="pEh-pB-SCR">
<rect key="frame" x="0.0" y="0.0" width="414" height="1"/>
<color key="backgroundColor" name="灰色分界线"/>
<constraints>
<constraint firstAttribute="height" constant="1" id="dLA-9h-RHR"/>
</constraints>
</view>
</subviews> </subviews>
<color key="backgroundColor" systemColor="systemBackgroundColor" cocoaTouchSystemColor="whiteColor"/> <color key="backgroundColor" systemColor="systemBackgroundColor" cocoaTouchSystemColor="whiteColor"/>
<constraints> <constraints>
<constraint firstItem="Fxi-7K-5uG" firstAttribute="width" secondItem="S9g-Qd-TxR" secondAttribute="width" id="DQy-9n-Zv9"/> <constraint firstAttribute="height" constant="49" id="9Zg-jL-ofh"/>
<constraint firstItem="S9g-Qd-TxR" firstAttribute="top" secondItem="nlM-gF-F9f" secondAttribute="top" id="GTH-4b-MgP"/> <constraint firstAttribute="trailing" secondItem="ydi-1B-6A5" secondAttribute="trailing" id="Gwu-ui-0rc"/>
<constraint firstAttribute="height" constant="49" id="ITf-Au-lz5"/> <constraint firstItem="QU8-BL-JRl" firstAttribute="width" secondItem="sPz-uT-fTr" secondAttribute="width" id="IvY-Dd-k0g"/>
<constraint firstAttribute="trailing" secondItem="Fxi-7K-5uG" secondAttribute="trailing" id="LPl-iz-9xD"/> <constraint firstItem="QU8-BL-JRl" firstAttribute="leading" secondItem="sPz-uT-fTr" secondAttribute="trailing" id="PCS-j8-gxb"/>
<constraint firstAttribute="trailing" secondItem="pEh-pB-SCR" secondAttribute="trailing" id="TNP-7W-qdy"/> <constraint firstItem="ydi-1B-6A5" firstAttribute="leading" secondItem="EBn-Ps-D90" secondAttribute="leading" id="XqD-o5-p5Q"/>
<constraint firstItem="S9g-Qd-TxR" firstAttribute="leading" secondItem="nlM-gF-F9f" secondAttribute="leading" id="WMM-RS-uxh"/> <constraint firstAttribute="trailing" secondItem="QU8-BL-JRl" secondAttribute="trailing" id="aLt-Vv-cft"/>
<constraint firstItem="pEh-pB-SCR" firstAttribute="top" secondItem="nlM-gF-F9f" secondAttribute="top" id="Y60-0h-F2c"/> <constraint firstItem="sPz-uT-fTr" firstAttribute="leading" secondItem="EBn-Ps-D90" secondAttribute="leading" id="fKb-xN-GoH"/>
<constraint firstItem="pEh-pB-SCR" firstAttribute="leading" secondItem="nlM-gF-F9f" secondAttribute="leading" id="f5C-sw-HZi"/> <constraint firstAttribute="bottom" secondItem="sPz-uT-fTr" secondAttribute="bottom" id="mcb-CO-eMb"/>
<constraint firstItem="Fxi-7K-5uG" firstAttribute="leading" secondItem="S9g-Qd-TxR" secondAttribute="trailing" id="j44-hu-J7q"/> <constraint firstItem="sPz-uT-fTr" firstAttribute="top" secondItem="ydi-1B-6A5" secondAttribute="bottom" id="oas-6E-Sma"/>
<constraint firstItem="Fxi-7K-5uG" firstAttribute="top" secondItem="nlM-gF-F9f" secondAttribute="top" id="jm7-d9-SXH"/> <constraint firstItem="ydi-1B-6A5" firstAttribute="top" secondItem="EBn-Ps-D90" secondAttribute="top" id="pVj-c5-oho"/>
<constraint firstAttribute="bottom" secondItem="Fxi-7K-5uG" secondAttribute="bottom" id="vbY-8K-HWp"/> <constraint firstItem="QU8-BL-JRl" firstAttribute="top" secondItem="ydi-1B-6A5" secondAttribute="bottom" id="qhj-GD-aDr"/>
<constraint firstAttribute="bottom" secondItem="S9g-Qd-TxR" secondAttribute="bottom" id="xkZ-cz-bL6"/> <constraint firstAttribute="bottom" secondItem="QU8-BL-JRl" secondAttribute="bottom" id="sBe-8k-agY"/>
</constraints> </constraints>
</view> </view>
<tableView clipsSubviews="YES" contentMode="scaleToFill" alwaysBounceVertical="YES" style="plain" separatorStyle="default" rowHeight="-1" estimatedRowHeight="-1" sectionHeaderHeight="28" sectionFooterHeight="28" translatesAutoresizingMaskIntoConstraints="NO" id="MJ8-d0-vWl"> <tableView clipsSubviews="YES" contentMode="scaleToFill" alwaysBounceVertical="YES" style="plain" separatorStyle="default" rowHeight="-1" estimatedRowHeight="-1" sectionHeaderHeight="28" sectionFooterHeight="28" translatesAutoresizingMaskIntoConstraints="NO" id="w5k-1L-VKh">
<rect key="frame" x="0.0" y="44" width="414" height="769"/> <rect key="frame" x="0.0" y="44" width="414" height="769"/>
<color key="backgroundColor" systemColor="systemBackgroundColor" cocoaTouchSystemColor="whiteColor"/> <color key="backgroundColor" name="app底色"/>
<connections>
<outlet property="dataSource" destination="-1" id="9it-yb-t3O"/>
<outlet property="delegate" destination="-1" id="edo-Cl-WMi"/>
</connections>
</tableView> </tableView>
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="sGM-fP-c5C">
<rect key="frame" x="0.0" y="813" width="414" height="83"/>
<color key="backgroundColor" systemColor="systemBackgroundColor" cocoaTouchSystemColor="whiteColor"/>
</view>
</subviews> </subviews>
<color key="backgroundColor" systemColor="systemBackgroundColor" cocoaTouchSystemColor="whiteColor"/> <color key="backgroundColor" systemColor="systemBackgroundColor" cocoaTouchSystemColor="whiteColor"/>
<constraints> <constraints>
<constraint firstAttribute="trailing" secondItem="sGM-fP-c5C" secondAttribute="trailing" id="GhF-g4-MPW"/> <constraint firstItem="w5k-1L-VKh" firstAttribute="leading" secondItem="fnl-2z-Ty3" secondAttribute="leading" id="05i-4e-oTV"/>
<constraint firstAttribute="bottom" secondItem="sGM-fP-c5C" secondAttribute="bottom" id="IT9-6a-Mvq"/> <constraint firstItem="fnl-2z-Ty3" firstAttribute="trailing" secondItem="w5k-1L-VKh" secondAttribute="trailing" id="2H8-lN-Ji9"/>
<constraint firstItem="MJ8-d0-vWl" firstAttribute="top" secondItem="fnl-2z-Ty3" secondAttribute="top" id="NMU-nl-n70"/> <constraint firstItem="fnl-2z-Ty3" firstAttribute="trailing" secondItem="EBn-Ps-D90" secondAttribute="trailing" id="4NX-G6-pln"/>
<constraint firstItem="fnl-2z-Ty3" firstAttribute="trailing" secondItem="nlM-gF-F9f" secondAttribute="trailing" id="Rzc-Ii-3pH"/> <constraint firstItem="fnl-2z-Ty3" firstAttribute="bottom" secondItem="EBn-Ps-D90" secondAttribute="bottom" id="7HS-K9-Gpy"/>
<constraint firstItem="sGM-fP-c5C" firstAttribute="top" secondItem="MJ8-d0-vWl" secondAttribute="bottom" id="aB8-Dh-7Gs"/> <constraint firstItem="EBn-Ps-D90" firstAttribute="leading" secondItem="fnl-2z-Ty3" secondAttribute="leading" id="K34-h6-XeM"/>
<constraint firstItem="nlM-gF-F9f" firstAttribute="leading" secondItem="fnl-2z-Ty3" secondAttribute="leading" id="dMo-B8-IqG"/> <constraint firstItem="WaS-5d-gVj" firstAttribute="top" secondItem="EBn-Ps-D90" secondAttribute="top" id="Q6k-2D-eeW"/>
<constraint firstItem="sGM-fP-c5C" firstAttribute="top" secondItem="nlM-gF-F9f" secondAttribute="top" id="dVe-32-F8A"/> <constraint firstItem="w5k-1L-VKh" firstAttribute="top" secondItem="fnl-2z-Ty3" secondAttribute="top" id="Yf6-B7-1uc"/>
<constraint firstItem="MJ8-d0-vWl" firstAttribute="leading" secondItem="fnl-2z-Ty3" secondAttribute="leading" id="lhj-cC-XQn"/> <constraint firstAttribute="bottom" secondItem="WaS-5d-gVj" secondAttribute="bottom" id="ZXx-53-KfE"/>
<constraint firstItem="fnl-2z-Ty3" firstAttribute="bottom" secondItem="nlM-gF-F9f" secondAttribute="bottom" id="ssT-ie-g3f"/> <constraint firstItem="WaS-5d-gVj" firstAttribute="top" secondItem="w5k-1L-VKh" secondAttribute="bottom" id="hXv-H3-Qdg"/>
<constraint firstItem="sGM-fP-c5C" firstAttribute="leading" secondItem="i5M-Pr-FkT" secondAttribute="leading" id="ueo-YA-TVM"/> <constraint firstAttribute="trailing" secondItem="WaS-5d-gVj" secondAttribute="trailing" id="iQd-4i-bQ7"/>
<constraint firstItem="fnl-2z-Ty3" firstAttribute="trailing" secondItem="MJ8-d0-vWl" secondAttribute="trailing" id="wY6-vG-vDH"/> <constraint firstItem="WaS-5d-gVj" firstAttribute="leading" secondItem="i5M-Pr-FkT" secondAttribute="leading" id="kEL-vT-6C3"/>
</constraints> </constraints>
<viewLayoutGuide key="safeArea" id="fnl-2z-Ty3"/> <viewLayoutGuide key="safeArea" id="fnl-2z-Ty3"/>
<point key="canvasLocation" x="131.8840579710145" y="128.57142857142856"/> <point key="canvasLocation" x="124.6376811594203" y="108.48214285714285"/>
</view> </view>
</objects> </objects>
<resources> <resources>
<namedColor name="app底色">
<color red="0.94509803921568625" green="0.94509803921568625" blue="0.94509803921568625" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
</namedColor>
<namedColor name="灰色分界线"> <namedColor name="灰色分界线">
<color red="0.92941176470588238" green="0.92941176470588238" blue="0.92941176470588238" alpha="1" colorSpace="custom" customColorSpace="sRGB"/> <color red="0.92941176470588238" green="0.92941176470588238" blue="0.92941176470588238" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
</namedColor> </namedColor>
......
//
// NewCKCell.swift
// GeliBusinessPlatform
//
// Created by junye lu on 2020/6/1.
// Copyright © 2020 junye lu. All rights reserved.
//
import UIKit
protocol NewCKCellDelegate {
func NewCKCellBtnClick(cell:NewCKCell)
}
class NewCKCell: UITableViewCell {
@IBOutlet weak var nameLbl: UILabel!
@IBOutlet weak var btmTitleTop: NSLayoutConstraint!
@IBOutlet weak var btmTitleView: UIView!
@IBOutlet weak var btmListViewH: NSLayoutConstraint!
@IBOutlet weak var btmTitleViewH: NSLayoutConstraint!
var delegate:NewCKCellDelegate?
@IBOutlet weak var guiGeLbl: UILabel!
@IBOutlet weak var chuKuLbl: UILabel!
@IBOutlet weak var keChuKuLbl: UILabel!
@IBAction func btnClick(_ sender: UIButton) {
delegate?.NewCKCellBtnClick(cell: self)
}
override func awakeFromNib() {
super.awakeFromNib()
self.selectionStyle = .none
// Initialization code
}
override func setSelected(_ selected: Bool, animated: Bool) {
super.setSelected(selected, animated: animated)
// Configure the view for the selected state
}
}
<?xml version="1.0" encoding="UTF-8"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="16097" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES">
<device id="retina6_1" orientation="portrait" appearance="light"/>
<dependencies>
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="16087"/>
<capability name="Named colors" minToolsVersion="9.0"/>
<capability name="Safe area layout guides" minToolsVersion="9.0"/>
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
</dependencies>
<objects>
<placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner"/>
<placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
<tableViewCell contentMode="scaleToFill" selectionStyle="default" indentationWidth="10" rowHeight="339" id="KGk-i7-Jjw" customClass="NewCKCell" customModule="TestClass" customModuleProvider="target">
<rect key="frame" x="0.0" y="0.0" width="377" height="214"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
<tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="KGk-i7-Jjw" id="H2p-sc-9uM">
<rect key="frame" x="0.0" y="0.0" width="377" height="214"/>
<autoresizingMask key="autoresizingMask"/>
<subviews>
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="e6s-6Y-G4w">
<rect key="frame" x="15" y="15" width="347" height="199"/>
<subviews>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="标题" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="SLL-lW-cm1">
<rect key="frame" x="15" y="0.0" width="332" height="49"/>
<constraints>
<constraint firstAttribute="height" constant="49" id="Tqp-l4-oln"/>
</constraints>
<fontDescription key="fontDescription" name="PingFangSC-Medium" family="PingFang SC" pointSize="13"/>
<color key="textColor" name="标题字颜色"/>
<nil key="highlightedColor"/>
</label>
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="v8m-Lh-pEo">
<rect key="frame" x="0.0" y="49" width="347" height="1"/>
<color key="backgroundColor" name="灰色分界线"/>
<constraints>
<constraint firstAttribute="height" constant="1" id="PBJ-9v-b0w"/>
</constraints>
</view>
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="ZvF-7m-5dZ">
<rect key="frame" x="173" y="65" width="1" height="20"/>
<color key="backgroundColor" name="灰色分界线"/>
<constraints>
<constraint firstAttribute="width" constant="1" id="9WC-vt-162"/>
<constraint firstAttribute="height" constant="20" id="DHT-hi-xW5"/>
</constraints>
</view>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Label" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="tTX-Px-ye3">
<rect key="frame" x="15" y="65" width="143" height="16"/>
<fontDescription key="fontDescription" type="system" pointSize="13"/>
<color key="textColor" name="个人中心灰色字体"/>
<nil key="highlightedColor"/>
</label>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Label" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="dGp-4K-qNj">
<rect key="frame" x="189" y="65" width="143" height="16"/>
<fontDescription key="fontDescription" type="system" pointSize="13"/>
<color key="textColor" name="个人中心灰色字体"/>
<nil key="highlightedColor"/>
</label>
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="ngh-ow-H4c">
<rect key="frame" x="15" y="99" width="317" height="1"/>
<color key="backgroundColor" name="灰色分界线"/>
<constraints>
<constraint firstAttribute="height" constant="1" id="Seq-bb-RLk"/>
</constraints>
</view>
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="9LT-So-T1d">
<rect key="frame" x="173" y="115" width="1" height="20"/>
<color key="backgroundColor" name="灰色分界线"/>
<constraints>
<constraint firstAttribute="height" constant="20" id="Srb-Zb-soE"/>
<constraint firstAttribute="width" constant="1" id="Su4-97-W4N"/>
</constraints>
</view>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Label" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="Yji-Cb-8KC">
<rect key="frame" x="15" y="115" width="143" height="16"/>
<fontDescription key="fontDescription" type="system" pointSize="13"/>
<color key="textColor" name="个人中心灰色字体"/>
<nil key="highlightedColor"/>
</label>
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="cL8-Md-ByE">
<rect key="frame" x="15" y="149" width="317" height="1"/>
<color key="backgroundColor" name="灰色分界线"/>
<constraints>
<constraint firstAttribute="height" constant="1" id="dcF-T6-p56"/>
</constraints>
</view>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="分配批次" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="lit-YC-CwX">
<rect key="frame" x="15" y="165" width="53.5" height="19"/>
<fontDescription key="fontDescription" type="system" pointSize="13"/>
<color key="textColor" name="个人中心灰色字体"/>
<nil key="highlightedColor"/>
</label>
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="meu-FK-Krq">
<rect key="frame" x="292" y="160.5" width="40" height="28"/>
<fontDescription key="fontDescription" type="system" pointSize="13"/>
<state key="normal" title="请选择">
<color key="titleColor" name="蓝色字体颜色"/>
</state>
<connections>
<action selector="btnClick:" destination="KGk-i7-Jjw" eventType="touchUpInside" id="1QC-L6-zYw"/>
</connections>
</button>
<view hidden="YES" contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="O1C-jG-Pqe">
<rect key="frame" x="15" y="184" width="317" height="0.0"/>
<subviews>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="批次ID" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="dNM-HZ-d2i">
<rect key="frame" x="30" y="-8" width="40" height="16"/>
<fontDescription key="fontDescription" type="system" pointSize="13"/>
<color key="textColor" name="标题字颜色"/>
<nil key="highlightedColor"/>
</label>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="出库数量" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="9NR-eh-Let">
<rect key="frame" x="233.5" y="-8" width="53.5" height="16"/>
<fontDescription key="fontDescription" type="system" pointSize="13"/>
<color key="textColor" name="标题字颜色"/>
<nil key="highlightedColor"/>
</label>
</subviews>
<color key="backgroundColor" name="app底色"/>
<constraints>
<constraint firstItem="9NR-eh-Let" firstAttribute="centerY" secondItem="O1C-jG-Pqe" secondAttribute="centerY" id="AxS-Ps-HSb"/>
<constraint firstAttribute="height" id="Eu0-oG-KHc"/>
<constraint firstItem="dNM-HZ-d2i" firstAttribute="leading" secondItem="O1C-jG-Pqe" secondAttribute="leading" constant="30" id="L46-TH-4BF"/>
<constraint firstAttribute="trailing" secondItem="9NR-eh-Let" secondAttribute="trailing" constant="30" id="WAq-MR-nTA"/>
<constraint firstItem="dNM-HZ-d2i" firstAttribute="centerY" secondItem="O1C-jG-Pqe" secondAttribute="centerY" id="j7G-4F-GtO"/>
</constraints>
</view>
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="KmT-PK-ZL6">
<rect key="frame" x="15" y="184" width="317" height="0.0"/>
<color key="backgroundColor" systemColor="systemBackgroundColor" cocoaTouchSystemColor="whiteColor"/>
<constraints>
<constraint firstAttribute="height" id="Uu3-km-D8I"/>
</constraints>
</view>
</subviews>
<color key="backgroundColor" systemColor="systemBackgroundColor" cocoaTouchSystemColor="whiteColor"/>
<constraints>
<constraint firstItem="O1C-jG-Pqe" firstAttribute="leading" secondItem="e6s-6Y-G4w" secondAttribute="leading" constant="15" id="23h-jb-hut"/>
<constraint firstItem="v8m-Lh-pEo" firstAttribute="top" secondItem="SLL-lW-cm1" secondAttribute="bottom" id="3li-0z-eCR"/>
<constraint firstAttribute="trailing" secondItem="meu-FK-Krq" secondAttribute="trailing" constant="15" id="3nG-p7-V7a"/>
<constraint firstItem="lit-YC-CwX" firstAttribute="top" secondItem="cL8-Md-ByE" secondAttribute="bottom" constant="15" id="49W-Gj-6Vq"/>
<constraint firstItem="ngh-ow-H4c" firstAttribute="leading" secondItem="e6s-6Y-G4w" secondAttribute="leading" constant="15" id="6Nl-Aq-Grw"/>
<constraint firstAttribute="trailing" secondItem="v8m-Lh-pEo" secondAttribute="trailing" id="7dy-et-wjU"/>
<constraint firstItem="cL8-Md-ByE" firstAttribute="bottom" secondItem="9LT-So-T1d" secondAttribute="bottom" constant="15" id="8JV-Kf-8SK"/>
<constraint firstItem="SLL-lW-cm1" firstAttribute="top" secondItem="e6s-6Y-G4w" secondAttribute="top" id="8u1-yH-7so"/>
<constraint firstAttribute="trailing" secondItem="O1C-jG-Pqe" secondAttribute="trailing" constant="15" id="AZV-sJ-G7q"/>
<constraint firstItem="KmT-PK-ZL6" firstAttribute="top" secondItem="O1C-jG-Pqe" secondAttribute="bottom" id="Ai8-eC-dFG"/>
<constraint firstItem="dGp-4K-qNj" firstAttribute="top" secondItem="v8m-Lh-pEo" secondAttribute="bottom" constant="15" id="BNj-f8-Xpn"/>
<constraint firstAttribute="trailing" secondItem="KmT-PK-ZL6" secondAttribute="trailing" constant="15" id="Cm9-3p-3pZ"/>
<constraint firstItem="lit-YC-CwX" firstAttribute="leading" secondItem="e6s-6Y-G4w" secondAttribute="leading" constant="15" id="D1L-yZ-kFL"/>
<constraint firstAttribute="trailing" secondItem="ngh-ow-H4c" secondAttribute="trailing" constant="15" id="GJN-tb-rUl"/>
<constraint firstItem="cL8-Md-ByE" firstAttribute="leading" secondItem="e6s-6Y-G4w" secondAttribute="leading" constant="15" id="Gjy-C4-lEo"/>
<constraint firstItem="Yji-Cb-8KC" firstAttribute="leading" secondItem="e6s-6Y-G4w" secondAttribute="leading" constant="15" id="LRA-u8-9bt"/>
<constraint firstItem="dGp-4K-qNj" firstAttribute="leading" secondItem="ZvF-7m-5dZ" secondAttribute="trailing" constant="15" id="Mln-s3-jmw"/>
<constraint firstItem="ZvF-7m-5dZ" firstAttribute="top" secondItem="v8m-Lh-pEo" secondAttribute="bottom" constant="15" id="Mnj-C6-Mcr"/>
<constraint firstItem="ZvF-7m-5dZ" firstAttribute="centerX" secondItem="e6s-6Y-G4w" secondAttribute="centerX" id="OQL-es-hfg"/>
<constraint firstItem="9LT-So-T1d" firstAttribute="leading" secondItem="Yji-Cb-8KC" secondAttribute="trailing" constant="15" id="OlQ-BL-18h"/>
<constraint firstItem="O1C-jG-Pqe" firstAttribute="top" secondItem="lit-YC-CwX" secondAttribute="bottom" id="Pge-Bl-rVp"/>
<constraint firstItem="meu-FK-Krq" firstAttribute="centerY" secondItem="lit-YC-CwX" secondAttribute="centerY" id="Qfm-0p-lRN"/>
<constraint firstItem="tTX-Px-ye3" firstAttribute="leading" secondItem="e6s-6Y-G4w" secondAttribute="leading" constant="15" id="TV5-GB-pLt"/>
<constraint firstItem="tTX-Px-ye3" firstAttribute="top" secondItem="v8m-Lh-pEo" secondAttribute="bottom" constant="15" id="X0y-yK-swq"/>
<constraint firstItem="ZvF-7m-5dZ" firstAttribute="leading" secondItem="tTX-Px-ye3" secondAttribute="trailing" constant="15" id="aky-Do-cqG"/>
<constraint firstAttribute="trailing" secondItem="dGp-4K-qNj" secondAttribute="trailing" constant="15" id="bQV-Yz-qjQ"/>
<constraint firstAttribute="trailing" secondItem="cL8-Md-ByE" secondAttribute="trailing" constant="15" id="cWI-6t-Fb4"/>
<constraint firstItem="v8m-Lh-pEo" firstAttribute="leading" secondItem="e6s-6Y-G4w" secondAttribute="leading" id="dl2-7k-dMM"/>
<constraint firstItem="SLL-lW-cm1" firstAttribute="leading" secondItem="e6s-6Y-G4w" secondAttribute="leading" constant="15" id="gai-PR-euR"/>
<constraint firstAttribute="bottom" secondItem="KmT-PK-ZL6" secondAttribute="bottom" constant="15" id="gnF-cQ-LTr"/>
<constraint firstItem="KmT-PK-ZL6" firstAttribute="leading" secondItem="e6s-6Y-G4w" secondAttribute="leading" constant="15" id="ihB-HL-UVj"/>
<constraint firstItem="Yji-Cb-8KC" firstAttribute="top" secondItem="ngh-ow-H4c" secondAttribute="bottom" constant="15" id="mDy-uJ-fb3"/>
<constraint firstItem="9LT-So-T1d" firstAttribute="top" secondItem="ngh-ow-H4c" secondAttribute="bottom" constant="15" id="r8Q-NQ-7fm"/>
<constraint firstItem="ngh-ow-H4c" firstAttribute="bottom" secondItem="ZvF-7m-5dZ" secondAttribute="bottom" constant="15" id="tsZ-EV-joP"/>
<constraint firstItem="9LT-So-T1d" firstAttribute="centerX" secondItem="e6s-6Y-G4w" secondAttribute="centerX" id="uMS-vC-ZnX"/>
<constraint firstAttribute="trailing" secondItem="SLL-lW-cm1" secondAttribute="trailing" id="ucD-gZ-UQW"/>
</constraints>
<userDefinedRuntimeAttributes>
<userDefinedRuntimeAttribute type="number" keyPath="cornerRadius">
<real key="value" value="10"/>
</userDefinedRuntimeAttribute>
</userDefinedRuntimeAttributes>
</view>
</subviews>
<color key="backgroundColor" name="app底色"/>
<constraints>
<constraint firstAttribute="trailing" secondItem="e6s-6Y-G4w" secondAttribute="trailing" constant="15" id="AqO-v7-mdM"/>
<constraint firstItem="e6s-6Y-G4w" firstAttribute="top" secondItem="H2p-sc-9uM" secondAttribute="top" constant="15" id="J6x-CB-3zS"/>
<constraint firstAttribute="bottom" secondItem="e6s-6Y-G4w" secondAttribute="bottom" id="S7T-Ec-D6l"/>
<constraint firstItem="e6s-6Y-G4w" firstAttribute="leading" secondItem="H2p-sc-9uM" secondAttribute="leading" constant="15" id="xB0-BY-NtD"/>
</constraints>
</tableViewCellContentView>
<viewLayoutGuide key="safeArea" id="njF-e1-oar"/>
<connections>
<outlet property="btmListViewH" destination="Uu3-km-D8I" id="MCN-w2-Jmr"/>
<outlet property="btmTitleTop" destination="Pge-Bl-rVp" id="sHK-fA-vh2"/>
<outlet property="btmTitleView" destination="O1C-jG-Pqe" id="EL7-SH-K2T"/>
<outlet property="btmTitleViewH" destination="Eu0-oG-KHc" id="YRm-jS-7uw"/>
<outlet property="chuKuLbl" destination="dGp-4K-qNj" id="2MT-m3-izG"/>
<outlet property="guiGeLbl" destination="tTX-Px-ye3" id="Iai-i0-KS7"/>
<outlet property="keChuKuLbl" destination="Yji-Cb-8KC" id="7vm-xW-Was"/>
<outlet property="nameLbl" destination="SLL-lW-cm1" id="DfT-eb-W0s"/>
</connections>
<point key="canvasLocation" x="176.08695652173915" y="233.37053571428569"/>
</tableViewCell>
</objects>
<resources>
<namedColor name="app底色">
<color red="0.94509803921568625" green="0.94509803921568625" blue="0.94509803921568625" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
</namedColor>
<namedColor name="个人中心灰色字体">
<color red="0.3919999897480011" green="0.3919999897480011" blue="0.3919999897480011" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
</namedColor>
<namedColor name="标题字颜色">
<color red="0.18000000715255737" green="0.18000000715255737" blue="0.18000000715255737" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
</namedColor>
<namedColor name="灰色分界线">
<color red="0.92941176470588238" green="0.92941176470588238" blue="0.92941176470588238" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
</namedColor>
<namedColor name="蓝色字体颜色">
<color red="0.27843137254901962" green="0.5607843137254902" blue="0.8901960784313725" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
</namedColor>
</resources>
</document>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment