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
8df2d8ed
Commit
8df2d8ed
authored
Apr 16, 2024
by
xiao-hesheng
Browse files
优化脚本
parent
e2ce7151
Changes
10
Hide whitespace changes
Inline
Side-by-side
air_case/a2_mdm3_ea/企业审核.air/企业审核.py
View file @
8df2d8ed
...
@@ -12,7 +12,7 @@ from common.common_func import commonFuc
...
@@ -12,7 +12,7 @@ from common.common_func import commonFuc
from
air_case.mdm_login.登录外网系统.登录外网系统
import
login_system
from
air_case.mdm_login.登录外网系统.登录外网系统
import
login_system
from
airtest.core.api
import
using
from
airtest.core.api
import
using
import
sys
import
sys
module
=
"a2_mdm3_ea"
pro_path
=
commonFuc
().
get_pro_path
()
pro_path
=
commonFuc
().
get_pro_path
()
sys
.
path
.
append
(
pro_path
+
r
'\\air_case\\a2_mdm3_ea\\a企业认领.air'
)
sys
.
path
.
append
(
pro_path
+
r
'\\air_case\\a2_mdm3_ea\\a企业认领.air'
)
using
(
pro_path
+
r
'\\air_case\\a2_mdm3_ea\\a企业认领.air'
)
using
(
pro_path
+
r
'\\air_case\\a2_mdm3_ea\\a企业认领.air'
)
...
@@ -20,37 +20,41 @@ from a企业认领 import *
...
@@ -20,37 +20,41 @@ from a企业认领 import *
# print('global_var_id',global_var_id)
# print('global_var_id',global_var_id)
id1
=
global_var_id
id1
=
global_var_id
cname
=
global_var_cname
cname
=
global_var_cname
"""
def
test1
():
场景:注册企业审核
module
=
"a2_mdm3_ea"
用例名称:企业审核
"""
输入:CRid
场景:注册企业审核
输出:"rtn_msg": "{"code": 0,'msg': None,'data':'审核通过'}"
用例名称:企业审核
"""
输入:CRid
# 企业注册提交接口_审核通过_开始
输出:"rtn_msg": "{"code": 0,'msg': None,'data':'审核通过'}"
username
=
commonFuc
().
get_business_data
(
module
,
"username"
)
"""
password
=
commonFuc
().
get_business_data
(
module
,
"password"
)
# 企业注册提交接口_审核通过_开始
# print(username, password)
username
=
commonFuc
().
get_business_data
(
module
,
"username"
)
# 获取token和projectCode
password
=
commonFuc
().
get_business_data
(
module
,
"password"
)
token
,
projectCode
,
uxid
,
corpId
,
info
=
login_system
(
username
,
password
).
get_token
()
# print(username, password)
#获取请求头信息
# 获取token和projectCode
headers
=
commonFuc
().
get_business_data
(
module
,
"json_headers2"
,
token
,
projectCode
,
uxid
,
corpId
,
info
=
login_system
(
username
,
password
).
get_token
()
commonFuc
().
get_business_data
(
module
,
"json_contentType"
),
token
,
#获取请求头信息
projectCode
,
token
)
headers
=
commonFuc
().
get_business_data
(
module
,
"json_headers2"
,
commonFuc
().
get_business_data
(
module
,
"json_contentType"
),
token
,
url
=
commonFuc
().
get_api_url
()
+
commonFuc
().
get_business_data
(
module
,
"auditCompanyRegistBill_url"
)
projectCode
,
token
)
request_body
=
commonFuc
().
get_business_data
(
module
,
"payload5"
,
id1
)
# 发送请求
url
=
commonFuc
().
get_api_url
()
+
commonFuc
().
get_business_data
(
module
,
"auditCompanyRegistBill_url"
)
result
=
commonFuc
().
http_post
(
url
,
request_body
,
headers
)
request_body
=
commonFuc
().
get_business_data
(
module
,
"payload5"
,
id1
)
# print('aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa',result)
# 发送请求
#获取接口返回数据
result
=
commonFuc
().
http_post
(
url
,
request_body
,
headers
)
code
=
commonFuc
().
analysis_json
(
'code'
,
result
)
# print('aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa',result)
check_dict1
=
commonFuc
().
get_business_data
(
module
,
"checkDict1"
)
#获取接口返回数据
code
=
commonFuc
().
analysis_json
(
'code'
,
result
)
#断言实际结果中是否包含预期结果的内容
check_dict1
=
commonFuc
().
get_business_data
(
module
,
"checkDict1"
)
commonFuc
().
check_result
(
check_dict1
,
result
)
#===============企业注册提交接口_审核通过_结束
#断言实际结果中是否包含预期结果的内容
commonFuc
().
check_result
(
check_dict1
,
result
)
info
=
(
id1
,
cname
)
#===============企业注册提交接口_审核通过_结束
titlename
=
(
'e_id'
,
'cname'
)
#审核通过的企业名称写入文件中
info
=
(
id1
,
cname
)
FileUtils
().
w_info5
(
info
,
module
,
'企业信息'
,
titlename
)
titlename
=
(
'e_id'
,
'cname'
)
#审核通过的企业名称写入文件中
FileUtils
().
w_info5
(
info
,
module
,
'企业信息'
,
titlename
)
test1
()
\ No newline at end of file
air_case/b3_herp3_purchase/a_b0_手工采购计划_低值产品_提交.air/a_b0_手工采购计划_低值产品_提交.py
View file @
8df2d8ed
...
@@ -73,5 +73,7 @@ def test1():
...
@@ -73,5 +73,7 @@ def test1():
else
:
else
:
commonFuc
().
check_text_exist
(
'error'
,
result
)
commonFuc
().
check_text_exist
(
'error'
,
result
)
try
:
test1
()
test1
()
except
:
print
(
'采购计划提交出现异常,检查功能和脚本'
)
air_case/b5_spd3_core_business_flow/a_a2_流程二供货关系申请提交审批.air/a_a2_流程二供货关系申请提交审批.py
View file @
8df2d8ed
...
@@ -12,9 +12,9 @@ from common.common_func import commonFuc
...
@@ -12,9 +12,9 @@ from common.common_func import commonFuc
from
air_case.mdm_login.登录外网系统.登录外网系统
import
login_system
from
air_case.mdm_login.登录外网系统.登录外网系统
import
login_system
from
airtest.core.api
import
using
from
airtest.core.api
import
using
import
sys
import
sys
#type=1是默认,医院是之前注册的医院
module
=
"b5_spd3_core_business_flow"
def
h_login
(
type
=
1
):
def
h_login
():
module
=
"a4_mdm3_cm2"
# pro_path=commonFuc().get_pro_path()
# pro_path=commonFuc().get_pro_path()
# sys.path.append(pro_path+r'\\air_case\\mdm3_hs\\注册医院审核通过.air')
# sys.path.append(pro_path+r'\\air_case\\mdm3_hs\\注册医院审核通过.air')
# using(pro_path+r'\\air_case\\mdm3_hs\\注册医院审核通过.air')
# using(pro_path+r'\\air_case\\mdm3_hs\\注册医院审核通过.air')
...
@@ -51,5 +51,134 @@ def h_login(type=1):
...
@@ -51,5 +51,134 @@ def h_login(type=1):
continue
continue
else
:
else
:
return
token
,
projectCode
,
uxid
,
corpId
,
username
return
token
,
projectCode
,
uxid
,
corpId
,
username
def
e_login
(
type
=
1
):
module
=
"a4_mdm3_cm"
username
=
'username'
if
type
==
1
:
#注册一个新企业,并审批
pro_path
=
commonFuc
().
get_pro_path
()
sys
.
path
.
append
(
pro_path
+
r
'\\air_case\\a2_mdm3_ea\\企业审核.air'
)
using
(
pro_path
+
r
'\\air_case\\a2_mdm3_ea\\企业审核.air'
)
from
企业审核
import
test1
h_login
(
2
)
info
=
FileUtils
().
r_info
(
"a2_mdm3_ea"
,
"企业信息"
)
\ No newline at end of file
print
(
info
)
username
=
info
[
'cname'
]
print
(
'aaaaaaaaaaaaaaaaaaaaaaaaaaa'
,
username
)
else
:
#读取文件中存入的企业信息
info
=
FileUtils
().
r_info
(
"a2_mdm3_ea"
,
"企业信息"
)
print
(
info
)
username
=
info
[
'cname'
]
print
(
'aaaaaaaaaaaaaaaaaaaaaaaaaaa'
,
username
)
#a2供货关系申请_客户类型_医院_登录_企业登录
# print('医院名称',username)
password
=
commonFuc
().
get_business_data
(
module
,
"password"
)
print
(
username
,
password
)
# 获取token和projectCode
import
time
while
True
:
try
:
token
,
projectCode
,
uxid
,
corpId
,
info
=
login_system
(
username
,
password
).
get_token
()
except
:
time
.
sleep
(
6
)
continue
else
:
return
token
,
projectCode
,
uxid
,
corpId
,
username
# break
def
supply_and_marketing_apply
():
token
,
projectCode
,
uxid
,
corpId
,
username
=
e_login
()
# 获取医院corpId
h_token
,
h_projectCode
,
h_uxid
,
h_corpId
,
h_name
=
h_login
()
module
=
"a4_mdm3_cm"
# a3供货关系申请_客户类型_医院_供销关系申请提交
url
=
commonFuc
().
get_api_url
()
+
commonFuc
().
get_business_data
(
module
,
"submitSupplyRelation_url"
)
# 获取请求头信息
headers
=
commonFuc
().
get_business_data
(
module
,
"json_headers2"
,
commonFuc
().
get_business_data
(
module
,
"json_contentType"
),
token
,
projectCode
)
contactUser
=
commonFuc
().
randomString
(
5
)
contactWay
=
contactUser
request_body
=
commonFuc
().
get_business_data
(
module
,
"payload"
,
h_corpId
,
contactUser
,
contactWay
)
# 发送请求
result
=
commonFuc
().
http_post
(
url
,
request_body
,
headers
)
print
(
'result'
,
result
)
# #获取接口返回数据
#
check_dict
=
commonFuc
().
get_business_data
(
module
,
"checkDict"
)
commonFuc
().
check_result
(
check_dict
,
result
)
e_corpId
=
corpId
e_username
=
username
return
e_corpId
,
h_corpId
,
e_username
,
h_name
def
submitSupplyRelation_pass
():
module
=
"a4_mdm3_cm"
token
,
projectCode
,
uxid
,
corpId
,
h_name
=
h_login
()
print
(
token
,
projectCode
,
uxid
,
corpId
,
h_name
)
pro_path
=
commonFuc
().
get_pro_path
()
#查询待审核数据=========================================
# a11供货关系审核_驳回_客户类型_医院_供销关系审核_查询待审核数据1
url
=
commonFuc
().
get_api_url
()
+
commonFuc
().
get_business_data
(
module
,
"listVoPage_url"
)
# 获取请求头信息
headers
=
commonFuc
().
get_business_data
(
module
,
"json_headers2"
,
commonFuc
().
get_business_data
(
module
,
"json_contentType"
),
token
,
projectCode
)
request_body
=
commonFuc
().
get_business_data
(
module
,
"payload6"
,
corpId
)
# 发送请求
result
=
commonFuc
().
http_post
(
url
,
request_body
,
headers
)
print
(
'result'
,
result
)
id1
=
commonFuc
().
analysis_json
(
'id'
,
commonFuc
().
analysis_json
(
'data'
,
commonFuc
().
analysis_json
(
'data'
,
result
)))
print
(
'id1'
,
id1
)
# 查询待审核数据======================================
#b15供货关系审核_通过_客户类型_医院
url
=
commonFuc
().
get_api_url
()
+
commonFuc
().
get_business_data
(
module
,
"auditSupplyRelation_url"
)
# 获取请求头信息
headers
=
commonFuc
().
get_business_data
(
module
,
"json_headers2"
,
commonFuc
().
get_business_data
(
module
,
"json_contentType"
),
token
,
projectCode
)
contactUser
=
commonFuc
().
randomString
(
5
)
contactWay
=
contactUser
request_body
=
commonFuc
().
get_business_data
(
module
,
"payload7_2"
,
id1
,
contactUser
,
contactWay
)
# 发送请求
result
=
commonFuc
().
http_post
(
url
,
request_body
,
headers
)
print
(
'result'
,
result
)
#断言
checkDict
=
commonFuc
().
get_business_data
(
module
,
'checkDict'
)
commonFuc
().
check_result
(
checkDict
,
result
)
def
supply_and_marketing_apply2
():
pro_path
=
commonFuc
().
get_pro_path
()
token
,
projectCode
,
uxid
,
corpId
,
username
=
e_login
(
2
)
#获取医院corpId
h_token
,
h_projectCode
,
h_uxid
,
h_corpId
,
h_name
=
h_login
()
module
=
"a4_mdm3_cm"
#a3供货关系申请_客户类型_医院_供销关系申请提交
url
=
commonFuc
().
get_api_url
()
+
commonFuc
().
get_business_data
(
module
,
"submitSupplyRelation_url"
)
# 获取请求头信息
headers
=
commonFuc
().
get_business_data
(
module
,
"json_headers2"
,
commonFuc
().
get_business_data
(
module
,
"json_contentType"
),
token
,
projectCode
)
contactUser
=
commonFuc
().
randomString
(
5
)
contactWay
=
contactUser
request_body
=
commonFuc
().
get_business_data
(
module
,
"payload_2"
,
h_corpId
,
contactUser
,
contactWay
)
# 发送请求
result
=
commonFuc
().
http_post
(
url
,
request_body
,
headers
)
print
(
'result'
,
result
)
# #获取接口返回数据
#
check_dict
=
commonFuc
().
get_business_data
(
module
,
"checkDict"
)
commonFuc
().
check_result
(
check_dict
,
result
)
e_corpId
=
corpId
e_username
=
username
return
e_corpId
,
h_corpId
,
e_username
,
h_name
h_login
()
#医院登录
e_login
(
1
)
#企业登录
#供应关系申请-客户类型医院
FileUtils
().
w_info1
(
supply_and_marketing_apply
(),
module
,
'供货关系申请'
)
submitSupplyRelation_pass
()
#供应关系申请-客户类型厂商
FileUtils
().
w_info1
(
supply_and_marketing_apply2
(),
module
,
'供货关系申请2'
)
submitSupplyRelation_pass
()
\ No newline at end of file
air_case/b5_spd3_core_business_flow/a_a3_流程三_产品导入和审批.air/a_a3_流程三_产品导入和审批.py
0 → 100644
View file @
8df2d8ed
# -*- encoding=utf8 -*-
from
common.fileUtls
import
FileUtils
__author__
=
"xiaohesheng"
"""
case_tag:api,mdm-web1,a_a3_流程三_产品导入和审批,id9999,id9999-3,sit,on
主数据平台:a_a3_流程三_产品导入和审批
"""
from
common.common_func
import
commonFuc
from
air_case.mdm_login.登录外网系统.登录外网系统
import
login_system
from
airtest.core.api
import
using
import
sys
module
=
"b5_spd3_core_business_flow"
def
h_login
():
module
=
"a4_mdm3_cm"
username
=
commonFuc
().
get_business_data
(
module
,
"username"
)
password
=
commonFuc
().
get_business_data
(
module
,
"password1"
)
print
(
'医院名称'
,
username
)
print
(
username
,
password
,
'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa'
)
# 获取token和projectCode
import
time
while
True
:
try
:
token
,
projectCode
,
uxid
,
corpId
,
info
=
login_system
(
username
,
password
).
get_token
()
except
:
time
.
sleep
(
6
)
continue
else
:
return
token
,
projectCode
,
uxid
,
corpId
,
username
def
e_login
(
type
=
1
):
module
=
"a4_mdm3_cm"
username
=
'username'
if
type
==
1
:
#注册一个新企业,并审批
pro_path
=
commonFuc
().
get_pro_path
()
sys
.
path
.
append
(
pro_path
+
r
'\\air_case\\a2_mdm3_ea\\企业审核.air'
)
using
(
pro_path
+
r
'\\air_case\\a2_mdm3_ea\\企业审核.air'
)
from
企业审核
import
test1
info
=
FileUtils
().
r_info
(
"a2_mdm3_ea"
,
"企业信息"
)
print
(
info
)
username
=
info
[
'cname'
]
print
(
'aaaaaaaaaaaaaaaaaaaaaaaaaaa'
,
username
)
else
:
#读取文件中存入的企业信息
info
=
FileUtils
().
r_info
(
"a2_mdm3_ea"
,
"企业信息"
)
print
(
info
)
username
=
info
[
'cname'
]
print
(
'aaaaaaaaaaaaaaaaaaaaaaaaaaa'
,
username
)
#a2供货关系申请_客户类型_医院_登录_企业登录
# print('医院名称',username)
password
=
commonFuc
().
get_business_data
(
module
,
"password"
)
print
(
username
,
password
)
# 获取token和projectCode
import
time
while
True
:
try
:
token
,
projectCode
,
uxid
,
corpId
,
info
=
login_system
(
username
,
password
).
get_token
()
except
:
time
.
sleep
(
6
)
continue
else
:
return
token
,
projectCode
,
uxid
,
corpId
,
username
# break
def
add_goods
():
token
,
projectCode
,
uxid
,
corpId
,
e_name
=
e_login
(
2
)
# 获取医院corpId
h_token
,
h_projectCode
,
h_uxid
,
h_corpId
,
h_name
=
h_login
()
module
=
"a5_mdm3_pdm"
#b18供货目录申请_客户类型_医院_提交供货申请单_添加产品
url
=
commonFuc
().
get_api_url
()
+
commonFuc
().
get_business_data
(
module
,
"addGoodsHandleInfos_url"
)
print
(
'url'
,
url
)
# 获取请求头信息
headers
=
commonFuc
().
get_business_data
(
module
,
"json_headers2"
,
commonFuc
().
get_business_data
(
module
,
"json_contentType"
),
token
,
projectCode
)
goodsname
=
commonFuc
().
randomString
(
5
)
request_body
=
commonFuc
().
get_business_data
(
module
,
"payload_1"
,
h_corpId
,
h_name
,
corpId
,
e_name
,
goodsname
,
e_name
)
# request_body = commonFuc().get_business_data(module, "payload10_1")
# print('request_body',request_body)
# 发送请求
result
=
commonFuc
().
http_post
(
url
,
request_body
,
headers
)
print
(
'result'
,
result
)
#断言
code
=
commonFuc
().
analysis_json
(
'code'
,
result
)
data
=
commonFuc
().
analysis_json
(
'data'
,
result
)
if
code
==
0
:
commonFuc
().
check_text_exist
(
code
,
result
)
else
:
commonFuc
().
check_text_exist
(
-
1
,
result
)
def
apply
():
module
=
"a5_mdm3_pdm"
token
,
projectCode
,
uxid
,
corpId
,
username
=
e_login
(
2
)
#获取医院corpId
h_token
,
h_projectCode
,
h_uxid
,
h_corpId
,
h_name
=
h_login
()
# 登录
username
=
h_name
password
=
commonFuc
().
get_business_data
(
module
,
"password1"
)
print
(
username
,
password
)
# 获取token和projectCode
token
,
projectCode
,
uxid
,
corpId
,
info
=
login_system
(
username
,
password
).
get_token
()
# 审批产品驳回
url
=
commonFuc
().
get_api_url
()
+
commonFuc
().
get_business_data
(
module
,
"singleAudit_url"
)
# 获取请求头信息
headers
=
commonFuc
().
get_business_data
(
module
,
"json_headers2"
,
commonFuc
().
get_business_data
(
module
,
"json_contentType"
),
token
,
projectCode
)
info
=
FileUtils
().
r_info6
(
module
,
"产品审核信息"
,
'message2'
)
print
(
info
)
MSPid
=
info
[
'MSPid'
]
hosId
=
info
[
'hosId'
]
hosGoodsId
=
info
[
'hosGoodsId'
]
provGoodsid
=
info
[
'provGoodsid'
]
goodsAuditBillId
=
info
[
'goodsAuditBillId'
]
targetId
=
info
[
'targetId'
]
request_body
=
commonFuc
().
get_business_data
(
module
,
"payload3_1"
,
MSPid
,
hosId
,
hosGoodsId
,
provGoodsid
,
goodsAuditBillId
,
targetId
)
print
(
'产品信息审核查询请求体'
,
request_body
)
# 发送请求
result
=
commonFuc
().
http_post
(
url
,
request_body
,
headers
)
print
(
"产品信息审核查询返回结果"
,
result
)
checkDict
=
commonFuc
().
get_business_data
(
module
,
'checkDict'
)
commonFuc
().
check_result
(
checkDict
,
result
)
def
select1
():
module
=
"a5_mdm3_pdm"
token
,
projectCode
,
uxid
,
corpId
,
username
=
e_login
(
2
)
#获取医院corpId
h_token
,
h_projectCode
,
h_uxid
,
h_corpId
,
h_name
=
h_login
()
# 登录
username
=
h_name
password
=
commonFuc
().
get_business_data
(
module
,
"password1"
)
print
(
username
,
password
)
# 获取token和projectCode
token
,
projectCode
,
uxid
,
corpId
,
info
=
login_system
(
username
,
password
).
get_token
()
# 产品信息审核查询
url
=
commonFuc
().
get_api_url
()
+
commonFuc
().
get_business_data
(
module
,
"getAuditGoodsListByPage_url"
)
# 获取请求头信息
headers
=
commonFuc
().
get_business_data
(
module
,
"json_headers2"
,
commonFuc
().
get_business_data
(
module
,
"json_contentType"
),
token
,
projectCode
)
request_body
=
commonFuc
().
get_business_data
(
module
,
"payload2"
,
h_corpId
)
# print('产品信息审核查询请求体', request_body)
# 发送请求
result
=
commonFuc
().
http_post
(
url
,
request_body
,
headers
)
print
(
"产品信息审核查询返回结果"
,
result
)
data
=
commonFuc
().
analysis_json
(
'data'
,
result
)
total
=
commonFuc
().
analysis_json
(
'total'
,
data
)
data1
=
commonFuc
().
analysis_json
(
'data'
,
data
)
if
total
>=
1
:
id1
=
commonFuc
().
analysis_json
(
'id'
,
data1
[
0
])
auditOrgId
=
commonFuc
().
analysis_json
(
'hosId'
,
data1
[
0
])
hosGoodsId
=
commonFuc
().
analysis_json
(
'hosGoodsid'
,
data1
[
0
])
provGoodsid
=
commonFuc
().
analysis_json
(
'provGoodsid'
,
data1
[
0
])
goodsAuditBillId
=
commonFuc
().
analysis_json
(
'billId'
,
data1
[
0
])
targetId
=
commonFuc
().
analysis_json
(
'id'
,
data1
[
0
])
print
(
id1
,
auditOrgId
,
hosGoodsId
,
provGoodsid
,
goodsAuditBillId
,
targetId
)
info
=
(
id1
,
auditOrgId
,
hosGoodsId
,
provGoodsid
,
goodsAuditBillId
,
targetId
)
titlename
=
(
"MSPid"
,
'hosId'
,
'hosGoodsId'
,
'provGoodsid'
,
'goodsAuditBillId'
,
'targetId'
)
# 将产品审核信息写入到文件中
FileUtils
().
w_info6
(
info
,
module
,
'产品审核信息'
,
titlename
,
'message2'
)
else
:
commonFuc
().
check_text_exist
(
0
,
result
)
add_goods
()
select1
()
apply
()
\ No newline at end of file
data/a2_mdm3_ea/message
View file @
8df2d8ed
企业信息:
企业信息:
e_id: CR202404120
042
e_id: CR202404120
150
cname: 国药集团公司
7C1o8
cname: 国药集团公司
nI2dT
data/a4_mdm3_cm2/message
View file @
8df2d8ed
供货关系申请:
供货关系申请:
e_corpId: p1e0
e8
e_corpId: p1e0
f3
h_corpId: h
287b
h_corpId: h
0347
e_username: 国药集团公司
7C1o8
e_username: 国药集团公司
@KufG
h_name:
湖南省人民医院v7(@o
h_name:
test001
data/a5_mdm3_pdm/data
View file @
8df2d8ed
...
@@ -7,6 +7,7 @@
...
@@ -7,6 +7,7 @@
"batchRejectAudit_url": "/api/hdiFusion/goodsAuditBill/batchRejectAudit?hosVersion=3"
"batchRejectAudit_url": "/api/hdiFusion/goodsAuditBill/batchRejectAudit?hosVersion=3"
"username": "test001"
"username": "test001"
"password": "a123456!"
"password": "a123456!"
"password1": "1qaz!QAZ"
json_contentType: "application/json"
json_contentType: "application/json"
json_headers: {
json_headers: {
"Content-Type": "%s"
"Content-Type": "%s"
...
...
data/a5_mdm3_pdm/message2
View file @
8df2d8ed
产品审核信息
:
产品审核信息
:
MSPid
:
MSP2
312140043
_1
MSPid
:
MSP2
404120015
_1
hosId
:
h
2780
hosId
:
h
0347
hosGoodsId
:
h
278000000137
hosGoodsId
:
h
034700002858
provGoodsid
:
provGood-9921
8575
provGoodsid
:
provGood-9921
9946
goodsAuditBillId
:
MSP2
312140043
goodsAuditBillId
:
MSP2
404120015
targetId
:
MSP2
312140043
_1
targetId
:
MSP2
404120015
_1
data/a6_mdm3_dp/data
View file @
8df2d8ed
...
@@ -90,7 +90,7 @@ json_headers2: {
...
@@ -90,7 +90,7 @@ json_headers2: {
"payload2_1_1": {"id":"%s","version":2,"hosVersion":2,"userId":"%s","detailList":[]}
"payload2_1_1": {"id":"%s","version":2,"hosVersion":2,"userId":"%s","detailList":[]}
"payload9": {"pageNum":1,"pageSize":50,"orderBy":"last_modified desc, order_no desc","queryObject":{"dateValue":["",""],"hosId":"h0347","orderNo":"","provId":"p10d95","pageType":2,"tabIdx":"2","startDate":"","endDate":""}}
"payload9": {"pageNum":1,"pageSize":50,"orderBy":"last_modified desc, order_no desc","queryObject":{"dateValue":["",""],"hosId":"h0347","orderNo":"","provId":"p10d95","pageType":2,"tabIdx":"2","startDate":"","endDate":""}}
"payload9_1": {"pageNum":1,"pageSize":50,"orderBy":"last_modified desc, order_no desc","queryObject":{"dateValue":["",""],"hosId":"h0028","orderNo":"","provId":"p10d95","pageType":2,"tabIdx":"2","startDate":"","endDate":""}}
"payload9_1": {"pageNum":1,"pageSize":50,"orderBy":"last_modified desc, order_no desc","queryObject":{"dateValue":["",""],"hosId":"h0028","orderNo":"","provId":"p10d95","pageType":2,"tabIdx":"2","startDate":"","endDate":""}}
"payload9_2": {"id":"","purBillId":"%s","sourceId":"%s","sourceVersion":1,"version":0,"billMode":"20","hosVersion":3,"createUser":"GYQX-SPD:user-19669","createUserName":"浙江高仰医疗","lastModifiedUser":"GYQX-SPD:user-19669","detailList":[{"sourceDetailId":"%s","hosGoodsId":"h034700001984","mdmGoodsCode":"11658124","goodsCode":"00001984","certificateCode":"鄂准药监器20231044114","pkgDefId":null,"provGoodsId":null,"replPkgQty":799,"settlement":3,"batchCode":"333","productDate":"202
3-12-01
","expdtDate":"20
24
-02-25","distrPkgQty":1,"disabledFlag":0,"distrQty":1,"ext":{"ygptCode":"","transCond":"","storageCond":"2~8℃保存","erpCode":"11658124"},"edit":true,"barcodeList":[],"viewId":"%sROW0"}]}
"payload9_2": {"id":"","purBillId":"%s","sourceId":"%s","sourceVersion":1,"version":0,"billMode":"20","hosVersion":3,"createUser":"GYQX-SPD:user-19669","createUserName":"浙江高仰医疗","lastModifiedUser":"GYQX-SPD:user-19669","detailList":[{"sourceDetailId":"%s","hosGoodsId":"h034700001984","mdmGoodsCode":"11658124","goodsCode":"00001984","certificateCode":"鄂准药监器20231044114","pkgDefId":null,"provGoodsId":null,"replPkgQty":799,"settlement":3,"batchCode":"333","productDate":"202
4-04-15
","expdtDate":"20
35
-02-25","distrPkgQty":1,"disabledFlag":0,"distrQty":1,"ext":{"ygptCode":"","transCond":"","storageCond":"2~8℃保存","erpCode":"11658124"},"edit":true,"barcodeList":[],"viewId":"%sROW0"}]}
"payload9_3": {"id":"","purBillId":"%s","sourceId":"%s","sourceVersion":"%s","version":0,"billMode":"66","hosVersion":2,"createUser":"GYQX-SPD:user-19669","createUserName":"浙江高仰医疗","lastModifiedUser":"GYQX-SPD:user-19669","detailList":[{"sourceDetailId":"%s","hosGoodsId":"h0028|hosGood-880444","mdmGoodsCode":null,"goodsCode":"880444","certificateCode":"京械注准203420915218","pkgDefId":"h0028000217","provGoodsId":"provGood-1939432","replPkgQty":6,"settlement":0,"batchCode":"1","productDate":"2023-12-01","expdtDate":"2023-12-31","distrPkgQty":1,"disabledFlag":0,"distrQty":10,"ext":{"ygptCode":"","transCond":"0-15℃","storageCond":"0-30℃","erpCode":"11658060"},"edit":true,"barcodeList":[],"viewId":"%sROW0"}]}
"payload9_3": {"id":"","purBillId":"%s","sourceId":"%s","sourceVersion":"%s","version":0,"billMode":"66","hosVersion":2,"createUser":"GYQX-SPD:user-19669","createUserName":"浙江高仰医疗","lastModifiedUser":"GYQX-SPD:user-19669","detailList":[{"sourceDetailId":"%s","hosGoodsId":"h0028|hosGood-880444","mdmGoodsCode":null,"goodsCode":"880444","certificateCode":"京械注准203420915218","pkgDefId":"h0028000217","provGoodsId":"provGood-1939432","replPkgQty":6,"settlement":0,"batchCode":"1","productDate":"2023-12-01","expdtDate":"2023-12-31","distrPkgQty":1,"disabledFlag":0,"distrQty":10,"ext":{"ygptCode":"","transCond":"0-15℃","storageCond":"0-30℃","erpCode":"11658060"},"edit":true,"barcodeList":[],"viewId":"%sROW0"}]}
"payload9_4": {"pageNum":1,"pageSize":50,"orderBy":"last_modified desc, order_no desc","queryObject":{"dateValue":["",""],"provId":"p10d95","pageType":2,"hosIdList":["h0347","h0028"],"tabIdx":"3","startDate":"","endDate":""}}
"payload9_4": {"pageNum":1,"pageSize":50,"orderBy":"last_modified desc, order_no desc","queryObject":{"dateValue":["",""],"provId":"p10d95","pageType":2,"hosIdList":["h0347","h0028"],"tabIdx":"3","startDate":"","endDate":""}}
"payload9_5": {"pageNum":1,"pageSize":50,"orderBy":"create_time desc","queryObject":{"dateValue":["",""],"provId":"p10d95","pageType":2,"hosIdList":["h0347","h0028"],"tabIdx":"1","startDate":"","endDate":""}}
"payload9_5": {"pageNum":1,"pageSize":50,"orderBy":"create_time desc","queryObject":{"dateValue":["",""],"provId":"p10d95","pageType":2,"hosIdList":["h0347","h0028"],"tabIdx":"1","startDate":"","endDate":""}}
...
...
report/summary.html
View file @
8df2d8ed
...
@@ -55,9 +55,9 @@
...
@@ -55,9 +55,9 @@
<tr
width=
"600"
>
<tr
width=
"600"
>
<td
class=
'details-col-elapsed'
>
1
</td>
<td
class=
'details-col-elapsed'
>
1
</td>
<td
class=
'details-col-elapsed'
>
1
</td>
<td
class=
'details-col-elapsed'
>
0
</td>
<td
class=
'details-col-elapsed'
>
0分
5
秒
</td>
<td
class=
'details-col-elapsed'
>
0分
4
秒
</td>
<td
class=
"details-col-elapsed"
>
10
0.0%
</td>
<td
class=
"details-col-elapsed"
>
0.0%
</td>
</tr>
</tr>
</table>
</table>
...
@@ -72,9 +72,9 @@
...
@@ -72,9 +72,9 @@
</tr>
</tr>
<tr
width=
"600"
>
<tr
width=
"600"
>
<td
class=
"details-col-elapsed"
><a
href=
'../log/a
1_1产品新增导入_高值
/log.html'
target=
'_blank'
>
a
1_1产品新增导入_高值
</a></td>
<td
class=
"details-col-elapsed"
><a
href=
'../log/a
_b0_手工采购计划_低值产品_提交
/log.html'
target=
'_blank'
>
a
_b0_手工采购计划_低值产品_提交
</a></td>
<td
class=
"
success"
>
成功
</td>
<td
class=
"
fail"
>
失败
</td>
<td
class=
"details-col-elapsed"
>
5.02
</td>
<td
class=
"details-col-elapsed"
>
4.369
</td>
<td
class=
"details-col-elapsed"
>
xiaohesheng
</td>
<td
class=
"details-col-elapsed"
>
xiaohesheng
</td>
</tr>
</tr>
...
...
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