浏览代码

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 年之前
父节点
当前提交
69f01f840f
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. 2 1
      RedAnt ERP Mobile/common/Functions/order/CreateOrderViewController.m

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

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