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
ef2557a2
Commit
ef2557a2
authored
Jun 05, 2024
by
xiao-hesheng
Browse files
流程十二脚本编写
parent
20b38c6d
Changes
1
Hide whitespace changes
Inline
Side-by-side
air_case/b5_spd3_core_business_flow/a_b7流程十四退库业务_消耗退库.air/a_b7流程十四退库业务_消耗退库.py
View file @
ef2557a2
...
@@ -190,7 +190,8 @@ def second_dept_consume_Out_Stock(hosGoodsId, type): # 二级库消耗出库
...
@@ -190,7 +190,8 @@ def second_dept_consume_Out_Stock(hosGoodsId, type): # 二级库消耗出库
# # # # 发送请求
# # # # 发送请求
result
=
commonFuc
().
http_post
(
url
,
request_body
,
headers
)
result
=
commonFuc
().
http_post
(
url
,
request_body
,
headers
)
print
(
'result'
,
result
)
print
(
'result'
,
result
)
elif
type
==
1
:
print
(
'低值耗材消耗出库'
)
def
sCan_grant
(
type
=
1
):
# 获取条码and扫码发放高值不能发放
def
sCan_grant
(
type
=
1
):
# 获取条码and扫码发放高值不能发放
module
=
"b5_spd3_core_business_flow"
module
=
"b5_spd3_core_business_flow"
...
@@ -219,8 +220,7 @@ try:
...
@@ -219,8 +220,7 @@ try:
# sCan_grant(1)#低值扫码发放
# sCan_grant(1)#低值扫码发放
# sCan_grant(3)#试剂扫码发放
# sCan_grant(3)#试剂扫码发放
# # # # 高值
# # # # 高值
second_dept_consume_Out_Stock
(
FileUtils
().
r_info8
(
"b5_spd3_core_business_flow"
,
"产品审核信息"
,
'message1'
)[
'hosGoodsId'
],
second_dept_consume_Out_Stock
(
2
)
2
)
# # # # 低值
# # # # 低值
# second_dept_consume_Out_Stock(FileUtils().r_info8("b5_spd3_core_business_flow", "产品审核信息", 'message2')['hosGoodsId'], 1)
# second_dept_consume_Out_Stock(FileUtils().r_info8("b5_spd3_core_business_flow", "产品审核信息", 'message2')['hosGoodsId'], 1)
# # # # 试剂
# # # # 试剂
...
...
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