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
30e8931f
Commit
30e8931f
authored
Apr 30, 2024
by
xiao-hesheng
Browse files
流程五脚本编写
parent
a5639547
Changes
1
Hide whitespace changes
Inline
Side-by-side
air_case/b5_spd3_core_business_flow/a_a8流程五_中心库入库结算_正结算3_外网开票.air/a_a8流程五_中心库入库结算_正结算3_外网开票.py
View file @
30e8931f
...
...
@@ -46,7 +46,7 @@ def invoice(OBh_ID='OBhxxxxxxxxxxxxxxx'):
request_body
=
commonFuc
().
get_business_data
(
module
,
"payload2_1_2"
,
get_hosid
(),
get_branch_id
(),
OBh_ID
)
#
print('request_body',request_body)
print
(
'
发票录入查询
request_body'
,
request_body
)
# 发送请求
i
=
1
while
True
:
...
...
@@ -360,7 +360,7 @@ try:
OBD_ID
=
settle
()
# 调用审批结算单
approval_center
(
OBD_ID
)
invoice
()
invoice
(
OBD_ID
)
except
Exception
as
e
:
print
(
'脚本出现异常,请检查脚本或者数据'
)
print
(
"发生异常:"
,
str
(
e
))
...
...
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