Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
cz_012273
WZGL
提交
f4dc8ee0
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 搜索 >>
提交
f4dc8ee0
编写于
5月 31, 2022
作者:
C
cz_012273
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
默认保管人设定为入库表最末记录值
上级
171fec96
变更
3
隐藏空白更改
内联
并排
Showing
3 changed file
with
10 addition
and
3 deletion
+10
-3
RuKu.pas
RuKu.pas
+8
-1
WZGL.dproj
WZGL.dproj
+2
-2
WZGL.res
WZGL.res
+0
-0
未找到文件。
RuKu.pas
浏览文件 @
f4dc8ee0
...
...
@@ -166,11 +166,18 @@ begin
end
;
procedure
TForm2
.
FormShow
(
Sender
:
TObject
);
var
mrbgr
:
string
;
// 默认保管人
begin
DM1
.
FDConnection1
.
Connected
:=
True
;
DM1
.
FDConnection1
.
starttransaction
;
DM1
.
FDQuery1
.
close
;
DM1
.
FDQuery1
.
Open
(
'SELECT * FROM 入库表'
);
DM1
.
FDQuery1
.
last
;
if
(
DM1
.
FDQuery1
.
FieldByName
(
'保管人'
).
value
=
null
)
or
(
DM1
.
FDQuery1
.
FieldByName
(
'保管人'
).
value
=
''
)
then
mrbgr
:=
'付刚刚'
else
mrbgr
:=
DM1
.
FDQuery1
.
FieldByName
(
'保管人'
).
value
;
DM1
.
FDQuery2
.
close
;
DM1
.
FDQuery2
.
Open
(
'SELECT * FROM 品名表'
);
try
...
...
@@ -180,7 +187,7 @@ begin
Append
;
FieldByName
(
'序号'
).
value
:=
RecordCount
+
1
;
FieldByName
(
'入库日期'
).
value
:=
date
();
FieldByName
(
'保管人'
).
value
:=
'付刚刚'
;
FieldByName
(
'保管人'
).
value
:=
mrbgr
;
Fields
[
0
].
DisplayWidth
:=
4
;
// 这个宽度指字符数
Fields
[
1
].
DisplayWidth
:=
20
;
Fields
[
2
].
DisplayWidth
:=
6
;
...
...
WZGL.dproj
浏览文件 @
f4dc8ee0
...
...
@@ -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.
7
;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.
10
;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>
7
</VerInfo_Build>
<VerInfo_Build>
10
</VerInfo_Build>
</PropertyGroup>
<PropertyGroup Condition="'$(Cfg_2)'!=''">
<DCC_LocalDebugSymbols>false</DCC_LocalDebugSymbols>
...
...
WZGL.res
浏览文件 @
f4dc8ee0
无法预览此类型文件
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录