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

流程五脚本提交

parent c2614bc5
......@@ -1030,11 +1030,13 @@ try:
# 中心库type=1 二级type=2三级type=3
set_dept_user(FileUtils().r_info8("b2_herp3_bs", "所有科室id", 'message6')['deptid2'],FileUtils().r_info8("b2_herp3_bs", "所有科室name", 'message6')['deptid2'],2)
set_dept_user(FileUtils().r_info8("b2_herp3_bs", "所有科室id", 'message6')['deptid3'],FileUtils().r_info8("b2_herp3_bs", "所有科室name", 'message6')['deptid3'],3)
updateUserLoginDefaultRange(get_listUserMgrRangePage(1)) #设置登录账号默认权限是中心库
# updateUserLoginDefaultRange(get_listUserMgrRangePage(1)) #设置登录账号默认权限是中心库
center_warehouse_return()#中心库退货
# center_warehouse_return()#中心库退货
OBh_ID=settle() # 生成结算单
# print(OBh_ID)
print(OBh_ID)
time.sleep(6)
check_mcms_out_balance(1, OBh_ID) # 结算审批前的结算数据
# 调用审批结算单
approval_center(OBh_ID)
invoice(2,OBh_ID)#type=2 传递结算单号,外网查询开票
......
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