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

HMLG scan order 1.29 with xcode 13
Fix - In some cases, the save button appears when the submitted order is opened

Ray Zhang 3 лет назад
Родитель
Сommit
69f01f840f

+ 2 - 1
RedAnt ERP Mobile/common/Functions/order/CreateOrderViewController.m

@@ -3744,8 +3744,9 @@
 //                NSMutableDictionary* saveorder = [[NSMutableDictionary dictionaryWithDictionary:self.content_data_download] mutableCopy];
                 if(newmodel)
                 {    self.content_data_download[@"section_0"]=newmodel;
-                    self.content_data_download[@"readonly"]=@1;
+                    
                 }
+                self.content_data_download[@"readonly"]=@1;
                 [self scanSave:upparams];
                 NSString* company = upparams[@"customer_cid"];
                 if(company.length==0)