Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
test
autotest-airtest-web-spd
Commits
e8395c0a
Commit
e8395c0a
authored
Sep 23, 2024
by
xiao-hesheng
Browse files
流程五脚本提交
parent
c2614bc5
Changes
1
Hide whitespace changes
Inline
Side-by-side
air_case/b6_spd3_core_business_flow_database_check/a_a9流程六_中心库入库结算_负结算_数据库验证.air/a_a9流程六_中心库入库结算_负结算_数据库验证.py
View file @
e8395c0a
...
...
@@ -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 传递结算单号,外网查询开票
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment