فهرست منبع

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

MaiXinRong 9 سال پیش
والد
کامیت
61d72578b8
1فایلهای تغییر یافته به همراه3 افزوده شده و 1 حذف شده
  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;