|
@@ -15,6 +15,7 @@
|
|
|
#import "AddressEditorViewController.h"
|
|
#import "AddressEditorViewController.h"
|
|
|
#import "CreditCardEditorViewController.h"
|
|
#import "CreditCardEditorViewController.h"
|
|
|
#import "JKTimerManager.h"
|
|
#import "JKTimerManager.h"
|
|
|
|
|
+#import "CommonEditorCellModel.h"
|
|
|
|
|
|
|
|
#define SUBMIT_CONFIRM 123
|
|
#define SUBMIT_CONFIRM 123
|
|
|
#define KEEP_TAIL 456
|
|
#define KEEP_TAIL 456
|
|
@@ -3283,7 +3284,7 @@
|
|
|
|
|
|
|
|
if ([weakSelf.class_name isEqualToString:@"CreateOrderViewController"]) {
|
|
if ([weakSelf.class_name isEqualToString:@"CreateOrderViewController"]) {
|
|
|
// CreateOrderViewController
|
|
// CreateOrderViewController
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
|
|
|
|
|
[urgencyDic setValue:appDelegate.order_code forKey:@"order_code"];
|
|
[urgencyDic setValue:appDelegate.order_code forKey:@"order_code"];
|
|
|
MainViewController *mainVC = (MainViewController *)appDelegate.main_vc;
|
|
MainViewController *mainVC = (MainViewController *)appDelegate.main_vc;
|
|
@@ -3305,5 +3306,22 @@
|
|
|
[[JKTimerManager sharedTimerManager] cancelTimerWithName:self.urgency_timer_name];
|
|
[[JKTimerManager sharedTimerManager] cancelTimerWithName:self.urgency_timer_name];
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
+#pragma mark - Override
|
|
|
|
|
+
|
|
|
|
|
+- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath {
|
|
|
|
|
+
|
|
|
|
|
+ UITableViewCell *cell = [super tableView:tableView cellForRowAtIndexPath:indexPath];
|
|
|
|
|
+
|
|
|
|
|
+ NSDictionary* item_json =((NSMutableArray*)self.content_data_control[indexPath.section])[indexPath.row];
|
|
|
|
|
+ NSString* control = [item_json valueForKey:@"control"];
|
|
|
|
|
+
|
|
|
|
|
+ if([control isEqualToString:@"model"]) {
|
|
|
|
|
+ ((CommonEditorCellModel *)cell).avalibilityLabel.hidden = YES;
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ return cell;
|
|
|
|
|
+
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
|
|
|
@end
|
|
@end
|