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
9129c24c
Commit
9129c24c
authored
Apr 28, 2024
by
xiao-hesheng
Browse files
流程五脚本编写
parent
17cbb13f
Changes
5
Hide whitespace changes
Inline
Side-by-side
air_case/public1/public1/public1.py
View file @
9129c24c
...
@@ -624,6 +624,12 @@ def invoice(type=1,OBh_ID='OBhxxxxxxxxxxxxxxx'):
...
@@ -624,6 +624,12 @@ def invoice(type=1,OBh_ID='OBhxxxxxxxxxxxxxxx'):
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
)
time
.
sleep
(
3
)
if
commonFuc
().
analysis_json
(
'code'
,
result
)
==
1004
:
invoiceAmount
=
-
leftSettleAmount
request_body
=
commonFuc
().
get_business_data
(
module
,
"payload3_2_2_2"
,
hosName
,
invoiceQty
,
invoiceAmount
,
invoiceDate
,
hosId
,
hosVersion
)
result
=
commonFuc
().
http_post
(
url
,
request_body
,
headers
)
print
(
'result'
,
result
)
print
(
'result'
,
result
)
#==============发票提交===========================================
#==============发票提交===========================================
#===============发票确认列表查询
#===============发票确认列表查询
...
...
data/a2_mdm3_ea/message
View file @
9129c24c
企业信息:
企业信息:
e_id: CR202404280
057
e_id: CR202404280
119
cname: 国药集团公司
u)cyX
cname: 国药集团公司
#&hau
data/a3_mdm3_hs/message
View file @
9129c24c
医院信息:
医院信息:
h_id: 湖南省人民医院
0XItm
h_id: 湖南省人民医院
mJSkG
h_name: 湖南省人民医院
0XItm
h_name: 湖南省人民医院
mJSkG
data/a5_mdm3_pdm/message2
View file @
9129c24c
产品审核信息
:
产品审核信息
:
MSPid
:
MSP24042800
1
6_1
MSPid
:
MSP24042800
2
6_1
hosId
:
h0347
hosId
:
h0347
hosGoodsId
:
h0347000032
1
2
hosGoodsId
:
h0347000032
2
2
provGoodsid
:
provGood-992203
2
1
provGoodsid
:
provGood-992203
3
1
goodsAuditBillId
:
MSP24042800
1
6
goodsAuditBillId
:
MSP24042800
2
6
targetId
:
MSP24042800
1
6_1
targetId
:
MSP24042800
2
6_1
data/b2_herp3_bs/message
View file @
9129c24c
院区新增:
院区新增:
branch_id: h0347-353
7
branch_id: h0347-353
9
branch_name: 东土城路院区
NFX^(
branch_name: 东土城路院区
PDz&a
科室信息:
科室信息:
dept2_id:
0b1dbf8c875c4362b174a6445a69a41e
dept2_id:
ea3691b307894b3a8987b4bf444fcdca
dept2_name: 二级检验科002
dept2_name: 二级检验科002
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