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
61e1927d
Commit
61e1927d
authored
Jun 21, 2024
by
xiao-hesheng
Browse files
流程十四脚本编写
parent
83297a65
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 @
61e1927d
...
...
@@ -98,20 +98,20 @@ def invoice():
batchCode
=
'batchCode'
distrDetailId
=
'distrDetailId'
distrId
=
'distrId'
distrOrderNo
=
'distrOrderNo'
;
settlePrice
=
'settlePrice'
;
distrOrderNo
=
'distrOrderNo'
settlePrice
=
'settlePrice'
maxSettleQty
=
'maxSettleQty'
maxSettleAmount
=
'maxSettleAmount'
;
curSettleQty
=
'curSettleQty'
;
maxSettleAmount
=
'maxSettleAmount'
curSettleQty
=
'curSettleQty'
curSettleAmount
=
'curSettleAmount'
leftSettleQty
=
'leftSettleQty'
;
leftSettleAmount
=
'leftSettleAmount'
;
hosId
=
'hosId'
;
leftSettleQty
=
'leftSettleQty'
leftSettleAmount
=
'leftSettleAmount'
hosId
=
'hosId'
provId
=
'provId'
branchId
=
'branchId'
;
balanceDetId
=
'balanceDetId'
;
purMode
=
'purMode'
;
barCode
=
'barCode'
;
branchId
=
'branchId'
balanceDetId
=
'balanceDetId'
purMode
=
'purMode'
barCode
=
'barCode'
viewId
=
'viewId'
for
i
in
list_a
:
pid
=
i
[
'pid'
]
...
...
@@ -297,6 +297,7 @@ def invoice():
print
(
'result'
,
'内网发票提交列表查询结果'
,
result
)
data1
=
commonFuc
().
analysis_json
(
'data'
,
commonFuc
().
analysis_json
(
'data'
,
result
))
total
=
commonFuc
().
analysis_json
(
'total'
,
commonFuc
().
analysis_json
(
'data'
,
result
))
VI_id2
=
'VI_id2'
if
total
==
0
:
print
(
'检查被测程序,发票提交列表查询数据是否正确'
)
else
:
...
...
@@ -325,6 +326,7 @@ def invoice():
print
(
'result'
,
'发票归档列表查询'
,
result
)
data1
=
commonFuc
().
analysis_json
(
'data'
,
commonFuc
().
analysis_json
(
'data'
,
result
))
total
=
commonFuc
().
analysis_json
(
'total'
,
commonFuc
().
analysis_json
(
'data'
,
result
))
VI_id3
=
'VI_id3'
if
total
==
0
:
print
(
'检查被测程序,发票归档列表查询查询数据是否正确'
)
else
:
...
...
@@ -353,6 +355,7 @@ def invoice():
print
(
'result'
,
'付款单列表查询'
,
result
)
data1
=
commonFuc
().
analysis_json
(
'data'
,
commonFuc
().
analysis_json
(
'data'
,
result
))
total
=
commonFuc
().
analysis_json
(
'total'
,
commonFuc
().
analysis_json
(
'data'
,
result
))
VI_id4
=
'VI_id4'
if
total
==
0
:
print
(
'检查被测程序,发票归档列表查询查询数据是否正确'
)
else
:
...
...
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