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-cmdc
Commits
114cedfa
Commit
114cedfa
authored
Mar 27, 2024
by
liguangyu06
Browse files
优化
parent
f2f0073a
Changes
1
Hide whitespace changes
Inline
Side-by-side
air_case/cmdc_trade/查询条件验证_发票清单列表.air/查询条件验证_发票清单列表.py
View file @
114cedfa
...
...
@@ -36,8 +36,11 @@ invoice_random = random.randint(2, len(result["data"]["list"]) - 1)
invoice_no
=
result
[
"data"
][
"list"
][
invoice_random
][
"invoiceNo"
]
invoice_time_begin
=
result
[
"data"
][
"list"
][
invoice_random
][
"invoiceTime"
].
replace
(
"/"
,
"-"
)
+
" 00:00:00"
invoice_time_end
=
datetime
.
datetime
.
now
().
strftime
(
"%Y-%m-%d 23:59:59"
)
company_ode
=
result
[
"data"
][
"list"
][
invoice_random
][
"companyCode"
]
demand_parent_code
=
result
[
"data"
][
"list"
][
invoice_random
][
"demandParentCode"
]
company_ode
=
(
result
[
"data"
][
"list"
][
invoice_random
][
"companyCode"
]
if
result
[
"data"
][
"list"
][
invoice_random
][
"companyCode"
]
else
""
)
demand_parent_code
=
(
result
[
"data"
][
"list"
][
invoice_random
][
"demandParentCode"
]
if
result
[
"data"
][
"list"
][
invoice_random
][
"demandParentCode"
]
else
""
)
# 第三步进行查询条件验证
url
=
commonFuc
().
get_api_url
()
+
commonFuc
().
get_business_data
(
module
,
"url36"
)
...
...
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