Commit 3f738b18 authored by xiao-hesheng's avatar xiao-hesheng
Browse files

流程十脚本编写

parent ea5a67d1
# -*- 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_b4流程十一请领业务流_二级库向二级库,id2302,id2302-14,sit,on
核心业务流:a_b4流程十一请领业务流_二级库向二级库
python runner_test.py tag id2302-14 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", 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 goods_move():
# # 登录获取用户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等信息,使用创建的用户登录============结束
module = "b2_herp3_bs"
# g0_请领出库渠道设置_转移产品到边仓
url = commonFuc().get_api_add_port_url() + commonFuc().get_business_data(module, "updateSettleType_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"))
for i in range(1, 4):
info = FileUtils().r_info8('b5_spd3_core_business_flow', "产品审核信息", 'message%s' % i)
hosGoodsId = info['hosGoodsId']
GoodsId = hosGoodsId.replace(get_hosid(), '')
branchGoodsId = SERACH_goods_id(GoodsId)
# #请求体
request_body = commonFuc().get_business_data(module, "payload47", branchGoodsId, hosGoodsId, get_branch_id())
print(request_body)
# # # 发送请求
result = commonFuc().http_post(url, request_body, headers)
print('goods_move,result', result)
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')['deptid2']
deptname2 = FileUtils().r_info8("b2_herp3_bs", "所有科室name", 'message6')['deptid2']
# 高值
# 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, 'message21')
# 我要请领_手工请领_列表查询===========================
# 添加到请领车=============================================
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')['deptid2']
deptname2 = FileUtils().r_info8("b2_herp3_bs", "所有科室name", 'message6')['deptid2']
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 add_logic_stock():
delData().Delete_yb_logic_stock()
module = "b5_spd3_core_business_flow"
# 登录集中管控平台
token, projectCode, uxid, corpId, info = login_platform()
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_url() + commonFuc().get_business_data(module,
"platformService_basic_logic_save_url")
print('添加云仓=================', url)
request_body = commonFuc().get_business_data(module, "payload54", get_hosid(), get_branch_id(), get_branch_id(),
uxid, uxid, get_in_userid(), get_hosid(), uxid, uxid)
print('添加云仓', 'request_body', request_body)
result = commonFuc().http_post(url, request_body, headers)
print('添加云仓,result', result)
def cloud_stock_opeartion():
print('云仓处理')
# 云仓登录
token, projectCode, uxid, corpId, info =login_logic_stock()
module = "b5_spd3_core_business_flow"
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_url() + commonFuc().get_business_data(module,
"platformService_basic_logic_save_url")
print('云仓处理查看单据=================', url)
request_body = commonFuc().get_business_data(module, "payload54", get_hosid(), get_branch_id(), get_branch_id(),
uxid, uxid, get_in_userid(), get_hosid(), uxid, uxid)
print('云仓处理查看单据', 'request_body', request_body)
result = commonFuc().http_post(url, request_body, headers)
print('云仓处理查看单据,result', result)
def add_dept2():
module='b2_herp3_bs'
# 内网登录
username = commonFuc().get_business_data(module, "username")
# print('医院名称',username)
password = commonFuc().get_business_data(module, "password")
# print(username, password,'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa')
# 获取token和projectCode
token, projectCode, uxid, corpId, info = login_system(username, password).get_token()
# print( token,projectCode,uxid,corpId,info)
# c3_新增科室_特殊科室_二级库房
branch_id = FileUtils().r_info(module, '院区新增')["branch_id"]
url = commonFuc().get_api_add_port_url() + commonFuc().get_business_data(module, "dept_insert_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, "payload15_2", get_branch_id(),get_hosid())
print(request_body)
# # # 发送请求
result = commonFuc().http_post(url, request_body, headers)
print('result', result)
try:
add_dept2()
# set_dept_lead() # 设置二级科室负责人
# # 科室必须同步到外网,集中管控平台创建边仓才能选择到用户,"deptType":"0"
# add_logic_stock()
#
# # 设置产品出库渠道为边仓
# goods_move()
# updateUserLoginDefaultRange(get_listUserMgrRangePage(2)) # 设置登录账号默认权限是二级库
#
# # # # 低值
# 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()
commonFuc().check_text_exist_result_text('succees', 'succees')
except:
commonFuc().check_text_exist_result_text('error', '1')
企业信息:
e_id: CR202405240038
cname: 国药集团公司oJCHn
e_id: CR202405270038
cname: 国药集团公司$U^K@
医院信息:
h_id: 湖南省人民医院#I4Ev
h_name: 湖南省人民医院#I4Ev
h_id: 湖南省人民医院N8UEp
h_name: 湖南省人民医院N8UEp
产品审核信息:
MSPid: MSP2405240010_1
MSPid: MSP2405270011_1
hosId: h0347
hosGoodsId: h034700003765
provGoodsid: provGood-99220898
goodsAuditBillId: MSP2405240010
targetId: MSP2405240010_1
hosGoodsId: h034700003813
provGoodsid: provGood-99220946
goodsAuditBillId: MSP2405270011
targetId: MSP2405270011_1
......@@ -2,10 +2,10 @@
list_a:
- &id001
settleMonth: '202406'
pid: OBh0347202405220004
hosGoodsId: h034700003681
goodsCode: '00003681'
goodsName: 一次性注射器_低值@s2rQ
pid: OBh0347202405270004
hosGoodsId: h034700003810
goodsCode: '00003810'
goodsName: 一次性注射器_低值GAP0b
goodsGg: G-31891
mfrsName: 德国歌德公司 Geuder AG
unit: 支
......@@ -16,16 +16,17 @@
cacheleftAmount: 19999.98
purMode: 10
waitInvoicingNum: 0.0
invoicingPrice: 99.9999
normalContractId:
normalContract: '1'
detailList:
- pid: OBh0347202405220004
- pid: OBh0347202405270004
settleMonth: '202406'
hosGoodsId: h034700003681
hosGoodsId: h034700003810
batchCode: '333'
distrDetailId: '03837536'
distrId: PSh0347202405220005
distrOrderNo: PSh0347202405220005
distrDetailId: '03837740'
distrId: PSh0347202405270005
distrOrderNo: PSh0347202405270005
settlePrice: 99.9999
maxSettleQty: -100.0
maxSettleAmount: -9999.99
......@@ -34,11 +35,11 @@
leftSettleQty: -100.0
leftSettleAmount: -9999.99
hosId: h0347
provId: p1e223
branchId: h0347-3616
balanceDetId: OBh0347202405220004-000001
provId: p1e24c
branchId: h0347-3635
balanceDetId: OBh0347202405270004-000001
purMode: 10
barCode: 013616000003681010333112405221724112821UT240522000202
barCode: 013635000003810010333112405271724120321UT240527000202
batchId:
price:
maxQty:
......@@ -50,14 +51,14 @@
oneFcatName:
volumeFlag:
onlineKind:
viewId: 202406OBh0347202405220004h034700003681
- pid: OBh0347202405220004
viewId: 202406OBh0347202405270004h034700003810
- pid: OBh0347202405270004
settleMonth: '202406'
hosGoodsId: h034700003681
hosGoodsId: h034700003810
batchCode: '333'
distrDetailId: '03837536'
distrId: PSh0347202405220005
distrOrderNo: PSh0347202405220005
distrDetailId: '03837740'
distrId: PSh0347202405270005
distrOrderNo: PSh0347202405270005
settlePrice: 99.9999
maxSettleQty: 100.0
maxSettleAmount: 9999.99
......@@ -66,11 +67,11 @@
leftSettleQty: 100.0
leftSettleAmount: 9999.99
hosId: h0347
provId: p1e223
branchId: h0347-3616
balanceDetId: OBh0347202405220004-000002
provId: p1e24c
branchId: h0347-3635
balanceDetId: OBh0347202405270004-000002
purMode: 10
barCode: 013616000003681010333112405221724112821UT240522000254
barCode: 013635000003810010333112405271724120321UT240527000233
batchId:
price:
maxQty:
......@@ -82,10 +83,10 @@
oneFcatName:
volumeFlag:
onlineKind:
viewId: 202406OBh0347202405220004h034700003681
unique: 202406OBh0347202405220004h034700003681
viewId: 202406OBh0347202405270004h034700003810
unique: 202406OBh0347202405270004h034700003810
onlineKind: '10'
viewId: 202406OBh0347202405220004h034700003681
viewId: 202406OBh0347202405270004h034700003810
list_b:
- *id001
list_c:
......
......@@ -211,6 +211,8 @@ json_headers2: {
"payload13": {"pageNum": 1,"pageSize": 50,"orderBy": "code asc","queryObject": {"ename": "","branchId": "院区id", "branchId": "%s", "hosId": "医院id", "hosId": "h0347" }}
"payload14": {"branchId":"%s","cname":"","ename":"设备科001","erpCode":"001","address":"设备科001","contactWay":"13401003250","deptKind":1,"deptCate":1,"deptLevel":"1","flag":"1","hisDeptCodes":"","deptType":"1","packetType":"0","corpId":"h0347","corpKind":1}
"payload15": {"branchId":"%s","cname":"","ename":"二级检验科002","erpCode":"002","address":"二级检验科002","contactWay":"13401003250","deptKind":7,"deptCate":1,"deptLevel":"2","flag":"1","hisDeptCodes":"","deptType":"0","packetType":"0","corpId":"h0347","corpKind":1}
"payload15_2": {"branchId":"%s","cname":"","ename":"二级检验科005","erpCode":"005","address":"二级检验科005","contactWay":"13401003250","deptKind":7,"deptCate":1,"deptLevel":"2","flag":"1","hisDeptCodes":"","deptType":"0","packetType":"0","corpId":"%s","corpKind":1}
"payload16": {"branchId":"%s","pid":"%s","cname":"","ename":"三级检测组003","erpCode":"003","address":"三级检测组003","contactWay":"12401003250","deptKind":7,"deptCate":1,"deptLevel":"3","flag":"1","hisDeptCodes":"","deptType":"0","packetType":"0","corpId":"h0347","corpKind":1}
"payload17": {"branchId":"%s","pid":"%s","cname":"","ename":"科室004","erpCode":"004","address":"三级科室004","contactWay":"三级科室004","deptKind":5,"deptCate":1,"deptLevel":"4","flag":"1","hisDeptCodes":"","deptType":"0","packetType":"0","corpId":"h0347","corpKind":1}
......
院区新增:
branch_id: h0347-3627
branch_name: 东土城路院区WDUvl
branch_id: h0347-3635
branch_name: 东土城路院区PMue6
科室信息:
dept2_id: 1c14108179f54e28bce5b1df6b33fc57
dept2_id: ebacb1842d234dfd9dbc59fc11bad8bf
dept2_name: 二级检验科002
用户名信息:
username1: 自动化测试3(GIe
username2: 自动化测试3(GIe
username1: 自动化测试uVgNZ
username2: 自动化测试uVgNZ
一级科室信息:
dept1_id: f3f1209531c84bddafbe05bd5d6585f0
dept1_id: e621323f605c477493861a11cf8ee8a8
dept1_name: 设备科001
部门和库区信息:
dept1_id: f3f1209531c84bddafbe05bd5d6585f0
stockAreaId: ee2b9bb497544e5896ee916ba37449fb
dept1_id: e621323f605c477493861a11cf8ee8a8
stockAreaId: ddf2943da6f64fe9a5461563aed113bc
所有科室id:
deptid1: f3f1209531c84bddafbe05bd5d6585f0
deptid2: 1c14108179f54e28bce5b1df6b33fc57
deptid3: f972064d25184d298b82978d807c563d
deptid4: 4226aff73a8d44ab973620a539cc33e9
deptid1: e621323f605c477493861a11cf8ee8a8
deptid2: ebacb1842d234dfd9dbc59fc11bad8bf
deptid3: 97dac712280c45a89bbe2ad3ae40280b
deptid4: 05a182bdd747451882d4abec8fc7bc2f
所有科室name:
deptid1: 设备科001
deptid2: 二级检验科002
......
shelfinfo:
shelfid: ee2b9bb497544e5896ee916ba37449fb
shelfCode: areah03472053
shelfid: ddf2943da6f64fe9a5461563aed113bc
shelfCode: areah03472094
areaName: 自动化测试
供货关系申请2:
e_corpId: p1e23c
e_corpId: p1e24c
h_corpId: h0347
e_username: 国药集团公司oJCHn
e_username: 国药集团公司$U^K@
h_name: test001
产品审核信息:
MSPid: MSP2405240006_1
MSPid: MSP2405270007_1
hosId: h0347
hosGoodsId: h034700003761
provGoodsid: provGood-99220894
goodsAuditBillId: MSP2405240006
targetId: MSP2405240006_1
hosGoodsId: h034700003809
provGoodsid: provGood-99220942
goodsAuditBillId: MSP2405270007
targetId: MSP2405270007_1
低值配送单号:
distrBillId1: PSh0347202405240033
distrBillId2: PSh0347202405240033
distrBillId1: PSh0347202405270011
distrBillId2: PSh0347202405270011
高值配送单号:
distrBillId1: PSh0347202405240035
distrBillId2: PSh0347202405240035
distrBillId1: PSh0347202405270012
distrBillId2: PSh0347202405270012
试剂配送单号:
distrBillId1: PSh0347202405240036
distrBillId2: PSh0347202405240036
distrBillId1: PSh0347202405270013
distrBillId2: PSh0347202405270013
高值跟台配送单号:
distrBillId1: PSh0347202405270014
distrBillId2: PSh0347202405270014
采购计划单号高值:
orderNo1: PLAN2024052423841
orderNo2: PLAN2024052423841
orderNo1: PLAN2024052724253
orderNo2: PLAN2024052724253
采购计划单号试剂:
orderNo1: PLAN2024052423842
orderNo2: PLAN2024052423842
orderNo1: PLAN2024052724254
orderNo2: PLAN2024052724254
......@@ -3,34 +3,33 @@
- &id001
- id:
hosId: h0347
branchId: h0347-3627
branchId: h0347-3635
deptId:
taskType: 1
sourceOrgId: p1e23c
sourceOrgName: 国药集团公司oJCHn
sourceOrderNo: PSh0347202405240036
billMode: '66'
sourceOrgId: p1e24c
sourceOrgName: 国药集团公司$U^K@
sourceOrderNo: PSh0347202405270014
billMode: '25'
stockKind:
purMode:
sourceId: PSh0347202405240036
sourceId: PSh0347202405270014
sourceDetailId:
sourceType: PSD
sourceTypeName: 配送单
sourceVersion: 1
planOrderNo: PLAN2024052423842
purOrderNo: CG2024052416651
recOrgId: f3f1209531c84bddafbe05bd5d6585f0
recOrgName: 设备科001
billRelationJson: '{"planBillId":"Ph034720240524020487","planOrderNo":"PLAN2024052423842","purOrderNo":"CG2024052416651","purBillId":"Ch034720240524000091","purBillDate":"2024-05-24
10:37:52","distrBillId":"PSh0347202405240036","distrOrderNo":"PSh0347202405240036"}'
taskDate: '2024-05-24 10:38:08'
planOrderNo: SSSQ202405270276
purOrderNo: SSTZ202405270252
recOrgId: ebacb1842d234dfd9dbc59fc11bad8bf
recOrgName: 二级检验科002
billRelationJson: '{"operationApplyOrderNo":"SSSQ202405270276","operationNoticeBillId":"Nh034720240527000001","distrBillId":"PSh0347202405270014","operationNoticeOrderNo":"SSTZ202405270252","distrOrderNo":"PSh0347202405270014","operationApplyBillId":"Oh034720240527000001"}'
taskDate: '2024-05-27 07:25:51'
taskDateStart:
taskDateEnd:
billModeList:
viewIdList:
supplierFlag: false
tbStatus: 20
remark: ''
remark:
list_b:
- *id001
list_c:
......
验收单详情信息:
list_a:
- &id001
- purMode: 60
unitName: 100支/100
hosGoodsId: h034700003763
- purMode: 20
unitName: 1
hosGoodsId: h034700003809
mdmGoodsCode:
spdGoodsCode: '11660655'
goodsCode: '00003763'
goodsName: 新型冠状病毒检测试剂JO67D
spdGoodsCode: '11660701'
goodsCode: '00003809'
goodsName: 高值牙钻机&K)tl
goodsGg: G-31891
mfrsId:
mfrsName: 德国歌德公司 Geuder AG
......@@ -16,27 +16,27 @@
goodsDi:
miCode:
miDjmc:
certificateCode: ''
certificateCode:
rfidFlag: 0
pkgDefId:
pkgDefName: '100'
pkgDefQty: 100.0
batchCode: '4444'
expdtDate: '2024-11-30'
productDate: '2024-05-24'
provName: 国药集团公司oJCHn
pkgDefName:
pkgDefQty: 1.0
batchCode: '2222'
expdtDate: '2024-12-03'
productDate: '2024-05-27'
provName: 国药集团公司$U^K@
provId:
viewId: '03837648'
viewId: '03837749'
verifyFlag: 0
hasSterilize: 0
id: '03837648'
id: '03837749'
detailRelationJson:
extInfo: '{"goodsGg":"G-31891","goodsCode":"00003763","purMode":60,"goodsName":"新型冠状病毒检测试剂JO67D","ygptCode":"","transCond":"","storageCond":"","erpCode":"11660655","ybDefId":""}'
extInfo: '{"ygptCode":"","transCond":"","storageCond":"","erpCode":""}'
recTemperature: 20
recHumidity: 30
distrPrice: 99.9999
distrPkgQty: 100.0
distrQty: 10000.0
distrPkgQty: 1.0
distrQty: 1.0
price: 99.9999
checkQty: 0.0
checkPkgQty: 0
......@@ -44,7 +44,7 @@
initQty:
totalQty:
rowNum:
settlement: 1
settlement: 3
hdiBarcodeList:
detailId:
pkgCode:
......@@ -55,7 +55,7 @@
trustMrfsName:
multiChargeFlag: 0
useFrequency: 1
codingType:
codingType: 0
list_b:
- *id001
list_c:
......
验收单号:
CHECK_NO1: CHECKh03472024052400324
CHECK_NO2: CHECKh03472024052400324
CHECK_NO1: CHECKh03472024052700004
CHECK_NO2: CHECKh03472024052700004
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