|
@@ -1479,7 +1479,9 @@
|
|
|
|
|
|
|
|
AppDelegate *appDelegate = (AppDelegate*)[[UIApplication sharedApplication] delegate];
|
|
AppDelegate *appDelegate = (AppDelegate*)[[UIApplication sharedApplication] delegate];
|
|
|
if(appDelegate.user_type==USER_ROLE_CUSTOMER) {
|
|
if(appDelegate.user_type==USER_ROLE_CUSTOMER) {
|
|
|
-
|
|
|
|
|
|
|
+ if (self.orderType == 1) {// Sales Order不能合并
|
|
|
|
|
+ return NO;
|
|
|
|
|
+ }
|
|
|
if (![Singleton sharedInstance].permissions_merge_order) {
|
|
if (![Singleton sharedInstance].permissions_merge_order) {
|
|
|
// 没有合并订单的权限
|
|
// 没有合并订单的权限
|
|
|
return NO;
|
|
return NO;
|