@@ -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;