二维码调整
This commit is contained in:
parent
bd8e2ac7d4
commit
9b3082a6fd
|
|
@ -804,7 +804,7 @@ begin
|
||||||
@Mixtext := GetProcAddress(Moudle, 'MixText');
|
@Mixtext := GetProcAddress(Moudle, 'MixText');
|
||||||
Txt2 := '00GUERL41N' + Trim(ADOQueryPrint.fieldbyname('SOrddefstr1').AsString) + rightstr('100000' + (floatTostr(ADOQueryPrint.fieldbyname('Mjlen').AsFloat * 100)), 5);
|
Txt2 := '00GUERL41N' + Trim(ADOQueryPrint.fieldbyname('SOrddefstr1').AsString) + rightstr('100000' + (floatTostr(ADOQueryPrint.fieldbyname('Mjlen').AsFloat * 100)), 5);
|
||||||
Txt2 := UTF8Encode(Txt2);
|
Txt2 := UTF8Encode(Txt2);
|
||||||
fImagePath2 := ExtractFilePath(Application.ExeName) + 'image\temp1.bmp';
|
fImagePath2 := ExtractFilePath(Application.ExeName) + 'image\temp2.bmp';
|
||||||
if not DirectoryExists(pchar(ExtractFilePath(Application.ExeName) + 'image')) then
|
if not DirectoryExists(pchar(ExtractFilePath(Application.ExeName) + 'image')) then
|
||||||
CreateDirectory(pchar(ExtractFilePath(Application.ExeName) + 'image'), nil);
|
CreateDirectory(pchar(ExtractFilePath(Application.ExeName) + 'image'), nil);
|
||||||
if FileExists(fImagePath2) then
|
if FileExists(fImagePath2) then
|
||||||
|
|
|
||||||
|
|
@ -1831,7 +1831,7 @@ begin
|
||||||
Txt2 := '00GUERL41N' + Trim(ADOQueryPrint.fieldbyname('SOrddefstr1').AsString) + rightstr('100000' +(floatTostr(ADOQueryPrint.fieldbyname('Mjlen').AsFloat * 100)), 5);
|
Txt2 := '00GUERL41N' + Trim(ADOQueryPrint.fieldbyname('SOrddefstr1').AsString) + rightstr('100000' +(floatTostr(ADOQueryPrint.fieldbyname('Mjlen').AsFloat * 100)), 5);
|
||||||
// Copy((floatTostr(ADOQueryPrint.fieldbyname('Mjlen').AsFloat * 100000)), 1, 5);
|
// Copy((floatTostr(ADOQueryPrint.fieldbyname('Mjlen').AsFloat * 100000)), 1, 5);
|
||||||
Txt2 := UTF8Encode(Txt2);
|
Txt2 := UTF8Encode(Txt2);
|
||||||
fImagePath2 := ExtractFilePath(Application.ExeName) + 'image\temp1.bmp';
|
fImagePath2 := ExtractFilePath(Application.ExeName) + 'image\temp2.bmp';
|
||||||
if not DirectoryExists(pchar(ExtractFilePath(Application.ExeName) + 'image')) then
|
if not DirectoryExists(pchar(ExtractFilePath(Application.ExeName) + 'image')) then
|
||||||
CreateDirectory(pchar(ExtractFilePath(Application.ExeName) + 'image'), nil);
|
CreateDirectory(pchar(ExtractFilePath(Application.ExeName) + 'image'), nil);
|
||||||
if FileExists(fImagePath2) then
|
if FileExists(fImagePath2) then
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user