Просмотр исходного кода

1.修改NPD CustomerInfo在Customer账号时不能选择联系人。

Pen Li 8 лет назад
Родитель
Сommit
08db9d0b14

+ 1 - 1
RedAnt ERP Mobile/common/Functions/contact/CustomerInfoViewController.m

@@ -288,7 +288,7 @@
     
     if(self.edit_icon)
         [items addObject:self.btn_edit];
-    if (appDelegate.user_type == USER_ROLE_CUSTOMER && appDelegate.order_code.length > 0 && ![Singleton sharedInstance].currentOrderIsMerged) {
+    if ((appDelegate.user_type == USER_ROLE_CUSTOMER && appDelegate.customer_type == CustomerTypeStore) && appDelegate.order_code.length > 0 && ![Singleton sharedInstance].currentOrderIsMerged) {
         // shop order 隐藏assign
     } else {
         if(self.assig_icon)