Commit 30e8931f authored by xiao-hesheng's avatar xiao-hesheng
Browse files

流程五脚本编写

parent a5639547
......@@ -46,7 +46,7 @@ def invoice(OBh_ID='OBhxxxxxxxxxxxxxxx'):
request_body = commonFuc().get_business_data(module, "payload2_1_2", get_hosid(), get_branch_id(),OBh_ID)
# print('request_body',request_body)
print('发票录入查询request_body',request_body)
# 发送请求
i = 1
while True:
......@@ -360,7 +360,7 @@ try:
OBD_ID=settle()
# 调用审批结算单
approval_center(OBD_ID)
invoice()
invoice(OBD_ID)
except Exception as e:
print('脚本出现异常,请检查脚本或者数据')
print("发生异常:", str(e))
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment