Commit 75f2aa98 authored by xiao-hesheng's avatar xiao-hesheng
Browse files

脚本优化

parent 170555cd
......@@ -2457,6 +2457,11 @@ def pickScan2(PICK_ID, udi_code, type=1): # 二级库出库拣货扫码
print('获取条码信息url', url)
request_body = commonFuc().get_business_data(module, "payload59", udi_code)
result = commonFuc().http_post(url, request_body, headers)
import pdb
pdb.set_trace()
code=commonFuc().analysis_json('code',result)
if code=='14030053':
commonFuc().check_text_exist_result_text('error', 'SUCCESS')
print('获取条码信息result', result)
# 获取必要信息
data1 = commonFuc().analysis_json('data', 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