Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
cz_012273
WZGL
提交
171fec96
W
WZGL
项目概览
cz_012273
/
WZGL
通知
2
Star
1
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
W
WZGL
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
前往新版Gitcode,体验更适合开发者的 AI 搜索 >>
提交
171fec96
编写于
5月 31, 2022
作者:
C
cz_012273
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
库存、发放提示分别导出至EXCEL(两个按钮)
上级
0e4703b1
变更
4
隐藏空白更改
内联
并排
Showing
4 changed file
with
23 addition
and
7 deletion
+23
-7
TiShi.dfm
TiShi.dfm
+13
-4
TiShi.pas
TiShi.pas
+8
-1
WZGL.dproj
WZGL.dproj
+2
-2
WZGL.res
WZGL.res
+0
-0
未找到文件。
TiShi.dfm
浏览文件 @
171fec96
...
...
@@ -32,7 +32,7 @@ object Form6: TForm6
Caption = #21457#25918#21040#26399#25552#31034#65306
end
object Button1: TButton
Left =
76
Left =
31
Top = 343
Width = 111
Height = 41
...
...
@@ -41,7 +41,7 @@ object Form6: TForm6
OnClick = Button1Click
end
object Button2: TButton
Left = 4
34
Left = 4
79
Top = 343
Width = 111
Height = 41
...
...
@@ -80,12 +80,21 @@ object Form6: TForm6
OnDrawDataCell = DBGrid2DrawDataCell
end
object Button3: TButton
Left =
255
Left =
180
Top = 343
Width = 111
Height = 41
Caption = #23548#20986'EXCEL'
Caption = #23548#20986'EXCEL
1
'
TabOrder = 4
OnClick = Button3Click
end
object Button4: TButton
Left = 329
Top = 343
Width = 111
Height = 41
Caption = #23548#20986'EXCEL2'
TabOrder = 5
OnClick = Button4Click
end
end
TiShi.pas
浏览文件 @
171fec96
...
...
@@ -17,6 +17,7 @@ type
DBGrid1
:
TDBGrid
;
DBGrid2
:
TDBGrid
;
Button3
:
TButton
;
Button4
:
TButton
;
procedure
Button1Click
(
Sender
:
TObject
);
procedure
Button2Click
(
Sender
:
TObject
);
procedure
FormShow
(
Sender
:
TObject
);
...
...
@@ -25,6 +26,7 @@ type
procedure
DBGrid2DrawDataCell
(
Sender
:
TObject
;
const
Rect
:
TRect
;
Field
:
TField
;
State
:
TGridDrawState
);
procedure
Button3Click
(
Sender
:
TObject
);
procedure
Button4Click
(
Sender
:
TObject
);
private
{ Private declarations }
...
...
@@ -52,7 +54,12 @@ end;
procedure
TForm6
.
Button3Click
(
Sender
:
TObject
);
begin
ExportDBGrid1
(
'导出提示数据.xls'
,
True
,
DBGrid1
.
DataSource
.
DataSet
);
ExportDBGrid1
(
'导出库存提示.xls'
,
True
,
DBGrid1
.
DataSource
.
DataSet
);
end
;
procedure
TForm6
.
Button4Click
(
Sender
:
TObject
);
begin
ExportDBGrid1
(
'导出发放提示.xls'
,
True
,
DBGrid2
.
DataSource
.
DataSet
);
end
;
procedure
TForm6
.
FormShow
(
Sender
:
TObject
);
...
...
WZGL.dproj
浏览文件 @
171fec96
...
...
@@ -88,9 +88,9 @@
<VerInfo_IncludeVerInfo>true</VerInfo_IncludeVerInfo>
<VerInfo_Locale>1033</VerInfo_Locale>
<VerInfo_AutoIncVersion>true</VerInfo_AutoIncVersion>
<VerInfo_Keys>CompanyName=;FileDescription=$(MSBuildProjectName);FileVersion=1.0.8.
6
;InternalName=;LegalCopyright=;LegalTrademarks=;OriginalFilename=;ProgramID=com.embarcadero.$(MSBuildProjectName);ProductName=$(MSBuildProjectName);ProductVersion=1.0.0.0;Comments=</VerInfo_Keys>
<VerInfo_Keys>CompanyName=;FileDescription=$(MSBuildProjectName);FileVersion=1.0.8.
7
;InternalName=;LegalCopyright=;LegalTrademarks=;OriginalFilename=;ProgramID=com.embarcadero.$(MSBuildProjectName);ProductName=$(MSBuildProjectName);ProductVersion=1.0.0.0;Comments=</VerInfo_Keys>
<VerInfo_Release>8</VerInfo_Release>
<VerInfo_Build>
6
</VerInfo_Build>
<VerInfo_Build>
7
</VerInfo_Build>
</PropertyGroup>
<PropertyGroup Condition="'$(Cfg_2)'!=''">
<DCC_LocalDebugSymbols>false</DCC_LocalDebugSymbols>
...
...
WZGL.res
浏览文件 @
171fec96
无法预览此类型文件
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录