Commit d3fa4cae authored by xiao-hesheng's avatar xiao-hesheng
Browse files

流程五脚本提交

parent 79a09917
......@@ -327,7 +327,11 @@ def out_return_gt():
request_body = commonFuc().get_business_data(module, "payload38", DR_Id, deptid1)
print('跟台退货出库确认——中心库', 'request_body', request_body)
result = commonFuc().http_post(url, request_body, headers)
print('跟台退货出库确认——中心库==,result', result)
code=commonFuc().analysis_json('code',result)
if code==1400001:
commonFuc().check_text_exist_result_text('error', 'succees')
else:
print('跟台退货出库确认——中心库==,result', result)
def dept2_set():
......@@ -368,5 +372,5 @@ def main():
commonFuc().check_text_exist_result_text('succees', 'succees')
print('================流程八结束===========================')
except:
commonFuc().check_text_exist_result_text('error', '1')
commonFuc().check_text_exist_result_text('error', 'succees')
# main()
\ No newline at end of file
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