Commit 38f59e03 authored by xiao-hesheng's avatar xiao-hesheng
Browse files

脚本优化

parent 6881751e
...@@ -65,7 +65,7 @@ def check_mcms_dept_buy(type=1): ...@@ -65,7 +65,7 @@ def check_mcms_dept_buy(type=1):
# print( actual_value2) # print( actual_value2)
# prov_hos_goods_id = '8d6273b7bca84dd8aace12b9422d7fd6' # prov_hos_goods_id = '8d6273b7bca84dd8aace12b9422d7fd6'
expected_value2='expected_value2' expected_value2='expected_value2'
if type==1: if type==1 or type==3:
expected_value2 = commonFuc().get_business_data('b6_spd3_core_business_flow_database_check', expected_value2 = commonFuc().get_business_data('b6_spd3_core_business_flow_database_check',
'check_mcms_dept_buy_car_low_value', id, get_hosid(), branch_id, deptid2, 'check_mcms_dept_buy_car_low_value', id, get_hosid(), branch_id, deptid2,
deptname2, areaCode, areaName, hos_goods_id, mdm_goods_code, deptname2, areaCode, areaName, hos_goods_id, mdm_goods_code,
......
二级库请领产品信息: 二级库请领产品信息:
list_a: list_a:
- &id001 - &id001
- hosGoodsId: h034700004500 - hosGoodsId: h034700004499
purMode: 10 purMode: 20
grantRule: grantRule:
id: id:
goodsName: 一次性注射器_低值wExpg goodsName: 高值牙钻机PFKHm
goodsSpec: G-31891 goodsSpec: G-31891
mdmGoodsCode: '11661453' mdmGoodsCode: '11661452'
goodsCode: '00004500' goodsCode: '00004499'
unit: unit:
goodsMfrsName: 德国歌德公司 Geuder AG goodsMfrsName: 德国歌德公司 Geuder AG
miDjmc: '' miDjmc: ''
miCode: '' miCode: ''
pkgDefName: '100' pkgDefName:
pkgDefQty: 100.0 pkgDefQty: 1.0
pkgQty: pkgQty:
qty: 500.0 qty: 5.0
goodsImg: [] goodsImg: []
pkgDefId: 34b26233759a4720920cc8328dd1f8d1 pkgDefId:
buyPkgQty: buyPkgQty:
unitName: 100支/100 unitName: 1
price: 99.9999 price: 99.9999
hosId: hosId:
branchId: branchId:
...@@ -37,12 +37,12 @@ ...@@ -37,12 +37,12 @@
grantWay: 2 grantWay: 2
deptGoodsStatus: deptGoodsStatus:
codingType: 0 codingType: 0
purModeText: 值耗材 purModeText: 值耗材
goodsGeneralName: 一次性注射器 goodsGeneralName: 牙钻机
provName: 国药集团公司^n1@F provName: 国药集团公司^n1@F
noRecPkgQty: 15.0 noRecPkgQty: 15.0
noRecQty: 1500.0 noRecQty: 15.0
autoUnpack: 0 autoUnpack:
consumeQty: consumeQty:
consumePkgQty: consumePkgQty:
list_b: list_b:
......
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