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
43dad629
Commit
43dad629
authored
Jun 04, 2024
by
xiao-hesheng
Browse files
流程十一脚本编写
parent
cf0aece2
Changes
37
Hide whitespace changes
Inline
Side-by-side
air_case/b5_spd3_core_business_flow/a_b4流程十一请领业务流_二级库向直送.air/a_b4流程十一请领业务流_二级库向直送.py
View file @
43dad629
...
@@ -819,28 +819,29 @@ try:
...
@@ -819,28 +819,29 @@ try:
# 从下面开始,上面的暂时注释
# 从下面开始,上面的暂时注释
goods_move2
()
# 设置产品出库渠道为直送
goods_move2
()
# 设置产品出库渠道为直送
updateUserLoginDefaultRange
(
get_listUserMgrRangePage
(
2
))
# 设置登录账号默认权限是二级库
updateUserLoginDefaultRange
(
get_listUserMgrRangePage
(
2
))
# 设置登录账号默认权限是二级库
# # 低值
for
i
in
range
(
3
):
second_dept_Request
(
FileUtils
().
r_info8
(
"b5_spd3_core_business_flow"
,
"产品审核信息"
,
'message2'
)[
'hosGoodsId'
],
1
)
# # 低值
# # 高值
second_dept_Request
(
FileUtils
().
r_info8
(
"b5_spd3_core_business_flow"
,
"产品审核信息"
,
'message2'
)[
'hosGoodsId'
],
1
)
second_dept_Request
(
FileUtils
().
r_info8
(
"b5_spd3_core_business_flow"
,
"产品审核信息"
,
'message1'
)[
'hosGoodsId'
],
2
)
# # 高值
# # 试剂
second_dept_Request
(
FileUtils
().
r_info8
(
"b5_spd3_core_business_flow"
,
"产品审核信息"
,
'message1'
)[
'hosGoodsId'
],
2
)
second_dept_Request
(
FileUtils
().
r_info8
(
"b5_spd3_core_business_flow"
,
"产品审核信息"
,
'message3'
)[
'hosGoodsId'
],
3
)
# # 试剂
BuyCarSubmit
()
# 请领车提交
second_dept_Request
(
FileUtils
().
r_info8
(
"b5_spd3_core_business_flow"
,
"产品审核信息"
,
'message3'
)[
'hosGoodsId'
],
3
)
for
i
in
range
(
6
):
# 三个单据共审批6次
BuyCarSubmit
()
# 请领车提交
approval_center
()
for
i
in
range
(
6
):
# 三个单据共审批6次
# 采购模块处理
approval_center
()
purchase_module_process
()
# 采购模块处理
for
i
in
range
(
3
):
# 三个单据共审批3次
purchase_module_process
()
approval_center
()
for
i
in
range
(
3
):
# 三个单据共审批3次
order_dp
(
1
)
# 1低值
approval_center
()
order_dp
(
2
)
# 2高值
order_dp
(
1
)
# 1低值
order_dp
(
3
)
# 3试剂
order_dp
(
2
)
# 2高值
check_accept_order
(
1
)
# 低值
order_dp
(
3
)
# 3试剂
check_accept_order
(
2
)
# 高值
check_accept_order
(
1
)
# 低值
check_accept_order
(
3
)
# 试剂
check_accept_order
(
2
)
# 高值
second_dept_one_key_in
()
check_accept_order
(
3
)
# 试剂
second_dept_one_key_in
()
second_dept_one_key_in
()
second_dept_one_key_in
()
second_dept_one_key_in
()
second_dept_one_key_in
()
commonFuc
().
check_text_exist_result_text
(
'succees'
,
'succees'
)
commonFuc
().
check_text_exist_result_text
(
'succees'
,
'succees'
)
except
:
except
:
commonFuc
().
check_text_exist_result_text
(
'error'
,
'1'
)
commonFuc
().
check_text_exist_result_text
(
'error'
,
'1'
)
air_case/b5_spd3_core_business_flow/a_b6流程十三请领业务流_三级库向二级库.air/a_b6流程十三请领业务流_三级库向二级库.py
0 → 100644
View file @
43dad629
# -*- encoding=utf8 -*-
import
json
import
traceback
from
air_case.b1_herp3_login.登录内网系统.登录内网系统
import
login_system
from
air_case.public1.public1.public1
import
*
from
common.db.sql.sql_del_branch_info
import
delData
from
common.fileUtls
import
FileUtils
from
common.run_cmd_script
import
execute_command
from
common.timeUtils
import
timeUtils
from
airtest.core.api
import
using
__author__
=
"xiaohesheng"
"""
case_tag:api,spd_core1,a_b6流程十三请领业务流_三级库向二级库,id2302,id2302-16,sit,on
核心业务流:a_b6流程十三请领业务流_三级库向二级库
python runner_test.py tag id2302-16 debug mdm3
"""
def
SERACH_goods_id
(
GoodsId
):
# 在请领出库渠道边仓中搜索产品
module
=
'b5_spd3_core_business_flow'
# # 登录获取用户id等信息,使用创建的用户登录===========开始
info
=
FileUtils
().
r_info8
(
'b2_herp3_bs'
,
"用户名信息"
,
'message3'
)
username
=
info
[
'username1'
]
password
=
commonFuc
().
get_business_data
(
"b2_herp3_bs"
,
"password"
)
print
(
'username,password'
,
username
,
password
)
# # 获取token和projectCode
token
,
projectCode
,
uxid
,
corpId
,
info
=
login
(
username
,
password
,
2
)
# 登录获取用户id等信息,使用创建的用户登录============结束\
# 获取请求头信息
headers
=
commonFuc
().
get_business_data
(
module
,
"json_headers2"
,
commonFuc
().
get_business_data
(
module
,
"json_contentType"
),
token
,
commonFuc
().
get_business_data
(
module
,
"X-APP-CODE"
))
url
=
commonFuc
().
get_api_add_port_url
()
+
commonFuc
().
get_business_data
(
module
,
"herpService_mcmsBranchGoodsInfo_page_url"
)
dept1
=
FileUtils
().
r_info8
(
"b2_herp3_bs"
,
"所有科室id"
,
'message6'
)[
'deptid1'
]
# hosGoodsId = FileUtils().r_info8("b5_spd3_core_business_flow", "产品审核信息", 'message2')['hosGoodsId']
# GoodsId = hosGoodsId.replace(get_hosid(), '')
request_body
=
commonFuc
().
get_business_data
(
module
,
"payload53_2"
,
GoodsId
,
get_hosid
(),
get_branch_id
(),
dept1
)
result
=
commonFuc
().
http_post
(
url
,
request_body
,
headers
)
branchGoodsId
=
commonFuc
().
analysis_json
(
'id'
,
commonFuc
().
analysis_json
(
'data'
,
commonFuc
().
analysis_json
(
'data'
,
result
)))
return
branchGoodsId
def
second_dept_Request
(
hosGoodsId
,
type
):
module
=
"b5_spd3_core_business_flow"
# # 登录获取用户id等信息,使用创建的用户登录===========开始
info
=
FileUtils
().
r_info8
(
'b2_herp3_bs'
,
"用户名信息"
,
'message3'
)
username
=
info
[
'username1'
]
password
=
commonFuc
().
get_business_data
(
"b2_herp3_bs"
,
"password"
)
print
(
'username,password'
,
username
,
password
)
# # 获取token和projectCode
token
,
projectCode
,
uxid
,
corpId
,
info
=
login
(
username
,
password
,
2
)
# 登录获取用户id等信息,使用创建的用户登录============结束
# 我要请领_手工请领_列表查询===========================
headers
=
commonFuc
().
get_business_data
(
module
,
"json_headers2"
,
commonFuc
().
get_business_data
(
module
,
"json_contentType"
),
token
,
commonFuc
().
get_business_data
(
module
,
"X-APP-CODE"
))
url
=
commonFuc
().
get_api_add_port_url
()
+
commonFuc
().
get_business_data
(
module
,
"herpService_buy_queryGoodsInfoPage_url"
)
print
(
'我要请领_手工请领_列表查询================='
,
url
)
deptid2
=
FileUtils
().
r_info8
(
"b2_herp3_bs"
,
"所有科室id"
,
'message6'
)[
'deptid5'
]
deptname2
=
FileUtils
().
r_info8
(
"b2_herp3_bs"
,
"所有科室name"
,
'message6'
)[
'deptid5'
]
# 高值
# hosGoodsId = FileUtils().r_info8("b5_spd3_core_business_flow", "产品审核信息", 'message1')['hosGoodsId']
GoodsId
=
hosGoodsId
.
replace
(
get_hosid
(),
''
)
areaCode
=
get_stockAreaId_new
(
deptid2
,
deptname2
,
2
)
request_body
=
commonFuc
().
get_business_data
(
module
,
"payload39"
,
GoodsId
,
get_hosid
(),
deptid2
,
areaCode
)
print
(
'我要请领_手工请领_列表查询'
,
'request_body'
,
request_body
)
result
=
commonFuc
().
http_post
(
url
,
request_body
,
headers
)
print
(
'我要请领_手工请领_列表查询,result'
,
result
)
data1
=
commonFuc
().
analysis_json
(
'data'
,
commonFuc
().
analysis_json
(
'data'
,
result
))
goodsName
=
commonFuc
().
analysis_json
(
'goodsName'
,
data1
)
goodsSpec
=
commonFuc
().
analysis_json
(
'goodsSpec'
,
data1
)
mdmGoodsCode
=
commonFuc
().
analysis_json
(
'mdmGoodsCode'
,
data1
)
goodsCode
=
commonFuc
().
analysis_json
(
'goodsCode'
,
data1
)
unit
=
commonFuc
().
analysis_json
(
'unit'
,
data1
)
purMode
=
commonFuc
().
analysis_json
(
'purMode'
,
data1
)
goodsMfrsName
=
commonFuc
().
analysis_json
(
'goodsMfrsName'
,
data1
)
unitName
=
commonFuc
().
analysis_json
(
'unitName'
,
data1
)
price
=
commonFuc
().
analysis_json
(
'price'
,
data1
)
deptId
=
commonFuc
().
analysis_json
(
'deptId'
,
data1
)
# areaCode=commonFuc().analysis_json('areaCode',data1)
areaName
=
'默认库区'
targetDeptId
=
commonFuc
().
analysis_json
(
'targetDeptId'
,
data1
)
targetDeptName
=
commonFuc
().
analysis_json
(
'targetDeptName'
,
data1
)
targetStockId
=
commonFuc
().
analysis_json
(
'targetStockId'
,
data1
)
targetStockName
=
commonFuc
().
analysis_json
(
'targetStockName'
,
data1
)
purModeText
=
commonFuc
().
analysis_json
(
'purModeText'
,
data1
)
goodsGeneralName
=
commonFuc
().
analysis_json
(
'goodsGeneralName'
,
data1
)
provName
=
commonFuc
().
analysis_json
(
'provName'
,
data1
)
pkgDefId
=
commonFuc
().
analysis_json
(
'pkgDefId'
,
data1
)
# 信息写入文件
list_a
=
[]
list_b
=
[]
list_c
=
[]
list_a
.
append
(
data1
)
list_b
.
append
(
data1
)
list_c
.
append
(
data1
)
# print('list_a', len(list_a), list_a)
info
=
(
list_a
,
list_b
,
list_c
)
titlename
=
(
'list_a'
,
'list_b'
,
'list_c'
)
FileUtils
().
w_info8
(
info
,
module
,
'二级库向二级库请领产品信息'
,
titlename
,
'message23'
)
# 我要请领_手工请领_列表查询===========================
# 添加到请领车=============================================
url
=
commonFuc
().
get_api_add_port_url
()
+
commonFuc
().
get_business_data
(
module
,
"herpService_buy_createBuyCar_url"
)
print
(
'添加到请领车================='
,
url
)
if
type
==
1
:
request_body
=
commonFuc
().
get_business_data
(
module
,
"payload40"
,
hosGoodsId
,
goodsName
,
goodsSpec
,
mdmGoodsCode
,
goodsCode
,
unit
,
purMode
,
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
,
goodsCode
,
unit
,
purMode
,
goodsMfrsName
,
unitName
,
price
,
deptId
,
areaCode
,
areaName
,
targetDeptId
,
targetDeptName
,
targetStockId
,
targetStockName
,
purModeText
,
goodsGeneralName
,
provName
)
elif
type
==
3
:
request_body
=
commonFuc
().
get_business_data
(
module
,
"payload42"
,
hosGoodsId
,
goodsName
,
goodsSpec
,
mdmGoodsCode
,
goodsCode
,
unit
,
purMode
,
goodsMfrsName
,
pkgDefId
,
unitName
,
price
,
deptId
,
areaCode
,
areaName
,
targetDeptId
,
targetDeptName
,
targetStockId
,
targetStockName
,
purModeText
,
goodsGeneralName
,
provName
)
request_body
=
get_process_list
(
request_body
)
print
(
'添加到请领车'
,
'request_body'
,
request_body
)
result
=
commonFuc
().
http_post
(
url
,
request_body
,
headers
)
print
(
'添加到请领车,result'
,
result
)
# 添加到请领车=============================================
def
BuyCarSubmit
():
module
=
"b5_spd3_core_business_flow"
# # 登录获取用户id等信息,使用创建的用户登录===========开始
info
=
FileUtils
().
r_info8
(
'b2_herp3_bs'
,
"用户名信息"
,
'message3'
)
username
=
info
[
'username1'
]
password
=
commonFuc
().
get_business_data
(
"b2_herp3_bs"
,
"password"
)
print
(
'username,password'
,
username
,
password
)
# # 获取token和projectCode
token
,
projectCode
,
uxid
,
corpId
,
info
=
login
(
username
,
password
,
2
)
# 登录获取用户id等信息,使用创建的用户登录============结束
# 我要请领_手工请领_列表查询===========================
headers
=
commonFuc
().
get_business_data
(
module
,
"json_headers2"
,
commonFuc
().
get_business_data
(
module
,
"json_contentType"
),
token
,
commonFuc
().
get_business_data
(
module
,
"X-APP-CODE"
))
# 请领车查询===============================================
url
=
commonFuc
().
get_api_add_port_url
()
+
commonFuc
().
get_business_data
(
module
,
"herpService_buy_queryBuyCarPage_url"
)
print
(
'请领车查询================='
,
url
)
deptid2
=
FileUtils
().
r_info8
(
"b2_herp3_bs"
,
"所有科室id"
,
'message6'
)[
'deptid5'
]
deptname2
=
FileUtils
().
r_info8
(
"b2_herp3_bs"
,
"所有科室name"
,
'message6'
)[
'deptid5'
]
areaCode
=
get_stockAreaId_new
(
deptid2
,
deptname2
,
2
)
request_body
=
commonFuc
().
get_business_data
(
module
,
"payload43"
,
areaCode
,
get_hosid
(),
deptid2
)
print
(
'请领车查询'
,
'request_body'
,
request_body
)
result
=
commonFuc
().
http_post
(
url
,
request_body
,
headers
)
print
(
'请领车查询,result'
,
result
)
data
=
commonFuc
().
analysis_json
(
'data'
,
result
)
list_id
=
[]
for
i
in
data
:
id
=
commonFuc
().
analysis_json
(
'id'
,
i
)
list_id
.
append
(
id
)
# 请领车查询===============================================
# 请领车提交===============================================
url
=
commonFuc
().
get_api_add_port_url
()
+
commonFuc
().
get_business_data
(
module
,
"herpService_buy_validBuyCarSubmit_url"
)
print
(
'请领车提交================='
,
url
)
billExpdtDate
=
timeUtils
().
get_time_add
(
30
,
2
)
print
(
'billExpdtDate'
,
billExpdtDate
)
request_body
=
commonFuc
().
get_business_data
(
module
,
"payload44"
,
billExpdtDate
,
get_branch_id
(),
list_id
[
0
],
list_id
[
1
],
list_id
[
2
])
print
(
'请领车提交'
,
'request_body'
,
request_body
)
result
=
commonFuc
().
http_post
(
url
,
request_body
,
headers
)
print
(
'请领车提交,result'
,
result
)
# 请领车提交===============================================
# 创建领车交易=================================================
url
=
commonFuc
().
get_api_add_port_url
()
+
commonFuc
().
get_business_data
(
module
,
"herpService_buy_createBuyBill_url"
)
print
(
'创建领车交易================='
,
url
)
billExpdtDate
=
timeUtils
().
get_time_add
(
30
,
2
)
request_body
=
commonFuc
().
get_business_data
(
module
,
"payload44"
,
billExpdtDate
,
get_branch_id
(),
list_id
[
0
],
list_id
[
1
],
list_id
[
2
])
print
(
'创建领车交易'
,
'request_body'
,
request_body
)
result
=
commonFuc
().
http_post
(
url
,
request_body
,
headers
)
print
(
'创建领车交易,result'
,
result
)
currentTaskList
=
commonFuc
().
analysis_json
(
'currentTaskList'
,
commonFuc
().
analysis_json
(
'data'
,
result
))
def
edit_goods_target
(
currentDeptId
,
targetDeptId
):
module
=
"b2_herp3_bs"
# # 登录获取用户id等信息,使用创建的用户登录===========开始
info
=
FileUtils
().
r_info8
(
'b2_herp3_bs'
,
"用户名信息"
,
'message3'
)
username
=
info
[
'username1'
]
password
=
commonFuc
().
get_business_data
(
"b2_herp3_bs"
,
"password"
)
print
(
'username,password'
,
username
,
password
)
# # 获取token和projectCode
token
,
projectCode
,
uxid
,
corpId
,
info
=
login
(
username
,
password
,
2
)
# 登录获取用户id等信息,使用创建的用户登录============结束
url
=
commonFuc
().
get_api_add_port_url
()
+
commonFuc
().
get_business_data
(
module
,
"basic_mcmsDeptGoodsInfo_page_url"
)
# 获取请求头信息
headers
=
commonFuc
().
get_business_data
(
module
,
"json_headers2"
,
commonFuc
().
get_business_data
(
module
,
"json_contentType"
),
token
,
commonFuc
().
get_business_data
(
module
,
"X-APP-CODE"
))
# #请求体
request_body
=
commonFuc
().
get_business_data
(
module
,
"payload58_13_1"
,
currentDeptId
,
get_hosid
())
result
=
commonFuc
().
http_post
(
url
,
request_body
,
headers
)
print
(
'科室产品列表查询'
,
result
)
data1
=
commonFuc
().
analysis_json
(
'data'
,
commonFuc
().
analysis_json
(
'data'
,
result
))
for
i
in
data1
:
shelfCode
=
commonFuc
().
analysis_json
(
'shelfCode'
,
i
)
id1
=
commonFuc
().
analysis_json
(
'id'
,
i
)
pkgDefId
=
commonFuc
().
analysis_json
(
'pkgDefId'
,
i
)
purMode
=
commonFuc
().
analysis_json
(
'purMode'
,
i
)
tbStatus
=
commonFuc
().
analysis_json
(
'tbStatus'
,
i
)
url
=
commonFuc
().
get_api_add_port_url
()
+
commonFuc
().
get_business_data
(
module
,
"herpService_basic_mcmsDeptGoodsInfo_url"
)
url
=
url
+
id1
result
=
commonFuc
().
http_get
(
url
,
headers
)
print
(
'获取产品详情信息'
,
result
)
data2
=
commonFuc
().
analysis_json
(
'data'
,
result
)
packetQty
=
commonFuc
().
analysis_json
(
'packetQty'
,
data2
)
url
=
commonFuc
().
get_api_add_port_url
()
+
commonFuc
().
get_business_data
(
module
,
"basic_mcmsDeptGoodsInfo_updateById"
)
if
purMode
==
60
or
purMode
==
10
:
# 低值和试剂
request_body
=
commonFuc
().
get_business_data
(
module
,
"payload58_10_1"
,
id1
,
pkgDefId
,
targetDeptId
,
shelfCode
,
packetQty
,
tbStatus
)
elif
purMode
==
20
:
# 高值
request_body
=
commonFuc
().
get_business_data
(
module
,
"payload58_10_2"
,
id1
,
targetDeptId
,
shelfCode
,
tbStatus
)
print
(
'编辑产品请领渠道request_body'
,
request_body
)
result
=
commonFuc
().
http_post
(
url
,
request_body
,
headers
)
print
(
'编辑产品请领渠道result'
,
result
)
def
get_centeStock_pick_list_counts
():
module
=
"b5_spd3_core_business_flow"
# # 登录获取用户id等信息,使用创建的用户登录===========开始
info
=
FileUtils
().
r_info8
(
'b2_herp3_bs'
,
"用户名信息"
,
'message3'
)
username
=
info
[
'username1'
]
password
=
commonFuc
().
get_business_data
(
"b2_herp3_bs"
,
"password"
)
print
(
'username,password'
,
username
,
password
)
# # 获取token和projectCode
token
,
projectCode
,
uxid
,
corpId
,
info
=
login
(
username
,
password
,
2
)
# 登录获取用户id等信息,使用创建的用户登录============结束
# 生成拣货单列表查询===============================================
headers
=
commonFuc
().
get_business_data
(
module
,
"json_headers2"
,
commonFuc
().
get_business_data
(
module
,
"json_contentType"
),
token
,
commonFuc
().
get_business_data
(
module
,
"X-APP-CODE"
))
url1
=
commonFuc
().
get_api_add_port_url
()
+
commonFuc
().
get_business_data
(
module
,
"herpService_stock_out_buyPage_url"
)
print
(
'领用出库列表查询================='
,
url1
)
request_body1
=
commonFuc
().
get_business_data
(
module
,
"payload46_1"
,
get_branch_id
())
print
(
'领用出库列表查询'
,
'request_body'
,
request_body1
)
result1
=
commonFuc
().
http_post
(
url1
,
request_body1
,
headers
)
print
(
'领用出库列表查询,result1'
,
result1
)
total1
=
commonFuc
().
analysis_json
(
'total'
,
commonFuc
().
analysis_json
(
'data'
,
result1
))
return
total1
def
pick_execute
():
module
=
"b5_spd3_core_business_flow"
# # 登录获取用户id等信息,使用创建的用户登录===========开始
info
=
FileUtils
().
r_info8
(
'b2_herp3_bs'
,
"用户名信息"
,
'message3'
)
username
=
info
[
'username1'
]
password
=
commonFuc
().
get_business_data
(
"b2_herp3_bs"
,
"password"
)
print
(
'username,password'
,
username
,
password
)
# # 获取token和projectCode
token
,
projectCode
,
uxid
,
corpId
,
info
=
login
(
username
,
password
,
2
)
# 登录获取用户id等信息,使用创建的用户登录============结束
# 生成拣货单列表查询===============================================
headers
=
commonFuc
().
get_business_data
(
module
,
"json_headers2"
,
commonFuc
().
get_business_data
(
module
,
"json_contentType"
),
token
,
commonFuc
().
get_business_data
(
module
,
"X-APP-CODE"
))
url1
=
commonFuc
().
get_api_add_port_url
()
+
commonFuc
().
get_business_data
(
module
,
"herpService_stock_out_buyPage_url"
)
print
(
'请领出库列表页面================='
,
url1
)
request_body1
=
commonFuc
().
get_business_data
(
module
,
"payload46_1"
,
get_branch_id
())
print
(
'请领出库列表页面'
,
'request_body'
,
request_body1
)
result1
=
commonFuc
().
http_post
(
url1
,
request_body1
,
headers
)
print
(
'请领出库列表页面,result1'
,
result1
)
data1
=
commonFuc
().
analysis_json
(
'data'
,
commonFuc
().
analysis_json
(
'data'
,
result1
))
for
i
in
data1
:
# 获取id
BH_ID
=
commonFuc
().
analysis_json
(
'id'
,
i
)
version
=
commonFuc
().
analysis_json
(
'version'
,
i
)
deptBuyDetailVOList
=
commonFuc
().
analysis_json
(
'deptBuyDetailVOList'
,
i
)
purMode
=
commonFuc
().
analysis_json
(
'purMode'
,
deptBuyDetailVOList
)
# 生成拣货单列表查询===============================================
# 生成拣货单列表锁定===============================================
url
=
commonFuc
().
get_api_add_port_url
()
+
commonFuc
().
get_business_data
(
module
,
"herpService_stock_out_use_updateLock_url"
)
print
(
'请领出库列表列表页面锁定================='
,
url
)
# version=int(version)+1
request_body
=
commonFuc
().
get_business_data
(
module
,
"payload49_1"
,
BH_ID
,
version
)
print
(
'请领出库列表列表页面锁定'
,
'request_body'
,
request_body
)
result
=
commonFuc
().
http_post
(
url
,
request_body
,
headers
)
print
(
'请领出库列表列表页面锁定,result1'
,
result
)
# 生成拣货单列表锁定===============================================
# 拣货==============================
if
purMode
==
10
:
udi_code
=
get_udi2
(
1
)
# 获取条码 低值1 高值2 试剂3
elif
purMode
==
20
:
udi_code
=
get_udi2
(
2
)
# 获取条码 低值1 高值2 试剂3
elif
purMode
==
60
:
udi_code
=
get_udi2
(
3
)
# 获取条码 低值1 高值2 试剂3
else
:
udi_code
=
'udi_code'
print
(
'udi_code'
,
udi_code
)
if
purMode
==
10
:
targetAreaCode
,
sourceId
=
pickScan2
(
BH_ID
,
udi_code
,
1
)
# 低值
elif
purMode
==
20
:
targetAreaCode
,
sourceId
=
pickScan2
(
BH_ID
,
udi_code
,
2
)
# 高值
elif
purMode
==
60
:
targetAreaCode
,
sourceId
=
pickScan2
(
BH_ID
,
udi_code
,
3
)
# 试剂
else
:
targetAreaCode
=
'targetAreaCode'
sourceId
=
'sourceId'
# 提交领用出库单
url
=
commonFuc
().
get_api_add_port_url
()
+
commonFuc
().
get_business_data
(
module
,
"herpService_stock_out_use_submit_url"
)
print
(
'提交拣货执行单================='
,
url
)
if
purMode
==
10
:
request_body
=
commonFuc
().
get_business_data
(
module
,
"payload51_1_1"
,
targetAreaCode
,
sourceId
)
elif
purMode
==
20
:
request_body
=
commonFuc
().
get_business_data
(
module
,
"payload51_1_2"
,
targetAreaCode
,
sourceId
)
elif
purMode
==
60
:
request_body
=
commonFuc
().
get_business_data
(
module
,
"payload51_1_3"
,
targetAreaCode
,
sourceId
)
print
(
'提交拣货执行单'
,
'request_body'
,
request_body
)
result
=
commonFuc
().
http_post
(
url
,
request_body
,
headers
)
print
(
'提交拣货执行单,result1'
,
result
)
# 复核===================================
try
:
# 设置部门用户
set_dept_user
(
FileUtils
().
r_info8
(
"b2_herp3_bs"
,
"所有科室id"
,
'message6'
)[
'deptid3'
],
FileUtils
().
r_info8
(
"b2_herp3_bs"
,
"所有科室name"
,
'message6'
)[
'deptid3'
],
3
)
# 设置部门负责人
set_dept_lead_new
(
FileUtils
().
r_info8
(
'b2_herp3_bs'
,
'所有科室id'
,
'message6'
)[
"deptid3"
])
# 设置二级科室负责人
get_stockAreaId_new
(
FileUtils
().
r_info8
(
"b2_herp3_bs"
,
"所有科室id"
,
'message6'
)[
'deptid3'
],
FileUtils
().
r_info8
(
"b2_herp3_bs"
,
"所有科室name"
,
'message6'
)[
'deptid3'
],
2
)
set_stockShelf_Linkman
()
#设置库区联系人
#新建科室产品分配
dept_goods_distribute
(
FileUtils
().
r_info8
(
"b2_herp3_bs"
,
"所有科室id"
,
'message6'
)[
'deptid3'
])
updateUserLoginDefaultRange
(
get_listUserMgrRangePage1
(
3
))
# 设置登录账号默认权限是三级库
# # # 低值
second_dept_Request
(
FileUtils
().
r_info8
(
"b5_spd3_core_business_flow"
,
"产品审核信息"
,
'message2'
)[
'hosGoodsId'
],
1
)
# # # 高值
second_dept_Request
(
FileUtils
().
r_info8
(
"b5_spd3_core_business_flow"
,
"产品审核信息"
,
'message1'
)[
'hosGoodsId'
],
2
)
# # # 试剂
second_dept_Request
(
FileUtils
().
r_info8
(
"b5_spd3_core_business_flow"
,
"产品审核信息"
,
'message3'
)[
'hosGoodsId'
],
3
)
BuyCarSubmit
()
# 请领车提交
for
i
in
range
(
6
):
# 三个单据共审批6次
approval_center
()
updateUserLoginDefaultRange
(
get_listUserMgrRangePage1
(
2
))
# 设置登录账号默认权限是二级库
# 二级科室领用出库
# 低值拣货执行
pick_execute
()
second_dept_one_key_in
(
5
)
second_dept_one_key_in
(
5
)
second_dept_one_key_in
(
5
)
commonFuc
().
check_text_exist_result_text
(
'succees'
,
'succees'
)
except
:
commonFuc
().
check_text_exist_result_text
(
'error'
,
'1'
)
air_case/public1/public1/public1.py
View file @
43dad629
...
@@ -2444,17 +2444,17 @@ def pickScan2(PICK_ID, udi_code, type=1): # 二级库出库拣货扫码
...
@@ -2444,17 +2444,17 @@ def pickScan2(PICK_ID, udi_code, type=1): # 二级库出库拣货扫码
hosGoodsCode
=
commonFuc
().
analysis_json
(
'hosGoodsCode'
,
data1
)
hosGoodsCode
=
commonFuc
().
analysis_json
(
'hosGoodsCode'
,
data1
)
stockName
=
commonFuc
().
analysis_json
(
'stockName'
,
data1
)
stockName
=
commonFuc
().
analysis_json
(
'stockName'
,
data1
)
sourceId
=
commonFuc
().
analysis_json
(
'sourceId'
,
data1
)
sourceId
=
commonFuc
().
analysis_json
(
'sourceId'
,
data1
)
price
=
commonFuc
().
analysis_json
(
'price'
,
data1
)
price
=
commonFuc
().
analysis_json
(
'price'
,
data1
)
inStockTime
=
commonFuc
().
analysis_json
(
'inStockTime'
,
data1
)
inStockTime
=
commonFuc
().
analysis_json
(
'inStockTime'
,
data1
)
purModeText
=
commonFuc
().
analysis_json
(
'purModeText'
,
data1
)
purModeText
=
commonFuc
().
analysis_json
(
'purModeText'
,
data1
)
version
=
commonFuc
().
analysis_json
(
'version'
,
data1
)
version
=
commonFuc
().
analysis_json
(
'version'
,
data1
)
unitName
=
commonFuc
().
analysis_json
(
'unitName'
,
data1
)
unitName
=
commonFuc
().
analysis_json
(
'unitName'
,
data1
)
# ==============================获取条码信息
# ==============================获取条码信息
url
=
commonFuc
().
get_api_add_port_url
()
+
commonFuc
().
get_business_data
(
module
,
url
=
commonFuc
().
get_api_add_port_url
()
+
commonFuc
().
get_business_data
(
module
,
"herpService_stock_out_use_buyInfo_url"
)
"herpService_stock_out_use_buyInfo_url"
)
url
=
url
+
PICK_ID
url
=
url
+
PICK_ID
result
=
commonFuc
().
http_get
(
url
,
headers
)
result
=
commonFuc
().
http_get
(
url
,
headers
)
pickerId
=
commonFuc
().
analysis_json
(
'pickId'
,
commonFuc
().
analysis_json
(
'data'
,
result
))
pickerId
=
commonFuc
().
analysis_json
(
'pickId'
,
commonFuc
().
analysis_json
(
'data'
,
result
))
url
=
commonFuc
().
get_api_add_port_url
()
+
commonFuc
().
get_business_data
(
module
,
url
=
commonFuc
().
get_api_add_port_url
()
+
commonFuc
().
get_business_data
(
module
,
"herpService_stock_out_pickScan_url"
)
"herpService_stock_out_pickScan_url"
)
...
@@ -2501,7 +2501,7 @@ def pickScan2(PICK_ID, udi_code, type=1): # 二级库出库拣货扫码
...
@@ -2501,7 +2501,7 @@ def pickScan2(PICK_ID, udi_code, type=1): # 二级库出库拣货扫码
# # # # 发送请求
# # # # 发送请求
result
=
commonFuc
().
http_post
(
url
,
request_body
,
headers
)
result
=
commonFuc
().
http_post
(
url
,
request_body
,
headers
)
print
(
'result'
,
result
)
print
(
'result'
,
result
)
return
areaCode
,
pickerId
return
areaCode
,
pickerId
def
get_branch_name
():
def
get_branch_name
():
...
@@ -2668,14 +2668,14 @@ def out_warehouse_review(PICK_ID): # 出库复核
...
@@ -2668,14 +2668,14 @@ def out_warehouse_review(PICK_ID): # 出库复核
print
(
'request_body'
,
request_body
)
print
(
'request_body'
,
request_body
)
# # # # 发送请求
# # # # 发送请求
result
=
commonFuc
().
http_post
(
url
,
request_body
,
headers
)
result
=
commonFuc
().
http_post
(
url
,
request_body
,
headers
)
print
(
'herpService_stock_review_pass_submit_urlresult'
,
result
)
print
(
'herpService_stock_review_pass_submit_url
_
result'
,
result
)
# ========出库复核提交
# ========出库复核提交
def
second_dept_one_key_in
(
type
=
2
):
def
second_dept_one_key_in
(
type
=
2
):
if
type
==
2
:
if
type
==
2
:
updateUserLoginDefaultRange
(
get_listUserMgrRangePage
(
2
))
# 设置登录账号默认权限是二级库
updateUserLoginDefaultRange
(
get_listUserMgrRangePage
(
2
))
# 设置登录账号默认权限是二级库
elif
type
==
5
:
elif
type
==
5
:
updateUserLoginDefaultRange
(
get_listUserMgrRangePage1
(
5
))
# 设置登录账号默认权限是二级库
updateUserLoginDefaultRange
(
get_listUserMgrRangePage1
(
5
))
# 设置登录账号默认权限是二级库
module
=
"b5_spd3_core_business_flow"
module
=
"b5_spd3_core_business_flow"
# # 登录获取用户id等信息,使用创建的用户登录===========开始
# # 登录获取用户id等信息,使用创建的用户登录===========开始
...
@@ -2755,6 +2755,7 @@ def second_dept_one_key_in(type=2):
...
@@ -2755,6 +2755,7 @@ def second_dept_one_key_in(type=2):
print
(
'一键入库result'
,
result
)
print
(
'一键入库result'
,
result
)
# 一键入库====================================================
# 一键入库====================================================
def
login_platform
():
def
login_platform
():
module
=
"a3_mdm3_hs"
module
=
"a3_mdm3_hs"
from
air_case.mdm_login.登录外网系统.登录资源管控平台
import
login_system
from
air_case.mdm_login.登录外网系统.登录资源管控平台
import
login_system
...
...
data/a2_mdm3_ea/message
View file @
43dad629
企业信息:
企业信息:
e_id: CR2024060
3
0038
e_id: CR2024060
4
0038
cname: 国药集团公司
mvYxk
cname: 国药集团公司
*0SeL
data/a3_mdm3_hs/message
View file @
43dad629
医院信息:
医院信息:
h_id: 湖南省人民医院
#vYfi
h_id: 湖南省人民医院
1T32R
h_name: 湖南省人民医院
#vYfi
h_name: 湖南省人民医院
1T32R
data/a5_mdm3_pdm/message2
View file @
43dad629
产品审核信息
:
产品审核信息
:
MSPid
:
MSP24060
3
0011_1
MSPid
:
MSP24060
4
0011_1
hosId
:
h0347
hosId
:
h0347
hosGoodsId
:
h0347000039
6
7
hosGoodsId
:
h03470000397
8
provGoodsid
:
provGood-992211
48
provGoodsid
:
provGood-992211
63
goodsAuditBillId
:
MSP24060
3
0011
goodsAuditBillId
:
MSP24060
4
0011
targetId
:
MSP24060
3
0011_1
targetId
:
MSP24060
4
0011_1
data/a6_mdm3_si/message
View file @
43dad629
...
@@ -2,44 +2,44 @@
...
@@ -2,44 +2,44 @@
list_a:
list_a:
- &id001
- &id001
settleMonth: '202406'
settleMonth: '202406'
pid: OBh03472024060
3
00
36
pid: OBh03472024060
4
00
04
hosGoodsId: h0347000039
64
hosGoodsId: h0347000039
75
goodsCode: '000039
64
'
goodsCode: '000039
75
'
goodsName: 一次性注射器_低值
qjUa2
goodsName: 一次性注射器_低值
T*zY)
goodsGg: G-31891
goodsGg: G-31891
mfrsName: 德国歌德公司 Geuder AG
mfrsName: 德国歌德公司 Geuder AG
unit: 支
unit: 支
leftSettleAmount:
19999.98
leftSettleAmount:
0.0
batchCode:
batchCode:
kindName:
kindName:
factName:
factName:
cacheleftAmount: 19999.98
cacheleftAmount: 19999.98
purMode: 10
purMode: 10
waitInvoicingNum:
20
0.0
waitInvoicingNum: 0.0
invoicingPrice:
invoicingPrice:
normalContractId:
normalContractId:
normalContract: '1'
normalContract: '1'
detailList:
detailList:
- pid: OBh03472024060
3
00
36
- pid: OBh03472024060
4
00
04
settleMonth: '202406'
settleMonth: '202406'
hosGoodsId: h0347000039
64
hosGoodsId: h0347000039
75
batchCode: '333'
batchCode: '333'
distrDetailId: '0383
7957
'
distrDetailId: '0383
8005
'
distrId: PSh03472024060
3
00
34
distrId: PSh03472024060
4
00
05
distrOrderNo: PSh03472024060
3
00
34
distrOrderNo: PSh03472024060
4
00
05
settlePrice: 99.9999
settlePrice: 99.9999
maxSettleQty: 100.0
maxSettleQty:
-
100.0
maxSettleAmount: 9999.99
maxSettleAmount:
-
9999.99
curSettleQty: 100.0
curSettleQty:
-
100.0
curSettleAmount: 9999.99
curSettleAmount:
-
9999.99
leftSettleQty: 100.0
leftSettleQty:
-
100.0
leftSettleAmount: 9999.99
leftSettleAmount:
-
9999.99
hosId: h0347
hosId: h0347
provId: p1e26
7
provId: p1e26
b
branchId: h0347-36
49
branchId: h0347-36
51
balanceDetId: OBh03472024060
3
00
36
-000001
balanceDetId: OBh03472024060
4
00
04
-000001
purMode: 10
purMode: 10
barCode: 0136
49
0000039
64
0103331124060
3
1724121
0
21UT24060
3
00
1405
barCode: 0136
51
0000039
75
0103331124060
4
1724121
1
21UT24060
4
00
0202
batchId:
batchId:
price:
price:
maxQty:
maxQty:
...
@@ -52,14 +52,14 @@
...
@@ -52,14 +52,14 @@
volumeFlag:
volumeFlag:
onlineKind:
onlineKind:
invoicePrice: 99.9999
invoicePrice: 99.9999
viewId: 202406OBh03472024060
3
00
36
h0347000039
64
viewId: 202406OBh03472024060
4
00
04
h0347000039
75
- pid: OBh03472024060
3
00
36
- pid: OBh03472024060
4
00
04
settleMonth: '202406'
settleMonth: '202406'
hosGoodsId: h0347000039
64
hosGoodsId: h0347000039
75
batchCode: '333'
batchCode: '333'
distrDetailId: '0383
7954
'
distrDetailId: '0383
8005
'
distrId: PSh03472024060
3
00
31
distrId: PSh03472024060
4
00
05
distrOrderNo: PSh03472024060
3
00
31
distrOrderNo: PSh03472024060
4
00
05
settlePrice: 99.9999
settlePrice: 99.9999
maxSettleQty: 100.0
maxSettleQty: 100.0
maxSettleAmount: 9999.99
maxSettleAmount: 9999.99
...
@@ -68,11 +68,11 @@
...
@@ -68,11 +68,11 @@
leftSettleQty: 100.0
leftSettleQty: 100.0
leftSettleAmount: 9999.99
leftSettleAmount: 9999.99
hosId: h0347
hosId: h0347
provId: p1e26
7
provId: p1e26
b
branchId: h0347-36
49
branchId: h0347-36
51
balanceDetId: OBh03472024060
3
00
36
-000002
balanceDetId: OBh03472024060
4
00
04
-000002
purMode: 10
purMode: 10
barCode: 0136
49
0000039
64
0103331124060
3
1724121
0
21UT24060
3
00
1403
barCode: 0136
51
0000039
75
0103331124060
4
1724121
1
21UT24060
4
00
0230
batchId:
batchId:
price:
price:
maxQty:
maxQty:
...
@@ -85,10 +85,10 @@
...
@@ -85,10 +85,10 @@
volumeFlag:
volumeFlag:
onlineKind:
onlineKind:
invoicePrice: 99.9999
invoicePrice: 99.9999
viewId: 202406OBh03472024060
3
00
36
h0347000039
64
viewId: 202406OBh03472024060
4
00
04
h0347000039
75
unique: 202406OBh03472024060
3
00
36
h0347000039
64
unique: 202406OBh03472024060
4
00
04
h0347000039
75
onlineKind: '10'
onlineKind: '10'
viewId: 202406OBh03472024060
3
00
36
h0347000039
64
viewId: 202406OBh03472024060
4
00
04
h0347000039
75
list_b:
list_b:
- *id001
- *id001
list_c:
list_c:
...
...
data/b2_herp3_bs/message
View file @
43dad629
院区新增:
院区新增:
branch_id: h0347-36
49
branch_id: h0347-36
51
branch_name: 东土城路院区
kBIb2
branch_name: 东土城路院区
AGtZC
科室信息:
科室信息:
dept2_id: f
8eb781292cd452eabd5ca99f8867aff
dept2_id: f
ce41341f4d441239326a6f655be8a1a
dept2_name: 二级检验科002
dept2_name: 二级检验科002
data/b2_herp3_bs/message3
View file @
43dad629
用户名信息
:
用户名信息
:
username1
:
自动化测试
QBz5q
username1
:
自动化测试
jBGY(
username2
:
自动化测试
QBz5q
username2
:
自动化测试
jBGY(
data/b2_herp3_bs/message4
View file @
43dad629
一级科室信息
:
一级科室信息
:
dept1_id
:
f6e2b5eb722b42e18bcc93ef29371337
dept1_id
:
18a8cca255594645bfc699ba3a486ee0
dept1_name
:
设备科001
dept1_name
:
设备科001
data/b2_herp3_bs/message5
View file @
43dad629
部门和库区信息
:
部门和库区信息
:
dept1_id
:
f6e2b5eb722b42e18bcc93ef29371337
dept1_id
:
18a8cca255594645bfc699ba3a486ee0
stockAreaId
:
eb359aa3c32942f8a00e9c761312a853
stockAreaId
:
1c5ffc1a8c734ea0ae7089fcfbf6d5a0
data/b2_herp3_bs/message6
View file @
43dad629
所有科室id
:
所有科室id
:
deptid1
:
f6e2b5eb722b42e18bcc93ef29371337
deptid1
:
18a8cca255594645bfc699ba3a486ee0
deptid2
:
f
8eb781292cd452eabd5ca99f8867aff
deptid2
:
f
ce41341f4d441239326a6f655be8a1a
deptid3
:
fe1b462bb9ee4ce0b818977f2cd1ea76
deptid3
:
8b3cd57be7454d8999752d058884d67a
deptid4
:
3c2a3eb7fb0d437fb7b395ef8469246b
deptid4
:
d45cbed17f194629a710075be34dff28
deptid5
:
9252920c3ff247fbbe034564fc6e9
27
0
deptid5
:
c4e48d18f4234797a040924db4390
27
9
所有科室name
:
所有科室name
:
deptid1
:
设备科001
deptid1
:
设备科001
deptid2
:
二级检验科002
deptid2
:
二级检验科002
...
...
data/b2_herp3_bs/message7
View file @
43dad629
shelfinfo
:
shelfinfo
:
shelfid
:
eb359aa3c32942f8a00e9c761312a853
shelfid
:
1c5ffc1a8c734ea0ae7089fcfbf6d5a0
shelfCode
:
areah034721
81
shelfCode
:
areah034721
93
areaName
:
自动化测试
areaName
:
自动化测试
data/b5_spd3_core_business_flow/message
View file @
43dad629
供货关系申请2:
供货关系申请2:
e_corpId: p1e26
7
e_corpId: p1e26
b
h_corpId: h0347
h_corpId: h0347
e_username: 国药集团公司
mvYxk
e_username: 国药集团公司
*0SeL
h_name: test001
h_name: test001
data/b5_spd3_core_business_flow/message1
View file @
43dad629
产品审核信息
:
产品审核信息
:
MSPid
:
MSP24060
3
0007_1
MSPid
:
MSP24060
4
0007_1
hosId
:
h0347
hosId
:
h0347
hosGoodsId
:
h0347000039
63
hosGoodsId
:
h0347000039
74
provGoodsid
:
provGood-992211
44
provGoodsid
:
provGood-992211
59
goodsAuditBillId
:
MSP24060
3
0007
goodsAuditBillId
:
MSP24060
4
0007
targetId
:
MSP24060
3
0007_1
targetId
:
MSP24060
4
0007_1
data/b5_spd3_core_business_flow/message10
View file @
43dad629
低值配送单号
:
低值配送单号
:
distrBillId1
:
PSh03472024060
3
00
70
distrBillId1
:
PSh03472024060
4
00
25
distrBillId2
:
PSh03472024060
3
00
70
distrBillId2
:
PSh03472024060
4
00
25
高值配送单号
:
高值配送单号
:
distrBillId1
:
PSh03472024060
3
00
71
distrBillId1
:
PSh03472024060
4
00
26
distrBillId2
:
PSh03472024060
3
00
71
distrBillId2
:
PSh03472024060
4
00
26
试剂配送单号
:
试剂配送单号
:
distrBillId1
:
PSh0347202406030072
distrBillId1
:
PSh0347202406040027
distrBillId2
:
PSh0347202406030072
distrBillId2
:
PSh0347202406040027
高值跟台配送单号
:
distrBillId1
:
PSh0347202406030073
distrBillId2
:
PSh0347202406030073
data/b5_spd3_core_business_flow/message11
View file @
43dad629
采购计划单号高值
:
采购计划单号高值
:
orderNo1
:
PLAN2024060
3
25
270
orderNo1
:
PLAN2024060
4
25
397
orderNo2
:
PLAN2024060
3
25
270
orderNo2
:
PLAN2024060
4
25
397
data/b5_spd3_core_business_flow/message12
View file @
43dad629
采购计划单号试剂
:
采购计划单号试剂
:
orderNo1
:
PLAN2024060
3
25
268
orderNo1
:
PLAN2024060
4
25
399
orderNo2
:
PLAN2024060
3
25
268
orderNo2
:
PLAN2024060
4
25
399
data/b5_spd3_core_business_flow/message13
View file @
43dad629
...
@@ -3,33 +3,34 @@
...
@@ -3,33 +3,34 @@
-
&id001
-
&id001
-
id
:
-
id
:
hosId
:
h0347
hosId
:
h0347
branchId
:
h0347-36
49
branchId
:
h0347-36
51
deptId
:
deptId
:
taskType
:
1
taskType
:
1
sourceOrgId
:
p1e26
7
sourceOrgId
:
p1e26
b
sourceOrgName
:
国药集团公司
mvYxk
sourceOrgName
:
国药集团公司
*0SeL
sourceOrderNo
:
PSh03472024060
3
007
3
sourceOrderNo
:
PSh03472024060
4
00
2
7
billMode
:
'
25
'
billMode
:
'
66
'
stockKind
:
stockKind
:
purMode
:
purMode
:
sourceId
:
PSh03472024060
3
007
3
sourceId
:
PSh03472024060
4
00
2
7
sourceDetailId
:
sourceDetailId
:
sourceType
:
PSD
sourceType
:
PSD
sourceTypeName
:
配送单
sourceTypeName
:
配送单
sourceVersion
:
1
sourceVersion
:
1
planOrderNo
:
SSSQ
2024060
30285
planOrderNo
:
PLAN
2024060
425399
purOrderNo
:
SSTZ
2024060
30
26
1
purOrderNo
:
CG
2024060
4177
26
recOrgId
:
f
8eb781292cd452eabd5ca99f8867aff
recOrgId
:
f
ce41341f4d441239326a6f655be8a1a
recOrgName
:
二级检验科002
recOrgName
:
二级检验科002
billRelationJson
:
'{"operationApplyOrderNo":"SSSQ202406030285","operationNoticeBillId":"Nh034720240603000002","distrBillId":"PSh0347202406030073","operationNoticeOrderNo":"SSTZ202406030261","distrOrderNo":"PSh0347202406030073","operationApplyBillId":"Oh034720240603000002"}'
billRelationJson
:
'{"buyBillId":"Bh03472024060400019","planBillId":"Ph034720240604022044","planOrderNo":"PLAN2024060425399","buyOrderNo":"BUY2024060404611","purOrderNo":"CG2024060417726","purBillId":"Ch034720240604000080","purBillDate":"2024-06-04
taskDate
:
'2024-06-03 14:30:05'
08
:
48:54","distrBillId":"PSh0347202406040027","distrOrderNo":"PSh0347202406040027"}'
taskDate
:
'2024-06-04 08:49:41'
taskDateStart
:
taskDateStart
:
taskDateEnd
:
taskDateEnd
:
billModeList
:
billModeList
:
viewIdList
:
viewIdList
:
supplierFlag
:
fals
e
supplierFlag
:
tru
e
tbStatus
:
20
tbStatus
:
20
remark
:
remark
:
''
list_b
:
list_b
:
-
*id001
-
*id001
list_c
:
list_c
:
...
...
data/b5_spd3_core_business_flow/message14
View file @
43dad629
验收单详情信息
:
验收单详情信息
:
list_a
:
list_a
:
-
&id001
-
&id001
-
purMode
:
2
0
-
purMode
:
6
0
unitName
:
1
支
unitName
:
1
00支/100
hosGoodsId
:
h03470000396
3
hosGoodsId
:
h0347000039
7
6
mdmGoodsCode
:
mdmGoodsCode
:
spdGoodsCode
:
'116609
0
1'
spdGoodsCode
:
'116609
2
1'
goodsCode
:
'0000396
3
'
goodsCode
:
'000039
7
6'
goodsName
:
高值牙钻机^A
%
aM
goodsName
:
新型冠状病毒检测试剂KngvT
goodsGg
:
G-31891
goodsGg
:
G-31891
mfrsId
:
mfrsId
:
mfrsName
:
德国歌德公司 Geuder AG
mfrsName
:
德国歌德公司 Geuder AG
...
@@ -16,27 +16,27 @@
...
@@ -16,27 +16,27 @@
goodsDi
:
goodsDi
:
miCode
:
miCode
:
miDjmc
:
miDjmc
:
certificateCode
:
certificateCode
:
''
rfidFlag
:
0
rfidFlag
:
0
pkgDefId
:
pkgDefId
:
pkgDefName
:
pkgDefName
:
'100'
pkgDefQty
:
1.0
pkgDefQty
:
1
00
.0
batchCode
:
'
2222
'
batchCode
:
'
4444
'
expdtDate
:
'2024-12-1
0
'
expdtDate
:
'2024-12-1
1
'
productDate
:
'2024-06-0
3
'
productDate
:
'2024-06-0
4
'
provName
:
国药集团公司
mvYxk
provName
:
国药集团公司
*0SeL
provId
:
provId
:
viewId
:
'0383
7996
'
viewId
:
'0383
8027
'
verifyFlag
:
0
verifyFlag
:
0
hasSterilize
:
0
hasSterilize
:
0
id
:
'0383
7996
'
id
:
'0383
8027
'
detailRelationJson
:
detailRelationJson
:
extInfo
:
'{"ygptCode":"","transCond":"","storageCond":"","erpCode":""}'
extInfo
:
'{"
goodsGg":"G-31891","goodsCode":"00003976","purMode":60,"goodsName":"新型冠状病毒检测试剂KngvT","
ygptCode":"","transCond":"","storageCond":"","erpCode":"
11660921","ybDefId":"
"}'
recTemperature
:
20
recTemperature
:
20
recHumidity
:
30
recHumidity
:
30
distrPrice
:
99.9999
distrPrice
:
99.9999
distrPkgQty
:
1.0
distrPkgQty
:
1.0
distrQty
:
1.0
distrQty
:
1
00
.0
price
:
99.9999
price
:
99.9999
checkQty
:
0.0
checkQty
:
0.0
checkPkgQty
:
0
checkPkgQty
:
0
...
@@ -44,7 +44,7 @@
...
@@ -44,7 +44,7 @@
initQty
:
initQty
:
totalQty
:
totalQty
:
rowNum
:
rowNum
:
settlement
:
3
settlement
:
1
hdiBarcodeList
:
hdiBarcodeList
:
detailId
:
detailId
:
pkgCode
:
pkgCode
:
...
...
Prev
1
2
Next
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