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
ccfb955c
Commit
ccfb955c
authored
Jul 23, 2024
by
xiao-hesheng
Browse files
数据库验证流程十二脚本编写
parent
a658a3bd
Changes
2
Hide whitespace changes
Inline
Side-by-side
air_case/b5_spd3_core_business_flow/a_b5流程十二请领业务流_二级库向二级库.air/a_b5流程十二请领业务流_二级库向二级库.py
View file @
ccfb955c
...
@@ -423,11 +423,11 @@ def pick_execute():
...
@@ -423,11 +423,11 @@ def pick_execute():
url
=
commonFuc
().
get_api_add_port_url
()
+
commonFuc
().
get_business_data
(
module
,
url
=
commonFuc
().
get_api_add_port_url
()
+
commonFuc
().
get_business_data
(
module
,
"herpService_stock_out_use_submit_url"
)
"herpService_stock_out_use_submit_url"
)
print
(
'提交拣货执行单================='
,
url
)
print
(
'提交拣货执行单================='
,
url
)
if
pur
Mode
==
10
:
if
bill
Mode
==
'16'
:
request_body
=
commonFuc
().
get_business_data
(
module
,
"payload51_1_1"
,
targetAreaCode
,
sourceId
)
request_body
=
commonFuc
().
get_business_data
(
module
,
"payload51_1_1"
,
targetAreaCode
,
sourceId
)
elif
pur
Mode
==
20
:
elif
bill
Mode
==
'
20
'
:
request_body
=
commonFuc
().
get_business_data
(
module
,
"payload51_1_2"
,
targetAreaCode
,
sourceId
)
request_body
=
commonFuc
().
get_business_data
(
module
,
"payload51_1_2"
,
targetAreaCode
,
sourceId
)
elif
pur
Mode
==
60
:
elif
bill
Mode
==
'66'
:
request_body
=
commonFuc
().
get_business_data
(
module
,
"payload51_1_3"
,
targetAreaCode
,
sourceId
)
request_body
=
commonFuc
().
get_business_data
(
module
,
"payload51_1_3"
,
targetAreaCode
,
sourceId
)
print
(
'提交拣货执行单'
,
'request_body'
,
request_body
)
print
(
'提交拣货执行单'
,
'request_body'
,
request_body
)
...
...
air_case/public1/public1/public1.py
View file @
ccfb955c
...
@@ -2732,6 +2732,8 @@ def pickScan2(PICK_ID, udi_code, type=1): # 二级库出库拣货扫码
...
@@ -2732,6 +2732,8 @@ def pickScan2(PICK_ID, udi_code, type=1): # 二级库出库拣货扫码
code
=
commonFuc
().
analysis_json
(
'code'
,
result
)
code
=
commonFuc
().
analysis_json
(
'code'
,
result
)
if
code
==
0
:
if
code
==
0
:
print
(
'拣货扫码'
,
'ok'
)
print
(
'拣货扫码'
,
'ok'
)
elif
code
==
14030001
:
print
(
'单据已被扫码,请刷新页面数据'
,
'ok'
)
else
:
else
:
commonFuc
().
check_text_exist_result_text
(
'error'
,
'succees'
)
commonFuc
().
check_text_exist_result_text
(
'error'
,
'succees'
)
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