This commit is contained in:
DESKTOP-E401PHE\Administrator 2025-09-06 16:33:37 +08:00
parent 7edb770171
commit cb577e6ceb

View File

@ -1589,7 +1589,7 @@ begin
begin begin
Close; Close;
sql.Clear; sql.Clear;
sql.add('exec P_Do_PrintMd_HZ '); sql.add('exec P_Do_PrintMd_HZ ');
sql.add('@mainID=' + quotedstr(Trim(''))); sql.add('@mainID=' + quotedstr(Trim('')));
sql.add(',@DName=' + quotedstr(Trim(DCode))); sql.add(',@DName=' + quotedstr(Trim(DCode)));
sql.add(',@flag=''2'' '); sql.add(',@flag=''2'' ');
@ -1597,7 +1597,9 @@ begin
end; end;
end; end;
if (trim(ComboBox1.Text) = '쇱駱쯤데') or (trim(ComboBox1.Text) = '쇱駱쯤데(쵠鑒)') or (trim(ComboBox1.Text) = '쇱駱쯤데(쯤넹)') or (trim(ComboBox1.Text) = '쇱駱쯤데(속숑)') then if (trim(ComboBox1.Text) = '쇱駱쯤데') or (trim(ComboBox1.Text) = '쇱駱쯤데(쵠鑒)')
or (trim(ComboBox1.Text) = '쇱駱쯤데(98)')
or (trim(ComboBox1.Text) = '쇱駱쯤데(쯤넹)') or (trim(ComboBox1.Text) = '쇱駱쯤데(속숑)') then
begin begin
with ADOQueryTemp do with ADOQueryTemp do
begin begin