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

新增采购计划模块脚本

parent bf22371e
......@@ -38,7 +38,7 @@ def test1():
commonFuc().get_business_data(module, "X-APP-CODE"))
print('headers', headers)
# # 请求体
request_body = commonFuc().get_business_data(module, "payload_2")
request_body = commonFuc().get_business_data(module, "payload_2_2")
print('request_body', request_body)
new_request_body = request_body.replace("'", '"')
new_request_body = new_request_body.replace("None", 'null')
......
......@@ -38,5 +38,7 @@ json_headers2: {
"payload_8_1": {"queryObject":{"hosId":"h0347","branchId":"h0347-2011","goodsMfrsName":"","goodsName":"%s","purModes":["10"],"provName":"","tbStatus":1,"purchaseFlag":1},"pageNum":1,"pageSize":50}
"payload_9_1": {"queryObject":{"hosId":"h0347","branchId":"h0347-2011","goodsMfrsName":"","goodsName":"","purModes":["10"],"provName":"%s","tbStatus":1,"purchaseFlag":1},"pageNum":1,"pageSize":50}
"payload_9_2": {"queryObject":{"hosId":"h0347","branchId":"h0347-2011","goodsMfrsName":"","goodsName":"","purModes":[],"provName":"%s","tbStatus":1,"purchaseFlag":1},"pageNum":1,"pageSize":50}
"payload_2_2": '{"purPlanDetail":[{"hosGoodsId":"h034700001761","pkgDefId":"0b4451f1086f4c25b5eac5bf22f45c0b","pkgDefName":"支","pkgDefQty":333,"planPkgQty":33},{"hosGoodsId":"h034700001771","pkgDefId":null,"pkgDefName":"包","pkgDefQty":1,"planPkgQty":33},{"hosGoodsId":"h034700001859","pkgDefId":"26d93e6fecd24b6fa4bde8aeacfbf153","pkgDefName":"盒","pkgDefQty":1,"planPkgQty":33}],"hosId":"h0347","branchId":"h0347-2011","mgrCorpName":"邹城市人民医院(test)","deptName":"","deptId":"d69a68df361a4289b2262e4ef75b55a5","recOrgId":"d69a68df361a4289b2262e4ef75b55a5","recOrgName":"","areaCode":"areah03470414","areaName":"A库区","recUser":"UID-050151","recPhone":"xhs1009","recAddr":"A","remark":"","sourceType":"","createType":"SG","checkLcTaskQty":false}'
checkDict2: {"code": 0,'msg': None,'data':1}
......@@ -54,9 +54,9 @@
</tr>
<tr width="600">
<td class='details-col-elapsed'>1</td>
<td class='details-col-elapsed'>1</td>
<td class='details-col-elapsed'>0分3</td>
<td class='details-col-elapsed'>9</td>
<td class='details-col-elapsed'>9</td>
<td class='details-col-elapsed'>0分12</td>
<td class="details-col-elapsed">100.0%</td>
</tr>
</table>
......@@ -72,9 +72,65 @@
</tr>
<tr width="600">
<td class="details-col-elapsed"><a href='../log/a_a7_手工采购计划_添加产品页面_列表查询_条件查询_模糊查询/log.html' target='_blank'>a_a7_手工采购计划_添加产品页面_列表查询_条件查询_模糊查询</a></td>
<td class="details-col-elapsed"><a href='../log/a_a1_手工采购计划_添加产品页面_列表查询_查询全部/log.html' target='_blank'>a_a1_手工采购计划_添加产品页面_列表查询_查询全部</a></td>
<td class="success">成功</td>
<td class="details-col-elapsed">3.224</td>
<td class="details-col-elapsed">0.838</td>
<td class="details-col-elapsed">xiaohesheng</td>
</tr>
<tr width="600">
<td class="details-col-elapsed"><a href='../log/a_a2_手工采购计划_添加产品页面_列表查询_条件查询_精确查询/log.html' target='_blank'>a_a2_手工采购计划_添加产品页面_列表查询_条件查询_精确查询</a></td>
<td class="success">成功</td>
<td class="details-col-elapsed">2.7</td>
<td class="details-col-elapsed">xiaohesheng</td>
</tr>
<tr width="600">
<td class="details-col-elapsed"><a href='../log/a_a3_手工采购计划_添加产品页面_列表查询_条件查询_模糊查询/log.html' target='_blank'>a_a3_手工采购计划_添加产品页面_列表查询_条件查询_模糊查询</a></td>
<td class="success">成功</td>
<td class="details-col-elapsed">4.443</td>
<td class="details-col-elapsed">xiaohesheng</td>
</tr>
<tr width="600">
<td class="details-col-elapsed"><a href='../log/a_a4_手工采购计划_添加产品页面_列表查询_条件查询_异常查询/log.html' target='_blank'>a_a4_手工采购计划_添加产品页面_列表查询_条件查询_异常查询</a></td>
<td class="success">成功</td>
<td class="details-col-elapsed">1.09</td>
<td class="details-col-elapsed">xiaohesheng</td>
</tr>
<tr width="600">
<td class="details-col-elapsed"><a href='../log/a_a5_手工采购计划_低值产品_暂存/log.html' target='_blank'>a_a5_手工采购计划_低值产品_暂存</a></td>
<td class="success">成功</td>
<td class="details-col-elapsed">0.643</td>
<td class="details-col-elapsed">xiaohesheng</td>
</tr>
<tr width="600">
<td class="details-col-elapsed"><a href='../log/a_a6_手工采购计划_高值产品_暂存/log.html' target='_blank'>a_a6_手工采购计划_高值产品_暂存</a></td>
<td class="success">成功</td>
<td class="details-col-elapsed">0.358</td>
<td class="details-col-elapsed">xiaohesheng</td>
</tr>
<tr width="600">
<td class="details-col-elapsed"><a href='../log/a_a7_手工采购计划_试剂产品_暂存/log.html' target='_blank'>a_a7_手工采购计划_试剂产品_暂存</a></td>
<td class="success">成功</td>
<td class="details-col-elapsed">0.451</td>
<td class="details-col-elapsed">xiaohesheng</td>
</tr>
<tr width="600">
<td class="details-col-elapsed"><a href='../log/a_a8_手工采购计划_混合明细产品_暂存/log.html' target='_blank'>a_a8_手工采购计划_混合明细产品_暂存</a></td>
<td class="success">成功</td>
<td class="details-col-elapsed">0.609</td>
<td class="details-col-elapsed">xiaohesheng</td>
</tr>
<tr width="600">
<td class="details-col-elapsed"><a href='../log/a_a9_采购计划_列表查询_查询全部/log.html' target='_blank'>a_a9_采购计划_列表查询_查询全部</a></td>
<td class="success">成功</td>
<td class="details-col-elapsed">0.697</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