Commit 2ddb3326 authored by xiao-hesheng's avatar xiao-hesheng
Browse files

流程五脚本提交

parent 2bdb9719
...@@ -280,6 +280,14 @@ def second_dept_in_warehouse(): ...@@ -280,6 +280,14 @@ def second_dept_in_warehouse():
unit, batchCode, productDate, expdtDate, qty, stockId, shelfCode) unit, batchCode, productDate, expdtDate, qty, stockId, shelfCode)
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)
code=commonFuc().analysis_json('code',result)
if code==0:
commonFuc().check_text_exist_result_text('succees', 'succees')
elif code==1003:
commonFuc().check_text_exist_result_text('error', 'succees')
else:
commonFuc().check_text_exist_result_text('error', 'succees')
print('跟台使用确认——跟台退货,result', result) print('跟台使用确认——跟台退货,result', result)
# 跟台使用确认——跟台退货== == == == == == == == == == == == == == == == # 跟台使用确认——跟台退货== == == == == == == == == == == == == == == ==
......
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