Skip to content
GitLab
Explore
Projects
Groups
Snippets
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
11 months ago
by
xiao-hesheng
Browse files
Options
Download
Email Patches
Plain Diff
流程十二脚本编写
parent
20b38c6d
master
core_flow
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
air_case/b5_spd3_core_business_flow/a_b7流程十四退库业务_消耗退库.air/a_b7流程十四退库业务_消耗退库.py
+3
-3
..._business_flow/a_b7流程十四退库业务_消耗退库.air/a_b7流程十四退库业务_消耗退库.py
with
3 additions
and
3 deletions
+3
-3
air_case/b5_spd3_core_business_flow/a_b7流程十四退库业务_消耗退库.air/a_b7流程十四退库业务_消耗退库.py
+
3
-
3
View file @
ef2557a2
...
...
@@ -190,7 +190,8 @@ def second_dept_consume_Out_Stock(hosGoodsId, type): # 二级库消耗出库
# # # # 发送请求
result
=
commonFuc
().
http_post
(
url
,
request_body
,
headers
)
print
(
'result'
,
result
)
elif
type
==
1
:
print
(
'低值耗材消耗出库'
)
def
sCan_grant
(
type
=
1
):
# 获取条码and扫码发放高值不能发放
module
=
"b5_spd3_core_business_flow"
...
...
@@ -219,8 +220,7 @@ try:
# sCan_grant(1)#低值扫码发放
# sCan_grant(3)#试剂扫码发放
# # # # 高值
second_dept_consume_Out_Stock
(
FileUtils
().
r_info8
(
"b5_spd3_core_business_flow"
,
"产品审核信息"
,
'message1'
)[
'hosGoodsId'
],
2
)
second_dept_consume_Out_Stock
(
2
)
# # # # 低值
# second_dept_consume_Out_Stock(FileUtils().r_info8("b5_spd3_core_business_flow", "产品审核信息", 'message2')['hosGoodsId'], 1)
# # # # 试剂
...
...
This diff is collapsed.
Click to expand it.
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
Menu
Explore
Projects
Groups
Snippets