@@ -677,7 +677,7 @@ procedure TBillsCompileData.sdvBillsCompileSetText(var Text: String;
begin
if not Assigned(AValue) then Exit;
// 修改后数据与原数据相同则不提交
- if AValue.AsString = Text then Exit;
+ if (AValue.AsString = Text) or ((AValue.AsFloat = 0) and (Text = '')) then Exit;
CheckLockedData;
if not Allow then Exit;
@@ -405,6 +405,8 @@ procedure TBillsMeasureData.sdvBillsMeasureSetText(var Text: String;
+ // 修改后数据与原数据相同则不提交