Commit ef2557a2 authored by xiao-hesheng's avatar xiao-hesheng
Browse files

流程十二脚本编写

No related merge requests found
Showing with 3 additions and 3 deletions
+3 -3
......@@ -190,7 +190,8 @@ def second_dept_consume_Out_Stock(hosGoodsId, type): # 二级库消耗出库
# # # # 发送请求
result = commonFuc().http_post(url, request_body, headers)
print('result', result)
elif type==1:
print('低值耗材消耗出库')
def sCan_grant(type=1): # 获取条码and扫码发放高值不能发放
module = "b5_spd3_core_business_flow"
......@@ -219,8 +220,7 @@ try:
# sCan_grant(1)#低值扫码发放
# sCan_grant(3)#试剂扫码发放
# # # # 高值
second_dept_consume_Out_Stock(FileUtils().r_info8("b5_spd3_core_business_flow", "产品审核信息", 'message1')['hosGoodsId'],
2)
second_dept_consume_Out_Stock(2)
# # # # 低值
# second_dept_consume_Out_Stock(FileUtils().r_info8("b5_spd3_core_business_flow", "产品审核信息", 'message2')['hosGoodsId'], 1)
# # # # 试剂
......
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