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
039bc3ac
Commit
039bc3ac
authored
May 31, 2024
by
xiao-hesheng
Browse files
流程十一脚本编写
parent
2fcc6dc5
Changes
4
Hide whitespace changes
Inline
Side-by-side
air_case/b5_spd3_core_business_flow/a_b2流程九请领业务流_二级库向中心库.air/a_b2流程九请领业务流_二级库向中心库.py
View file @
039bc3ac
...
...
@@ -91,12 +91,6 @@ def second_dept_Request(hosGoodsId, type):
deptId
,
areaCode
,
areaName
,
targetDeptId
,
targetDeptName
,
targetStockId
,
targetStockName
,
purModeText
,
goodsGeneralName
,
provName
)
# request_body = commonFuc().get_business_data(module, "payload40_1", hosGoodsId, purMode,goodsName, goodsSpec,
# mdmGoodsCode,
# goodsCode, unit, goodsMfrsName, pkgDefId, unitName, price,
# deptId,
# areaCode, areaName, targetDeptId, targetDeptName, targetStockId,
# targetStockName, purModeText, goodsGeneralName, provName)
elif
type
==
2
:
request_body
=
commonFuc
().
get_business_data
(
module
,
"payload41"
,
hosGoodsId
,
goodsName
,
goodsSpec
,
mdmGoodsCode
,
...
...
data/b5_spd3_core_business_flow/data
View file @
039bc3ac
...
...
@@ -127,8 +127,6 @@ json_headers2: {
"payload38": {"billId":"%s","remark":null,"targetDeptId":"%s","version":0}
"payload39": {"pageNum":1,"pageSize":50,"queryObject":{"goodsName":"%s","goodsSpec":"","purModes":[],"hosId":"%s","deptId":"%s","areaCode":"%s","provName":""}}
"payload40": {"id":null,"hosGoodsId":"%s","goodsName":"%s","goodsSpec":"%s","mdmGoodsCode":"%s","goodsCode":"%s","unit":"%s","purMode":"%s","goodsMfrsName":"%s","miDjmc":"","miCode":"","pkgDefName":"100","pkgDefQty":100,"pkgQty":null,"qty":0,"goodsImg":[],"pkgDefId":"%s","buyPkgQty":1,"unitName":"%s","price":"%s","hosId":null,"branchId":null,"deptId":"%s","deptName":null,"areaCode":"%s","areaName":"%s","targetDeptId":"%s","targetDeptName":"%s","targetStockId":"%s","targetStockName":"%s","purchaseFlag":1,"tempFlag":0,"grantWay":1,"deptGoodsStatus":null,"codingType":null,"purModeText":"%s","goodsGeneralName":"%s","provName":"%s","noRecPkgQty":0,"noRecQty":0,"buyQty":100}
"payload40_1": {"hosGoodsId":"%s","purMode":"%s","grantRule":null,"id":null,"goodsName":"%s","goodsSpec":"%s","mdmGoodsCode":"%s","goodsCode":"%s","unit":"%s","goodsMfrsName":"%s","miDjmc":"","miCode":"","pkgDefName":"100","pkgDefQty":100,"pkgQty":null,"qty":0,"goodsImg":[],"pkgDefId":"%s","buyPkgQty":1,"unitName":"%s","price":"%s","hosId":null,"branchId":null,"deptId":"%s","deptName":null,"areaCode":"%s","areaName":"%s","targetDeptId":"%s","targetDeptName":"%s","targetStockId":"%s","targetStockName":"%s","purchaseFlag":1,"tempFlag":0,"grantWay":2,"deptGoodsStatus":null,"codingType":0,"purModeText":"%s","goodsGeneralName":"%s","provName":"%s","noRecPkgQty":0,"noRecQty":100,"autoUnpack":null,"consumeQty":null,"consumePkgQty":null,"buyQty":100}
"payload41": {"id":null,"hosGoodsId":"%s","goodsName":"%s","goodsSpec":"%s","mdmGoodsCode":"%s","goodsCode":"%s","unit":"%s","purMode":"%s","goodsMfrsName":"%s","miDjmc":"","miCode":"","pkgDefName":null,"pkgDefQty":1,"pkgQty":null,"qty":0,"goodsImg":[],"pkgDefId":null,"buyPkgQty":1,"unitName":"%s","price":"%s","hosId":null,"branchId":null,"deptId":"%s","deptName":null,"areaCode":"%s","areaName":"%s","targetDeptId":"%s","targetDeptName":"%s","targetStockId":"%s","targetStockName":"%s","purchaseFlag":1,"tempFlag":0,"grantWay":1,"deptGoodsStatus":null,"codingType":0,"purModeText":"%s","goodsGeneralName":"%s","provName":"%s","noRecPkgQty":0,"noRecQty":0,"buyQty":1}
"payload42": {"id":null,"hosGoodsId":"%s","goodsName":"%s","goodsSpec":"%s","mdmGoodsCode":"%s","goodsCode":"%s","unit":"%s","purMode":"%s","goodsMfrsName":"%s","miDjmc":"","miCode":"","pkgDefName":"100","pkgDefQty":100,"pkgQty":null,"qty":0,"goodsImg":[],"pkgDefId":"%s","buyPkgQty":1,"unitName":"%s","price":"%s","hosId":null,"branchId":null,"deptId":"%s","deptName":null,"areaCode":"%s","areaName":"%s","targetDeptId":"%s","targetDeptName":"%s","targetStockId":"%s","targetStockName":"%s","purchaseFlag":1,"tempFlag":0,"grantWay":1,"deptGoodsStatus":null,"codingType":null,"purModeText":"%s","goodsGeneralName":"%s","provName":"%s","noRecPkgQty":0,"noRecQty":0,"buyQty":100}
"payload43": {"areaCode":"%s","goodsName":"","goodsSpec":"","purModes":[],"hosId":"%s","deptId":"%s"}
...
...
data/b5_spd3_core_business_flow/message21
View file @
039bc3ac
...
...
@@ -34,14 +34,14 @@
targetStockName
:
东土城路院区UhFS2中心库房
purchaseFlag
:
1
tempFlag
:
0
grantWay
:
2
grantWay
:
1
deptGoodsStatus
:
codingType
:
0
purModeText
:
检验试剂
goodsGeneralName
:
检测试剂
provName
:
国药集团公司MRA4P
noRecPkgQty
:
4
.0
noRecQty
:
4
00.0
noRecPkgQty
:
6
.0
noRecQty
:
6
00.0
autoUnpack
:
consumeQty
:
consumePkgQty
:
...
...
data/b5_spd3_core_business_flow/message22
View file @
039bc3ac
...
...
@@ -2,8 +2,8 @@
list_a
:
-
&id001
-
id
:
dec3ab0d01a0477884e089411a41cb49
lastModified
:
'2024-05-31 14:
4
4:
28
'
version
:
8
lastModified
:
'2024-05-31 14:
5
4:
46
'
version
:
9
createTime
:
'2024-05-31 07:04:46'
createUser
:
h0347_UID-051304
lastModifiedUser
:
h0347_UID-051304
...
...
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