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
8d332eb7
Commit
8d332eb7
authored
Jun 29, 2017
by
Sandy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bug fix
parent
47f6aad1
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
29 additions
and
17 deletions
+29
-17
Info.plist
XFFruit/Info.plist
+2
-2
NewPurchaseViewController.m
...trollers/Purchase/Controllers/NewPurchaseViewController.m
+4
-2
ReceiveProductViewController.m
...lers/Receiving/Controllers/ReceiveProductViewController.m
+2
-1
NewTransferViewController.m
...trollers/Transfer/Controllers/NewTransferViewController.m
+1
-0
TopTransferView.m
XFFruit/ViewControllers/Transfer/Views/TopTransferView.m
+4
-0
TransportPurchaseViewController.h
...s/Transport/Controllers/TransportPurchaseViewController.h
+4
-0
TransportPurchaseViewController.m
...s/Transport/Controllers/TransportPurchaseViewController.m
+12
-12
No files found.
XFFruit/Info.plist
View file @
8d332eb7
...
...
@@ -15,11 +15,11 @@
<
k
e
y
>
CFBundlePackageType
<
/k
e
y
>
<
string
>
APPL
<
/string
>
<
k
e
y
>
CFBundleShortVersionString
<
/k
e
y
>
<
string
>
1.2.2
7
<
/string
>
<
string
>
1.2.2
8
<
/string
>
<
k
e
y
>
CFBundleSignature
<
/k
e
y
>
<
string
>
????
<
/string
>
<
k
e
y
>
CFBundleVersion
<
/k
e
y
>
<
string
>
1.2.2
7
<
/string
>
<
string
>
1.2.2
8
<
/string
>
<
k
e
y
>
NSAppTransportSecurity
<
/k
e
y
>
<
d
i
c
t
>
<
k
e
y
>
NSAllowsArbitraryLoads
<
/k
e
y
>
...
...
XFFruit/ViewControllers/Purchase/Controllers/NewPurchaseViewController.m
View file @
8d332eb7
...
...
@@ -117,7 +117,8 @@ typedef enum : NSUInteger {
};
void
(
^
fail
)(
id
)
=
^
(
id
data
)
{
[
IBTLoadingView
hideHUDWithText
:
nil
];
[
IBTLoadingView
showTips
:
data
];
ShowMessage
(((
NSError
*
)
data
).
localizedDescription
);
// [IBTLoadingView showTips:data];
};
[
IBTLoadingView
showProgressLabel
:
@"正在加载..."
];
[[
ICRHTTPController
sharedController
]
getPurchaseResultWithPurchaseUuid
:
self
.
purchaseBill
.
uuid
success
:
succ
failure
:
fail
];
...
...
@@ -336,7 +337,8 @@ typedef enum : NSUInteger {
}
}
}
else
{
[
IBTLoadingView
showTips
:
message
];
ShowMessage
(
message
);
// [IBTLoadingView showTips:message];
}
}
};
...
...
XFFruit/ViewControllers/Receiving/Controllers/ReceiveProductViewController.m
View file @
8d332eb7
...
...
@@ -52,7 +52,7 @@
for
(
TransferPdtDetail
*
pdt
in
self
.
productArr
)
{
NSString
*
sourceBillNumber
=
pdt
.
sourcebillnumber
?
pdt
.
sourcebillnumber
:
@" "
;
if
(
!
[
self
.
arrBillNumber
containsObject
:
pdt
.
sourcebilln
umber
])
{
if
(
!
[
self
.
arrBillNumber
containsObject
:
sourceBillN
umber
])
{
[
self
.
arrBillNumber
addObject
:
sourceBillNumber
];
}
...
...
@@ -64,6 +64,7 @@
[
arrTemp
addObject
:
pdt
];
}
CLog
(
@"%@"
,
self
.
dictData
);
}
...
...
XFFruit/ViewControllers/Transfer/Controllers/NewTransferViewController.m
View file @
8d332eb7
...
...
@@ -374,6 +374,7 @@ typedef enum : NSUInteger {
TransportPurchaseViewController
*
tpv
=
[
TransportPurchaseViewController
new
];
tpv
.
isTransportIn
=
NO
;
tpv
.
receiveWrhUuid
=
_sheetView
.
warehouseUuid
;
tpv
.
getProchaseProduct
=
^
(
NSArray
*
products
){
if
(
products
.
count
>
0
)
{
NSMutableArray
*
arr
=
[
self
coverTransferProduct
:
products
];
...
...
XFFruit/ViewControllers/Transfer/Views/TopTransferView.m
View file @
8d332eb7
...
...
@@ -126,6 +126,10 @@
}
else
if
(
indexPath
.
row
==
2
){
contentLabel
.
text
=
@"选择类型"
;
self
.
typeLabel
=
contentLabel
;
self
.
typeLabel
.
text
=
@"普通"
;
self
.
typeLabel
.
textColor
=
GXF_CONTENT_COLOR
;
self
.
type
=
GXF_Normal
;
self
.
selectType
=
GXF_Normal
;
}
else
if
(
indexPath
.
row
==
5
){
contentLabel
.
text
=
@"选择预计到货时间"
;
...
...
XFFruit/ViewControllers/Transport/Controllers/TransportPurchaseViewController.h
View file @
8d332eb7
...
...
@@ -20,5 +20,9 @@ typedef void(^GetPurchaseProduct)(NSArray *products);
@property
(
nonatomic
,
assign
)
BOOL
isTransportIn
;
@property
(
weak
,
nonatomic
)
NSMutableDictionary
*
dicProduct
;
/**
* 采购单的收货仓库(即转运单、发运单的发货仓库)
*/
@property
(
strong
,
nonatomic
)
NSString
*
receiveWrhUuid
;
@end
XFFruit/ViewControllers/Transport/Controllers/TransportPurchaseViewController.m
View file @
8d332eb7
...
...
@@ -86,7 +86,7 @@ NSInteger purchaseStockCheckNumber = 0;
}
NSDictionary
*
dict
;
//
if (self.isTransportIn) {
if
(
self
.
isTransportIn
)
{
dict
=
@{
@"state"
:
PURCHASE_STATE_RECEIVED
,
@"queryOrders"
:
orderArr
,
...
...
@@ -96,17 +96,17 @@ NSInteger purchaseStockCheckNumber = 0;
@"isProductCenter"
:
@
(
1
),
@"pageNumber"
:
@
(
_currentPage
),
@"pageSize"
:
@
(
20
)};
//
}else{
//
dict = @{
// @"state":[NSNull null]
,
// @"stateNotIn":@[PURCHASE_STATE_ABORTED,PURCHASE_STATE_REJECTED]
,
// @"queryOrders":orderArr
,
// @"userUuid":userUtil.userId
,
// @"billNumberProductLike":billNumberObject
,
// @"fetchParts":@"products"
,
//
@"pageNumber":@(_currentPage),
//
@"pageSize":@(20)};
//
}
}
else
{
dict
=
@{
@"state"
:
PURCHASE_STATE_RECEIVED
,
@"queryOrders"
:
orderArr
,
@"userUuid"
:
userUtil
.
userId
,
@"billNumberProductLike"
:
billNumberObject
,
@"fetchParts"
:
@"products"
,
@"receiveWrhUuid"
:
self
.
receiveWrhUuid
,
@"pageNumber"
:
@
(
_currentPage
),
@"pageSize"
:
@
(
20
)};
}
[[
ICRHTTPController
sharedController
]
queryPurchaseWithData
:
dict
success
:
succ
failure
:
fail
];
}
-
(
void
)
fetchtPuchaseList
:
(
id
)
data
{
...
...
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