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
742138aa
Commit
742138aa
authored
Jul 05, 2024
by
xiao-hesheng
Browse files
脚本优化
parent
24fc14ce
Changes
3
Hide whitespace changes
Inline
Side-by-side
air_case/b5_spd3_core_business_flow/a_c1流程十八中心库业务_拆包功能.air/a_c1流程十八中心库业务_拆包功能.py
View file @
742138aa
...
...
@@ -198,7 +198,9 @@ def center_Stock_unpack(type): # 扫码发放(高值不能扫码发放)
# # # # 发送请求
result
=
commonFuc
().
http_post
(
url
,
request_body
,
headers
)
print
(
'result'
,
result
)
code
=
commonFuc
().
analysis_json
(
'code'
,
result
)
if
code
==
1010
:
commonFuc
().
check_text_exist_result_text
(
'error'
,
'succees'
)
elif
type
==
3
:
print
(
'试剂产品扫码发放'
)
module
=
"b5_spd3_core_business_flow"
...
...
@@ -362,6 +364,9 @@ def center_Stock_unpack(type): # 扫码发放(高值不能扫码发放)
# # # # 发送请求
result
=
commonFuc
().
http_post
(
url
,
request_body
,
headers
)
print
(
'result'
,
result
)
code
=
commonFuc
().
analysis_json
(
'code'
,
result
)
if
code
==
1010
:
commonFuc
().
check_text_exist_result_text
(
'error'
,
'succees'
)
def
main
():
try
:
...
...
data/b5_spd3_core_business_flow/data
View file @
742138aa
...
...
@@ -643,7 +643,8 @@ json_headers2: {
"remark": null,
"hosBatchId": null,
"settleFlag": null,
"inStockTime": null
"inStockTime": null,
"verifyFlag":null
}
],
"pickType": "CB",
...
...
data/b5_spd3_core_business_flow/message18
View file @
742138aa
条码信息
:
list_a
:
-
&id001
-
id
:
UT240705000316
lastModified
:
version
:
createTime
:
'2024-07-05 10:19:12'
createUser
:
lastModifiedUser
:
snCode
:
UT240705000316
hosId
:
h0347
branchId
:
stockId
:
9b3e40528eff4ed1bf4ee12b587e00d0
areaCode
:
areah03472634
areaName
:
自动化测试
shelfCode
:
areah03472634-2-01-01
codeType
:
66
tagType
:
0
hosGoodsId
:
h034700004463
mdmGoodsCode
:
'11661416'
goodsCode
:
'00004463'
goodsDi
:
'01123456789012'
barName
:
100支/100
batchCode
:
'4444'
expdtDate
:
'2025-01-11'
productDate
:
'2024-07-05'
mfrCode
:
mfrCodeSee
:
pkgCode
:
"0101123456789012104444\x1D112407051725011121UT240705000316"
pkgCodeSee
:
0101123456789012104444112407051725011121UT240705000316
ssccCode
:
'010839000187066625'
extInfo
:
outId
:
tbStatus
:
20
goodsCodeDi
:
barcodeId
:
ext
:
pkgDefId
:
fdfa9805e01946bba3c5b8bd487a6dc7
pkgDefQty
:
100
purBillId
:
CG2024070520622
pkgDefName
:
'100'
distrBillId
:
PSh0347202407050028
inStockTime
:
'2024-07-05 10:20:42'
distrDetailId
:
'03839282'
certificateCode
:
''
sourceDetailId
:
purMode
:
60
purModes
:
price
:
pid
:
goodsMfrsName
:
德国歌德公司 Geuder AG
mfrsName
:
goodsSpec
:
G-31891
unit
:
支
goodsName
:
新型冠状病毒检测试剂a7oLM
pkgDefId
:
fdfa9805e01946bba3c5b8bd487a6dc7
pkgDefQty
:
100
defaultPkgDefQty
:
defaultQty
:
defaultSurplusQty
:
defaultPkgDefId
:
purDetailId
:
pkgDefName
:
'100'
printNum
:
0
deptId
:
deptName
:
billId
:
taskId
:
made
:
德国
provId
:
p1e31d
provName
:
国药集团公司GxzLS
subProvId
:
p1e31d
subProvName
:
国药集团公司GxzLS
provHosGoodsId
:
sourceType
:
taskDate
:
sourceOrderNo
:
taskType
:
detailId
:
branchGoodsPkgDefList
:
unitName
:
areaCodeList
:
diType
:
mdmGoodsSpecCode
:
hosGoodsCode
:
'00004463'
supplyId
:
inSettlement
:
spdGoodsCode
:
codeKind
:
brand
:
miCode
:
transferRatio
:
1.0
miDjmc
:
tbStatusList
:
purModeText
:
stockName
:
tbStatusText
:
pkgType
:
bottleId
:
pkgStatus
:
qty
:
packUnit
:
minSaleQty
:
rfidFlag
:
mfrCodeFlag
:
scanStatus
:
scanId
:
multiChargeFlag
:
useFrequency
:
chargeUnit
:
lockStatus
:
remark
:
hosBatchId
:
settleFlag
:
inStockTime
:
verifyFlag
:
subSendFlag
:
10
id
:
UT240705000318
snCode
:
UT240705000318
ssccCode
:
'010839000187066823'
pkgCodeSee
:
0101123456789012104444112407051725011121UT240705000318
hosGoodsId
:
h034700004463
hosGoodsCode
:
'00004463'
goodsCode
:
'00004463'
goodsName
:
新型冠状病毒检测试剂a7oLM
goodsSpec
:
G-31891
goodsMfrsName
:
德国歌德公司 Geuder AG
unit
:
支
purMode
:
60
batchCode
:
'4444'
productDate
:
'2024-07-05'
expdtDate
:
'2025-01-11'
pkgDefName
:
'100'
pkgDefQty
:
100.0
stockId
:
9b3e40528eff4ed1bf4ee12b587e00d0
stockName
:
东土城路院区)Gl$!中心库房
areaName
:
自动化测试
areaCode
:
areah03472634
lockStatus
:
0
unitName
:
100支/100
shelfCode
:
areah03472634-2-01-01
shelfNo
:
自动化测试-2-01-01
pkgDefId
:
fdfa9805e01946bba3c5b8bd487a6dc7
extInfo
:
'{"pkgDefId": "fdfa9805e01946bba3c5b8bd487a6dc7", "pkgDefQty": 100, "purBillId":
"CG2024070520622"
,
"pkgDefName"
:
"100", "distrBillId": "PSh0347202407050028",
"inStockTime"
:
"2024-07-05 10:20:42", "distrDetailId": "03839282", "certificateCode":
""}'
bottleId
:
pkgType
:
'66'
miDjmc
:
''
miCode
:
''
transferRatio
:
1.0
qty
:
1
shelfKind
:
0
shelfKindName
:
普通货位
provName
:
国药集团公司GxzLS
provId
:
p1e31d
inStockDate
:
mfrCode
:
made
:
德国
price
:
barName
:
100支/100
purModeText
:
检验试剂
codeType
:
66
list_b
:
-
*id001
list_c
:
...
...
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