Explorar o código

eSign 20170424

修复修改文档时,未修改字段也被高亮标注的bug
Ray Zhang %!s(int64=9) %!d(string=hai) anos
pai
achega
9e7a8b4a2c

BIN=BIN
Ants Contract/AntsContract.xcworkspace/xcuserdata/Ray.xcuserdatad/UserInterfaceState.xcuserstate


+ 32 - 0
Ants Contract/AntsContract.xcworkspace/xcuserdata/Ray.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist

@@ -323,5 +323,37 @@
             landmarkType = "7">
          </BreakpointContent>
       </BreakpointProxy>
+      <BreakpointProxy
+         BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint">
+         <BreakpointContent
+            shouldBeEnabled = "Yes"
+            ignoreCount = "0"
+            continueAfterRunningActions = "No"
+            filePath = "../RedAnt ERP Mobile/common/PDFUtils.m"
+            timestampString = "514717164.504415"
+            startingColumnNumber = "9223372036854775807"
+            endingColumnNumber = "9223372036854775807"
+            startingLineNumber = "441"
+            endingLineNumber = "441"
+            landmarkName = "+SavePDF:source:window_rect:name:isnew:"
+            landmarkType = "7">
+         </BreakpointContent>
+      </BreakpointProxy>
+      <BreakpointProxy
+         BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint">
+         <BreakpointContent
+            shouldBeEnabled = "No"
+            ignoreCount = "0"
+            continueAfterRunningActions = "No"
+            filePath = "../RedAnt ERP Mobile/common/PDFUtils.m"
+            timestampString = "514717168.800651"
+            startingColumnNumber = "9223372036854775807"
+            endingColumnNumber = "9223372036854775807"
+            startingLineNumber = "394"
+            endingLineNumber = "394"
+            landmarkName = "+SavePDF:source:window_rect:name:isnew:"
+            landmarkType = "7">
+         </BreakpointContent>
+      </BreakpointProxy>
    </Breakpoints>
 </Bucket>

+ 1 - 0
Ants Contract/common/DocumentPageViewController.m

@@ -58,6 +58,7 @@
             NSString* type = control[@"type"];
             NSString* field =control[@"field"];
             bool disable = [control[@"disable"] boolValue];
+            control[@"dirty"]=[NSNumber numberWithBool:false];
             if([type isEqualToString:@"Label"])
             {
                 if([field isEqualToString:@"doc_number"])