Commit 1da1d559 authored by xiao-hesheng's avatar xiao-hesheng
Browse files

新增采购计划模块脚本

parent b9dd3ff3
......@@ -43,8 +43,17 @@ def goodsKind_insert():
# # # 发送请求
result = commonFuc().http_post(url,request_body,headers)
print('result', result)
# # #断言
# checkDict=commonFuc().get_business_data(module,'checkDict8')
# commonFuc().check_result(checkDict,result)
# #断言
checkDict=commonFuc().get_business_data(module,'checkDict8')
commonFuc().check_result(checkDict,result)
code = commonFuc().analysis_json('code', result)
data = commonFuc().analysis_json('data', result)
if code == 14030004 and data == None:
# checkDict=commonFuc().get_business_data(module,'checkDict7')
# commonFuc().check_result(checkDict,result)
commonFuc().check_text_exist(0, result)
else:
commonFuc().check_text_exist('error', result)
goodsKind_insert()
......@@ -72,9 +72,9 @@
</tr>
<tr width="600">
<td class="details-col-elapsed"><a href='../log/c1_新增科室_科室已存在/log.html' target='_blank'>c1_新增科室_科室已存在</a></td>
<td class="details-col-elapsed"><a href='../log/d0_产品管理_产品维护_新增耗材分类_分类已存在/log.html' target='_blank'>d0_产品管理_产品维护_新增耗材分类_分类已存在</a></td>
<td class="success">成功</td>
<td class="details-col-elapsed">1.905</td>
<td class="details-col-elapsed">1.949</td>
<td class="details-col-elapsed">xiaohesheng</td>
</tr>
......
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