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

优化脚本

parent 8c790563
...@@ -246,7 +246,12 @@ def order_dp(type=1): ...@@ -246,7 +246,12 @@ def order_dp(type=1):
info = (id1, id1) info = (id1, id1)
titlename = ('distrBillId1', 'distrBillId2') titlename = ('distrBillId1', 'distrBillId2')
# 将配送订单信息息写入到文件中 # 将配送订单信息息写入到文件中
FileUtils().w_info8(info, 'b5_spd3_core_business_flow', '低值配送单号', titlename, 'message10') if type==1:
FileUtils().w_info8(info, 'b5_spd3_core_business_flow', '低值配送单号', titlename, 'message10')
elif type==2:
FileUtils().w_info8(info, 'b5_spd3_core_business_flow', '高值配送单号', titlename, 'message10')
elif type==3:
FileUtils().w_info8(info, 'b5_spd3_core_business_flow', '试剂配送单号', titlename, 'message10')
if code == 0: if code == 0:
commonFuc().check_text_exist(code, result) commonFuc().check_text_exist(code, result)
else: else:
......
"check_wait_page_url": "/api/herpService/stock/check/wait/page" "check_wait_page_url": "/api/herpService/stock/check/wait/page"
"check_wait_detail_url": "/api/herpService/stock/check/wait/detail"
"check_barcode_save_url": "/api/herpService/stock/check/barcode/batch/save"
"check_submit_url": "/api/herpService/stock/check/submit"
"stock_detail_url": "/api/herpService/stock/in/detail"
"stock_detail_submit_url": "/api/herpService/stock/in/submit"
"stock_in_page_url": "/api/herpService/stock/in/page"
"username": "xhs1009"
"password": "1qaz!QAZ"
"password1": "a123456!"
"X-APP-CODE": "herp.pc"
json_contentType: "application/json"
json_headers: {
"Content-Type": "%s"
}
json_headers2: {
"Content-Type": "%s",
"token": "%s",
"X-APP-CODE":"%s"
}
"payload": {"pageNum": 1,"pageSize":50,"queryObject":{"hosId":"%s","branchId":"%s","sourceOrderNo":"%s","sourceOrgName":"","sourceType":"","taskType":0}}
"payload1": {"sourceId":"%s","sourceType":"%s","billMode":"%s","branchId":"%s"}
"payload2": {"sourceBillId":"%s","viewIdList":["%s"],"scanStatus":1}
"payload3": {"billMode":"%s","branchId":"%s","checkAll":1,"deptId":"%s","deptName":"%s","hosId":"%s","provId":"%s","provName":"%s","recOrgId":"%s","recOrgName":"%s","resendStatus":null,"rejectReason":null,"sourceId":"%s","sourceVersion":"%s","sourceType":"%s","tbStatus":"%s","createUser":"%s","sourceNo":"%s","sterilizeList":[],"remark":"","rejectFlag":0,"detailList":[{"id":"%s","viewId":"%s","settlement":"%s","checkQty":100,"recTemperature":"%s","recHumidity":"%s"}]}
"payload4": {"targetDeptId":"%s","targetAreaCode":"%s","hosId":"%s","sourceId":"%s","sourceType":"%s","pkgTaskId":null}
"payload5": {"batchList":[{"viewId":"%s","shelfCode":"%s"}],"sourceId":"%s","sourceType":"%s","sourceVersion":"%s","targetDeptId":"%s","targetDeptName":"%s","targetAreaCode":"%s","targetAreaName":"%s","pkgTaskId":null}
"payload6": {"pageNum":1,"pageSize":50,"orderBy":"","queryObject":{"branchId":"%s","taskType":0,"stockKind":"","sourceOrgName":"","hosId":"%s"}}
\ No newline at end of file
...@@ -54,10 +54,10 @@ ...@@ -54,10 +54,10 @@
</tr> </tr>
<tr width="600"> <tr width="600">
<td class='details-col-elapsed'>2</td>
<td class='details-col-elapsed'>1</td> <td class='details-col-elapsed'>1</td>
<td class='details-col-elapsed'>1</td> <td class='details-col-elapsed'>0分8秒</td>
<td class='details-col-elapsed'>1分54秒</td> <td class="details-col-elapsed">50.0%</td>
<td class="details-col-elapsed">100.0%</td>
</tr> </tr>
</table> </table>
...@@ -72,9 +72,16 @@ ...@@ -72,9 +72,16 @@
</tr> </tr>
<tr width="600"> <tr width="600">
<td class="details-col-elapsed"><a href='../log/a_a6流程五_中心库入库结算_正结算2_外网配送/log.html' target='_blank'>a_a6流程五_中心库入库结算_正结算2_外网配送</a></td> <td class="details-col-elapsed"><a href='../log/r_b9库房管理_库区设置_库房查询_查询全部/log.html' target='_blank'>r_b9库房管理_库区设置_库房查询_查询全部</a></td>
<td class="success">成功</td> <td class="success">成功</td>
<td class="details-col-elapsed">114.76</td> <td class="details-col-elapsed">2.129</td>
<td class="details-col-elapsed">xiaohesheng</td>
</tr>
<tr width="600">
<td class="details-col-elapsed"><a href='../log/r_c3库房管理_库区设置_新增库区/log.html' target='_blank'>r_c3库房管理_库区设置_新增库区</a></td>
<td class="fail">失败</td>
<td class="details-col-elapsed">5.917</td>
<td class="details-col-elapsed">xiaohesheng</td> <td class="details-col-elapsed">xiaohesheng</td>
</tr> </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