Commit b3d5e5b9 authored by xiao-hesheng's avatar xiao-hesheng
Browse files

流程十二脚本编写

parent cebc389e
...@@ -549,8 +549,8 @@ def second_dept_consume_in_Stock(type=1): ...@@ -549,8 +549,8 @@ def second_dept_consume_in_Stock(type=1):
print('试剂耗材消耗退回入库产品查询', 'request_body', request_body) print('试剂耗材消耗退回入库产品查询', 'request_body', request_body)
result = commonFuc().http_post(url, request_body, headers) result = commonFuc().http_post(url, request_body, headers)
print('试剂耗材消耗退回入库产品查询,result', result) print('试剂耗材消耗退回入库产品查询,result', result)
import pdb # import pdb
pdb.set_trace() # pdb.set_trace()
viewId2 = commonFuc().analysis_json('viewId', commonFuc().analysis_json('data', commonFuc().analysis_json('data', result))) viewId2 = commonFuc().analysis_json('viewId', commonFuc().analysis_json('data', commonFuc().analysis_json('data', result)))
DRh_id = commonFuc().analysis_json('billId', commonFuc().analysis_json('data', commonFuc().analysis_json('data', result))) DRh_id = commonFuc().analysis_json('billId', commonFuc().analysis_json('data', commonFuc().analysis_json('data', result)))
...@@ -570,12 +570,12 @@ def second_dept_consume_in_Stock(type=1): ...@@ -570,12 +570,12 @@ def second_dept_consume_in_Stock(type=1):
try: try:
updateUserLoginDefaultRange(get_listUserMgrRangePage1(2)) # 设置登录账号默认权限是二级库 updateUserLoginDefaultRange(get_listUserMgrRangePage1(2)) # 设置登录账号默认权限是二级库
# sCan_grant(1) # 低值扫码发放 sCan_grant(1) # 低值扫码发放
# sCan_grant(3) # 试剂扫码发放 sCan_grant(3) # 试剂扫码发放
# second_dept_consume_Out_Stock(2) # 高值消耗出库 second_dept_consume_Out_Stock(2) # 高值消耗出库
# second_dept_consume_in_Stock(2) # 高值消耗退货入库 second_dept_consume_in_Stock(2) # 高值消耗退货入库
# second_dept_consume_Out_Stock(1) # 低值消耗出库 second_dept_consume_Out_Stock(1) # 低值消耗出库
# second_dept_consume_in_Stock(1) # 低值消耗退回入库 second_dept_consume_in_Stock(1) # 低值消耗退回入库
second_dept_consume_Out_Stock(3) # 试剂消耗出库 second_dept_consume_Out_Stock(3) # 试剂消耗出库
second_dept_consume_in_Stock(3) second_dept_consume_in_Stock(3)
commonFuc().check_text_exist_result_text('succees', 'succees') commonFuc().check_text_exist_result_text('succees', 'succees')
......
条码信息: 条码信息:
list_a: list_a:
- &id001 - &id001
id: UT2406070008020001 id: UT2406070008020003
snCode: UT2406070008020001 snCode: UT2406070008020003
ssccCode: '010839000018756114' ssccCode: '010839000018756312'
pkgCodeSee: 0136570000040210104444112406071724121421UT240607000802 pkgCodeSee: 0136570000040210104444112406071724121421UT240607000802
hosGoodsId: h034700004021 hosGoodsId: h034700004021
hosGoodsCode: '00004021' hosGoodsCode: '00004021'
...@@ -29,8 +29,8 @@ ...@@ -29,8 +29,8 @@
pkgDefId: pkgDefId:
extInfo: '{"pkgUdi": "0136570000040210104444112406071724121421UT240607000802", extInfo: '{"pkgUdi": "0136570000040210104444112406071724121421UT240607000802",
"pkgDefId": "", "pkgDefQty": 1, "pkgDefName": "", "inStockTime": "2024-06-07 "pkgDefId": "", "pkgDefQty": 1, "pkgDefName": "", "inStockTime": "2024-06-07
14:06:36", "pkgBarcodeId": "UT240607000802"}' 14:12:47", "pkgBarcodeId": "UT240607000802"}'
bottleId: UT2406070008020001 bottleId: UT2406070008020003
pkgType: '67' pkgType: '67'
miDjmc: '' miDjmc: ''
miCode: '' miCode: ''
...@@ -40,7 +40,7 @@ ...@@ -40,7 +40,7 @@
shelfKindName: 普通货位 shelfKindName: 普通货位
provName: 国药集团公司N2)Tj provName: 国药集团公司N2)Tj
provId: p1e27a provId: p1e27a
inStockDate: '2024-06-07 14:06:36' inStockDate: '2024-06-07 14:12:46'
mfrCode: mfrCode:
made: 德国 made: 德国
price: price:
......
...@@ -76,9 +76,9 @@ setInterval(updateTime, 1000); // 每秒更新一次时间 ...@@ -76,9 +76,9 @@ setInterval(updateTime, 1000); // 每秒更新一次时间
<tr width="600"> <tr width="600">
<td class='details-col-elapsed'>1</td> <td class='details-col-elapsed'>1</td>
<td class='details-col-elapsed'>0</td> <td class='details-col-elapsed'>1</td>
<td class='details-col-elapsed'>0分47</td> <td class='details-col-elapsed'>0分50</td>
<td class="details-col-elapsed">0.0%</td> <td class="details-col-elapsed">100.0%</td>
</tr> </tr>
</table> </table>
...@@ -94,8 +94,8 @@ setInterval(updateTime, 1000); // 每秒更新一次时间 ...@@ -94,8 +94,8 @@ setInterval(updateTime, 1000); // 每秒更新一次时间
<tr width="600"> <tr width="600">
<td class="details-col-elapsed"><a href='../log/a_b7流程十四退库业务_消耗退库/log.html' target='_blank'>a_b7流程十四退库业务_消耗退库</a></td> <td class="details-col-elapsed"><a href='../log/a_b7流程十四退库业务_消耗退库/log.html' target='_blank'>a_b7流程十四退库业务_消耗退库</a></td>
<td class="fail">失败</td> <td class="success">成功</td>
<td class="details-col-elapsed">47.812</td> <td class="details-col-elapsed">49.897</td>
<td class="details-col-elapsed">xiaohesheng</td> <td class="details-col-elapsed">xiaohesheng</td>
</tr> </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