Commit 9ed9bcad authored by 肖 和生's avatar 肖 和生
Browse files

Merge remote-tracking branch 'remotes/origin/master' into core_flow

parents 7c79822f 2ddb3326
......@@ -262,7 +262,7 @@ def second_dept_in_warehouse():
# 跟台使用确认——跟台退货== == == == == == == == == == == == == == == ==
url = commonFuc().get_api_add_port_url() + commonFuc().get_business_data(module,
"dept_herpService_operationConfirm_submit_url")
print('台使用确认——跟台退货,url', url)
print('台使用确认——跟台退货,url', url)
info = FileUtils().r_info8('b5_spd3_core_business_flow', "二级库条码信息", 'message20')
list_a = info['list_a']
extInfo = commonFuc().analysis_json('extInfo', list_a)
......@@ -278,9 +278,17 @@ def second_dept_in_warehouse():
request_body = commonFuc().get_business_data(module, "payload36", areaCode, areaName, viewId2, distrOrderNo, provId,
provName, pkgCodeSee, hosGoodsId, hosGoodsCode, goodsName, goodsSpec,
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)
print('台使用确认——跟台退货,result', result)
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)
# 跟台使用确认——跟台退货== == == == == == == == == == == == == == == ==
......
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