Commit 717d45b0 authored by xiao-hesheng's avatar xiao-hesheng
Browse files

流程十二脚本编写

parent 7853854f
......@@ -302,12 +302,10 @@ def second_dept_consume_Out_Stock(type): # 二级库消耗出库
print('result', result)
elif type == 3:
print('检验试剂消耗出库')
udi_code = get_udi2(3) # 试剂单瓶条码
data1 = pickScan4(udi_code)
udi_code1 = get_udi2(4,udi_code)
udi_code = get_udi2(3) # 试剂整瓶条码
data1 = pickScan4(udi_code)#扫码不发放
udi_code = get_udi2(4,udi_code)#试剂单瓶条码
print('试剂data1',data1)
# 获取必要信息
areaCode = commonFuc().analysis_json('areaCode', data1)
UTid = commonFuc().analysis_json('id', data1)
......@@ -365,7 +363,7 @@ def second_dept_consume_Out_Stock(type): # 二级库消耗出库
inStockTime = reGetString(extInfo, r'inStockTime": "', r'",')
shelfNo= commonFuc().analysis_json('shelfNo', list_a)
pkgUdi= reGetString(extInfo, r'pkgDefId": "', r'",')
bottleId=commonFuc().analysis_json('bottleId', list_a)
# bottleId=commonFuc().analysis_json('bottleId', list_a)
shelfKindName=commonFuc().analysis_json('shelfKindName', list_a)
provName=commonFuc().analysis_json('provName', list_a)
provId=commonFuc().analysis_json('provId', list_a)
......
条码信息:
list_a:
- &id001
id: UT2406060007010003
snCode: UT2406060007010003
ssccCode: '010839000018686213'
pkgCodeSee: 0136550000040100104444112406061724121321UT240606000701
id: UT240606000806
snCode: UT240606000806
ssccCode: '010839000183231829'
pkgCodeSee: 0136550000040100104444112406061724121321UT240606000806
hosGoodsId: h034700004010
hosGoodsCode: '00004010'
goodsCode: '00004010'
......@@ -16,22 +16,23 @@
batchCode: '4444'
productDate: '2024-06-06'
expdtDate: '2024-12-13'
pkgDefName:
pkgDefQty: 1.0
pkgDefName: '100'
pkgDefQty: 100.0
stockId: 4d5e04c549d04b3f8e0aee9e280d2cb6
stockName: 二级检验科002库房
areaName: 默认库区
areaCode: areah03472218
lockStatus: 0
unitName: 1
unitName: 100支/100
shelfCode: areah03472218-A-01-01
shelfNo: A01-A-01-01
pkgDefId:
extInfo: '{"pkgUdi": "0136550000040100104444112406061724121321UT240606000701",
"pkgDefId": "", "pkgDefQty": 1, "pkgDefName": "", "inStockTime": "2024-06-06
13:37:25", "pkgBarcodeId": "UT240606000701"}'
bottleId: UT2406060007010003
pkgType: '67'
pkgDefId: 60abe88ab2b5432da8f7e75a74e92584
extInfo: '{"pkgDefId": "60abe88ab2b5432da8f7e75a74e92584", "pkgDefQty": 100, "purBillId":
"CG2024060617963", "pkgDefName": "100", "distrBillId": "PSh0347202406060023",
"inStockTime": "2024-06-06 07:41:06", "distrDetailId": "03838159", "certificateCode":
""}'
bottleId:
pkgType: '66'
miDjmc: ''
miCode: ''
transferRatio: 1.0
......@@ -40,13 +41,13 @@
shelfKindName: 普通货位
provName: 国药集团公司LK05j
provId: p1e276
inStockDate: '2024-06-06 13:37:25'
inStockDate: '2024-06-06 07:41:06'
mfrCode:
made: 德国
price:
barName: 1
barName: 100支/100
purModeText: 检验试剂
codeType: 67
codeType: 66
list_b:
- *id001
list_c:
......
......@@ -77,7 +77,7 @@ setInterval(updateTime, 1000); // 每秒更新一次时间
<tr width="600">
<td class='details-col-elapsed'>1</td>
<td class='details-col-elapsed'>0</td>
<td class='details-col-elapsed'>0分48</td>
<td class='details-col-elapsed'>7分51</td>
<td class="details-col-elapsed">0.0%</td>
</tr>
</table>
......@@ -95,7 +95,7 @@ setInterval(updateTime, 1000); // 每秒更新一次时间
<tr width="600">
<td class="details-col-elapsed"><a href='../log/a_b7流程十四退库业务_消耗退库/log.html' target='_blank'>a_b7流程十四退库业务_消耗退库</a></td>
<td class="fail">失败</td>
<td class="details-col-elapsed">48.507</td>
<td class="details-col-elapsed">471.522</td>
<td class="details-col-elapsed">xiaohesheng</td>
</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