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
f4a646b8
Commit
f4a646b8
authored
Jul 08, 2024
by
xiao-hesheng
Browse files
脚本优化
parent
34f308d2
Changes
7
Hide whitespace changes
Inline
Side-by-side
air_case/b5_spd3_core_business_flow/a_b3流程十请领业务流_二级库向边仓.air/a_b3流程十请领业务流_二级库向边仓.py
View file @
f4a646b8
...
...
@@ -301,7 +301,7 @@ def check_buyWayText():
buyWayText
=
commonFuc
().
analysis_json
(
'buyWayText'
,
i
)
if
buyWayText
==
'边仓'
:
j
=
j
+
1
if
j
=
=
3
:
if
j
>
=
3
:
commonFuc
().
check_text_exist_result_text
(
'succees'
,
'succees'
)
else
:
commonFuc
().
check_text_exist_result_text
(
'error'
,
'succees'
)
...
...
@@ -310,7 +310,6 @@ def check_buyWayText():
def
main
():
try
:
set_dept_lead
()
# 设置二级科室负责人
# 科室必须同步到外网,集中管控平台创建边仓才能选择到用户,"deptType":"0"
add_logic_stock
()
...
...
@@ -326,7 +325,7 @@ def main():
# # 试剂
second_dept_Request
(
FileUtils
().
r_info8
(
"b5_spd3_core_business_flow"
,
"产品审核信息"
,
'message3'
)[
'hosGoodsId'
],
3
)
BuyCarSubmit
()
# 请领车提交
for
i
in
range
(
6
):
# 三个单据共审批6次
for
i
in
range
(
3
):
# 三个单据共审批6次
approval_center
()
check_buyWayText
()
#验证出库渠道是否为边仓
commonFuc
().
check_text_exist_result_text
(
'succees'
,
'succees'
)
...
...
air_case/b5_spd3_core_business_flow/a_b4流程十一请领业务流_二级库向直送.air/a_b4流程十一请领业务流_二级库向直送.py
View file @
f4a646b8
...
...
@@ -827,7 +827,7 @@ def main():
# # 试剂
second_dept_Request
(
FileUtils
().
r_info8
(
"b5_spd3_core_business_flow"
,
"产品审核信息"
,
'message3'
)[
'hosGoodsId'
],
3
)
BuyCarSubmit
()
# 请领车提交
for
i
in
range
(
6
):
# 三个单据共审批6次
for
i
in
range
(
3
):
# 三个单据共审批6次
approval_center
()
# 采购模块处理
purchase_module_process
()
...
...
data/b5_spd3_core_business_flow/message11
View file @
f4a646b8
采购计划单号高值
:
orderNo1
:
PLAN202407083169
3
orderNo2
:
PLAN202407083169
3
orderNo1
:
PLAN202407083169
7
orderNo2
:
PLAN202407083169
7
data/b5_spd3_core_business_flow/message12
View file @
f4a646b8
采购计划单号试剂
:
orderNo1
:
PLAN202407083169
4
orderNo2
:
PLAN202407083169
4
orderNo1
:
PLAN202407083169
6
orderNo2
:
PLAN202407083169
6
data/b5_spd3_core_business_flow/message21
View file @
f4a646b8
...
...
@@ -34,14 +34,14 @@
targetStockName
:
东土城路院区IjnkG中心库房
purchaseFlag
:
1
tempFlag
:
0
grantWay
:
2
grantWay
:
3
deptGoodsStatus
:
codingType
:
0
purModeText
:
检验试剂
goodsGeneralName
:
检测试剂
provName
:
国药集团公司^n1@F
noRecPkgQty
:
5
.0
noRecQty
:
5
00.0
noRecPkgQty
:
11
.0
noRecQty
:
11
00.0
autoUnpack
:
0
consumeQty
:
consumePkgQty
:
...
...
data/b5_spd3_core_business_flow/message7
View file @
f4a646b8
采购计划单号
:
orderNo1
:
PLAN202407083169
2
orderNo2
:
PLAN202407083169
2
orderNo1
:
PLAN202407083169
5
orderNo2
:
PLAN202407083169
5
main1/main_text.py
View file @
f4a646b8
...
...
@@ -80,8 +80,10 @@ def main_text():
flow9
()
# sys.exit(0)
def
flow7
():
tkinter
.
messagebox
.
showinfo
(
'流程七开始执行'
)
from
execute
import
flow10
flow10
()
tkinter
.
messagebox
.
showinfo
(
'流程七执行完毕'
)
# sys.exit(0)
def
flow8
():
from
execute
import
flow11
...
...
@@ -96,7 +98,7 @@ def main_text():
def
flow10
():
from
execute
import
flow13
flow13
()
print
(
'流程十
三
执行完毕'
,
'流程十
三
执行完毕'
)
print
(
'流程十执行完毕'
,
'流程十执行完毕'
)
# sys.exit(0)
def
flow11
():
from
execute
import
flow14
...
...
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