This commit is contained in:
DESKTOP-E401PHE\Administrator 2025-09-19 13:48:12 +08:00
parent 6f5022ffa1
commit aa81285e79

View File

@ -1593,6 +1593,11 @@ begin
application.MessageBox('长度或者重量不能都为零!', '提示信息', 0);
exit;
end;
if (strtofloatdef(trim(MJMaoZ.Text), 0) < 5) then
begin
application.MessageBox('重量不能小于5请检查下称的数据', '提示信息', 0);
exit;
end;
if Trim(FAPID) = '' then
Exit;
@ -1663,7 +1668,7 @@ begin
sql.Add('select * from JYorder_Sub where Subid=''' + Trim(FSubId) + ''' and isnull(Slbname,'''')<>'''' ');
Open;
end;
if ADOTmp.IsEmpty then
if ADOTmp.IsEmpty then
begin
PlaySound('wav\没有设置标签.wav', 0, SND_FILENAME or SND_ASYNC);
Application.MessageBox('没有设置标签', '提示', 0);