Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
X
xffruit
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
张杰
xffruit
Commits
2e360c7a
Commit
2e360c7a
authored
9 years ago
by
管鹏飞
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'DEV_20150805_001' of
http://121.42.32.57/root/xffruit
into DEV_20150805_001
parents
78fc495d
a36226dd
Hide whitespace changes
Inline
Side-by-side
Showing
17 changed files
with
270 additions
and
66 deletions
+270
-66
project.pbxproj
XFFruit.xcodeproj/project.pbxproj
+107
-3
IBTCommon.h
XFFruit/Utilities/IBTUIKit/IBTCommon.h
+4
-1
IBTCommon.m
XFFruit/Utilities/IBTUIKit/IBTCommon.m
+50
-0
IBTConstants.h
XFFruit/Utilities/IBTUIKit/IBTConstants.h
+6
-2
IBTCustomButtom.h
XFFruit/Utilities/IBTUIKit/IBTCustomButtom.h
+8
-0
IBTCustomButtom.m
XFFruit/Utilities/IBTUIKit/IBTCustomButtom.m
+34
-0
NewPurchaseViewController.m
...trollers/Purchase/Controllers/NewPurchaseViewController.m
+1
-2
ProductBillCell.m
XFFruit/ViewControllers/Purchase/Views/ProductBillCell.m
+8
-8
NoticeProductViewController.m
...ollers/PurchaseNotice/Views/NoticeProductViewController.m
+3
-3
ShopDetaileViewController.m
...trollers/PurchaseNotice/Views/ShopDetaileViewController.m
+5
-6
NewReceiveProductViewController.m
...s/Receiving/Controllers/NewReceiveProductViewController.m
+13
-13
ReceiveProductCell.m
XFFruit/ViewControllers/Receiving/Views/ReceiveProductCell.m
+11
-11
BottomTransferView.m
XFFruit/ViewControllers/Transfer/Views/BottomTransferView.m
+0
-3
TransferCell.m
XFFruit/ViewControllers/Transfer/Views/TransferCell.m
+1
-1
TransferProductCell.m
XFFruit/ViewControllers/Transfer/Views/TransferProductCell.m
+6
-6
NewCostViewController.m
...Controllers/Transport/Controllers/NewCostViewController.m
+7
-1
TransportPurductCell.m
...it/ViewControllers/Transport/Views/TransportPurductCell.m
+6
-6
No files found.
XFFruit.xcodeproj/project.pbxproj
View file @
2e360c7a
...
@@ -147,6 +147,18 @@
...
@@ -147,6 +147,18 @@
72873CEB1BA27BA6007B3387
/* GXFPopView.m in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
72873CEA1BA27BA6007B3387
/* GXFPopView.m */
;
};
72873CEB1BA27BA6007B3387
/* GXFPopView.m in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
72873CEA1BA27BA6007B3387
/* GXFPopView.m */
;
};
72873CEE1BA280DD007B3387
/* GXFPopCell.m in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
72873CED1BA280DD007B3387
/* GXFPopCell.m */
;
};
72873CEE1BA280DD007B3387
/* GXFPopCell.m in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
72873CED1BA280DD007B3387
/* GXFPopCell.m */
;
};
72882D8B1BA9121E00935BA6
/* ChooseProductUnitViewController.m in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
72882D8A1BA9121E00935BA6
/* ChooseProductUnitViewController.m */
;
};
72882D8B1BA9121E00935BA6
/* ChooseProductUnitViewController.m in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
72882D8A1BA9121E00935BA6
/* ChooseProductUnitViewController.m */
;
};
728899D01BECADA8003CC41E
/* ReportViewController.m in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
728899CD1BECADA8003CC41E
/* ReportViewController.m */
;
settings
=
{
ASSET_TAGS
=
();
};
};
728899D31BECADCD003CC41E
/* CustomSegView.m in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
728899D21BECADCD003CC41E
/* CustomSegView.m */
;
settings
=
{
ASSET_TAGS
=
();
};
};
728899D61BECB323003CC41E
/* SaleViewController.m in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
728899D51BECB323003CC41E
/* SaleViewController.m */
;
settings
=
{
ASSET_TAGS
=
();
};
};
728899D91BEF20BA003CC41E
/* SMPageControl.m in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
728899D81BEF20BA003CC41E
/* SMPageControl.m */
;
settings
=
{
ASSET_TAGS
=
();
};
};
728899E21BEF35F3003CC41E
/* SaleViewCell.m in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
728899E11BEF35F3003CC41E
/* SaleViewCell.m */
;
settings
=
{
ASSET_TAGS
=
();
};
};
728899E51BEF3609003CC41E
/* SaleHeaderView.m in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
728899E41BEF3609003CC41E
/* SaleHeaderView.m */
;
settings
=
{
ASSET_TAGS
=
();
};
};
728899E81BEF41FC003CC41E
/* PassengerViewController.m in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
728899E71BEF41FC003CC41E
/* PassengerViewController.m */
;
settings
=
{
ASSET_TAGS
=
();
};
};
728899EB1BEF4233003CC41E
/* PassgerPriceViewController.m in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
728899EA1BEF4233003CC41E
/* PassgerPriceViewController.m */
;
settings
=
{
ASSET_TAGS
=
();
};
};
728899EE1BEF4A75003CC41E
/* PasengerCell.m in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
728899ED1BEF4A75003CC41E
/* PasengerCell.m */
;
settings
=
{
ASSET_TAGS
=
();
};
};
728899F11BEF4A8A003CC41E
/* PassengerHeaderCell.m in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
728899F01BEF4A8A003CC41E
/* PassengerHeaderCell.m */
;
settings
=
{
ASSET_TAGS
=
();
};
};
728899F41BEF4D3D003CC41E
/* PassgerPriceHeaderCell.m in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
728899F31BEF4D3D003CC41E
/* PassgerPriceHeaderCell.m */
;
settings
=
{
ASSET_TAGS
=
();
};
};
728899F71BEF4D53003CC41E
/* PassgerPriceCell.m in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
728899F61BEF4D53003CC41E
/* PassgerPriceCell.m */
;
settings
=
{
ASSET_TAGS
=
();
};
};
729A2E931BE60C0200493603
/* GeometryView.m in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
729A2E921BE60C0200493603
/* GeometryView.m */
;
};
729A2E931BE60C0200493603
/* GeometryView.m in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
729A2E921BE60C0200493603
/* GeometryView.m */
;
};
72A8132D1BCA8BBA003631F3
/* ChooseTransportViewController.m in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
72A8132C1BCA8BBA003631F3
/* ChooseTransportViewController.m */
;
};
72A8132D1BCA8BBA003631F3
/* ChooseTransportViewController.m in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
72A8132C1BCA8BBA003631F3
/* ChooseTransportViewController.m */
;
};
72A813FA1BCD3205003631F3
/* ReceiveViewController.m in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
72A813F71BCD3205003631F3
/* ReceiveViewController.m */
;
};
72A813FA1BCD3205003631F3
/* ReceiveViewController.m in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
72A813F71BCD3205003631F3
/* ReceiveViewController.m */
;
};
...
@@ -714,6 +726,30 @@
...
@@ -714,6 +726,30 @@
72873CED1BA280DD007B3387
/* GXFPopCell.m */
=
{
isa
=
PBXFileReference
;
fileEncoding
=
4
;
lastKnownFileType
=
sourcecode.c.objc
;
path
=
GXFPopCell.m
;
sourceTree
=
"<group>"
;
};
72873CED1BA280DD007B3387
/* GXFPopCell.m */
=
{
isa
=
PBXFileReference
;
fileEncoding
=
4
;
lastKnownFileType
=
sourcecode.c.objc
;
path
=
GXFPopCell.m
;
sourceTree
=
"<group>"
;
};
72882D891BA9121E00935BA6
/* ChooseProductUnitViewController.h */
=
{
isa
=
PBXFileReference
;
fileEncoding
=
4
;
lastKnownFileType
=
sourcecode.c.h
;
path
=
ChooseProductUnitViewController.h
;
sourceTree
=
"<group>"
;
};
72882D891BA9121E00935BA6
/* ChooseProductUnitViewController.h */
=
{
isa
=
PBXFileReference
;
fileEncoding
=
4
;
lastKnownFileType
=
sourcecode.c.h
;
path
=
ChooseProductUnitViewController.h
;
sourceTree
=
"<group>"
;
};
72882D8A1BA9121E00935BA6
/* ChooseProductUnitViewController.m */
=
{
isa
=
PBXFileReference
;
fileEncoding
=
4
;
lastKnownFileType
=
sourcecode.c.objc
;
path
=
ChooseProductUnitViewController.m
;
sourceTree
=
"<group>"
;
};
72882D8A1BA9121E00935BA6
/* ChooseProductUnitViewController.m */
=
{
isa
=
PBXFileReference
;
fileEncoding
=
4
;
lastKnownFileType
=
sourcecode.c.objc
;
path
=
ChooseProductUnitViewController.m
;
sourceTree
=
"<group>"
;
};
728899CC1BECADA8003CC41E
/* ReportViewController.h */
=
{
isa
=
PBXFileReference
;
fileEncoding
=
4
;
lastKnownFileType
=
sourcecode.c.h
;
path
=
ReportViewController.h
;
sourceTree
=
"<group>"
;
};
728899CD1BECADA8003CC41E
/* ReportViewController.m */
=
{
isa
=
PBXFileReference
;
fileEncoding
=
4
;
lastKnownFileType
=
sourcecode.c.objc
;
path
=
ReportViewController.m
;
sourceTree
=
"<group>"
;
};
728899D11BECADCD003CC41E
/* CustomSegView.h */
=
{
isa
=
PBXFileReference
;
fileEncoding
=
4
;
lastKnownFileType
=
sourcecode.c.h
;
path
=
CustomSegView.h
;
sourceTree
=
"<group>"
;
};
728899D21BECADCD003CC41E
/* CustomSegView.m */
=
{
isa
=
PBXFileReference
;
fileEncoding
=
4
;
lastKnownFileType
=
sourcecode.c.objc
;
path
=
CustomSegView.m
;
sourceTree
=
"<group>"
;
};
728899D41BECB323003CC41E
/* SaleViewController.h */
=
{
isa
=
PBXFileReference
;
fileEncoding
=
4
;
lastKnownFileType
=
sourcecode.c.h
;
path
=
SaleViewController.h
;
sourceTree
=
"<group>"
;
};
728899D51BECB323003CC41E
/* SaleViewController.m */
=
{
isa
=
PBXFileReference
;
fileEncoding
=
4
;
lastKnownFileType
=
sourcecode.c.objc
;
path
=
SaleViewController.m
;
sourceTree
=
"<group>"
;
};
728899D71BEF20BA003CC41E
/* SMPageControl.h */
=
{
isa
=
PBXFileReference
;
fileEncoding
=
4
;
lastKnownFileType
=
sourcecode.c.h
;
path
=
SMPageControl.h
;
sourceTree
=
"<group>"
;
};
728899D81BEF20BA003CC41E
/* SMPageControl.m */
=
{
isa
=
PBXFileReference
;
fileEncoding
=
4
;
lastKnownFileType
=
sourcecode.c.objc
;
path
=
SMPageControl.m
;
sourceTree
=
"<group>"
;
};
728899E01BEF35F3003CC41E
/* SaleViewCell.h */
=
{
isa
=
PBXFileReference
;
fileEncoding
=
4
;
lastKnownFileType
=
sourcecode.c.h
;
path
=
SaleViewCell.h
;
sourceTree
=
"<group>"
;
};
728899E11BEF35F3003CC41E
/* SaleViewCell.m */
=
{
isa
=
PBXFileReference
;
fileEncoding
=
4
;
lastKnownFileType
=
sourcecode.c.objc
;
path
=
SaleViewCell.m
;
sourceTree
=
"<group>"
;
};
728899E31BEF3609003CC41E
/* SaleHeaderView.h */
=
{
isa
=
PBXFileReference
;
fileEncoding
=
4
;
lastKnownFileType
=
sourcecode.c.h
;
path
=
SaleHeaderView.h
;
sourceTree
=
"<group>"
;
};
728899E41BEF3609003CC41E
/* SaleHeaderView.m */
=
{
isa
=
PBXFileReference
;
fileEncoding
=
4
;
lastKnownFileType
=
sourcecode.c.objc
;
path
=
SaleHeaderView.m
;
sourceTree
=
"<group>"
;
};
728899E61BEF41FC003CC41E
/* PassengerViewController.h */
=
{
isa
=
PBXFileReference
;
fileEncoding
=
4
;
lastKnownFileType
=
sourcecode.c.h
;
path
=
PassengerViewController.h
;
sourceTree
=
"<group>"
;
};
728899E71BEF41FC003CC41E
/* PassengerViewController.m */
=
{
isa
=
PBXFileReference
;
fileEncoding
=
4
;
lastKnownFileType
=
sourcecode.c.objc
;
path
=
PassengerViewController.m
;
sourceTree
=
"<group>"
;
};
728899E91BEF4233003CC41E
/* PassgerPriceViewController.h */
=
{
isa
=
PBXFileReference
;
fileEncoding
=
4
;
lastKnownFileType
=
sourcecode.c.h
;
path
=
PassgerPriceViewController.h
;
sourceTree
=
"<group>"
;
};
728899EA1BEF4233003CC41E
/* PassgerPriceViewController.m */
=
{
isa
=
PBXFileReference
;
fileEncoding
=
4
;
lastKnownFileType
=
sourcecode.c.objc
;
path
=
PassgerPriceViewController.m
;
sourceTree
=
"<group>"
;
};
728899EC1BEF4A75003CC41E
/* PasengerCell.h */
=
{
isa
=
PBXFileReference
;
fileEncoding
=
4
;
lastKnownFileType
=
sourcecode.c.h
;
path
=
PasengerCell.h
;
sourceTree
=
"<group>"
;
};
728899ED1BEF4A75003CC41E
/* PasengerCell.m */
=
{
isa
=
PBXFileReference
;
fileEncoding
=
4
;
lastKnownFileType
=
sourcecode.c.objc
;
path
=
PasengerCell.m
;
sourceTree
=
"<group>"
;
};
728899EF1BEF4A8A003CC41E
/* PassengerHeaderCell.h */
=
{
isa
=
PBXFileReference
;
fileEncoding
=
4
;
lastKnownFileType
=
sourcecode.c.h
;
path
=
PassengerHeaderCell.h
;
sourceTree
=
"<group>"
;
};
728899F01BEF4A8A003CC41E
/* PassengerHeaderCell.m */
=
{
isa
=
PBXFileReference
;
fileEncoding
=
4
;
lastKnownFileType
=
sourcecode.c.objc
;
path
=
PassengerHeaderCell.m
;
sourceTree
=
"<group>"
;
};
728899F21BEF4D3D003CC41E
/* PassgerPriceHeaderCell.h */
=
{
isa
=
PBXFileReference
;
fileEncoding
=
4
;
lastKnownFileType
=
sourcecode.c.h
;
path
=
PassgerPriceHeaderCell.h
;
sourceTree
=
"<group>"
;
};
728899F31BEF4D3D003CC41E
/* PassgerPriceHeaderCell.m */
=
{
isa
=
PBXFileReference
;
fileEncoding
=
4
;
lastKnownFileType
=
sourcecode.c.objc
;
path
=
PassgerPriceHeaderCell.m
;
sourceTree
=
"<group>"
;
};
728899F51BEF4D53003CC41E
/* PassgerPriceCell.h */
=
{
isa
=
PBXFileReference
;
fileEncoding
=
4
;
lastKnownFileType
=
sourcecode.c.h
;
path
=
PassgerPriceCell.h
;
sourceTree
=
"<group>"
;
};
728899F61BEF4D53003CC41E
/* PassgerPriceCell.m */
=
{
isa
=
PBXFileReference
;
fileEncoding
=
4
;
lastKnownFileType
=
sourcecode.c.objc
;
path
=
PassgerPriceCell.m
;
sourceTree
=
"<group>"
;
};
729A2E911BE60C0200493603
/* GeometryView.h */
=
{
isa
=
PBXFileReference
;
fileEncoding
=
4
;
lastKnownFileType
=
sourcecode.c.h
;
path
=
GeometryView.h
;
sourceTree
=
"<group>"
;
};
729A2E911BE60C0200493603
/* GeometryView.h */
=
{
isa
=
PBXFileReference
;
fileEncoding
=
4
;
lastKnownFileType
=
sourcecode.c.h
;
path
=
GeometryView.h
;
sourceTree
=
"<group>"
;
};
729A2E921BE60C0200493603
/* GeometryView.m */
=
{
isa
=
PBXFileReference
;
fileEncoding
=
4
;
lastKnownFileType
=
sourcecode.c.objc
;
path
=
GeometryView.m
;
sourceTree
=
"<group>"
;
};
729A2E921BE60C0200493603
/* GeometryView.m */
=
{
isa
=
PBXFileReference
;
fileEncoding
=
4
;
lastKnownFileType
=
sourcecode.c.objc
;
path
=
GeometryView.m
;
sourceTree
=
"<group>"
;
};
72A8132B1BCA8BBA003631F3
/* ChooseTransportViewController.h */
=
{
isa
=
PBXFileReference
;
fileEncoding
=
4
;
lastKnownFileType
=
sourcecode.c.h
;
path
=
ChooseTransportViewController.h
;
sourceTree
=
"<group>"
;
};
72A8132B1BCA8BBA003631F3
/* ChooseTransportViewController.h */
=
{
isa
=
PBXFileReference
;
fileEncoding
=
4
;
lastKnownFileType
=
sourcecode.c.h
;
path
=
ChooseTransportViewController.h
;
sourceTree
=
"<group>"
;
};
...
@@ -1568,6 +1604,61 @@
...
@@ -1568,6 +1604,61 @@
path
=
Views
;
path
=
Views
;
sourceTree
=
"<group>"
;
sourceTree
=
"<group>"
;
};
};
728899C71BEC8766003CC41E
/* Report */
=
{
isa
=
PBXGroup
;
children
=
(
728899CB1BECADA8003CC41E
/* Controllers */
,
728899CE1BECADA8003CC41E
/* Models */
,
728899CF1BECADA8003CC41E
/* Views */
,
);
path
=
Report
;
sourceTree
=
"<group>"
;
};
728899CB1BECADA8003CC41E
/* Controllers */
=
{
isa
=
PBXGroup
;
children
=
(
728899CC1BECADA8003CC41E
/* ReportViewController.h */
,
728899CD1BECADA8003CC41E
/* ReportViewController.m */
,
728899D41BECB323003CC41E
/* SaleViewController.h */
,
728899D51BECB323003CC41E
/* SaleViewController.m */
,
728899E61BEF41FC003CC41E
/* PassengerViewController.h */
,
728899E71BEF41FC003CC41E
/* PassengerViewController.m */
,
728899E91BEF4233003CC41E
/* PassgerPriceViewController.h */
,
728899EA1BEF4233003CC41E
/* PassgerPriceViewController.m */
,
);
path
=
Controllers
;
sourceTree
=
"<group>"
;
};
728899CE1BECADA8003CC41E
/* Models */
=
{
isa
=
PBXGroup
;
children
=
(
);
path
=
Models
;
sourceTree
=
"<group>"
;
};
728899CF1BECADA8003CC41E
/* Views */
=
{
isa
=
PBXGroup
;
children
=
(
728899D71BEF20BA003CC41E
/* SMPageControl.h */
,
728899D81BEF20BA003CC41E
/* SMPageControl.m */
,
728899D11BECADCD003CC41E
/* CustomSegView.h */
,
728899D21BECADCD003CC41E
/* CustomSegView.m */
,
728899E01BEF35F3003CC41E
/* SaleViewCell.h */
,
728899E11BEF35F3003CC41E
/* SaleViewCell.m */
,
728899E31BEF3609003CC41E
/* SaleHeaderView.h */
,
728899E41BEF3609003CC41E
/* SaleHeaderView.m */
,
728899EC1BEF4A75003CC41E
/* PasengerCell.h */
,
728899ED1BEF4A75003CC41E
/* PasengerCell.m */
,
728899EF1BEF4A8A003CC41E
/* PassengerHeaderCell.h */
,
728899F01BEF4A8A003CC41E
/* PassengerHeaderCell.m */
,
728899F21BEF4D3D003CC41E
/* PassgerPriceHeaderCell.h */
,
728899F31BEF4D3D003CC41E
/* PassgerPriceHeaderCell.m */
,
728899F51BEF4D53003CC41E
/* PassgerPriceCell.h */
,
728899F61BEF4D53003CC41E
/* PassgerPriceCell.m */
,
);
path
=
Views
;
sourceTree
=
"<group>"
;
};
72A813F11BCD3117003631F3
/* Receiving */
=
{
72A813F11BCD3117003631F3
/* Receiving */
=
{
isa
=
PBXGroup
;
isa
=
PBXGroup
;
children
=
(
children
=
(
...
@@ -2331,6 +2422,7 @@
...
@@ -2331,6 +2422,7 @@
C1C6FEED1AB88A3400D4C41A
/* ViewControllers */
=
{
C1C6FEED1AB88A3400D4C41A
/* ViewControllers */
=
{
isa
=
PBXGroup
;
isa
=
PBXGroup
;
children
=
(
children
=
(
728899C71BEC8766003CC41E
/* Report */
,
72A813F11BCD3117003631F3
/* Receiving */
,
72A813F11BCD3117003631F3
/* Receiving */
,
72805CED1BB79D68009E1F82
/* Transfer */
,
72805CED1BB79D68009E1F82
/* Transfer */
,
72B3C0A91B9D3C7300025D81
/* Transport */
,
72B3C0A91B9D3C7300025D81
/* Transport */
,
...
@@ -2770,7 +2862,10 @@
...
@@ -2770,7 +2862,10 @@
C142D2AE1AC3A155000109A7
/* NSString+TrimmingAdditions.m in Sources */
,
C142D2AE1AC3A155000109A7
/* NSString+TrimmingAdditions.m in Sources */
,
C15918471AC062460013B391
/* IBTCommon.m in Sources */
,
C15918471AC062460013B391
/* IBTCommon.m in Sources */
,
C1FE502D1ADD887400C18080
/* LBorderView.m in Sources */
,
C1FE502D1ADD887400C18080
/* LBorderView.m in Sources */
,
728899F71BEF4D53003CC41E
/* PassgerPriceCell.m in Sources */
,
C1B810AF1ADF4D6A00BBC75A
/* ICRAttachTitleView.m in Sources */
,
C1B810AF1ADF4D6A00BBC75A
/* ICRAttachTitleView.m in Sources */
,
728899E21BEF35F3003CC41E
/* SaleViewCell.m in Sources */
,
728899D31BECADCD003CC41E
/* CustomSegView.m in Sources */
,
C159186F1AC1A0510013B391
/* ICRSystemViewController.m in Sources */
,
C159186F1AC1A0510013B391
/* ICRSystemViewController.m in Sources */
,
72B3C0D31B9D72C600025D81
/* TransportPdtDetail.m in Sources */
,
72B3C0D31B9D72C600025D81
/* TransportPdtDetail.m in Sources */
,
72B3C0C91B9D3C7300025D81
/* TransportPurchaseCell.m in Sources */
,
72B3C0C91B9D3C7300025D81
/* TransportPurchaseCell.m in Sources */
,
...
@@ -2810,6 +2905,7 @@
...
@@ -2810,6 +2905,7 @@
C123A92B1B26EDDA003C0C36
/* ICRQuestionHelperView.m in Sources */
,
C123A92B1B26EDDA003C0C36
/* ICRQuestionHelperView.m in Sources */
,
7281A0BF1B8980E60052B1AC
/* PurchaseBill.m in Sources */
,
7281A0BF1B8980E60052B1AC
/* PurchaseBill.m in Sources */
,
72F9D4851BA7FFC400795A00
/* PurchaseNotice.m in Sources */
,
72F9D4851BA7FFC400795A00
/* PurchaseNotice.m in Sources */
,
728899EE1BEF4A75003CC41E
/* PasengerCell.m in Sources */
,
0414FF191B94959700C7B00E
/* PurchaseNoticeCell.m in Sources */
,
0414FF191B94959700C7B00E
/* PurchaseNoticeCell.m in Sources */
,
7217E9EB1B72364300FE5C1D
/* HPGrowingTextView.m in Sources */
,
7217E9EB1B72364300FE5C1D
/* HPGrowingTextView.m in Sources */
,
724171761B9D30DE0094DF55
/* ChooseCostViewController.m in Sources */
,
724171761B9D30DE0094DF55
/* ChooseCostViewController.m in Sources */
,
...
@@ -2821,11 +2917,13 @@
...
@@ -2821,11 +2917,13 @@
0406BFD91B7C97E700DD65A7
/* BusinessViewController.m in Sources */
,
0406BFD91B7C97E700DD65A7
/* BusinessViewController.m in Sources */
,
C1374F581B33C40D00594D19
/* IBTWebViewController.m in Sources */
,
C1374F581B33C40D00594D19
/* IBTWebViewController.m in Sources */
,
C159186B1AC1A03B0013B391
/* ICRSyncViewController.m in Sources */
,
C159186B1AC1A03B0013B391
/* ICRSyncViewController.m in Sources */
,
728899F41BEF4D3D003CC41E
/* PassgerPriceHeaderCell.m in Sources */
,
C1C564431AD66C6E006A1050
/* ICRTaskEditViewController.m in Sources */
,
C1C564431AD66C6E006A1050
/* ICRTaskEditViewController.m in Sources */
,
72F9D48B1BA8582100795A00
/* NoticeBoltView.m in Sources */
,
72F9D48B1BA8582100795A00
/* NoticeBoltView.m in Sources */
,
C142D2AA1AC3A155000109A7
/* NSDate+FormatterAdditions.m in Sources */
,
C142D2AA1AC3A155000109A7
/* NSDate+FormatterAdditions.m in Sources */
,
72805CF61BB8E20B009E1F82
/* NewTransferViewController.m in Sources */
,
72805CF61BB8E20B009E1F82
/* NewTransferViewController.m in Sources */
,
C1B307A31ADD199600657F11
/* ICRTaskResultContentView.m in Sources */
,
C1B307A31ADD199600657F11
/* ICRTaskResultContentView.m in Sources */
,
728899EB1BEF4233003CC41E
/* PassgerPriceViewController.m in Sources */
,
72873CEB1BA27BA6007B3387
/* GXFPopView.m in Sources */
,
72873CEB1BA27BA6007B3387
/* GXFPopView.m in Sources */
,
721BF46A1BAAA18400255750
/* FooterCell.m in Sources */
,
721BF46A1BAAA18400255750
/* FooterCell.m in Sources */
,
30DB9F971AD7DEC00085FA5C
/* IBTUISearchBar.m in Sources */
,
30DB9F971AD7DEC00085FA5C
/* IBTUISearchBar.m in Sources */
,
...
@@ -2834,6 +2932,7 @@
...
@@ -2834,6 +2932,7 @@
C1D017281AD8F46700CD9CB8
/* IBTScrollLoadMoreView.m in Sources */
,
C1D017281AD8F46700CD9CB8
/* IBTScrollLoadMoreView.m in Sources */
,
72A813FD1BCD33BE003631F3
/* ReceiveBoltView.m in Sources */
,
72A813FD1BCD33BE003631F3
/* ReceiveBoltView.m in Sources */
,
C18AEA841AC8D2EA00A1DB7B
/* IBTUIButton.m in Sources */
,
C18AEA841AC8D2EA00A1DB7B
/* IBTUIButton.m in Sources */
,
728899D61BECB323003CC41E
/* SaleViewController.m in Sources */
,
C1FE50521AE024FA00C18080
/* UIAlertView+Blocks.m in Sources */
,
C1FE50521AE024FA00C18080
/* UIAlertView+Blocks.m in Sources */
,
351CFF5C1B90633700F30866
/* GXFFunction.m in Sources */
,
351CFF5C1B90633700F30866
/* GXFFunction.m in Sources */
,
C1E108691ADADB5500620375
/* IBTCustomButtom.m in Sources */
,
C1E108691ADADB5500620375
/* IBTCustomButtom.m in Sources */
,
...
@@ -2878,13 +2977,16 @@
...
@@ -2878,13 +2977,16 @@
C15295B71B24450A00DF60D1
/* ICRQAViewController.m in Sources */
,
C15295B71B24450A00DF60D1
/* ICRQAViewController.m in Sources */
,
30D7FE5D1AD4F941003D92EE
/* ICRAboutViewController.m in Sources */
,
30D7FE5D1AD4F941003D92EE
/* ICRAboutViewController.m in Sources */
,
7281A0B31B8974120052B1AC
/* NewPurchaseViewController.m in Sources */
,
7281A0B31B8974120052B1AC
/* NewPurchaseViewController.m in Sources */
,
728899E81BEF41FC003CC41E
/* PassengerViewController.m in Sources */
,
C10214DF1AD90A3F0024637E
/* ICRFunctionItemControl.m in Sources */
,
C10214DF1AD90A3F0024637E
/* ICRFunctionItemControl.m in Sources */
,
358432F11B993BD8007E73ED
/* GXFProcessProductTableViewCell.m in Sources */
,
358432F11B993BD8007E73ED
/* GXFProcessProductTableViewCell.m in Sources */
,
728899F11BEF4A8A003CC41E
/* PassengerHeaderCell.m in Sources */
,
C15918431AC062460013B391
/* IBTTableViewUserInfo.m in Sources */
,
C15918431AC062460013B391
/* IBTTableViewUserInfo.m in Sources */
,
30D702461ADE3862008DC0BF
/* ICRAnnouncementDetailHeadView.m in Sources */
,
30D702461ADE3862008DC0BF
/* ICRAnnouncementDetailHeadView.m in Sources */
,
C17E50D91B09830200C15359
/* ICRPostAttachment.m in Sources */
,
C17E50D91B09830200C15359
/* ICRPostAttachment.m in Sources */
,
C18AEA911AC9B88F00A1DB7B
/* ICRUIAppearance.m in Sources */
,
C18AEA911AC9B88F00A1DB7B
/* ICRUIAppearance.m in Sources */
,
C142D2B61AC3A155000109A7
/* UILabel+SizeCalculate.m in Sources */
,
C142D2B61AC3A155000109A7
/* UILabel+SizeCalculate.m in Sources */
,
728899D01BECADA8003CC41E
/* ReportViewController.m in Sources */
,
72B3C0D01B9D6B9E00025D81
/* TransportViewController.m in Sources */
,
72B3C0D01B9D6B9E00025D81
/* TransportViewController.m in Sources */
,
724171731B9D30660094DF55
/* ChosePersonViewController.m in Sources */
,
724171731B9D30660094DF55
/* ChosePersonViewController.m in Sources */
,
72B3C0C71B9D3C7300025D81
/* BottomTransportView.m in Sources */
,
72B3C0C71B9D3C7300025D81
/* BottomTransportView.m in Sources */
,
...
@@ -2947,6 +3049,7 @@
...
@@ -2947,6 +3049,7 @@
C142D2B81AC3A155000109A7
/* UIResponder+FirstResponder.m in Sources */
,
C142D2B81AC3A155000109A7
/* UIResponder+FirstResponder.m in Sources */
,
30D3C1251ADF6451004AC54E
/* ICRAnnouncementDetailContentView.m in Sources */
,
30D3C1251ADF6451004AC54E
/* ICRAnnouncementDetailContentView.m in Sources */
,
FEAE16E91B79C9F9009D9E01
/* ResultView.m in Sources */
,
FEAE16E91B79C9F9009D9E01
/* ResultView.m in Sources */
,
728899E51BEF3609003CC41E
/* SaleHeaderView.m in Sources */
,
C142D2C01AC3A155000109A7
/* UIView+ViewFrameGeometry.m in Sources */
,
C142D2C01AC3A155000109A7
/* UIView+ViewFrameGeometry.m in Sources */
,
C1FE50451AE0249A00C18080
/* IBTImagePicker.m in Sources */
,
C1FE50451AE0249A00C18080
/* IBTImagePicker.m in Sources */
,
C1E108611ADA8D3800620375
/* ICRAttachment.m in Sources */
,
C1E108611ADA8D3800620375
/* ICRAttachment.m in Sources */
,
...
@@ -2980,6 +3083,7 @@
...
@@ -2980,6 +3083,7 @@
351CFF5D1B90633700F30866
/* GXFFunctionCollectionViewCell.m in Sources */
,
351CFF5D1B90633700F30866
/* GXFFunctionCollectionViewCell.m in Sources */
,
726F4C6D1BDE5F83006A5E6D
/* RejectView.m in Sources */
,
726F4C6D1BDE5F83006A5E6D
/* RejectView.m in Sources */
,
7281A0B91B897BB20052B1AC
/* PurchaseViewController.m in Sources */
,
7281A0B91B897BB20052B1AC
/* PurchaseViewController.m in Sources */
,
728899D91BEF20BA003CC41E
/* SMPageControl.m in Sources */
,
358432EE1B993BAF007E73ED
/* GXFProcessMaterialTableViewCell.m in Sources */
,
358432EE1B993BAF007E73ED
/* GXFProcessMaterialTableViewCell.m in Sources */
,
C1C5644F1AD6719B006A1050
/* ICRTaskDetailViewController.m in Sources */
,
C1C5644F1AD6719B006A1050
/* ICRTaskDetailViewController.m in Sources */
,
C1E1085D1ADA577500620375
/* ICRTaskDetailContentView.m in Sources */
,
C1E1085D1ADA577500620375
/* ICRTaskDetailContentView.m in Sources */
,
...
@@ -3280,8 +3384,8 @@
...
@@ -3280,8 +3384,8 @@
baseConfigurationReference
=
1B0B22845F5CD40B5CF655F2
/* Pods.debug.xcconfig */
;
baseConfigurationReference
=
1B0B22845F5CD40B5CF655F2
/* Pods.debug.xcconfig */
;
buildSettings
=
{
buildSettings
=
{
ASSETCATALOG_COMPILER_APPICON_NAME
=
AppIcon
;
ASSETCATALOG_COMPILER_APPICON_NAME
=
AppIcon
;
CODE_SIGN_IDENTITY
=
"iPhone Developer:
Fanfan Cui (7S27LB84E2
)"
;
CODE_SIGN_IDENTITY
=
"iPhone Developer:
Minglong Hu (TR9LJDJBFT
)"
;
"CODE_SIGN_IDENTITY[sdk=iphoneos*]"
=
"iPhone Developer:
Fanfan Cui (7S27LB84E2
)"
;
"CODE_SIGN_IDENTITY[sdk=iphoneos*]"
=
"iPhone Developer:
Minglong Hu (TR9LJDJBFT
)"
;
COPYING_PRESERVES_HFS_DATA
=
NO
;
COPYING_PRESERVES_HFS_DATA
=
NO
;
ENABLE_BITCODE
=
NO
;
ENABLE_BITCODE
=
NO
;
GCC_PREFIX_HEADER
=
"XFFruit/XFFruit-Prefix.pch"
;
GCC_PREFIX_HEADER
=
"XFFruit/XFFruit-Prefix.pch"
;
...
@@ -3306,7 +3410,7 @@
...
@@ -3306,7 +3410,7 @@
buildSettings
=
{
buildSettings
=
{
ASSETCATALOG_COMPILER_APPICON_NAME
=
AppIcon
;
ASSETCATALOG_COMPILER_APPICON_NAME
=
AppIcon
;
CODE_SIGN_IDENTITY
=
"iPhone Developer: Fanfan Cui (7S27LB84E2)"
;
CODE_SIGN_IDENTITY
=
"iPhone Developer: Fanfan Cui (7S27LB84E2)"
;
"CODE_SIGN_IDENTITY[sdk=iphoneos*]"
=
"iPhone Developer:
Fanfan Cui (7S27LB84E2
)"
;
"CODE_SIGN_IDENTITY[sdk=iphoneos*]"
=
"iPhone Developer:
Minglong Hu (TR9LJDJBFT
)"
;
COPYING_PRESERVES_HFS_DATA
=
NO
;
COPYING_PRESERVES_HFS_DATA
=
NO
;
ENABLE_BITCODE
=
NO
;
ENABLE_BITCODE
=
NO
;
GCC_PREFIX_HEADER
=
"XFFruit/XFFruit-Prefix.pch"
;
GCC_PREFIX_HEADER
=
"XFFruit/XFFruit-Prefix.pch"
;
...
...
This diff is collapsed.
Click to expand it.
XFFruit/Utilities/IBTUIKit/IBTCommon.h
View file @
2e360c7a
...
@@ -40,8 +40,11 @@
...
@@ -40,8 +40,11 @@
+
(
NSString
*
)
checkNull
:
(
id
)
data
;
+
(
NSString
*
)
checkNull
:
(
id
)
data
;
+
(
BOOL
)
checkStringIsNilOrSpance
:
(
NSString
*
)
str
;
+
(
BOOL
)
checkStringIsNilOrSpance
:
(
NSString
*
)
str
;
+
(
NSMutableAttributedString
*
)
setTextViewFontOfString
:(
NSString
*
)
string
paragraphStyle
:(
NSInteger
)
lineHeight
fontSize
:(
float
)
size
color
:(
UIColor
*
)
color
;
+
(
NSMutableAttributedString
*
)
setTextViewFontOfString
:(
NSString
*
)
string
paragraphStyle
:(
NSInteger
)
lineHeight
fontSize
:(
float
)
size
color
:(
UIColor
*
)
color
;
+
(
NSMutableAttributedString
*
)
setTextViewBoldFontOfString
:(
NSString
*
)
string
paragraphStyle
:(
NSInteger
)
lineHeight
fontSize
:(
float
)
size
color
:(
UIColor
*
)
color
;
+
(
NSString
*
)
trimmingCharacters
:(
NSString
*
)
str
;
+
(
NSString
*
)
trimmingCharacters
:(
NSString
*
)
str
;
+
(
int
)
compareDate
:(
NSString
*
)
oneDate
withDate
:(
NSString
*
)
twoDate
;
+
(
int
)
compareDate
:(
NSString
*
)
oneDate
withDate
:(
NSString
*
)
twoDate
;
+
(
BOOL
)
checkIsPermission
:(
NSString
*
)
permission
;
+
(
BOOL
)
checkIsPermission
:(
NSString
*
)
permission
;
+
(
UILabel
*
)
labelWithTitle
:(
NSString
*
)
title
frame
:(
CGRect
)
frame
textFont
:(
UIFont
*
)
titleFont
;
+
(
UIButton
*
)
buttonWithTitle
:(
NSString
*
)
title
Image
:(
UIImage
*
)
image
frame
:(
CGRect
)
frame
fontSize
:(
float
)
fontSize
fontColor
:(
UIColor
*
)
color
;
+
(
UIButton
*
)
buttonWithImage
:(
UIImage
*
)
image
frame
:(
CGRect
)
frame
;
@end
@end
This diff is collapsed.
Click to expand it.
XFFruit/Utilities/IBTUIKit/IBTCommon.m
View file @
2e360c7a
...
@@ -224,6 +224,14 @@
...
@@ -224,6 +224,14 @@
return
attributeStr
;
return
attributeStr
;
}
}
+
(
NSMutableAttributedString
*
)
setTextViewBoldFontOfString
:
(
NSString
*
)
string
paragraphStyle
:
(
NSInteger
)
lineHeight
fontSize
:
(
float
)
size
color
:
(
UIColor
*
)
color
{
NSMutableParagraphStyle
*
paragraphStyle
=
[[
NSMutableParagraphStyle
alloc
]
init
];
paragraphStyle
.
lineSpacing
=
lineHeight
;
NSDictionary
*
attributes
=
@{
NSFontAttributeName
:
[
UIFont
boldSystemFontOfSize
:
size
],
NSForegroundColorAttributeName
:
color
,
NSParagraphStyleAttributeName
:
paragraphStyle
};
NSMutableAttributedString
*
attributeStr
=
[[
NSMutableAttributedString
alloc
]
initWithString
:
string
attributes
:
attributes
];
return
attributeStr
;
}
+
(
NSString
*
)
trimmingCharacters
:
(
NSString
*
)
str
{
+
(
NSString
*
)
trimmingCharacters
:
(
NSString
*
)
str
{
NSString
*
newStr
=
[
str
stringByTrimmingCharactersInSet
:[
NSCharacterSet
whitespaceCharacterSet
]];
NSString
*
newStr
=
[
str
stringByTrimmingCharactersInSet
:[
NSCharacterSet
whitespaceCharacterSet
]];
return
newStr
;
return
newStr
;
...
@@ -258,4 +266,46 @@
...
@@ -258,4 +266,46 @@
return
NO
;
return
NO
;
}
}
+
(
UILabel
*
)
labelWithTitle
:
(
NSString
*
)
title
frame
:
(
CGRect
)
frame
textFont
:
(
UIFont
*
)
titleFont
{
UILabel
*
titleLabel
=
[[
UILabel
alloc
]
initWithFrame
:
frame
];
titleLabel
.
backgroundColor
=
[
UIColor
clearColor
];
titleLabel
.
font
=
titleFont
;
titleLabel
.
textColor
=
[
UIColor
blackColor
];
titleLabel
.
numberOfLines
=
1
;
//设置文字过长时的显示格式,截去尾部...
titleLabel
.
lineBreakMode
=
NSLineBreakByTruncatingTail
;
titleLabel
.
text
=
title
;
return
titleLabel
;
}
+
(
UIButton
*
)
buttonWithTitle
:
(
NSString
*
)
title
Image
:
(
UIImage
*
)
image
frame
:
(
CGRect
)
frame
fontSize
:
(
float
)
fontSize
fontColor
:
(
UIColor
*
)
color
{
UIButton
*
button
=
[
UIButton
buttonWithType
:
UIButtonTypeCustom
];
[
button
setTitle
:
title
forState
:
UIControlStateNormal
];
button
.
frame
=
frame
;
button
.
titleLabel
.
font
=
[
UIFont
systemFontOfSize
:
fontSize
];
button
.
contentHorizontalAlignment
=
UIControlContentHorizontalAlignmentCenter
;
button
.
contentVerticalAlignment
=
UIControlContentVerticalAlignmentCenter
;
[
button
setImage
:
image
forState
:
UIControlStateNormal
];
[
button
setTitleColor
:
color
forState
:
UIControlStateNormal
];
return
button
;
}
+
(
UIButton
*
)
buttonWithImage
:
(
UIImage
*
)
image
frame
:
(
CGRect
)
frame
{
UIButton
*
button
=
[
UIButton
buttonWithType
:
UIButtonTypeCustom
];
button
.
frame
=
frame
;
button
.
contentHorizontalAlignment
=
UIControlContentHorizontalAlignmentCenter
;
button
.
contentVerticalAlignment
=
UIControlContentVerticalAlignmentCenter
;
[
button
setImage
:
image
forState
:
UIControlStateNormal
];
return
button
;
}
@end
@end
This diff is collapsed.
Click to expand it.
XFFruit/Utilities/IBTUIKit/IBTConstants.h
View file @
2e360c7a
...
@@ -217,11 +217,15 @@
...
@@ -217,11 +217,15 @@
#define TRANSPORT_ACTION_FINISH @"500504" //结束权
#define TRANSPORT_ACTION_FINISH @"500504" //结束权
#define TRANSPORT_ACTION_ABORT @"500505" //作废权
#define TRANSPORT_ACTION_ABORT @"500505" //作废权
//选中的颜色
#define BASESELECT_COLOR RGBA(255, 127, 0, 1)
//销售
#define SaleDay @"日"
#define SaleWeek @"周"
#define SaleMonth @"月"
//选中的颜色
#define BASESELECT_COLOR RGBA(255, 127, 0, 1)
#endif
#endif
This diff is collapsed.
Click to expand it.
XFFruit/Utilities/IBTUIKit/IBTCustomButtom.h
View file @
2e360c7a
...
@@ -25,4 +25,12 @@
...
@@ -25,4 +25,12 @@
+
(
UIButton
*
)
creatButtonWithFrame
:(
CGRect
)
frame
target
:(
id
)
target
sel
:(
SEL
)
sel
tag
:(
NSInteger
)
tag
image
:(
NSString
*
)
name
title
:(
NSString
*
)
title
titleColor
:(
UIColor
*
)
titleCorlor
isCorner
:(
BOOL
)
isCornor
corner
:(
CGFloat
)
corner
bgColor
:(
UIColor
*
)
bgcolor
;
+
(
UIButton
*
)
creatButtonWithFrame
:(
CGRect
)
frame
target
:(
id
)
target
sel
:(
SEL
)
sel
tag
:(
NSInteger
)
tag
image
:(
NSString
*
)
name
title
:(
NSString
*
)
title
titleColor
:(
UIColor
*
)
titleCorlor
isCorner
:(
BOOL
)
isCornor
corner
:(
CGFloat
)
corner
bgColor
:(
UIColor
*
)
bgcolor
;
#pragma mark - border
-
(
void
)
addTopBorderWithHeight
:(
CGFloat
)
height
color
:(
UIColor
*
)
color
;
-
(
void
)
addBottomBorderWithHeight
:(
CGFloat
)
height
color
:(
UIColor
*
)
color
;
-
(
void
)
addLeftBorderWithWidth
:(
CGFloat
)
width
color
:(
UIColor
*
)
color
;
-
(
void
)
addRightBorderWithWidth
:(
CGFloat
)
width
color
:(
UIColor
*
)
color
;
@end
@end
This diff is collapsed.
Click to expand it.
XFFruit/Utilities/IBTUIKit/IBTCustomButtom.m
View file @
2e360c7a
...
@@ -92,5 +92,39 @@
...
@@ -92,5 +92,39 @@
return
button
;
return
button
;
}
}
#pragma mark - border
-
(
void
)
addTopBorderWithHeight
:(
CGFloat
)
height
color
:(
UIColor
*
)
color
{
CALayer
*
layer
=
[
CALayer
layer
];
layer
.
frame
=
CGRectMake
(
0
,
0
,
self
.
frame
.
size
.
width
,
height
);
layer
.
backgroundColor
=
color
.
CGColor
;
[
self
.
layer
addSublayer
:
layer
];
}
-
(
void
)
addBottomBorderWithHeight
:(
CGFloat
)
height
color
:(
UIColor
*
)
color
{
CALayer
*
layer
=
[
CALayer
layer
];
layer
.
frame
=
CGRectMake
(
0
,
self
.
frame
.
size
.
height
-
height
,
self
.
frame
.
size
.
width
,
height
);
layer
.
backgroundColor
=
color
.
CGColor
;
[
self
.
layer
addSublayer
:
layer
];
}
-
(
void
)
addLeftBorderWithWidth
:(
CGFloat
)
width
color
:(
UIColor
*
)
color
{
CALayer
*
layer
=
[
CALayer
layer
];
layer
.
frame
=
CGRectMake
(
0
,
0
,
width
,
self
.
frame
.
size
.
height
);
layer
.
backgroundColor
=
color
.
CGColor
;
[
self
.
layer
addSublayer
:
layer
];
}
-
(
void
)
addRightBorderWithWidth
:(
CGFloat
)
width
color
:(
UIColor
*
)
color
{
CALayer
*
layer
=
[
CALayer
layer
];
layer
.
frame
=
CGRectMake
(
self
.
frame
.
size
.
width
-
width
,
0
,
width
,
self
.
frame
.
size
.
height
);
layer
.
backgroundColor
=
color
.
CGColor
;
[
self
.
layer
addSublayer
:
layer
];
}
@end
@end
This diff is collapsed.
Click to expand it.
XFFruit/ViewControllers/Purchase/Controllers/NewPurchaseViewController.m
View file @
2e360c7a
...
@@ -396,8 +396,7 @@ typedef enum : NSUInteger {
...
@@ -396,8 +396,7 @@ typedef enum : NSUInteger {
billProduct
.
basePrice
=
[
NSNumber
numberWithFloat
:
0
];
billProduct
.
basePrice
=
[
NSNumber
numberWithFloat
:
0
];
billProduct
.
total
=
[
NSNumber
numberWithFloat
:
0
];
billProduct
.
total
=
[
NSNumber
numberWithFloat
:
0
];
billProduct
.
remark
=
@""
;
billProduct
.
remark
=
@""
;
#warning 包装规格说明是不是少了在NoticeProduct
billProduct
.
qpcStr
=
[
NSString
stringWithFormat
:
@"1*%@"
,
product
.
qpc
];
billProduct
.
qpcStr
=
@"无"
;
[
billArr
addObject
:
billProduct
];
[
billArr
addObject
:
billProduct
];
}
}
return
billArr
;
return
billArr
;
...
...
This diff is collapsed.
Click to expand it.
XFFruit/ViewControllers/Purchase/Views/ProductBillCell.m
View file @
2e360c7a
...
@@ -145,17 +145,17 @@
...
@@ -145,17 +145,17 @@
{
{
self
.
seqLabel
.
text
=
[
NSString
stringWithFormat
:
@"%@"
,
@
(
row
+
1
)];
self
.
seqLabel
.
text
=
[
NSString
stringWithFormat
:
@"%@"
,
@
(
row
+
1
)];
self
.
titleLabel
.
text
=
billProduct
.
product_name
;
self
.
titleLabel
.
text
=
billProduct
.
product_name
;
self
.
priceLabel
.
text
=
[
NSString
stringWithFormat
:
@"%@元"
,
billProduct
.
basePrice
];
self
.
priceLabel
.
text
=
[
NSString
stringWithFormat
:
@"%@元"
,
[
billProduct
.
basePrice
stringValue
]
];
self
.
countLabel
.
text
=
[
NSString
stringWithFormat
:
@"%@%@"
,
billProduct
.
qty
,
billProduct
.
unit
];
self
.
countLabel
.
text
=
[
NSString
stringWithFormat
:
@"%@%@"
,
[
billProduct
.
qty
stringValue
]
,
billProduct
.
unit
];
self
.
shippedQtyLabel
.
text
=
[
NSString
stringWithFormat
:
@"%@%@"
,
billProduct
.
shippedBaseQty
?
[
billProduct
.
shippedBaseQty
stringValue
]:
@"0"
,
billProduct
.
unit
];
self
.
shippedQtyLabel
.
text
=
[
NSString
stringWithFormat
:
@"%@%@"
,
billProduct
.
shippedBaseQty
?
[
billProduct
.
shippedBaseQty
stringValue
]:
@"0"
,
billProduct
.
unit
];
self
.
showNameLabel
.
text
=
[
NSString
stringWithFormat
:
@"商品:%@[%@]"
,
billProduct
.
product_name
,
billProduct
.
product_code
];
self
.
showNameLabel
.
text
=
[
NSString
stringWithFormat
:
@"商品:%@[%@]"
,
billProduct
.
product_name
,
billProduct
.
product_code
];
self
.
showStandLabel
.
text
=
[
NSString
stringWithFormat
:
@"包装规格:1*%@%@"
,
billProduct
.
qpc
,
billProduct
.
baseUnit
];
self
.
showStandLabel
.
text
=
[
NSString
stringWithFormat
:
@"包装规格:1*%@%@"
,
[
billProduct
.
qpc
stringValue
]
,
billProduct
.
baseUnit
];
self
.
showCountLabel
.
text
=
[
NSString
stringWithFormat
:
@"包装数量:%@%@"
,
billProduct
.
qty
,
billProduct
.
unit
];
self
.
showCountLabel
.
text
=
[
NSString
stringWithFormat
:
@"包装数量:%@%@"
,
[
billProduct
.
qty
stringValue
]
,
billProduct
.
unit
];
self
.
showBaseCountLabel
.
text
=
[
NSString
stringWithFormat
:
@"基础数量:%@%@"
,
billProduct
.
baseQty
,
billProduct
.
baseUnit
];
self
.
showBaseCountLabel
.
text
=
[
NSString
stringWithFormat
:
@"基础数量:%@%@"
,
[
billProduct
.
baseQty
stringValue
]
,
billProduct
.
baseUnit
];
self
.
showPriceLabel
.
text
=
[
NSString
stringWithFormat
:
@"包装单价:%@元"
,
billProduct
.
price
];
self
.
showPriceLabel
.
text
=
[
NSString
stringWithFormat
:
@"包装单价:%@元"
,
[
billProduct
.
price
stringValue
]
];
self
.
showBasePriceLabel
.
text
=
[
NSString
stringWithFormat
:
@"基础单价:%@元"
,
billProduct
.
basePrice
];
self
.
showBasePriceLabel
.
text
=
[
NSString
stringWithFormat
:
@"基础单价:%@元"
,
[
billProduct
.
basePrice
stringValue
]
];
self
.
showTotalLabel
.
text
=
[
NSString
stringWithFormat
:
@"总金额:%@元"
,
billProduct
.
total
];
self
.
showTotalLabel
.
text
=
[
NSString
stringWithFormat
:
@"总金额:%@元"
,
[
billProduct
.
total
stringValue
]
];
self
.
showNoteLabel
.
text
=
[
NSString
stringWithFormat
:
@"备注:%@"
,
billProduct
.
remark
?
billProduct
.
remark
:
@"无"
];
self
.
showNoteLabel
.
text
=
[
NSString
stringWithFormat
:
@"备注:%@"
,
billProduct
.
remark
?
billProduct
.
remark
:
@"无"
];
[
self
isShowShippingQty
:
billProduct
];
[
self
isShowShippingQty
:
billProduct
];
}
}
...
...
This diff is collapsed.
Click to expand it.
XFFruit/ViewControllers/PurchaseNotice/Views/NoticeProductViewController.m
View file @
2e360c7a
...
@@ -274,20 +274,20 @@ typedef enum : NSUInteger {
...
@@ -274,20 +274,20 @@ typedef enum : NSUInteger {
if
(
_qpcQuantityField
.
text
.
length
>
0
)
{
//包装数量
if
(
_qpcQuantityField
.
text
.
length
>
0
)
{
//包装数量
//计算基础数量
//计算基础数量
float
baseCount
=
[
_qpcField
.
text
floatValue
]
*
[
_qpcQuantityField
.
text
floatValue
];
float
baseCount
=
[
_qpcField
.
text
floatValue
]
*
[
_qpcQuantityField
.
text
floatValue
];
_quantityField
.
text
=
[
NSString
stringWithFormat
:
@"%.
0
f"
,
baseCount
];
_quantityField
.
text
=
[
NSString
stringWithFormat
:
@"%.
2
f"
,
baseCount
];
}
}
}
else
if
(
textField
==
_qpcQuantityField
)
{
//包装数量
}
else
if
(
textField
==
_qpcQuantityField
)
{
//包装数量
if
(
_qpcField
.
text
.
length
>
0
)
{
//包装规格
if
(
_qpcField
.
text
.
length
>
0
)
{
//包装规格
//计算基础数量
//计算基础数量
float
baseCount
=
[
_qpcField
.
text
floatValue
]
*
[
_qpcQuantityField
.
text
floatValue
];
float
baseCount
=
[
_qpcField
.
text
floatValue
]
*
[
_qpcQuantityField
.
text
floatValue
];
_quantityField
.
text
=
[
NSString
stringWithFormat
:
@"%.
0
f"
,
baseCount
];
_quantityField
.
text
=
[
NSString
stringWithFormat
:
@"%.
2
f"
,
baseCount
];
}
}
}
else
if
(
textField
==
_quantityField
)
{
//基础数量
}
else
if
(
textField
==
_quantityField
)
{
//基础数量
if
(
_qpcField
.
text
.
length
>
0
)
{
//包装规格
if
(
_qpcField
.
text
.
length
>
0
)
{
//包装规格
//计算包装数量
//计算包装数量
if
([
_qpcField
.
text
integerValue
]
>
0
)
{
if
([
_qpcField
.
text
integerValue
]
>
0
)
{
float
packCount
=
[
_quantityField
.
text
floatValue
]
/
[
_qpcField
.
text
floatValue
];
float
packCount
=
[
_quantityField
.
text
floatValue
]
/
[
_qpcField
.
text
floatValue
];
_qpcQuantityField
.
text
=
[
NSString
stringWithFormat
:
@"%.
0
f"
,
packCount
];
_qpcQuantityField
.
text
=
[
NSString
stringWithFormat
:
@"%.
2
f"
,
packCount
];
}
}
}
}
}
}
...
...
This diff is collapsed.
Click to expand it.
XFFruit/ViewControllers/PurchaseNotice/Views/ShopDetaileViewController.m
View file @
2e360c7a
...
@@ -118,7 +118,7 @@ typedef enum : NSUInteger {
...
@@ -118,7 +118,7 @@ typedef enum : NSUInteger {
self
.
shopDetail
.
packageQpcUnit
?
(
_baseCountLabel
.
text
=
self
.
shopDetail
.
packageQpcUnit
)
:
(
_baseCountLabel
.
text
=
@"斤"
);
self
.
shopDetail
.
packageQpcUnit
?
(
_baseCountLabel
.
text
=
self
.
shopDetail
.
packageQpcUnit
)
:
(
_baseCountLabel
.
text
=
@"斤"
);
//包装数量
//包装数量
if
([
self
.
shopDetail
.
packageQuantity
integer
Value
]
>
0
)
{
if
([
self
.
shopDetail
.
packageQuantity
float
Value
]
>
0
)
{
packageQuantity
.
text
=
self
.
shopDetail
.
packageQuantity
;
packageQuantity
.
text
=
self
.
shopDetail
.
packageQuantity
;
}
}
//基础数量
//基础数量
...
@@ -221,7 +221,7 @@ typedef enum : NSUInteger {
...
@@ -221,7 +221,7 @@ typedef enum : NSUInteger {
self
.
shopDetail
.
merchandise
=
self
.
productNameStr
;
self
.
shopDetail
.
merchandise
=
self
.
productNameStr
;
self
.
shopDetail
.
packageSpecification
=
packageSpecification
.
text
;
self
.
shopDetail
.
packageSpecification
=
packageSpecification
.
text
;
self
.
shopDetail
.
packageQpcStr
=
self
.
packageQpcStr
;
self
.
shopDetail
.
packageQpcStr
=
[
NSString
stringWithFormat
:
@"1*%@"
,
packageSpecification
.
text
]
;
self
.
shopDetail
.
packageQpcUnit
=
self
.
productMeasureUnit
;
self
.
shopDetail
.
packageQpcUnit
=
self
.
productMeasureUnit
;
self
.
shopDetail
.
packageUnit
=
self
.
packageUintStr
;
self
.
shopDetail
.
packageUnit
=
self
.
packageUintStr
;
...
@@ -407,7 +407,6 @@ typedef enum : NSUInteger {
...
@@ -407,7 +407,6 @@ typedef enum : NSUInteger {
self
.
productNameStr
=
product
.
name
;
self
.
productNameStr
=
product
.
name
;
self
.
productUuidStr
=
product
.
uuid
;
self
.
productUuidStr
=
product
.
uuid
;
self
.
productCodeStr
=
product
.
code
;
self
.
productCodeStr
=
product
.
code
;
self
.
packageQpcStr
=
product
.
qpcStr
;
self
.
productMeasureUnit
=
product
.
measureUnit
;
self
.
productMeasureUnit
=
product
.
measureUnit
;
if
(
self
.
selectProducts
.
count
>
0
)
{
if
(
self
.
selectProducts
.
count
>
0
)
{
[
self
.
selectProducts
removeAllObjects
];
[
self
.
selectProducts
removeAllObjects
];
...
@@ -451,8 +450,8 @@ typedef enum : NSUInteger {
...
@@ -451,8 +450,8 @@ typedef enum : NSUInteger {
if
(
textField
==
packageSpecification
||
textField
==
packageQuantity
)
{
if
(
textField
==
packageSpecification
||
textField
==
packageQuantity
)
{
if
(
packageSpecification
.
text
.
length
>
0
&&
packageQuantity
.
text
.
length
>
0
)
{
if
(
packageSpecification
.
text
.
length
>
0
&&
packageQuantity
.
text
.
length
>
0
)
{
//计算基础数量 和 总金额和包装单价
//计算基础数量 和 总金额和包装单价
int
baseCount
=
[
packageSpecification
.
text
intValue
]
*
[
packageQuantity
.
text
in
tValue
];
float
baseCount
=
[
packageSpecification
.
text
floatValue
]
*
[
packageQuantity
.
text
floa
tValue
];
foundationQuantity
.
text
=
[
NSString
stringWithFormat
:
@"%
d
"
,
baseCount
];
foundationQuantity
.
text
=
[
NSString
stringWithFormat
:
@"%
.2f
"
,
baseCount
];
//如果基础单价有 会计算出包装单价和总价
//如果基础单价有 会计算出包装单价和总价
//如果包装单价有 会计算出基础单价和总价
//如果包装单价有 会计算出基础单价和总价
[
self
setTotalMoney
];
[
self
setTotalMoney
];
...
@@ -480,7 +479,7 @@ typedef enum : NSUInteger {
...
@@ -480,7 +479,7 @@ typedef enum : NSUInteger {
if
(
foundationQuantity
.
text
.
length
>
0
)
{
if
(
foundationQuantity
.
text
.
length
>
0
)
{
float
totalPrice
=
[
foundationUnitPrice
.
text
floatValue
]
*
[
foundationQuantity
.
text
floatValue
];
float
totalPrice
=
[
foundationUnitPrice
.
text
floatValue
]
*
[
foundationQuantity
.
text
floatValue
];
totalMoney
.
text
=
[
NSString
stringWithFormat
:
@"%.4f"
,
totalPrice
];
totalMoney
.
text
=
[
NSString
stringWithFormat
:
@"%.4f"
,
totalPrice
];
if
(
packageQuantity
.
text
.
length
>
0
&&
[
packageQuantity
.
text
integer
Value
]
>
0
)
{
if
(
packageQuantity
.
text
.
length
>
0
&&
[
packageQuantity
.
text
float
Value
]
>
0
)
{
float
packagePrice
=
totalPrice
/
[
packageQuantity
.
text
floatValue
];
float
packagePrice
=
totalPrice
/
[
packageQuantity
.
text
floatValue
];
packageUnitPrice
.
text
=
[
NSString
stringWithFormat
:
@"%.4f"
,
packagePrice
];
packageUnitPrice
.
text
=
[
NSString
stringWithFormat
:
@"%.4f"
,
packagePrice
];
}
}
...
...
This diff is collapsed.
Click to expand it.
XFFruit/ViewControllers/Receiving/Controllers/NewReceiveProductViewController.m
View file @
2e360c7a
...
@@ -239,7 +239,7 @@
...
@@ -239,7 +239,7 @@
_chooseBasePriceLabel
=
contentLabel
;
_chooseBasePriceLabel
=
contentLabel
;
}
else
if
(
indexPath
.
row
==
7
)
{
}
else
if
(
indexPath
.
row
==
7
)
{
_chooseTotalPriceLabel
=
contentLabel
;
_chooseTotalPriceLabel
=
contentLabel
;
_chooseTotalPriceLabel
.
textColor
=
[
UIColor
redColor
]
;
_chooseTotalPriceLabel
.
textColor
=
GXF_NAVIGAYION_COLOR
;
}
else
if
(
indexPath
.
row
==
8
)
{
}
else
if
(
indexPath
.
row
==
8
)
{
_choosePackCountLabel
=
contentLabel
;
_choosePackCountLabel
=
contentLabel
;
}
else
if
(
indexPath
.
row
==
9
)
{
}
else
if
(
indexPath
.
row
==
9
)
{
...
@@ -255,26 +255,26 @@
...
@@ -255,26 +255,26 @@
_choosePackUnitLabel
.
text
=
self
.
noticeProduct
.
unit
;
_choosePackUnitLabel
.
text
=
self
.
noticeProduct
.
unit
;
_choosePackStandLabel
.
text
=
[
NSString
stringWithFormat
:
@"1*%@ %@"
,
self
.
noticeProduct
.
qpc
,
self
.
noticeProduct
.
baseUnit
];
_choosePackStandLabel
.
text
=
[
NSString
stringWithFormat
:
@"1*%@ %@"
,
[
self
.
noticeProduct
.
qpc
stringValue
]
,
self
.
noticeProduct
.
baseUnit
];
_choosePackCountLabel
.
text
=
[
NSString
stringWithFormat
:
@"%@ %@"
,
self
.
noticeProduct
.
qty
,
self
.
noticeProduct
.
unit
];
_choosePackCountLabel
.
text
=
[
NSString
stringWithFormat
:
@"%@ %@"
,
[
self
.
noticeProduct
.
qty
stringValue
]
,
self
.
noticeProduct
.
unit
];
_chooseBaseCountLabel
.
text
=
[
NSString
stringWithFormat
:
@"%@ %@"
,
self
.
noticeProduct
.
baseQty
,
self
.
noticeProduct
.
baseUnit
];
_chooseBaseCountLabel
.
text
=
[
NSString
stringWithFormat
:
@"%@ %@"
,
[
self
.
noticeProduct
.
baseQty
stringValue
]
,
self
.
noticeProduct
.
baseUnit
];
_chooseTotalLabel
.
text
=
[
NSString
stringWithFormat
:
@"%@元"
,
self
.
noticeProduct
.
total
];
_chooseTotalLabel
.
text
=
[
NSString
stringWithFormat
:
@"%@元"
,
[
self
.
noticeProduct
.
total
stringValue
]
];
_choosePackPriceLabel
.
text
=
[
NSString
stringWithFormat
:
@"%@ 元"
,
self
.
noticeProduct
.
packprice
];
_choosePackPriceLabel
.
text
=
[
NSString
stringWithFormat
:
@"%@ 元"
,
[
self
.
noticeProduct
.
packprice
stringValue
]
];
_chooseBasePriceLabel
.
text
=
[
NSString
stringWithFormat
:
@"%@ 元"
,
self
.
noticeProduct
.
price
];
_chooseBasePriceLabel
.
text
=
[
NSString
stringWithFormat
:
@"%@ 元"
,
[
self
.
noticeProduct
.
price
stringValue
]
];
_shbzLabel
.
text
=
self
.
noticeProduct
.
unit
;
_shbzLabel
.
text
=
self
.
noticeProduct
.
unit
;
_shjcLabel
.
text
=
self
.
noticeProduct
.
baseUnit
;
_shjcLabel
.
text
=
self
.
noticeProduct
.
baseUnit
;
if
(
self
.
noticeProduct
.
rctBaseQty
)
{
if
(
self
.
noticeProduct
.
rctBaseQty
)
{
_shBaseQuantityField
.
text
=
[
NSString
stringWithFormat
:
@"%@"
,
self
.
noticeProduct
.
rctBaseQty
];
_shBaseQuantityField
.
text
=
[
NSString
stringWithFormat
:
@"%@"
,
[
self
.
noticeProduct
.
rctBaseQty
stringValue
]
];
}
}
if
(
self
.
noticeProduct
.
rctQty
)
{
if
(
self
.
noticeProduct
.
rctQty
)
{
_shPackField
.
text
=
[
NSString
stringWithFormat
:
@"%@"
,
self
.
noticeProduct
.
rctQty
];
_shPackField
.
text
=
[
NSString
stringWithFormat
:
@"%@"
,
[
self
.
noticeProduct
.
rctQty
stringValue
]
];
}
}
if
(
self
.
noticeProduct
.
rctTotal
)
{
if
(
self
.
noticeProduct
.
rctTotal
)
{
_chooseTotalPriceLabel
.
text
=
[
NSString
stringWithFormat
:
@"%@ 元"
,
self
.
noticeProduct
.
rctTotal
];
_chooseTotalPriceLabel
.
text
=
[
NSString
stringWithFormat
:
@"%@ 元"
,
[
self
.
noticeProduct
.
rctTotal
stringValue
]
];
}
else
{
}
else
{
_chooseTotalPriceLabel
.
text
=
@"0.00元"
;
_chooseTotalPriceLabel
.
text
=
@"0.00
00
元"
;
}
}
}
}
-
(
CGFloat
)
tableView
:
(
UITableView
*
)
tableView
heightForRowAtIndexPath
:
(
NSIndexPath
*
)
indexPath
{
-
(
CGFloat
)
tableView
:
(
UITableView
*
)
tableView
heightForRowAtIndexPath
:
(
NSIndexPath
*
)
indexPath
{
...
@@ -295,7 +295,7 @@
...
@@ -295,7 +295,7 @@
}
}
_chooseTotalPriceLabel
.
text
=
[
NSString
stringWithFormat
:
@"%.4f元"
,
total
];
_chooseTotalPriceLabel
.
text
=
[
NSString
stringWithFormat
:
@"%.4f元"
,
total
];
_shBaseQuantityField
.
text
=
[
NSString
stringWithFormat
:
@"%.
0
f"
,
baseCount
];
_shBaseQuantityField
.
text
=
[
NSString
stringWithFormat
:
@"%.
2
f"
,
baseCount
];
}
}
}
else
if
(
textField
==
_shBaseQuantityField
)
{
}
else
if
(
textField
==
_shBaseQuantityField
)
{
if
(
_shBaseQuantityField
.
text
.
length
>
0
)
{
if
(
_shBaseQuantityField
.
text
.
length
>
0
)
{
...
@@ -306,7 +306,7 @@
...
@@ -306,7 +306,7 @@
}
}
_chooseTotalPriceLabel
.
text
=
[
NSString
stringWithFormat
:
@"%.4f元"
,
total
];
_chooseTotalPriceLabel
.
text
=
[
NSString
stringWithFormat
:
@"%.4f元"
,
total
];
_shPackField
.
text
=
[
NSString
stringWithFormat
:
@"%.
0
f"
,
baseCount
];
_shPackField
.
text
=
[
NSString
stringWithFormat
:
@"%.
2
f"
,
baseCount
];
}
}
}
}
}
}
...
...
This diff is collapsed.
Click to expand it.
XFFruit/ViewControllers/Receiving/Views/ReceiveProductCell.m
View file @
2e360c7a
...
@@ -161,24 +161,24 @@
...
@@ -161,24 +161,24 @@
{
{
self
.
seqLabel
.
text
=
[
NSString
stringWithFormat
:
@"%@"
,
@
(
row
+
1
)];
self
.
seqLabel
.
text
=
[
NSString
stringWithFormat
:
@"%@"
,
@
(
row
+
1
)];
self
.
titleLabel
.
text
=
transferProduct
.
productName
;
self
.
titleLabel
.
text
=
transferProduct
.
productName
;
self
.
dscountLabel
.
text
=
[
NSString
stringWithFormat
:
@"%@%@"
,
transferProduct
.
qty
,
transferProduct
.
unit
];
self
.
dscountLabel
.
text
=
[
NSString
stringWithFormat
:
@"%@%@"
,
[
transferProduct
.
qty
stringValue
]
,
transferProduct
.
unit
];
self
.
yscountLabel
.
text
=
[
NSString
stringWithFormat
:
@"%@%@"
,
transferProduct
.
rctQty
?
transferProduct
.
rctQty
:
@"0"
,
transferProduct
.
unit
];
self
.
yscountLabel
.
text
=
[
NSString
stringWithFormat
:
@"%@%@"
,
transferProduct
.
rctQty
?
[
transferProduct
.
rctQty
stringValue
]
:
@"0"
,
transferProduct
.
unit
];
self
.
showStandLabel
.
text
=
[
NSString
stringWithFormat
:
@"包装规格:1*%@%@"
,
transferProduct
.
qpc
,
transferProduct
.
baseUnit
];
self
.
showStandLabel
.
text
=
[
NSString
stringWithFormat
:
@"包装规格:1*%@%@"
,
[
transferProduct
.
qpc
stringValue
]
,
transferProduct
.
baseUnit
];
self
.
showbzdwLabel
.
text
=
[
NSString
stringWithFormat
:
@"包装单位:%@"
,
transferProduct
.
unit
];
self
.
showbzdwLabel
.
text
=
[
NSString
stringWithFormat
:
@"包装单位:%@"
,
transferProduct
.
unit
];
self
.
showbzCountLabel
.
text
=
[
NSString
stringWithFormat
:
@"包装数量:%@%@"
,
transferProduct
.
qty
,
transferProduct
.
unit
];
self
.
showbzCountLabel
.
text
=
[
NSString
stringWithFormat
:
@"包装数量:%@%@"
,
[
transferProduct
.
qty
stringValue
]
,
transferProduct
.
unit
];
self
.
showshCountLabel
.
text
=
[
NSString
stringWithFormat
:
@"包装数量[实收]:%@%@"
,
transferProduct
.
rctQty
?(
transferProduct
.
rctQty
):
@"0"
,
transferProduct
.
unit
];
self
.
showshCountLabel
.
text
=
[
NSString
stringWithFormat
:
@"包装数量[实收]:%@%@"
,
transferProduct
.
rctQty
?(
[
transferProduct
.
rctQty
stringValue
]
):
@"0"
,
transferProduct
.
unit
];
self
.
showjcCountLabel
.
text
=
[
NSString
stringWithFormat
:
@"基础数量:%@%@"
,
transferProduct
.
baseQty
,
transferProduct
.
baseUnit
];
self
.
showjcCountLabel
.
text
=
[
NSString
stringWithFormat
:
@"基础数量:%@%@"
,
[
transferProduct
.
baseQty
stringValue
]
,
transferProduct
.
baseUnit
];
self
.
showshjcCountLabel
.
text
=
[
NSString
stringWithFormat
:
@"基础数量[实收]:%@%@"
,
transferProduct
.
rctBaseQty
?
transferProduct
.
rctBaseQty
:
@"0"
,
transferProduct
.
baseUnit
];
self
.
showshjcCountLabel
.
text
=
[
NSString
stringWithFormat
:
@"基础数量[实收]:%@%@"
,
transferProduct
.
rctBaseQty
?
[
transferProduct
.
rctBaseQty
stringValue
]
:
@"0"
,
transferProduct
.
baseUnit
];
self
.
showbzPriceLabel
.
text
=
[
NSString
stringWithFormat
:
@"包装单价:%@元"
,
transferProduct
.
packprice
];
self
.
showbzPriceLabel
.
text
=
[
NSString
stringWithFormat
:
@"包装单价:%@元"
,
[
transferProduct
.
packprice
stringValue
]
];
self
.
showjcPriceLabel
.
text
=
[
NSString
stringWithFormat
:
@"基础单价:%@元"
,
transferProduct
.
price
];
self
.
showjcPriceLabel
.
text
=
[
NSString
stringWithFormat
:
@"基础单价:%@元"
,
[
transferProduct
.
price
stringValue
]
];
self
.
showshTotalLabel
.
text
=
[
NSString
stringWithFormat
:
@"总金额[实收]:%@元"
,
transferProduct
.
rctTotal
?
transferProduct
.
rctTotal
:
@"0"
];
self
.
showshTotalLabel
.
text
=
[
NSString
stringWithFormat
:
@"总金额[实收]:%@元"
,
transferProduct
.
rctTotal
?
[
transferProduct
.
rctTotal
stringValue
]
:
@"0"
];
self
.
showTotalLabel
.
text
=
[
NSString
stringWithFormat
:
@"总金额:%@元"
,
transferProduct
.
total
?
transferProduct
.
total
:
@"0"
];
self
.
showTotalLabel
.
text
=
[
NSString
stringWithFormat
:
@"总金额:%@元"
,
transferProduct
.
total
?
[
transferProduct
.
total
stringValue
]
:
@"0"
];
self
.
showNoteLabel
.
text
=
[
NSString
stringWithFormat
:
@"备注:%@"
,
transferProduct
.
note
?
transferProduct
.
note
:
@"无"
];
self
.
showNoteLabel
.
text
=
[
NSString
stringWithFormat
:
@"备注:%@"
,
transferProduct
.
note
?
transferProduct
.
note
:
@"无"
];
if
([
state
isEqualToString
:
@"YES"
])
{
if
([
state
isEqualToString
:
@"YES"
])
{
if
([
transferProduct
.
qty
floatValue
]
>
[
transferProduct
.
rctQty
floatValue
])
{
if
([
transferProduct
.
qty
floatValue
]
>
[
transferProduct
.
rctQty
floatValue
])
{
...
...
This diff is collapsed.
Click to expand it.
XFFruit/ViewControllers/Transfer/Views/BottomTransferView.m
View file @
2e360c7a
...
@@ -90,7 +90,6 @@
...
@@ -90,7 +90,6 @@
-
(
void
)
addChildView
{
-
(
void
)
addChildView
{
self
.
productVC
=
[[
TransferProductViewController
alloc
]
init
];
self
.
productVC
=
[[
TransferProductViewController
alloc
]
init
];
// self.productVC.twoTitle = @"";
self
.
costVC
=
[[
CostViewController
alloc
]
init
];
self
.
costVC
=
[[
CostViewController
alloc
]
init
];
}
}
-
(
void
)
btnClick
:
(
UIButton
*
)
btn
{
-
(
void
)
btnClick
:
(
UIButton
*
)
btn
{
...
@@ -130,8 +129,6 @@
...
@@ -130,8 +129,6 @@
-
(
void
)
refreshCost
:
(
FeeAcountDetail
*
)
fee
indexPath
:
(
NSIndexPath
*
)
indexPath
{
-
(
void
)
refreshCost
:
(
FeeAcountDetail
*
)
fee
indexPath
:
(
NSIndexPath
*
)
indexPath
{
if
(
indexPath
)
{
if
(
indexPath
)
{
[
self
.
costVC
.
costArr
replaceObjectAtIndex
:
indexPath
.
row
withObject
:
fee
];
[
self
.
costVC
.
costArr
replaceObjectAtIndex
:
indexPath
.
row
withObject
:
fee
];
// NSArray *indexArray=[NSArray arrayWithObject:indexPath];
// [self.costVC.tableView reloadRowsAtIndexPaths:indexArray withRowAnimation:UITableViewRowAnimationAutomatic];
[
self
.
costVC
.
tableView
reloadData
];
[
self
.
costVC
.
tableView
reloadData
];
}
else
{
}
else
{
if
(
self
.
costVC
.
costArr
)
{
if
(
self
.
costVC
.
costArr
)
{
...
...
This diff is collapsed.
Click to expand it.
XFFruit/ViewControllers/Transfer/Views/TransferCell.m
View file @
2e360c7a
...
@@ -78,7 +78,7 @@
...
@@ -78,7 +78,7 @@
-
(
void
)
setTransfer
:
(
Transfer
*
)
transfer
{
-
(
void
)
setTransfer
:
(
Transfer
*
)
transfer
{
self
.
billNumberLabel
.
text
=
[
NSString
stringWithFormat
:
@"单号:%@"
,
transfer
.
billnumber
];
self
.
billNumberLabel
.
text
=
[
NSString
stringWithFormat
:
@"单号:%@"
,
transfer
.
billnumber
];
self
.
warehouseLabel
.
text
=
[
NSString
stringWithFormat
:
@"发货仓库:%@"
,
transfer
.
warehouseName
];
self
.
warehouseLabel
.
text
=
[
NSString
stringWithFormat
:
@"发货仓库:%@"
,
transfer
.
warehouseName
];
self
.
rwarehouseLabel
.
text
=
[
NSString
stringWithFormat
:
@"
发
货仓库:%@"
,
transfer
.
rwarehouseName
];
self
.
rwarehouseLabel
.
text
=
[
NSString
stringWithFormat
:
@"
收
货仓库:%@"
,
transfer
.
rwarehouseName
];
self
.
carnumberLabel
.
text
=
[
NSString
stringWithFormat
:
@"车辆:%@"
,
transfer
.
carnumber
]
;
self
.
carnumberLabel
.
text
=
[
NSString
stringWithFormat
:
@"车辆:%@"
,
transfer
.
carnumber
]
;
self
.
createOperNameLabel
.
text
=
[
NSString
stringWithFormat
:
@"创建人:%@"
,
transfer
.
create_operName
]
;
self
.
createOperNameLabel
.
text
=
[
NSString
stringWithFormat
:
@"创建人:%@"
,
transfer
.
create_operName
]
;
self
.
createTimeLabel
.
text
=
[
NSString
stringWithFormat
:
@"创建时间:%@"
,
transfer
.
create_time
];
self
.
createTimeLabel
.
text
=
[
NSString
stringWithFormat
:
@"创建时间:%@"
,
transfer
.
create_time
];
...
...
This diff is collapsed.
Click to expand it.
XFFruit/ViewControllers/Transfer/Views/TransferProductCell.m
View file @
2e360c7a
...
@@ -145,12 +145,12 @@
...
@@ -145,12 +145,12 @@
self
.
seqLabel
.
text
=
[
NSString
stringWithFormat
:
@"%@"
,
@
(
row
+
1
)];
self
.
seqLabel
.
text
=
[
NSString
stringWithFormat
:
@"%@"
,
@
(
row
+
1
)];
self
.
titleLabel
.
text
=
pdtDetail
.
productName
;
self
.
titleLabel
.
text
=
pdtDetail
.
productName
;
self
.
priceLabel
.
text
=
[
NSString
stringWithFormat
:
@"%@元"
,[
pdtDetail
.
price
stringValue
]];
self
.
priceLabel
.
text
=
[
NSString
stringWithFormat
:
@"%@元"
,[
pdtDetail
.
price
stringValue
]];
self
.
countLabel
.
text
=
[
NSString
stringWithFormat
:
@"%@%@"
,
pdtDetail
.
qty
,
pdtDetail
.
unit
];
self
.
countLabel
.
text
=
[
NSString
stringWithFormat
:
@"%@%@"
,
[
pdtDetail
.
qty
stringValue
]
,
pdtDetail
.
unit
];
self
.
showNameLabel
.
text
=
[
NSString
stringWithFormat
:
@"商品:%@[%@]"
,
pdtDetail
.
productName
,
pdtDetail
.
productCode
];
self
.
showNameLabel
.
text
=
[
NSString
stringWithFormat
:
@"商品:%@[%@]"
,
pdtDetail
.
productName
,
pdtDetail
.
productCode
];
self
.
showStandLabel
.
text
=
[
NSString
stringWithFormat
:
@"包装规格:1*%@%@"
,
pdtDetail
.
qpc
,
pdtDetail
.
baseUnit
];
self
.
showStandLabel
.
text
=
[
NSString
stringWithFormat
:
@"包装规格:1*%@%@"
,
[
pdtDetail
.
qpc
stringValue
]
,
pdtDetail
.
baseUnit
];
self
.
showCountLabel
.
text
=
[
NSString
stringWithFormat
:
@"包装数量:%@%@"
,
pdtDetail
.
qty
,
pdtDetail
.
unit
];
self
.
showCountLabel
.
text
=
[
NSString
stringWithFormat
:
@"包装数量:%@%@"
,
[
pdtDetail
.
qty
stringValue
]
,
pdtDetail
.
unit
];
self
.
showBaseCountLabel
.
text
=
[
NSString
stringWithFormat
:
@"基础数量:%@%@"
,
pdtDetail
.
baseQty
,
pdtDetail
.
baseUnit
];
self
.
showBaseCountLabel
.
text
=
[
NSString
stringWithFormat
:
@"基础数量:%@%@"
,
[
pdtDetail
.
baseQty
stringValue
]
,
pdtDetail
.
baseUnit
];
self
.
showPriceLabel
.
text
=
[
NSString
stringWithFormat
:
@"包装单价:%@元"
,
pdtDetail
.
packprice
];
self
.
showPriceLabel
.
text
=
[
NSString
stringWithFormat
:
@"包装单价:%@元"
,
[
pdtDetail
.
packprice
stringValue
]
];
NSString
*
sourceT
=
@""
;
NSString
*
sourceT
=
@""
;
if
([
pdtDetail
.
sourcetype
isEqualToString
:
@"none"
])
{
if
([
pdtDetail
.
sourcetype
isEqualToString
:
@"none"
])
{
sourceT
=
@"无"
;
sourceT
=
@"无"
;
...
@@ -162,7 +162,7 @@
...
@@ -162,7 +162,7 @@
self
.
showPurchaseLabel
.
text
=
[
NSString
stringWithFormat
:
@"来源类型:%@"
,
sourceT
];
self
.
showPurchaseLabel
.
text
=
[
NSString
stringWithFormat
:
@"来源类型:%@"
,
sourceT
];
self
.
showSourceNumberLabel
.
text
=
[
NSString
stringWithFormat
:
@"来源单号:%@"
,
pdtDetail
.
sourcebillnumber
.
length
>
0
?
pdtDetail
.
sourcebillnumber
:
@"无"
];
self
.
showSourceNumberLabel
.
text
=
[
NSString
stringWithFormat
:
@"来源单号:%@"
,
pdtDetail
.
sourcebillnumber
.
length
>
0
?
pdtDetail
.
sourcebillnumber
:
@"无"
];
self
.
showTotalLabel
.
text
=
[
NSString
stringWithFormat
:
@"总金额:%@元"
,
pdtDetail
.
total
];
self
.
showTotalLabel
.
text
=
[
NSString
stringWithFormat
:
@"总金额:%@元"
,
[
pdtDetail
.
total
stringValue
]
];
self
.
showNoteLabel
.
text
=
[
NSString
stringWithFormat
:
@"备注:%@"
,
pdtDetail
.
note
?
pdtDetail
.
note
:
@"无"
];
self
.
showNoteLabel
.
text
=
[
NSString
stringWithFormat
:
@"备注:%@"
,
pdtDetail
.
note
?
pdtDetail
.
note
:
@"无"
];
}
}
...
...
This diff is collapsed.
Click to expand it.
XFFruit/ViewControllers/Transport/Controllers/NewCostViewController.m
View file @
2e360c7a
...
@@ -33,7 +33,7 @@ typedef enum : NSUInteger {
...
@@ -33,7 +33,7 @@ typedef enum : NSUInteger {
UITextField
*
_leftmoneyField
;
UITextField
*
_leftmoneyField
;
HPGrowingTextView
*
_noteTextView
;
HPGrowingTextView
*
_noteTextView
;
}
}
@property
(
nonatomic
,
strong
)
NSString
*
selectStr
;
@end
@end
@implementation
NewCostViewController
@implementation
NewCostViewController
...
@@ -233,6 +233,8 @@ typedef enum : NSUInteger {
...
@@ -233,6 +233,8 @@ typedef enum : NSUInteger {
_leftmoneyField
.
text
=
[
self
.
accountDetail
.
leftmoney
stringValue
];
_leftmoneyField
.
text
=
[
self
.
accountDetail
.
leftmoney
stringValue
];
_noteTextView
.
text
=
self
.
accountDetail
.
note
;
_noteTextView
.
text
=
self
.
accountDetail
.
note
;
self
.
selectStr
=
self
.
accountDetail
.
accounttitle
;
}
}
-
(
void
)
textChange
:
(
UITextField
*
)
textField
{
-
(
void
)
textChange
:
(
UITextField
*
)
textField
{
if
(
_actualmoneyField
.
text
.
length
>
0
&&
_paidmoneyField
.
text
.
length
>
0
)
{
if
(
_actualmoneyField
.
text
.
length
>
0
&&
_paidmoneyField
.
text
.
length
>
0
)
{
...
@@ -247,11 +249,15 @@ typedef enum : NSUInteger {
...
@@ -247,11 +249,15 @@ typedef enum : NSUInteger {
-
(
void
)
tableView
:
(
UITableView
*
)
tableView
didSelectRowAtIndexPath
:
(
NSIndexPath
*
)
indexPath
{
-
(
void
)
tableView
:
(
UITableView
*
)
tableView
didSelectRowAtIndexPath
:
(
NSIndexPath
*
)
indexPath
{
if
(
indexPath
.
row
==
0
){
if
(
indexPath
.
row
==
0
){
ChooseCostViewController
*
cvc
=
[
ChooseCostViewController
new
];
ChooseCostViewController
*
cvc
=
[
ChooseCostViewController
new
];
if
(
self
.
selectStr
.
length
>
0
)
{
cvc
.
selectStr
=
self
.
selectStr
;
}
cvc
.
choseBaseInfo
=
^
(
NSArray
*
costs
){
cvc
.
choseBaseInfo
=
^
(
NSArray
*
costs
){
if
(
costs
.
count
>
0
)
{
if
(
costs
.
count
>
0
)
{
Accounttitle
*
type
=
costs
[
0
];
Accounttitle
*
type
=
costs
[
0
];
_chooseCostLabel
.
text
=
type
.
name
;
_chooseCostLabel
.
text
=
type
.
name
;
_chooseCostLabel
.
textColor
=
GXF_CONTENT_COLOR
;
_chooseCostLabel
.
textColor
=
GXF_CONTENT_COLOR
;
self
.
selectStr
=
type
.
name
;
}
}
};
};
[
self
PushViewController
:
cvc
animated
:
YES
];
[
self
PushViewController
:
cvc
animated
:
YES
];
...
...
This diff is collapsed.
Click to expand it.
XFFruit/ViewControllers/Transport/Views/TransportPurductCell.m
View file @
2e360c7a
...
@@ -151,14 +151,14 @@
...
@@ -151,14 +151,14 @@
self
.
seqLabel
.
text
=
[
NSString
stringWithFormat
:
@"%@"
,
@
(
row
+
1
)];
self
.
seqLabel
.
text
=
[
NSString
stringWithFormat
:
@"%@"
,
@
(
row
+
1
)];
self
.
titleLabel
.
text
=
pdtDetail
.
productName
;
self
.
titleLabel
.
text
=
pdtDetail
.
productName
;
self
.
priceLabel
.
text
=
[
NSString
stringWithFormat
:
@"%@元"
,[
pdtDetail
.
price
stringValue
]];
self
.
priceLabel
.
text
=
[
NSString
stringWithFormat
:
@"%@元"
,[
pdtDetail
.
price
stringValue
]];
self
.
countLabel
.
text
=
[
NSString
stringWithFormat
:
@"%@%@"
,
pdtDetail
.
qty
,
pdtDetail
.
unit
];
self
.
countLabel
.
text
=
[
NSString
stringWithFormat
:
@"%@%@"
,
[
pdtDetail
.
qty
stringValue
]
,
pdtDetail
.
unit
];
self
.
showNameLabel
.
text
=
[
NSString
stringWithFormat
:
@"商品:%@[%@]"
,
pdtDetail
.
productName
,
pdtDetail
.
productCode
];
self
.
showNameLabel
.
text
=
[
NSString
stringWithFormat
:
@"商品:%@[%@]"
,
pdtDetail
.
productName
,
pdtDetail
.
productCode
];
self
.
showStandLabel
.
text
=
[
NSString
stringWithFormat
:
@"包装规格:1*%@%@"
,
pdtDetail
.
qpc
,
pdtDetail
.
baseUnit
];
self
.
showStandLabel
.
text
=
[
NSString
stringWithFormat
:
@"包装规格:1*%@%@"
,
[
pdtDetail
.
qpc
stringValue
]
,
pdtDetail
.
baseUnit
];
self
.
showCountLabel
.
text
=
[
NSString
stringWithFormat
:
@"包装数量:%@%@"
,
pdtDetail
.
qty
,
pdtDetail
.
unit
];
self
.
showCountLabel
.
text
=
[
NSString
stringWithFormat
:
@"包装数量:%@%@"
,
[
pdtDetail
.
qty
stringValue
]
,
pdtDetail
.
unit
];
self
.
showBaseCountLabel
.
text
=
[
NSString
stringWithFormat
:
@"基础数量:%@%@"
,
pdtDetail
.
baseQty
,
pdtDetail
.
baseUnit
];
self
.
showBaseCountLabel
.
text
=
[
NSString
stringWithFormat
:
@"基础数量:%@%@"
,
[
pdtDetail
.
baseQty
stringValue
]
,
pdtDetail
.
baseUnit
];
self
.
showPriceLabel
.
text
=
[
NSString
stringWithFormat
:
@"包装单价:%@元"
,
pdtDetail
.
packprice
];
self
.
showPriceLabel
.
text
=
[
NSString
stringWithFormat
:
@"包装单价:%@元"
,
[
pdtDetail
.
packprice
stringValue
]
];
self
.
showPurchaseLabel
.
text
=
[
NSString
stringWithFormat
:
@"采购单号:%@"
,
pdtDetail
.
purchasebillnumber
.
length
>
0
?
pdtDetail
.
purchasebillnumber
:
@"无"
];
self
.
showPurchaseLabel
.
text
=
[
NSString
stringWithFormat
:
@"采购单号:%@"
,
pdtDetail
.
purchasebillnumber
.
length
>
0
?
pdtDetail
.
purchasebillnumber
:
@"无"
];
self
.
showTotalLabel
.
text
=
[
NSString
stringWithFormat
:
@"总金额:%@元"
,
pdtDetail
.
total
];
self
.
showTotalLabel
.
text
=
[
NSString
stringWithFormat
:
@"总金额:%@元"
,
[
pdtDetail
.
total
stringValue
]
];
self
.
showNoteLabel
.
text
=
[
NSString
stringWithFormat
:
@"备注:%@"
,
pdtDetail
.
note
?
pdtDetail
.
note
:
@"无"
];
self
.
showNoteLabel
.
text
=
[
NSString
stringWithFormat
:
@"备注:%@"
,
pdtDetail
.
note
?
pdtDetail
.
note
:
@"无"
];
}
}
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment