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