Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
test
autotest-airtest-web-spd
Commits
b8731673
Commit
b8731673
authored
Jul 23, 2024
by
xiao-hesheng
Browse files
数据库验证流程十二脚本编写
parent
cc63a341
Changes
3
Hide whitespace changes
Inline
Side-by-side
air_case/b6_spd3_core_business_flow_database_check/a_b3流程十请领业务流_二级库向边仓_数据库验证.air/a_b3流程十请领业务流_二级库向边仓_数据库验证.py
View file @
b8731673
...
...
@@ -496,6 +496,7 @@ try:
second_dept_Request
(
FileUtils
().
r_info8
(
"b5_spd3_core_business_flow"
,
"产品审核信息"
,
'message3'
)[
'hosGoodsId'
],
3
)
check_mcms_dept_buy_car
(
3
)
BuyCarSubmit
()
# 请领车提交
time
.
sleep
(
8
)
# 调用函数对数据库中的数据进行验证和比对
list_data
=
[
'16'
,
'20'
,
'66'
]
for
i
in
list_data
:
...
...
data/b5_spd3_core_business_flow/message21
View file @
b8731673
...
...
@@ -16,32 +16,32 @@
pkgDefName
:
'100'
pkgDefQty
:
100.0
pkgQty
:
qty
:
6
00.0
qty
:
37
00.0
goodsImg
:
[]
pkgDefId
:
8ce905b956f14453b958d0da398c0350
pkgDefId
:
c567d32761504700951570afcde929b1
buyPkgQty
:
unitName
:
100支/100
price
:
99.9999
hosId
:
branchId
:
deptId
:
7b4d11aec57042e096684a46e9148fdd
deptId
:
b12c7c6ca56e4b46b418b319cbadbea5
deptName
:
areaCode
:
areaName
:
targetDeptId
:
d467187bce7f458eb5c4e1007f557353
targetDeptId
:
63c734f07fcc422ea80f49ca8e5bbd95
targetDeptName
:
设备科001
targetStockId
:
32bc153acdb34c969f4ed39bf10d58c2
targetStockName
:
东土城路院区
8SpTq
中心库房
targetStockId
:
19d47ae6580b4dcf93b5b180771d2d85
targetStockName
:
东土城路院区
7R4&E
中心库房
purchaseFlag
:
1
tempFlag
:
0
grantWay
:
2
grantWay
:
3
deptGoodsStatus
:
codingType
:
0
purModeText
:
检验试剂
goodsGeneralName
:
检测试剂
provName
:
国药集团公司
L1slG
noRecPkgQty
:
1
2
.0
noRecQty
:
1
2
00.0
provName
:
国药集团公司
S57ui
noRecPkgQty
:
4
1.0
noRecQty
:
4
100.0
autoUnpack
:
0
consumeQty
:
consumePkgQty
:
...
...
main1/main_text.py
View file @
b8731673
...
...
@@ -238,7 +238,7 @@ def main_text():
Button
(
root
,
text
=
'流程十六
\n
退库业务_二级库向
\n
一级库退库'
,
anchor
=
'center'
,
width
=
16
,
height
=
8
,
command
=
flow16
).
grid
(
row
=
4
,
column
=
6
)
Button
(
root
,
text
=
'流程十七
\n
退库业务_中心库退
\n
供应商'
,
anchor
=
'center'
,
width
=
16
,
height
=
8
,
command
=
flow17
).
grid
(
row
=
4
,
column
=
8
)
Button
(
root
,
text
=
'流程十八
\n
中心库业务_拆包功能'
,
anchor
=
'center'
,
width
=
16
,
height
=
8
,
command
=
flow18
).
grid
(
row
=
4
,
column
=
10
)
Button
(
root
,
text
=
'一键执行'
,
anchor
=
'center'
,
width
=
8
,
height
=
2
,
command
=
flow0
).
grid
(
row
=
5
,
column
=
2
)
#
Button(root, text='一键执行', anchor='center', width=8, height=2,command=flow0).grid(row=5,column=2)
Button
(
root
,
text
=
'流程五开始
\n
一键执行'
,
anchor
=
'center'
,
width
=
8
,
height
=
2
,
command
=
flow5_flow18
).
grid
(
row
=
5
,
column
=
4
)
Button
(
root
,
text
=
'删除垃圾
\n
数据'
,
anchor
=
'center'
,
width
=
8
,
height
=
2
,
command
=
del_data
).
grid
(
row
=
5
,
column
=
6
)
Button
(
root
,
text
=
'流程十一开始
\n
一键执行'
,
anchor
=
'center'
,
width
=
8
,
height
=
2
,
command
=
flow11_flow18
).
grid
(
row
=
5
,
column
=
8
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment