Commit 02fe7ddb authored by xiao-hesheng's avatar xiao-hesheng
Browse files

脚本优化

parent dc47b1cd
......@@ -3021,6 +3021,10 @@ def second_dept_one_key_in(type=2):
# # # # 发送请求
result = commonFuc().http_post(url, request_body, headers)
print('一键入库result', result)
code=commonFuc().analysis_json('code',result)
if code==1010:
commonFuc().check_text_exist_result_text('error', 'succees')
# 一键入库====================================================
......
条码信息:
list_a:
- &id001
id: UT240702001507
snCode: UT240702001507
ssccCode: '010839000186788528'
pkgCodeSee: 013712000004353010333112407021725010821UT240702001507
hosGoodsId: h034700004353
hosGoodsCode: '00004353'
goodsCode: '00004353'
goodsName: 一次性注射器_低值NaZMe
id: UT2407020007030001
snCode: UT2407020007030001
ssccCode: '010839000019095618'
pkgCodeSee: 0137120000043540104444112407021725010821UT240702000703
hosGoodsId: h034700004354
hosGoodsCode: '00004354'
goodsCode: '00004354'
goodsName: 新型冠状病毒检测试剂j(r&Q
goodsSpec: G-31891
goodsMfrsName: 德国歌德公司 Geuder AG
unit:
purMode: 10
batchCode: '333'
purMode: 60
batchCode: '4444'
productDate: '2024-07-02'
expdtDate: '2025-01-08'
pkgDefName: '100'
pkgDefQty: 100.0
pkgDefName:
pkgDefQty: 1.0
stockId: 75bd1e5c39dd4fff9389707ba69fba03
stockName: 二级检验科002库房
areaName: 默认库区
areaCode: areah03472550
lockStatus: 0
unitName: 100支/100
unitName: 1
shelfCode: areah03472550-A-01-01
shelfNo: A01-A-01-01
pkgDefId: ee7fb81570664e758bd2642f4dab3ed3
extInfo: '{"pkgDefId": "ee7fb81570664e758bd2642f4dab3ed3", "pkgDefQty": 100, "purBillId":
"CG2024070220324", "pkgDefName": "100", "distrBillId": "PSh0347202407020037",
"inStockTime": "2024-07-02 14:46:15", "distrDetailId": "03839074", "certificateCode":
""}'
bottleId:
pkgType: '16'
pkgDefId:
extInfo: '{"pkgUdi": "0137120000043540104444112407021725010821UT240702000703",
"pkgDefId": "", "pkgDefQty": 1, "pkgDefName": "", "inStockTime": "2024-07-02
15:00:58", "pkgBarcodeId": "UT240702000703"}'
bottleId: UT2407020007030001
pkgType: '67'
miDjmc: ''
miCode: ''
transferRatio: 1.0
......@@ -41,13 +40,13 @@
shelfKindName: 普通货位
provName: 国药集团公司kGTpV
provId: p1e2e8
inStockDate: '2024-07-02 14:46:14'
inStockDate: '2024-07-02 15:00:58'
mfrCode:
made: 德国
price:
barName: 100支/100
purModeText: 低值耗材
codeType: 16
barName: 1
purModeText: 检验试剂
codeType: 67
list_b:
- *id001
list_c:
......
库区信息:
list_a:
- &id001
- id: 1717bd4bba1349bf8f4fbea9a1fa4407
lastModified: '2024-07-02 17:21:53'
version: 4
createTime: '2024-07-02 11:26:36'
- id: b3aa53e872c14aaeb7e79ba367af6c65
lastModified: '2024-07-02 16:19:45'
version: 11
createTime: '2024-07-02 07:03:40'
createUser: h0347_UID-051378
lastModifiedUser: h0347_UID-051378
stockId: 956128c70a3e4a20916a390292d6a66f
shelfCode: areah03472554
stockId: 75bd1e5c39dd4fff9389707ba69fba03
shelfCode: areah03472550
shelfName: 默认库区
address: 二级科005
address: 二级检验科002
shelfType:
stockType: 0
defaultFlag: 1
......@@ -24,7 +24,7 @@
shelfNo: A01
shelfKind: 0
hosId:
deptId: 5e2a2dfd8379430e8d7c76ad095c74da
deptId: 08398b8842854e85b738846cbcbb97f7
areaCode:
areaName:
stockName:
......
......@@ -76,9 +76,9 @@ 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'>1分36</td>
<td class="details-col-elapsed">0.0%</td>
<td class='details-col-elapsed'>1</td>
<td class='details-col-elapsed'>0分50</td>
<td class="details-col-elapsed">100.0%</td>
</tr>
</table>
......@@ -93,9 +93,9 @@ setInterval(updateTime, 1000); // 每秒更新一次时间
</tr>
<tr width="600">
<td class="details-col-elapsed"><a href='../log/a_b5流程十二请领业务流_二级库向二级库/log.html' target='_blank'>a_b5流程十二请领业务流_二级库向二级库</a></td>
<td class="fail">失败</td>
<td class="details-col-elapsed">96.703</td>
<td class="details-col-elapsed"><a href='../log/a_b8流程十五退库业务_三级库向二级库退库/log.html' target='_blank'>a_b8流程十五退库业务_三级库向二级库退库</a></td>
<td class="success">成功</td>
<td class="details-col-elapsed">50.064</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