Commit 9b66244b authored by xiao-hesheng's avatar xiao-hesheng
Browse files

流程八脚本编写

parent faa2adfe
...@@ -256,9 +256,9 @@ def grants_user(orgName='d69a68df361a4289b2262e4ef75b55a5', mgrRangeId='feb0cc16 ...@@ -256,9 +256,9 @@ def grants_user(orgName='d69a68df361a4289b2262e4ef75b55a5', mgrRangeId='feb0cc16
try: try:
test1() test1()
test2() test2()# 科室添加产品信息(产品是从外网同步过来的)
dept_query_all() dept_query_all()# 科室查询,将科室id写入文件中
grants_user() grants_user()#给用户授权
commonFuc().check_text_exist_result_text('succees', 'succees') commonFuc().check_text_exist_result_text('succees', 'succees')
except Exception as e: except Exception as e:
commonFuc().check_text_exist_result_text('succees','error') commonFuc().check_text_exist_result_text('succees','error')
......
...@@ -13,7 +13,7 @@ from airtest.core.api import using ...@@ -13,7 +13,7 @@ from airtest.core.api import using
__author__ = "xiaohesheng" __author__ = "xiaohesheng"
""" """
case_tag:api,spd_core1,a_b1流程八_高值跟台业务流程,id2302,id2302-11,sit,on case_tag:api,spd_core,a_b1流程八_高值跟台业务流程,id2302,id2302-11,sit,on
主数据平台:a_b1流程八_高值跟台业务流程 主数据平台:a_b1流程八_高值跟台业务流程
python runner_test.py tag id2302-11 debug mdm3 python runner_test.py tag id2302-11 debug mdm3
""" """
...@@ -65,21 +65,23 @@ def operationApply(): # 高值跟台申请 ...@@ -65,21 +65,23 @@ def operationApply(): # 高值跟台申请
subProvId = commonFuc().analysis_json('subProvId', list_a) subProvId = commonFuc().analysis_json('subProvId', list_a)
subProvName = commonFuc().analysis_json('subProvName', list_a) subProvName = commonFuc().analysis_json('subProvName', list_a)
goodsName = commonFuc().analysis_json('goodsName', list_a) goodsName = commonFuc().analysis_json('goodsName', list_a)
goodsSpec= commonFuc().analysis_json('goodsSpec', list_a) goodsSpec = commonFuc().analysis_json('goodsSpec', list_a)
goodsMfrsId= commonFuc().analysis_json('goodsMfrsId', list_a) goodsMfrsId = commonFuc().analysis_json('goodsMfrsId', list_a)
goodsMfrsName= commonFuc().analysis_json('goodsMfrsName', list_a) goodsMfrsName = commonFuc().analysis_json('goodsMfrsName', list_a)
unit= commonFuc().analysis_json('unit', list_a) unit = commonFuc().analysis_json('unit', list_a)
price= commonFuc().analysis_json('price', list_a) price = commonFuc().analysis_json('price', list_a)
request_body = commonFuc().get_business_data(module, "payload24", stockAreaId, expireDate, operDate, provId, request_body = commonFuc().get_business_data(module, "payload24", stockAreaId, expireDate, operDate, provId,
provCode, provName, hosGoodsId, hosGoodsCode, provId, subProvId, provCode, provName, hosGoodsId, hosGoodsCode, provId, subProvId,
subProvName, goodsName,goodsSpec,goodsMfrsId,goodsMfrsName,unit,price) subProvName, goodsName, goodsSpec, goodsMfrsId, goodsMfrsName, unit,
price)
result = commonFuc().http_post(url, request_body, headers) result = commonFuc().http_post(url, request_body, headers)
print('跟台手术申请提交result', result) print('跟台手术申请提交result', result)
# 跟台手术申请提交============ # 跟台手术申请提交============
def second_dept_in_warehouse(): def second_dept_in_warehouse():
updateUserLoginDefaultRange(get_listUserMgrRangePage(2)) # 设置登录账号默认权限是二级库 # updateUserLoginDefaultRange(get_listUserMgrRangePage(2)) # 设置登录账号默认权限是二级库
module = "b5_spd3_core_business_flow" module = "b5_spd3_core_business_flow"
# # 登录获取用户id等信息,使用创建的用户登录===========开始 # # 登录获取用户id等信息,使用创建的用户登录===========开始
info = FileUtils().r_info8('b2_herp3_bs', "用户名信息", 'message3') info = FileUtils().r_info8('b2_herp3_bs', "用户名信息", 'message3')
...@@ -102,44 +104,243 @@ def second_dept_in_warehouse(): ...@@ -102,44 +104,243 @@ def second_dept_in_warehouse():
# # # # 发送请求 # # # # 发送请求
result = commonFuc().http_post(url, request_body, headers) result = commonFuc().http_post(url, request_body, headers)
print('result', result) print('result', result)
# 科室入库,列表查询========================================================== deptid = commonFuc().analysis_json('deptId',
# 科室入库页面获取库区信息================================================= commonFuc().analysis_json('data', commonFuc().analysis_json('data', result)))
sourceId = commonFuc().analysis_json('sourceId',
commonFuc().analysis_json('data', commonFuc().analysis_json('data', result)))
sourceType = commonFuc().analysis_json('sourceType',
commonFuc().analysis_json('data', commonFuc().analysis_json('data', result)))
billMode = commonFuc().analysis_json('billMode',
commonFuc().analysis_json('data', commonFuc().analysis_json('data', result)))
deptName = commonFuc().analysis_json('deptName',
commonFuc().analysis_json('data', 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,
"dept_stockUser_queryStockShelfList_url") "dept_stockUser_queryStockShelfList_url")
print('科室入库页面获取单据详细信息,url', url) print('科室入库页面获取库区信息,url', url)
request_body = commonFuc().get_business_data(module, "payload29", get_branch_id(), get_hosid()) request_body = commonFuc().get_business_data(module, "payload29", deptid, uxid)
print('request_body', '跟台手术申请', request_body) print('request_body', '科室入库页面获取库区信息', request_body)
result = commonFuc().http_post(url, request_body, headers)
# 室入库页面获取库区信息================================================= print('科室入库页面获取库区信息result', result)
data = commonFuc().analysis_json('data', result)
areaCode = commonFuc().analysis_json('areaCode', data)
areaName = commonFuc().analysis_json('areaName', data)
# 科室入库页面获取库区信息=================================================
#科室入库页面获取单据详细信息================================================= # 科室入库页面获取单据详细信息=================================================
url = commonFuc().get_api_add_port_url() + commonFuc().get_business_data(module, url = commonFuc().get_api_add_port_url() + commonFuc().get_business_data(module,
"dept_stock_in_detail_url") "dept_stock_in_detail_url")
print('科室入库页面获取单据详细信息,url', url) print('科室入库页面获取单据详细信息,url', url)
request_body = commonFuc().get_business_data(module, "payload29", get_branch_id(), get_hosid()) targetAreaCode = areaCode
print('request_body', '跟台手术申请', request_body) request_body = commonFuc().get_business_data(module, "payload30", deptid, targetAreaCode, get_hosid(), sourceId,
sourceType, billMode)
print('request_body', '科室入库页面获取单据详细信息', request_body)
# # # # 发送请求 # # # # 发送请求
result = commonFuc().http_post(url, request_body, headers) result = commonFuc().http_post(url, request_body, headers)
print('result', result) print('result', result)
#科室入库页面获取单据详细信息========= data = commonFuc().analysis_json('data', result)
viewId = commonFuc().analysis_json('viewId', data)
shelfCode = commonFuc().analysis_json('shelfCode', data)
# 科室入库页面获取单据详细信息====================================================
# 一键入库====================================================
url = commonFuc().get_api_add_port_url() + commonFuc().get_business_data(module,
"dept_stock_in_submit_url")
print('一键入库,url', url)
targetAreaCode = areaCode
targetAreaName = areaName
request_body = commonFuc().get_business_data(module, "payload31", viewId, shelfCode, sourceId,
sourceType, deptid, deptName, targetAreaCode, targetAreaName)
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,
"dept_stock_barcode_page_url")
print('条码库存查询,url', url)
request_body = commonFuc().get_business_data(module, "payload32", get_branch_id(), deptid)
print('request_body', '条码库存查询', request_body)
# # # # 发送请求
result = commonFuc().http_post(url, request_body, headers)
print('条码库存查询result', result)
# 条码库存查询=================================================
# # 将二级库库存条码信息写入文件
data = commonFuc().analysis_json('data', commonFuc().analysis_json('data', result))
data1=[]
for i in data:
lockStatus=commonFuc().analysis_json('lockStatus',i)
if lockStatus==0:
data1=i
break
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, 'message20')
# # 将二级库库存条码信息写入文件=================================================
# 跟台消耗提交================================
url = commonFuc().get_api_add_port_url() + commonFuc().get_business_data(module,
"dept_stock_out_submit_url")
print('跟台消耗提交,url', url)
chargeDeptId = deptid
operDate = timeUtils.get_time_add(3, 2)
info = FileUtils().r_info8('b5_spd3_core_business_flow', "二级库条码信息", 'message20')
list_a = info['list_a']
stockId = commonFuc().analysis_json('stockId', list_a)
sourceType = 'CK_XH'
pickType = 'KS_XH'
barCodeList_id = commonFuc().analysis_json('id', list_a)
hosGoodsId = commonFuc().analysis_json('hosGoodsId', list_a)
info = FileUtils().r_info8('b5_spd3_core_business_flow', "配送订单详细信息2", 'message9')
list22 = info['list_a']
mdmGoodsCode = commonFuc().analysis_json('spdGoodsCode', list22)
goodsCode = commonFuc().analysis_json('goodsCode', list_a)
batchCode = commonFuc().analysis_json('batchCode', list_a)
productDate = commonFuc().analysis_json('productDate', list_a)
expdtDate = commonFuc().analysis_json('expdtDate', list_a)
purMode = commonFuc().analysis_json('purMode', list_a)
pkgCodeSee = commonFuc().analysis_json('pkgCodeSee', list_a)
recDeptName = commonFuc().analysis_json('recDeptName', list_a)
request_body = commonFuc().get_business_data(module, "payload33", areaCode, areaName, deptid, stockId, get_hosid(),
sourceType, pickType, chargeDeptId, operDate, pickType, areaCode,
areaName, deptid, stockId, get_hosid(), get_branch_id(),
barCodeList_id, hosGoodsId, mdmGoodsCode, goodsCode, batchCode,
productDate, expdtDate, purMode, shelfCode)
print('request_body', '跟台消耗提交', request_body)
# # # # 发送请求
result = commonFuc().http_post(url, request_body, headers)
print('跟台消耗提交,result', result)
DRh_id = ' '.join(commonFuc().analysis_json('data', result))
# 跟台消耗提交================================
# 跟台消耗扫条码== == == == == == == == == == == == == == == ==
url = commonFuc().get_api_add_port_url() + commonFuc().get_business_data(module,
"dept_stock_scan_url")
print('跟台消耗扫条码,url', url)
stockName = recDeptName
request_body = commonFuc().get_business_data(module, "payload34", pkgCodeSee, stockId, stockName,
areaCode, areaName)
print('跟台消耗扫条码', 'request_body', request_body)
result = commonFuc().http_post(url, request_body, headers)
print('跟台消耗扫条码,result', result)
viewId2 = commonFuc().analysis_json('id', commonFuc().analysis_json('data', result))
# 跟台消耗扫条码 == == == == == == == == == == == == == == == ==
# 跟台消耗退回 == == == == == == == == == == == == == == == ==
url = commonFuc().get_api_add_port_url() + commonFuc().get_business_data(module,
"dept_stock_rtn_submit_url")
print('跟台消耗退回,url', url)
billMode = '20'
request_body = commonFuc().get_business_data(module, "payload35", viewId2, hosGoodsId, DRh_id,
barCodeList_id, billMode, deptid, targetAreaCode, targetAreaName)
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,
"dept_herpService_operationConfirm_submit_url")
print('台使用确认——跟台退货,url', url)
info = FileUtils().r_info8('b5_spd3_core_business_flow', "二级库条码信息", 'message20')
list_a = info['list_a']
extInfo=commonFuc().analysis_json('extInfo',list_a)
distrOrderNo = reGetString(extInfo,r'"distrBillId":"',r'","pkgDefQty"')
print('distrOrderNo',distrOrderNo)
provId=commonFuc().analysis_json('provId',list_a)
provName=commonFuc().analysis_json('provName',list_a)
hosGoodsCode=commonFuc().analysis_json('hosGoodsCode',list_a)
goodsName=commonFuc().analysis_json('goodsName',list_a)
goodsSpec=commonFuc().analysis_json('goodsSpec',list_a)
unit=commonFuc().analysis_json('unit',list_a)
qty=commonFuc().analysis_json('qty',list_a)
request_body = commonFuc().get_business_data(module, "payload36", areaCode, areaName, viewId2, distrOrderNo, provId,
provName, pkgCodeSee, hosGoodsId, hosGoodsCode, goodsName, goodsSpec,
unit, batchCode, productDate, expdtDate, qty, stockId, shelfCode)
print('台使用确认——跟台退货', 'request_body', request_body)
result = commonFuc().http_post(url, request_body, headers)
print('台使用确认——跟台退货,result', result)
# 跟台使用确认——跟台退货== == == == == == == == == == == == == == == ==
def out_return_gt():
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_out_return_gt_url")
print('#跟台退货出库列表查询——中心库=================',url)
request_body = commonFuc().get_business_data(module, "payload37", get_branch_id())
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))
DR_Id='DR_Id'
for i in data1:
status=commonFuc().analysis_json('status',i)
if status=='待处理':
DR_Id=commonFuc().analysis_json('id',i)
break
try:
print('DR_Id',DR_Id)
except:
print('无待处理数据')
#跟台退货出库列表查询——中心库==================
#跟台退货出库确认========================
url = commonFuc().get_api_add_port_url() + commonFuc().get_business_data(module,
"herpService_out_return_confirm_url")
print('#跟台退货出库确认——中心库=================', url)
deptid1=FileUtils().r_info8("b2_herp3_bs", "所有科室id", 'message6')['deptid1']
request_body = commonFuc().get_business_data(module, "payload38",DR_Id,deptid1)
print('跟台退货出库确认——中心库==', 'request_body', request_body)
result = commonFuc().http_post(url, request_body, headers)
print('跟台退货出库确认——中心库==,result', result)
#跟台退货出库确认========================
try: try:
# set_dept_lead()#设置科室负责人 set_dept_lead() # 设置科室负责人
# # # # # 设置默认科室,切换到二级科室,使用科室管理功能 # # # # 设置默认科室,切换到二级科室,使用科室管理功能
# updateUserLoginDefaultRange(get_listUserMgrRangePage(2))#设置登录账号默认权限是二级库 updateUserLoginDefaultRange(get_listUserMgrRangePage(2)) # 设置登录账号默认权限是二级库
# herpService_mcmsDeptGoodsInfo_getByProvIdPage() herpService_mcmsDeptGoodsInfo_getByProvIdPage()
# operationApply()#手术跟台申请单提交 operationApply() # 手术跟台申请单提交
# approval_center()#审批手术跟台申请单 approval_center() # 审批手术跟台申请单
# updateUserLoginDefaultRange(get_listUserMgrRangePage(1))#设置登录账号默认权限是中心库 updateUserLoginDefaultRange(get_listUserMgrRangePage(1)) # 设置登录账号默认权限是中心库
# approval_center1()#再次审批手术跟台申请单 approval_center1() # 再次审批手术跟台申请单
# # # #内网查询手术通知单号 # # #内网查询手术通知单号
# updateUserLoginDefaultRange(get_listUserMgrRangePage(1))#设置登录账号默认权限是中心库 updateUserLoginDefaultRange(get_listUserMgrRangePage(1)) # 设置登录账号默认权限是中心库
# orderno=Search_OrderNO()#手术通知单接口查询单号 orderno = Search_OrderNO() # 手术通知单接口查询单号
# print(orderno) print(orderno)
# height_value_order_dp(orderno)#高值跟台外网配送 height_value_order_dp(orderno) # 高值跟台外网配送
# check_accept_order()#内网验收 check_accept_order() # 内网验收
second_dept_in_warehouse()#二级科室入库 updateUserLoginDefaultRange(get_listUserMgrRangePage(2)) # 设置登录账号默认权限是二级库
second_dept_in_warehouse() # 二级科室入库
updateUserLoginDefaultRange(get_listUserMgrRangePage(1)) # 设置登录账号默认权限是中心库
#跟台退货出库
out_return_gt()
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')
...@@ -891,7 +891,6 @@ def invoice(type=1, OBh_ID='OBhxxxxxxxxxxxxxxx'): ...@@ -891,7 +891,6 @@ def invoice(type=1, OBh_ID='OBhxxxxxxxxxxxxxxx'):
def SaveCacheBatch(headers): def SaveCacheBatch(headers):
module = "a6_mdm3_si" module = "a6_mdm3_si"
# 获取请求头信息 # 获取请求头信息
url = commonFuc().get_api_url() + commonFuc().get_business_data(module, "saveCacheBatch_url") url = commonFuc().get_api_url() + commonFuc().get_business_data(module, "saveCacheBatch_url")
print(url) print(url)
# 从文件中获取必要信息 # 从文件中获取必要信息
...@@ -1113,11 +1112,7 @@ def SaveCacheBatch2(headers): ...@@ -1113,11 +1112,7 @@ def SaveCacheBatch2(headers):
request_body3 = str(request_body1) + ',' + str(request_body2) request_body3 = str(request_body1) + ',' + str(request_body2)
request_body4 = get_process_list(request_body3) request_body4 = get_process_list(request_body3)
print('request_body4', request_body4) print('request_body4', request_body4)
# while True:
# time.sleep(3)
result = commonFuc().http_post(url, request_body4, headers) result = commonFuc().http_post(url, request_body4, headers)
print('result', result) print('result', result)
...@@ -1368,7 +1363,7 @@ def herpService_mcmsDeptGoodsInfo_getByProvIdPage(): # 高值跟台获取产品 ...@@ -1368,7 +1363,7 @@ def herpService_mcmsDeptGoodsInfo_getByProvIdPage(): # 高值跟台获取产品
info = (list_a, list_b, list_c) info = (list_a, list_b, list_c)
titlename = ('list_a', 'list_b', 'list_c') titlename = ('list_a', 'list_b', 'list_c')
# 将条码信息写入文件 # 将产品信息信息写入文件
FileUtils().w_info8(info, module, '产品信息', titlename, 'message19') FileUtils().w_info8(info, module, '产品信息', titlename, 'message19')
...@@ -1859,3 +1854,12 @@ def check_accept_order(): ...@@ -1859,3 +1854,12 @@ def check_accept_order():
info = (CHECK_NO, CHECK_NO) info = (CHECK_NO, CHECK_NO)
titlename = ('CHECK_NO1', 'CHECK_NO2') titlename = ('CHECK_NO1', 'CHECK_NO2')
FileUtils().w_info8(info, 'b5_spd3_core_business_flow', '验收单号', titlename, 'message15') FileUtils().w_info8(info, 'b5_spd3_core_business_flow', '验收单号', titlename, 'message15')
# 根据左右边界提取文本,返回匹配到的文本
def reGetString(String, leftBinary="^", rightBinary="$"):
import re
try:
result = re.search("%s(.*?)%s" % (leftBinary, rightBinary), String)
return result.group(1)
except:
return "没有匹配到内容,请检查左右边界"
\ No newline at end of file
企业信息: 企业信息:
e_id: CR202405100150 e_id: CR202405130038
cname: 国药集团公司C#)2E cname: 国药集团公司aCJO9
医院信息: 医院信息:
h_id: 湖南省人民医院t4y9f h_id: 湖南省人民医院RnA4I
h_name: 湖南省人民医院t4y9f h_name: 湖南省人民医院RnA4I
产品审核信息: 产品审核信息:
MSPid: MSP2405100032_1 MSPid: MSP2405130011_1
hosId: h0347 hosId: h0347
hosGoodsId: h034700003502 hosGoodsId: h034700003542
provGoodsid: provGood-99220616 provGoodsid: provGood-99220663
goodsAuditBillId: MSP2405100032 goodsAuditBillId: MSP2405130011
targetId: MSP2405100032_1 targetId: MSP2405130011_1
院区新增: 院区新增:
branch_id: h0347-3587 branch_id: h0347-3594
branch_name: 东土城路院区fd7xS branch_name: 东土城路院区Cni5)
科室信息: 科室信息:
dept2_id: 882931417c9c46d7b08c5009b8d8ec01 dept2_id: a9033e36c9d74c1d84ec0625e2777fe4
dept2_name: 二级检验科002 dept2_name: 二级检验科002
...@@ -31,6 +31,14 @@ ...@@ -31,6 +31,14 @@
"dept_stock_in_page_url": "/api/herpService/dept/stock/in/page" "dept_stock_in_page_url": "/api/herpService/dept/stock/in/page"
"dept_stockUser_queryStockShelfList_url": "/api/herpService/basic/stockUser/queryStockShelfList" "dept_stockUser_queryStockShelfList_url": "/api/herpService/basic/stockUser/queryStockShelfList"
"dept_stock_in_detail_url": "/api/herpService/dept/stock/in/detail?distHosBatch=false" "dept_stock_in_detail_url": "/api/herpService/dept/stock/in/detail?distHosBatch=false"
"dept_stock_in_submit_url": "/api/herpService/dept/stock/in/submit"
"dept_stock_barcode_page_url": "/api/herpService/stock/statistics/stock/barcode/page"
"dept_stock_out_submit_url": "/api/herpService/dept/stock/out/submit"
"dept_stock_scan_url": "/api/herpService/dept/stock/rtn/scan"
"dept_stock_rtn_submit_url": "/api/herpService/dept/stock/rtn/submit"
"dept_herpService_operationConfirm_submit_url": "/api/herpService/operationConfirm/submit"
"herpService_out_return_gt_url": "/api/herpService/stock/out/return/gt/page"
"herpService_out_return_confirm_url": "/api/herpService/stock/out/return/gt/confirm"
"username": "xhs1009" "username": "xhs1009"
"password": "1qaz!QAZ" "password": "1qaz!QAZ"
...@@ -75,3 +83,14 @@ json_headers2: { ...@@ -75,3 +83,14 @@ json_headers2: {
"payload26": {"id":"%s","version":0,"hosVersion":3,"userId":"%s"} "payload26": {"id":"%s","version":0,"hosVersion":3,"userId":"%s"}
"payload27": {"id":"%s","orderNo":"%s","sourceOrderNo":"%s","hosId":"%s","hosName":"%s","branchName":"%s","recDeptName":"%s","operName":"%s","operDate":"%s","operDoctor":"%s","patientName":"%s","status":"%s","statusText":"%s","version":"%s","patientInHosId":"%s","surDeptName":"","remark":"%s","createUserName":"%s","distPriority":"%s","distPriorityText":"否","distId":null,"distNo":null,"hosVersion":"%s","createTime":"%s","sumQty":"%s","sumAmount":"%s","operationPkg":"%s","provId":"%s","provName":"%s","subProvId":"","subProvName":"","recDeptId":"%s","createUser":"%s","lastModifiedUser":"%s","detailList":[{"id":"%s","hosGoodsId":"%s","goodsNum":"%s","price":"%s","inSettlement":"%s","inSettlementText":"%s","goodsName":"%s","goodsSpec":"%s","goodsCode":"%s","goodsMfrsId":"%s","goodsMfrsName":"%s","unit":"%s","subProvId":"%s","subProvName":"%s","totalAmount":"%s","spdGoodsCode":"%s","barCodeMng":"%s","erpCode":null,"quantityQty":0,"numTotal":"1","priceTotal":"%s","statusSpanType":"orange","statusSpanText":"配送情况:1/1","rightTableList":null,"batchList":[{"sourceDetailId":"%s","hosGoodsId":"%s","goodsCode":"%s","settlement":"%s","batchCode":"2222","productDate":"%s","expdtDate":"%s","distrPkgQty":"1","disabledFlag":0,"distrQty":0,"ext":{"ygptCode":"","transCond":"","storageCond":"","erpCode":""},"edit":true,"barcodeList":[],"viewId":"%sROW0"}]}],"operUserName":"ttt","operUserPhone":"ttt"} "payload27": {"id":"%s","orderNo":"%s","sourceOrderNo":"%s","hosId":"%s","hosName":"%s","branchName":"%s","recDeptName":"%s","operName":"%s","operDate":"%s","operDoctor":"%s","patientName":"%s","status":"%s","statusText":"%s","version":"%s","patientInHosId":"%s","surDeptName":"","remark":"%s","createUserName":"%s","distPriority":"%s","distPriorityText":"否","distId":null,"distNo":null,"hosVersion":"%s","createTime":"%s","sumQty":"%s","sumAmount":"%s","operationPkg":"%s","provId":"%s","provName":"%s","subProvId":"","subProvName":"","recDeptId":"%s","createUser":"%s","lastModifiedUser":"%s","detailList":[{"id":"%s","hosGoodsId":"%s","goodsNum":"%s","price":"%s","inSettlement":"%s","inSettlementText":"%s","goodsName":"%s","goodsSpec":"%s","goodsCode":"%s","goodsMfrsId":"%s","goodsMfrsName":"%s","unit":"%s","subProvId":"%s","subProvName":"%s","totalAmount":"%s","spdGoodsCode":"%s","barCodeMng":"%s","erpCode":null,"quantityQty":0,"numTotal":"1","priceTotal":"%s","statusSpanType":"orange","statusSpanText":"配送情况:1/1","rightTableList":null,"batchList":[{"sourceDetailId":"%s","hosGoodsId":"%s","goodsCode":"%s","settlement":"%s","batchCode":"2222","productDate":"%s","expdtDate":"%s","distrPkgQty":"1","disabledFlag":0,"distrQty":0,"ext":{"ygptCode":"","transCond":"","storageCond":"","erpCode":""},"edit":true,"barcodeList":[],"viewId":"%sROW0"}]}],"operUserName":"ttt","operUserPhone":"ttt"}
"payload28": {"pageNum":1,"pageSize":50,"queryObject":{"taskType":0,"stockKind":"","sourceOrderNo":"","areaName":"","goodsName":"","goodsSpec":"","goodsGg":"","branchId":"%s","distrOrderNo":"","stockName":"","areaCodeInfo":"","areaNameInfo":"","hosId":"%s"}} "payload28": {"pageNum":1,"pageSize":50,"queryObject":{"taskType":0,"stockKind":"","sourceOrderNo":"","areaName":"","goodsName":"","goodsSpec":"","goodsGg":"","branchId":"%s","distrOrderNo":"","stockName":"","areaCodeInfo":"","areaNameInfo":"","hosId":"%s"}}
"payload29": {"deptId":"%s","userId":"%s"}
"payload30": {"targetDeptId":"%s","targetAreaCode":"%s","hosId":"%s","sourceId":"%s","sourceType":"%s","billMode":"%s"}
"payload31": {"batchList":[{"viewId":"%s","shelfCode":"%s","shelfKind":0}],"sourceId":"%s","sourceType":"%s","sourceVersion":0,"targetDeptId":"%s","targetDeptName":"%s","targetAreaCode":"%s","targetAreaName":"%s"}
"payload32": {"pageNum":1,"pageSize":50,"queryObject":{"areacodelist":[],"goodsName":"","branchId":"%s","ssccCode":"","deptId":"%s","deptQuery":true,"bottleId":"","billModes":null,"provId":"","goodsSpec":"","batchCode":"","mfrCode":"","jskFlag":0}}
"payload33": {"areaCode":"%s","areaName":"%s","deptId":"%s","stockId":"%s","hosId":"%s","sourceType":"%s","pickType":"%s","patientName":"张三","patientId":"自动化测试","patientInHosId":"112233","sex":"1","age":42,"operName":"血管溶栓手术","chargeDeptId":"%s","operDate":"%s 00:00:00","remark":"无","consumeType":1,"pickCreateVO":{"pickType":"%s","areaCode":"%s","areaName":"%s","deptId":"%s","stockId":"%s","hosId":"%s","branchId":"%s","barCodeList":[{"id":"%s","hosGoodsId":"%s","mdmGoodsCode":"%s","goodsCode":"%s","batchCode":"%s","productDate":"%s","expdtDate":"%s","qty":1,"purMode":"%s","shelfCode":"%s"}]}}
"payload34": {"tbStatus":61,"code":"%s","stockId":"%s","stockName":"%s","areaCode":"%s","areaName":"%s","consumeType":"1"}
"payload35": {"batchList":[{"viewId":"%s","qty":1,"hosGoodsId":"%s","pid":"%s","barcodeId":"%s"}],"billMode":"%s","targetDeptId":"%s","targetAreaCode":"%s","targetAreaName":"%s","consumeType":"1"}
"payload36": {"areaCode":"%s","areaName":"%s","opConfirmVOList":[{"id":"%s","distrOrderNo":"%s","provId":"%s","provName":"%s","pkgCodeSee":"%s","mfrCode":null,"hosGoodsId":"%s","hosGoodsCode":"%s","goodsName":"%s","goodsSpec":"%s","unit":"%s","batchCode":"%s","productDate":"%s 00:00:00","expdtDate":"%s 00:00:00","qty":"%s","returnQty":1,"hosId":null,"branchId":null,"deptId":null,"stockId":"%s","areaCode":null,"shelfCode":"%s","areaName":null,"opApplyOrderNo":null}]}
"payload37": {"pageNum":1,"pageSize":50,"queryObject":{"deptId":null,"outStockNo":"","status":null,"branchId":"%s"}}
"payload38": {"billId":"%s","remark":null,"targetDeptId":"%s","version":0}
...@@ -56,7 +56,7 @@ ...@@ -56,7 +56,7 @@
<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'>0</td> <td class='details-col-elapsed'>0</td>
<td class='details-col-elapsed'>0分44</td> <td class='details-col-elapsed'>0分1</td>
<td class="details-col-elapsed">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_a4_流程四_基础模块设置/log.html' target='_blank'>a_a4_流程四_基础模块设置</a></td> <td class="details-col-elapsed"><a href='../log/a_b1流程八_高值跟台业务流程/log.html' target='_blank'>a_b1流程八_高值跟台业务流程</a></td>
<td class="fail">失败</td> <td class="fail">失败</td>
<td class="details-col-elapsed">44.309</td> <td class="details-col-elapsed">1.147</td>
<td class="details-col-elapsed">xiaohesheng</td> <td class="details-col-elapsed">xiaohesheng</td>
</tr> </tr>
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment