Commit 24fc14ce authored by xiao-hesheng's avatar xiao-hesheng
Browse files

脚本优化

parent 4aa71a4d
...@@ -432,6 +432,8 @@ def main(): ...@@ -432,6 +432,8 @@ def main():
second_dept_one_key_in(2) second_dept_one_key_in(2)
second_dept_one_key_in(2) second_dept_one_key_in(2)
commonFuc().check_text_exist_result_text('succees', 'succees') commonFuc().check_text_exist_result_text('succees', 'succees')
print('================流程十五执行完毕===================')
except: except:
commonFuc().check_text_exist_result_text('error', '1') commonFuc().check_text_exist_result_text('error', '1')
# main() # main()
\ No newline at end of file
...@@ -569,6 +569,8 @@ def main(): ...@@ -569,6 +569,8 @@ def main():
putaway()#中心库上架 putaway()#中心库上架
# ===============上面调通了================================ # ===============上面调通了================================
commonFuc().check_text_exist_result_text('succees', 'succees') commonFuc().check_text_exist_result_text('succees', 'succees')
print('================流程十六执行完毕===================')
except: except:
commonFuc().check_text_exist_result_text('error', '1') commonFuc().check_text_exist_result_text('error', '1')
# main() # main()
\ No newline at end of file
...@@ -633,6 +633,8 @@ def main(): ...@@ -633,6 +633,8 @@ def main():
second_center_Stock_return_Out(1) #低值耗材退货出库 second_center_Stock_return_Out(1) #低值耗材退货出库
second_center_Stock_return_Out(3) #试剂耗材退货出库 second_center_Stock_return_Out(3) #试剂耗材退货出库
commonFuc().check_text_exist_result_text('succees', 'succees') commonFuc().check_text_exist_result_text('succees', 'succees')
print('================流程十七执行完毕===================')
except: except:
commonFuc().check_text_exist_result_text('error', '1') commonFuc().check_text_exist_result_text('error', '1')
# main() # main()
\ No newline at end of file
...@@ -369,6 +369,8 @@ def main(): ...@@ -369,6 +369,8 @@ def main():
center_Stock_unpack(1) # 低值耗材扫码发放 center_Stock_unpack(1) # 低值耗材扫码发放
center_Stock_unpack(3) # 试剂耗材扫码发放 center_Stock_unpack(3) # 试剂耗材扫码发放
commonFuc().check_text_exist_result_text('succees', 'succees') commonFuc().check_text_exist_result_text('succees', 'succees')
print('================流程十八执行完毕===================')
except: except:
commonFuc().check_text_exist_result_text('error', '1') commonFuc().check_text_exist_result_text('error', '1')
# main() # main()
\ No newline at end of file
...@@ -7,13 +7,13 @@ ...@@ -7,13 +7,13 @@
createTime: createTime:
createUser: h0347_UID-051395 createUser: h0347_UID-051395
lastModifiedUser: lastModifiedUser:
billMode: '16' billMode: '66'
recType: recType:
stockKind: stockKind:
purMode: purMode:
sourceId: CHECKh03472024070500029 sourceId: DRh034720240705000171
sourceType: PSD sourceType: CK_TK
sourceVersion: 0 sourceVersion: 1
batchList: batchList:
billRelationJson: billRelationJson:
hosId: h0347 hosId: h0347
...@@ -21,18 +21,18 @@ ...@@ -21,18 +21,18 @@
deptName: deptName:
branchId: h0347-3729 branchId: h0347-3729
branchName: branchName:
taskType: 1 taskType: 2
sourceOrgId: p1e31d sourceOrgId: 232328e5ceb44b799efba96c512618bf
sourceOrgName: 国药集团公司GxzLS sourceOrgName: 二级检验科002
sourceOrderNo: YS240705029 sourceOrderNo: DN20240705000171
taskSourceNo: PSh0347202407050026 taskSourceNo: DN20240705000171
areaCode: areah03472634 areaCode:
areaName: 自动化测试 areaName:
goodsName: goodsName:
goodsGg: goodsGg:
startDate: startDate:
endDate: endDate:
taskDate: '2024-07-05 10:19:37' taskDate: '2024-07-05 15:48:53'
pkgTaskId: pkgTaskId:
pkgFlag: pkgFlag:
remark: '' remark: ''
......
验收单库存详情信息: 验收单库存详情信息:
list_a: list_a:
- &id001 - &id001
- id: CHECKh034720240705000290001 - id: DRh0347202407050001710001
lastModified: lastModified:
version: version:
createTime: createTime:
createUser: createUser:
lastModifiedUser: lastModifiedUser:
rowIdx: rowIdx:
purMode: 10 purMode: 60
unitName: 100支/100 unitName: 100支/100
pid: CHECKh03472024070500029 pid: DRh034720240705000171
hosGoodsId: h034700004462 hosGoodsId: h034700004463
batchCode: '333' batchCode: '4444'
expdtDate: '2025-01-11' expdtDate: '2025-01-11'
productDate: '2024-07-05' productDate: '2024-07-05'
batchPrice: 99.9999 batchPrice: 99.9999
settlement: 1 settlement: 1
batchType: 20 batchType: 40
srcBatchId: '03839280' srcBatchId: Ph034724070500050
srcBatchPrice: 99.9999 srcBatchPrice: 99.9999
shelfCode: areah03472634-2-01-01 shelfCode: areah03472634-2-01-01
shelfKind: shelfKind:
barcodeId: UT240705000213 barcodeId: UT240705000418
subBarcodeId: subBarcodeId:
qty: 10000.0 qty: 100.0
pkgQty: 100 pkgQty: 1
distrId: PSh0347202407050026 distrId: PSh0347202407050038
distrDetailId: '03839280' distrDetailId: '03839292'
pkgDefQty: 100.0 pkgDefQty:
pkgDefName: '100' pkgDefName:
viewId: h0347000044623332025-01-11100支/100 viewId: h03470000446344442025-01-11100支/100
codingType: codingType:
batchFlag: batchFlag:
hasSterilize: 0 hasSterilize: 0
...@@ -38,53 +38,60 @@ ...@@ -38,53 +38,60 @@
sterilizePassQty: sterilizePassQty:
sterilizeRejectQty: sterilizeRejectQty:
orderNo: orderNo:
sourceDetailId: '03839280' sourceDetailId: PICKh03472407050093660001
mdmGoodsCode: '11661415' mdmGoodsCode: '11661416'
goodsCode: '00004462' goodsCode: '00004463'
tbStatus: 1 tbStatus:
billMode: '16' billMode:
hosId: h0347 hosId:
branchId: h0347-3729 branchId:
purBillId: Ch034720240705000055 purBillId: Ch034720240705000064
provId: p1e31d provId: p1e31d
provName: 国药集团公司GxzLS provName:
subSendFlag: 10 subProvId: p1e31d
exeProvId: p1e31d purDetailId:
exeProvName: 国药集团公司GxzLS goodsName: 新型冠状病毒检测试剂a7oLM
purDetailId: e35ec319b7fa458e96c1051ef8b5e4f9
goodsName: 一次性注射器_低值C2g9i
goodsGg: G-31891 goodsGg: G-31891
mfrsId: mfrs-11229 mfrsId: mfrs-11229
mfrsName: 德国歌德公司 Geuder AG mfrsName: 德国歌德公司 Geuder AG
made: 德国 made: 德国
unit: unit:
purPrice: 99.9999 sourceBatchId: Ph034724070500050
pkgDefId: db284f5e13594188b4aa09a5832293ec targetBatchId: Ph034724070500050
supplyId: bec1283b1f3440539ef0962c6e9d92d4 pkgDefId:
subProvId: p1e31d
subProvName: 国药集团公司GxzLS
subPrice: 99.9999
distrPrice: 99.9999
distrPkgQty: 100.0
distrQty: 10000.0
certificateCode: '' certificateCode: ''
productCertCode: productCertCode:
detailRelationJson:
extInfo: extInfo:
psiPrice: 99.9999 psiPrice: 99.9999
ext: ext:
goodsGg: G-31891 goodsGg: G-31891
goodsCode: '00004462' goodsCode: '00004463'
purMode: 10 purMode: 60
goodsName: 一次性注射器_低值C2g9i goodsName: 新型冠状病毒检测试剂a7oLM
ygptCode: '' ygptCode: ''
transCond: '' transCond: ''
storageCond: '' storageCond: ''
erpCode: '11661415' erpCode: '11661416'
ybDefId: '' ybDefId: ''
purTaskId: contractId: ''
multiChargeFlag: normalContractId: ''
fcatId: ''
fcatName: ''
goodsKindId: ''
goodsKindName: ''
miTwentysevenCode: ''
focus_control: '0'
focus_control_type:
rtnQty:
hisChargeNo:
trustMrfsName: trustMrfsName:
pkgCodeSee:
chargeFlag:
stockKind: CK_TK
sourceDeptId: 232328e5ceb44b799efba96c512618bf
targetDeptId: d5e1acc8708f47a7b152e103204ee4cb
ableDelFlag:
pickType: KS_TK
list_b: list_b:
- *id001 - *id001
list_c: list_c:
......
条码信息: 条码信息:
list_a: list_a:
- &id001 - &id001
id: UT2407050004140001 - id: UT240705000316
snCode: UT2407050004140001 lastModified:
ssccCode: '010839000019149519' version:
pkgCodeSee: 0101123456789012104444112407051725011121UT240705000414 createTime: '2024-07-05 10:19:12'
hosGoodsId: h034700004463 createUser:
hosGoodsCode: '00004463' lastModifiedUser:
goodsCode: '00004463' snCode: UT240705000316
goodsName: 新型冠状病毒检测试剂a7oLM hosId: h0347
goodsSpec: G-31891 branchId:
goodsMfrsName: 德国歌德公司 Geuder AG stockId: 9b3e40528eff4ed1bf4ee12b587e00d0
unit: areaCode: areah03472634
purMode: 60 areaName: 自动化测试
batchCode: '4444' shelfCode: areah03472634-2-01-01
productDate: '2024-07-05' codeType: 66
expdtDate: '2025-01-11' tagType: 0
pkgDefName: hosGoodsId: h034700004463
pkgDefQty: 1.0 mdmGoodsCode: '11661416'
stockId: 6898e3a36c3c4b36bf1ea0648b26cba4 goodsCode: '00004463'
stockName: 二级检验科002库房 goodsDi: '01123456789012'
areaName: 默认库区 barName: 100支/100
areaCode: areah03472631 batchCode: '4444'
lockStatus: 0 expdtDate: '2025-01-11'
unitName: 1支 productDate: '2024-07-05'
shelfCode: areah03472631-A-01-01 mfrCode:
shelfNo: A01-A-01-01 mfrCodeSee:
pkgDefId: pkgCode: "0101123456789012104444\x1D112407051725011121UT240705000316"
extInfo: '{"pkgUdi": "0101123456789012104444112407051725011121UT240705000414", pkgCodeSee: 0101123456789012104444112407051725011121UT240705000316
"pkgDefId": "", "pkgDefQty": 1, "pkgDefName": "", "inStockTime": "2024-07-05 ssccCode: '010839000187066625'
15:34:08", "pkgBarcodeId": "UT240705000414"}' extInfo:
bottleId: UT2407050004140001 outId:
pkgType: '67' tbStatus: 20
miDjmc: '' goodsCodeDi:
miCode: '' barcodeId:
transferRatio: 1.0 ext:
qty: 1 pkgDefId: fdfa9805e01946bba3c5b8bd487a6dc7
shelfKind: 0 pkgDefQty: 100
shelfKindName: 普通货位 purBillId: CG2024070520622
provName: 国药集团公司GxzLS pkgDefName: '100'
provId: p1e31d distrBillId: PSh0347202407050028
inStockDate: '2024-07-05 15:34:07' inStockTime: '2024-07-05 10:20:42'
mfrCode: distrDetailId: '03839282'
made: 德国 certificateCode: ''
price: sourceDetailId:
barName: 1支 purMode: 60
purModeText: 检验试剂 purModes:
codeType: 67 price:
pid:
goodsMfrsName: 德国歌德公司 Geuder AG
mfrsName:
goodsSpec: G-31891
unit:
goodsName: 新型冠状病毒检测试剂a7oLM
pkgDefId: fdfa9805e01946bba3c5b8bd487a6dc7
pkgDefQty: 100
defaultPkgDefQty:
defaultQty:
defaultSurplusQty:
defaultPkgDefId:
purDetailId:
pkgDefName: '100'
printNum: 0
deptId:
deptName:
billId:
taskId:
made: 德国
provId: p1e31d
provName: 国药集团公司GxzLS
subProvId: p1e31d
subProvName: 国药集团公司GxzLS
provHosGoodsId:
sourceType:
taskDate:
sourceOrderNo:
taskType:
detailId:
branchGoodsPkgDefList:
unitName:
areaCodeList:
diType:
mdmGoodsSpecCode:
hosGoodsCode: '00004463'
supplyId:
inSettlement:
spdGoodsCode:
codeKind:
brand:
miCode:
transferRatio: 1.0
miDjmc:
tbStatusList:
purModeText:
stockName:
tbStatusText:
pkgType:
bottleId:
pkgStatus:
qty:
packUnit:
minSaleQty:
rfidFlag:
mfrCodeFlag:
scanStatus:
scanId:
multiChargeFlag:
useFrequency:
chargeUnit:
lockStatus:
remark:
hosBatchId:
settleFlag:
inStockTime:
verifyFlag:
subSendFlag: 10
list_b: list_b:
- *id001 - *id001
list_c: list_c:
......
...@@ -118,6 +118,7 @@ def main_text(): ...@@ -118,6 +118,7 @@ def main_text():
def flow15(): def flow15():
from execute import flow18 from execute import flow18
flow18() flow18()
tkinter.messagebox.showinfo('流程十五执行完毕')
# sys.exit(0) # sys.exit(0)
def flow16(): def flow16():
from execute import flow19 from execute import flow19
...@@ -127,10 +128,12 @@ def main_text(): ...@@ -127,10 +128,12 @@ def main_text():
def flow17(): def flow17():
from execute import flow20 from execute import flow20
flow20() flow20()
tkinter.messagebox.showinfo('流程十七执行完毕')
# sys.exit(0) # sys.exit(0)
def flow18(): def flow18():
from execute import flow21 from execute import flow21
flow21() flow21()
tkinter.messagebox.showinfo('流程十八执行完毕')
# sys.exit(0) # sys.exit(0)
def flow0(): def flow0():
execute_command("python runner_test.py tag id2302-23 debug mdm3") execute_command("python runner_test.py tag id2302-23 debug mdm3")
......
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