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
d7a32904
Commit
d7a32904
authored
Jun 20, 2024
by
xiao-hesheng
Browse files
流程十四脚本编写
parent
1bf5da1a
Changes
1
Hide whitespace changes
Inline
Side-by-side
air_case/b5_spd3_core_business_flow/a_b1流程八_高值跟台业务流程.air/a_b1流程八_高值跟台业务流程.py
View file @
d7a32904
...
@@ -295,9 +295,9 @@ def out_return_gt():
...
@@ -295,9 +295,9 @@ def out_return_gt():
"herpService_out_return_gt_url"
)
"herpService_out_return_gt_url"
)
print
(
'#跟台退货出库列表查询——中心库================='
,
url
)
print
(
'#跟台退货出库列表查询——中心库================='
,
url
)
request_body
=
commonFuc
().
get_business_data
(
module
,
"payload37"
,
get_branch_id
())
request_body
=
commonFuc
().
get_business_data
(
module
,
"payload37"
,
get_branch_id
())
print
(
'跟台退货出库列表查询——中心库
==
'
,
'request_body'
,
request_body
)
print
(
'跟台退货出库列表查询——中心库'
,
'request_body'
,
request_body
)
result
=
commonFuc
().
http_post
(
url
,
request_body
,
headers
)
result
=
commonFuc
().
http_post
(
url
,
request_body
,
headers
)
print
(
'跟台退货出库列表查询——中心库
==
,result'
,
result
)
print
(
'跟台退货出库列表查询——中心库,result'
,
result
)
data1
=
commonFuc
().
analysis_json
(
'data'
,
commonFuc
().
analysis_json
(
'data'
,
result
))
data1
=
commonFuc
().
analysis_json
(
'data'
,
commonFuc
().
analysis_json
(
'data'
,
result
))
DR_Id
=
'DR_Id'
DR_Id
=
'DR_Id'
for
i
in
data1
:
for
i
in
data1
:
...
@@ -316,7 +316,7 @@ def out_return_gt():
...
@@ -316,7 +316,7 @@ def out_return_gt():
print
(
'#跟台退货出库确认——中心库================='
,
url
)
print
(
'#跟台退货出库确认——中心库================='
,
url
)
deptid1
=
FileUtils
().
r_info8
(
"b2_herp3_bs"
,
"所有科室id"
,
'message6'
)[
'deptid1'
]
deptid1
=
FileUtils
().
r_info8
(
"b2_herp3_bs"
,
"所有科室id"
,
'message6'
)[
'deptid1'
]
request_body
=
commonFuc
().
get_business_data
(
module
,
"payload38"
,
DR_Id
,
deptid1
)
request_body
=
commonFuc
().
get_business_data
(
module
,
"payload38"
,
DR_Id
,
deptid1
)
print
(
'跟台退货出库确认——中心库
==
'
,
'request_body'
,
request_body
)
print
(
'跟台退货出库确认——中心库'
,
'request_body'
,
request_body
)
result
=
commonFuc
().
http_post
(
url
,
request_body
,
headers
)
result
=
commonFuc
().
http_post
(
url
,
request_body
,
headers
)
print
(
'跟台退货出库确认——中心库==,result'
,
result
)
print
(
'跟台退货出库确认——中心库==,result'
,
result
)
...
...
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