Forráskód Böngészése

修改Bug #836后影响Bug #834的修改

MaiXinRong 9 éve
szülő
commit
61d72578b8
1 módosított fájl, 3 hozzáadás és 1 törlés
  1. 3 1
      DataModules/BillsCompileDm.pas

+ 3 - 1
DataModules/BillsCompileDm.pas

@@ -702,7 +702,9 @@ procedure TBillsCompileData.sdvBillsCompileSetText(var Text: String;
 begin
   if not Assigned(AValue) then Exit;
   // 修改后数据与原数据相同则不提交
-  if not CheckValidData then Exit;
+  if not CheckValidData then
+    Allow := False;
+  if not Allow then Exit;
 
   CheckLockedData;
   if not Allow then Exit;