|
|
@@ -1916,7 +1916,7 @@ commitEditingStyle:(UITableViewCellEditingStyle)editingStyle forRowAtIndexPath:
|
|
|
// 结束选择时恢复
|
|
|
if ([Singleton sharedInstance].customer_can_see_sales_Order && ![Singleton sharedInstance].global_lock) { // 有查看Sales order 权限,并且app没有锁
|
|
|
if (self.orderTypeSegmentControl.numberOfSegments == 1) {
|
|
|
- [self.orderTypeSegmentControl insertSegmentWithTitle:@"Purchase Order" atIndex:1 animated:YES];
|
|
|
+ [self.orderTypeSegmentControl insertSegmentWithTitle:@"Purchase Order to NPD" atIndex:1 animated:YES];
|
|
|
}
|
|
|
}
|
|
|
|
|
|
@@ -2088,7 +2088,7 @@ commitEditingStyle:(UITableViewCellEditingStyle)editingStyle forRowAtIndexPath:
|
|
|
} else { // 解锁
|
|
|
if ([Singleton sharedInstance].customer_can_see_sales_Order) { // 有查看Sales order 权限
|
|
|
if (self.orderTypeSegmentControl.numberOfSegments == 1 && !self.table_order.isEditing) {
|
|
|
- [self.orderTypeSegmentControl insertSegmentWithTitle:@"Purchase Order" atIndex:1 animated:YES];
|
|
|
+ [self.orderTypeSegmentControl insertSegmentWithTitle:@"Purchase Order to NPD" atIndex:1 animated:YES];
|
|
|
}
|
|
|
}
|
|
|
|