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
cb1475f6
Commit
cb1475f6
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
Conflicts: XFFruit.xcodeproj/project.pbxproj
parents
1f988c40
5e8b2a95
Show whitespace changes
Inline
Side-by-side
Showing
14 changed files
with
33 additions
and
21 deletions
+33
-21
project.pbxproj
XFFruit.xcodeproj/project.pbxproj
+6
-4
ICRHTTPController.m
XFFruit/Controllers/HTTPController/ICRHTTPController.m
+1
-1
ICRLoginContentView.m
XFFruit/General/Views/ICRLoginContentView.m
+5
-3
Contents.json
XFFruit/Images.xcassets/Survey/Contents.json
+6
-0
Contents.json
XFFruit/Images.xcassets/Survey/add.imageset/Contents.json
+4
-4
Info.plist
XFFruit/Info.plist
+1
-1
ChooseCostViewController.m
...ntrollers/ChooseViewController/ChooseCostViewController.m
+1
-1
ChooseProductUnitViewController.m
...rs/ChooseViewController/ChooseProductUnitViewController.m
+1
-1
ChooseProductViewController.m
...ollers/ChooseViewController/ChooseProductViewController.m
+1
-1
ChooseVendorViewController.m
...rollers/ChooseViewController/ChooseVendorViewController.m
+1
-1
ChooseWarehouseViewController.m
...lers/ChooseViewController/ChooseWarehouseViewController.m
+1
-1
ChosePersonViewController.m
...trollers/ChooseViewController/ChosePersonViewController.m
+1
-1
ICRLoginViewController.m
XFFruit/ViewControllers/Login/ICRLoginViewController.m
+3
-1
ChooseTransportViewController.m
...lers/Transfer/Controllers/ChooseTransportViewController.m
+1
-1
No files found.
XFFruit.xcodeproj/project.pbxproj
View file @
cb1475f6
...
...
@@ -3229,7 +3229,7 @@
IPHONEOS_DEPLOYMENT_TARGET
=
7.0
;
MTL_ENABLE_DEBUG_INFO
=
YES
;
ONLY_ACTIVE_ARCH
=
YES
;
PROVISIONING_PROFILE
=
"
cfc700e3-f78e-4893-a7fd-62daba6a0c6c
"
;
PROVISIONING_PROFILE
=
"
a12432a9-50b3-4cef-bae7-dcb35f965ce4
"
;
SDKROOT
=
iphoneos
;
TARGETED_DEVICE_FAMILY
=
"1,2"
;
USER_HEADER_SEARCH_PATHS
=
"${SRCROOT}/**"
;
...
...
@@ -3267,7 +3267,7 @@
GCC_WARN_UNUSED_VARIABLE
=
YES
;
IPHONEOS_DEPLOYMENT_TARGET
=
7.0
;
MTL_ENABLE_DEBUG_INFO
=
NO
;
PROVISIONING_PROFILE
=
"
cfc700e3-f78e-4893-a7fd-62daba6a0c6c
"
;
PROVISIONING_PROFILE
=
"
a12432a9-50b3-4cef-bae7-dcb35f965ce4
"
;
SDKROOT
=
iphoneos
;
TARGETED_DEVICE_FAMILY
=
"1,2"
;
USER_HEADER_SEARCH_PATHS
=
"${SRCROOT}/**"
;
...
...
@@ -3292,6 +3292,7 @@
"$(PROJECT_DIR)"
,
"$(PROJECT_DIR)/XFFruit/Vendors/JiGuang/lib"
,
);
PRODUCT_BUNDLE_IDENTIFIER
=
com.cntaiping.life.xffruit
;
PRODUCT_NAME
=
XFFruit
;
PROVISIONING_PROFILE
=
"3a32e5a9-395f-425a-b1b0-c221be8d15d8"
;
USER_HEADER_SEARCH_PATHS
=
"${SRCROOT}/**"
;
...
...
@@ -3315,6 +3316,7 @@
"$(PROJECT_DIR)"
,
"$(PROJECT_DIR)/XFFruit/Vendors/JiGuang/lib"
,
);
PRODUCT_BUNDLE_IDENTIFIER
=
com.cntaiping.life.xffruit
;
PRODUCT_NAME
=
XFFruit
;
PROVISIONING_PROFILE
=
"3a32e5a9-395f-425a-b1b0-c221be8d15d8"
;
USER_HEADER_SEARCH_PATHS
=
"${SRCROOT}/**"
;
...
...
@@ -3339,7 +3341,7 @@
INFOPLIST_FILE
=
XFFruitTests/Info.plist
;
LD_RUNPATH_SEARCH_PATHS
=
"$(inherited) @executable_path/Frameworks @loader_path/Frameworks"
;
PRODUCT_NAME
=
XFFruitTests
;
PROVISIONING_PROFILE
=
"
cfc700e3-f78e-4893-a7fd-62daba6a0c6c
"
;
PROVISIONING_PROFILE
=
"
a12432a9-50b3-4cef-bae7-dcb35f965ce4
"
;
TEST_HOST
=
"$(BUILT_PRODUCTS_DIR)/XFFruit.app/XFFruit"
;
USER_HEADER_SEARCH_PATHS
=
"${SRCROOT}/**"
;
};
...
...
@@ -3359,7 +3361,7 @@
INFOPLIST_FILE
=
XFFruitTests/Info.plist
;
LD_RUNPATH_SEARCH_PATHS
=
"$(inherited) @executable_path/Frameworks @loader_path/Frameworks"
;
PRODUCT_NAME
=
XFFruitTests
;
PROVISIONING_PROFILE
=
"
cfc700e3-f78e-4893-a7fd-62daba6a0c6c
"
;
PROVISIONING_PROFILE
=
"
a12432a9-50b3-4cef-bae7-dcb35f965ce4
"
;
TEST_HOST
=
"$(BUILT_PRODUCTS_DIR)/XFFruit.app/XFFruit"
;
USER_HEADER_SEARCH_PATHS
=
"${SRCROOT}/**"
;
};
...
...
This diff is collapsed.
Click to expand it.
XFFruit/Controllers/HTTPController/ICRHTTPController.m
View file @
cb1475f6
...
...
@@ -520,7 +520,7 @@ acceptTypeJson:(BOOL)bAcceptJson
}
else
{
if
(
fail
)
{
fail
(
nil
);
fail
(
responseObject
[
@"message"
]
);
}
}
};
...
...
This diff is collapsed.
Click to expand it.
XFFruit/General/Views/ICRLoginContentView.m
View file @
cb1475f6
...
...
@@ -77,6 +77,7 @@
}
+
(
UIView
*
)
p_textFWithLeftImgView
:(
NSString
*
)
nsLeftImgName
palceHodler
:
(
NSString
*
)
placeHodler
textF
:(
UITextField
*
__autoreleasing
*
)
textFPointer
{
UIView
*
v
=
[[
UIView
alloc
]
init
];
...
...
@@ -112,6 +113,7 @@
UITextField
*
txtF
=
[[
UITextField
alloc
]
initWithFrame
:
txtFBG
.
bounds
];
txtF
.
leftViewMode
=
UITextFieldViewModeAlways
;
txtF
.
leftView
=
labelContainer
;
txtF
.
placeholder
=
placeHodler
;
[
txtF
autoresizingWithStrechFullSize
];
[
v
addSubview
:
txtF
];
...
...
@@ -233,7 +235,7 @@
// [[self class] TextFWithLeftLabel:[[IBTCommon localizableString:@"CompanyCode"] stringByAppendingString:@":"]
// textF:&txtF];
self
.
m_cCodeView
=
[[
self
class
]
p_textFWithLeftImgView
:
@"公司识别码"
textF
:
&
txtF
];
[[
self
class
]
p_textFWithLeftImgView
:
@"公司识别码"
palceHodler
:
@"请输入公司认证码"
textF
:&
txtF
];
self
.
m_cCodeTextF
=
txtF
;
[
self
addSubview
:
_m_cCodeView
];
...
...
@@ -241,7 +243,7 @@
// [[self class] TextFWithLeftLabel:[[IBTCommon localizableString:@"User"] stringByAppendingString:@":"]
// textF:&txtF];
self
.
m_userNameView
=
[[
self
class
]
p_textFWithLeftImgView
:
@"profile"
textF
:
&
txtF
];
[[
self
class
]
p_textFWithLeftImgView
:
@"profile"
palceHodler
:
@"请输入用户名"
textF
:&
txtF
];
self
.
m_userNameTextF
=
txtF
;
[
self
addSubview
:
_m_userNameView
];
...
...
@@ -250,7 +252,7 @@
// [[self class] TextFWithLeftLabel:[[IBTCommon localizableString:@"Password"] stringByAppendingString:@":"]
// textF:&txtF];
self
.
m_passwordView
=
[[
self
class
]
p_textFWithLeftImgView
:
@"password"
textF
:
&
txtF
];
[[
self
class
]
p_textFWithLeftImgView
:
@"password"
palceHodler
:
@"请输入密码"
textF
:&
txtF
];
self
.
m_passwordTextF
=
txtF
;
_m_passwordTextF
.
secureTextEntry
=
YES
;
...
...
This diff is collapsed.
Click to expand it.
XFFruit/Images.xcassets/Survey/Contents.json
0 → 100644
View file @
cb1475f6
{
"info"
:
{
"version"
:
1
,
"author"
:
"xcode"
}
}
\ No newline at end of file
This diff is collapsed.
Click to expand it.
XFFruit/Images.xcassets/Survey/add.imageset/Contents.json
View file @
cb1475f6
...
...
@@ -2,13 +2,13 @@
"images"
:
[
{
"idiom"
:
"universal"
,
"
scale"
:
"1x
"
,
"
filename"
:
"add.png
"
"
filename"
:
"add.png
"
,
"
scale"
:
"1x
"
},
{
"idiom"
:
"universal"
,
"
scale"
:
"2x
"
,
"
filename"
:
"add@2x.png
"
"
filename"
:
"add@2x.png
"
,
"
scale"
:
"2x
"
},
{
"idiom"
:
"universal"
,
...
...
This diff is collapsed.
Click to expand it.
XFFruit/Info.plist
View file @
cb1475f6
...
...
@@ -7,7 +7,7 @@
<
k
e
y
>
CFBundleExecutable
<
/k
e
y
>
<
string
>
$
(
EXECUTABLE_NAME
)<
/string
>
<
k
e
y
>
CFBundleIdentifier
<
/k
e
y
>
<
string
>
com.gomore.xffruit
<
/string
>
<
string
>
$
(
PRODUCT_BUNDLE_IDENTIFIER
)
<
/string
>
<
k
e
y
>
CFBundleInfoDictionaryVersion
<
/k
e
y
>
<
string
>
6.0
<
/string
>
<
k
e
y
>
CFBundleName
<
/k
e
y
>
...
...
This diff is collapsed.
Click to expand it.
XFFruit/ViewControllers/ChooseViewController/ChooseCostViewController.m
View file @
cb1475f6
...
...
@@ -34,7 +34,7 @@
[
IBTLoadingView
showTips
:
data
];
};
[
IBTLoadingView
showProgressLabel
:
@"正在加载..."
];
[[
ICRHTTPController
sharedController
]
getAccounttitleWithPage_number
:
0
page_size
:
100
success
:
succ
failure
:
fail
];
[[
ICRHTTPController
sharedController
]
getAccounttitleWithPage_number
:
0
page_size
:
100
0
success
:
succ
failure
:
fail
];
}
-
(
UITableViewCell
*
)
tableView
:
(
UITableView
*
)
tableView
cellForRowAtIndexPath
:
(
NSIndexPath
*
)
indexPath
{
static
NSString
*
cellID
=
@"MaskCell"
;
...
...
This diff is collapsed.
Click to expand it.
XFFruit/ViewControllers/ChooseViewController/ChooseProductUnitViewController.m
View file @
cb1475f6
...
...
@@ -34,7 +34,7 @@
[
IBTLoadingView
showTips
:
data
];
};
[
IBTLoadingView
showProgressLabel
:
@"正在加载..."
];
[[
ICRHTTPController
sharedController
]
getProductUnitWithPage_number
:
0
page_size
:
100
success
:
succ
failure
:
fail
];
[[
ICRHTTPController
sharedController
]
getProductUnitWithPage_number
:
0
page_size
:
100
0
success
:
succ
failure
:
fail
];
}
-
(
UITableViewCell
*
)
tableView
:
(
UITableView
*
)
tableView
cellForRowAtIndexPath
:
(
NSIndexPath
*
)
indexPath
{
static
NSString
*
cellID
=
@"MaskCell"
;
...
...
This diff is collapsed.
Click to expand it.
XFFruit/ViewControllers/ChooseViewController/ChooseProductViewController.m
View file @
cb1475f6
...
...
@@ -35,7 +35,7 @@
[
IBTLoadingView
showTips
:
data
];
};
[
IBTLoadingView
showProgressLabel
:
@"正在加载..."
];
[[
ICRHTTPController
sharedController
]
getProductWithPage_number
:
0
page_size
:
100
success
:
succ
failure
:
fail
];
[[
ICRHTTPController
sharedController
]
getProductWithPage_number
:
0
page_size
:
100
0
success
:
succ
failure
:
fail
];
}
-
(
UITableViewCell
*
)
tableView
:
(
UITableView
*
)
tableView
cellForRowAtIndexPath
:
(
NSIndexPath
*
)
indexPath
{
static
NSString
*
cellID
=
@"MaskCell"
;
...
...
This diff is collapsed.
Click to expand it.
XFFruit/ViewControllers/ChooseViewController/ChooseVendorViewController.m
View file @
cb1475f6
...
...
@@ -43,7 +43,7 @@
[
IBTLoadingView
showTips
:
data
];
};
[
IBTLoadingView
showProgressLabel
:
@"正在加载..."
];
[[
ICRHTTPController
sharedController
]
getVendorWithPage_number
:
0
page_size
:
100
success
:
succ
failure
:
fail
];
[[
ICRHTTPController
sharedController
]
getVendorWithPage_number
:
0
page_size
:
100
0
success
:
succ
failure
:
fail
];
}
#pragma mark - 协议方法
-
(
UITableViewCell
*
)
tableView
:
(
UITableView
*
)
tableView
cellForRowAtIndexPath
:
(
NSIndexPath
*
)
indexPath
{
...
...
This diff is collapsed.
Click to expand it.
XFFruit/ViewControllers/ChooseViewController/ChooseWarehouseViewController.m
View file @
cb1475f6
...
...
@@ -41,7 +41,7 @@
};
[
IBTLoadingView
showProgressLabel
:
@"正在加载..."
];
[[
ICRHTTPController
sharedController
]
getWarehouseWithPage_number
:
0
page_size
:
100
success
:
succ
failure
:
fail
];
[[
ICRHTTPController
sharedController
]
getWarehouseWithPage_number
:
0
page_size
:
100
0
success
:
succ
failure
:
fail
];
}
#pragma mark - 协议方法
...
...
This diff is collapsed.
Click to expand it.
XFFruit/ViewControllers/ChooseViewController/ChosePersonViewController.m
View file @
cb1475f6
...
...
@@ -39,7 +39,7 @@
[
IBTLoadingView
showTips
:
data
];
};
[
IBTLoadingView
showProgressLabel
:
@"正在加载..."
];
[[
ICRHTTPController
sharedController
]
getUserWithPage_number
:
0
page_size
:
100
success
:
succ
failure
:
fail
];
[[
ICRHTTPController
sharedController
]
getUserWithPage_number
:
0
page_size
:
100
0
success
:
succ
failure
:
fail
];
}
#pragma mark -成功
-
(
void
)
sureClick
{
...
...
This diff is collapsed.
Click to expand it.
XFFruit/ViewControllers/Login/ICRLoginViewController.m
View file @
cb1475f6
...
...
@@ -186,7 +186,9 @@
};
void
(
^
fail
)(
id
)
=
^
(
id
data
)
{
[
IBTLoadingView
showTips
:
data
];
CLog
(
@"error =%@"
,
data
);
// [IBTLoadingView showTips:data];//@"输入的信息不正确,请重新输入"
[
IBTLoadingView
showTextOnly
:
data
inView
:
self
.
view
];
};
ICRHTTPController
*
httpCtrl
=
[
ICRHTTPController
sharedController
];
[
httpCtrl
doLoginWithUserName
:
nsUserName
...
...
This diff is collapsed.
Click to expand it.
XFFruit/ViewControllers/Transfer/Controllers/ChooseTransportViewController.m
View file @
cb1475f6
...
...
@@ -83,7 +83,7 @@
}
NSDictionary
*
dict
=
@{
@"state"
:
TRANSPORT_STATE_RECEIVED
,
@"user
Code"
:
userUtil
.
userCode
,
@"user
Uuid"
:
userUtil
.
userId
,
@"billNumberLike"
:
billNumberObject
,
@"fetchParts"
:
@"pdtDetails"
,
@"pageNumber"
:
@
(
_currentPage
),
...
...
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