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
efd598a0
Commit
efd598a0
authored
Jul 08, 2024
by
xiao-hesheng
Browse files
脚本优化
parent
38f59e03
Changes
2
Hide whitespace changes
Inline
Side-by-side
air_case/b6_spd3_core_business_flow_database_check/a_b3流程十请领业务流_二级库向边仓_数据库验证.air/a_b3流程十请领业务流_二级库向边仓_数据库验证.py
View file @
efd598a0
...
@@ -27,7 +27,8 @@ def check_mcms_dept_buy(type=1):
...
@@ -27,7 +27,8 @@ def check_mcms_dept_buy(type=1):
hos_goods_id
=
FileUtils
().
r_info8
(
'b5_spd3_core_business_flow'
,
'产品审核信息'
,
'message2'
)[
"hosGoodsId"
]
hos_goods_id
=
FileUtils
().
r_info8
(
'b5_spd3_core_business_flow'
,
'产品审核信息'
,
'message2'
)[
"hosGoodsId"
]
elif
type
==
2
:
elif
type
==
2
:
hos_goods_id
=
FileUtils
().
r_info8
(
'b5_spd3_core_business_flow'
,
'产品审核信息'
,
'message1'
)[
"hosGoodsId"
]
hos_goods_id
=
FileUtils
().
r_info8
(
'b5_spd3_core_business_flow'
,
'产品审核信息'
,
'message1'
)[
"hosGoodsId"
]
elif
type
==
3
:
hos_goods_id
=
FileUtils
().
r_info8
(
'b5_spd3_core_business_flow'
,
'产品审核信息'
,
'message3'
)[
"hosGoodsId"
]
branch_id
=
get_branch_id
()
branch_id
=
get_branch_id
()
# 获取每次都会变化的字段create_time的值
# 获取每次都会变化的字段create_time的值
create_time
=
get_create_time
(
create_time
=
get_create_time
(
...
...
data/b5_spd3_core_business_flow/message21
View file @
efd598a0
二级库请领产品信息
:
二级库请领产品信息
:
list_a
:
list_a
:
-
&id001
-
&id001
-
hosGoodsId
:
h034700004
499
-
hosGoodsId
:
h034700004
501
purMode
:
2
0
purMode
:
6
0
grantRule
:
grantRule
:
id
:
id
:
goodsName
:
高值牙钻机PFKHm
goodsName
:
新型冠状病毒检测试剂hO3Tu
goodsSpec
:
G-31891
goodsSpec
:
G-31891
mdmGoodsCode
:
'1166145
2
'
mdmGoodsCode
:
'1166145
4
'
goodsCode
:
'00004
499
'
goodsCode
:
'00004
501
'
unit
:
支
unit
:
支
goodsMfrsName
:
德国歌德公司 Geuder AG
goodsMfrsName
:
德国歌德公司 Geuder AG
miDjmc
:
''
miDjmc
:
''
miCode
:
''
miCode
:
''
pkgDefName
:
pkgDefName
:
'100'
pkgDefQty
:
1.0
pkgDefQty
:
1
00
.0
pkgQty
:
pkgQty
:
qty
:
5.0
qty
:
5
00
.0
goodsImg
:
[]
goodsImg
:
[]
pkgDefId
:
pkgDefId
:
2d4d3bd0ebe745efa73bb7123cf21f6a
buyPkgQty
:
buyPkgQty
:
unitName
:
1
支
unitName
:
1
00支/100
price
:
99.9999
price
:
99.9999
hosId
:
hosId
:
branchId
:
branchId
:
...
@@ -37,12 +37,12 @@
...
@@ -37,12 +37,12 @@
grantWay
:
2
grantWay
:
2
deptGoodsStatus
:
deptGoodsStatus
:
codingType
:
0
codingType
:
0
purModeText
:
高值耗材
purModeText
:
检验试剂
goodsGeneralName
:
牙钻机
goodsGeneralName
:
检测试剂
provName
:
国药集团公司^n1@F
provName
:
国药集团公司^n1@F
noRecPkgQty
:
15.0
noRecPkgQty
:
15.0
noRecQty
:
15.0
noRecQty
:
15
00
.0
autoUnpack
:
autoUnpack
:
0
consumeQty
:
consumeQty
:
consumePkgQty
:
consumePkgQty
:
list_b
:
list_b
:
...
...
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