Commit 992e4b9a authored by xiao-hesheng's avatar xiao-hesheng
Browse files

流程十二脚本编写

parent 21bec154
......@@ -415,10 +415,10 @@ def sCan_grant(type=1): # 获取条码and扫码发放高值不能发放
try:
updateUserLoginDefaultRange(get_listUserMgrRangePage1(2)) # 设置登录账号默认权限是二级库
sCan_grant(1)#低值扫码发放
# sCan_grant(3) # 试剂扫码发放
# second_dept_consume_Out_Stock(2)#高值消耗出库
# second_dept_consume_Out_Stock(1) # 低值消耗出库
# second_dept_consume_Out_Stock(3) # 试剂消耗出库
sCan_grant(3) # 试剂扫码发放
second_dept_consume_Out_Stock(2)#高值消耗出库
second_dept_consume_Out_Stock(1) # 低值消耗出库
second_dept_consume_Out_Stock(3) # 试剂消耗出库
commonFuc().check_text_exist_result_text('succees', 'succees')
except:
......
......@@ -632,8 +632,8 @@ def get_udi2(type=1): # 二级科室库存明细查询获取条码
# # # # 发送请求
result = commonFuc().http_post(url, request_body, headers)
import pdb
pdb.set_trace()
# import pdb
# pdb.set_trace()
print('aaaaaaaaaaaaaaaaresult',result)
data1 = commonFuc().analysis_json('data', commonFuc().analysis_json('data', result))
......
......@@ -106,7 +106,7 @@ json_headers2: {
"payload17": {"pageNum":1,"pageSize":50,"queryObject":{"areacodelist":["","","","","",""],"goodsName":"%s","branchId":"%s","purModes":[],"ssccCode":"","deptId":"","deptQuery":false,"bottleId":"","billModes":null,"provId":"","goodsSpec":"","batchCode":"","mfrCode":""}}
"payload17_1": {"pageNum":1,"pageSize":50,"queryObject":{"goodsName":"%s","branchId":"%s","purModes":[""],"ssccCode":"","deptId":"","deptQuery":false,"stockId":"","bottleId":"","billModes":null,"provId":"","goodsSpec":"","batchCode":"","mfrCode":"","jskFlag":0}}
"payload17_2": {"pageNum":1,"pageSize":50,"queryObject":{"areacodelist":["",""],"goodsName":"%s","branchId":"%s","purModes":["10"],"ssccCode":"","deptId":"%s","deptQuery":true,"bottleId":"","billModes":null,"provId":"","goodsSpec":"","batchCode":"","mfrCode":"","jskFlag":0}}
"payload17_2_1": {"pageNum":1,"pageSize":50,"queryObject":{"areacodelist":["",""],"goodsName":"%s","branchId":"%s","purModes":["20"]"ssccCode":"","deptId":"%s","deptQuery":true,"bottleId":"","billModes":null,"provId":"","goodsSpec":"","batchCode":"","mfrCode":"","jskFlag":0}}
"payload17_2_1": {"pageNum":1,"pageSize":50,"queryObject":{"areacodelist":["",""],"goodsName":"%s","branchId":"%s","purModes":["20"],"ssccCode":"","deptId":"%s","deptQuery":true,"bottleId":"","billModes":["25"],"provId":"","goodsSpec":"","batchCode":"","mfrCode":"","jskFlag":0}}
"payload17_2_2": {"pageNum":1,"pageSize":50,"queryObject":{"areacodelist":["",""],"goodsName":"%s","branchId":"%s","purModes":["60"],"ssccCode":"","deptId":"%s","deptQuery":true,"bottleId":"","billModes":["66"],"provId":"","goodsSpec":"","batchCode":"","mfrCode":"","jskFlag":0}}
"payload17_3": {"pageNum":1,"pageSize":50,"queryObject":{"areacodelist":["",""],"goodsName":"%s","branchId":"%s","purModes":["60"],"ssccCode":"","deptId":"%s","deptQuery":true,"bottleId":"","billModes":["67"],"provId":"","goodsSpec":"","batchCode":"","mfrCode":"","jskFlag":0}}
......
条码信息:
list_a:
- &id001
id: UT2406070008020004
snCode: UT2406070008020004
ssccCode: '010839000018756411'
id: UT2406070008020005
snCode: UT2406070008020005
ssccCode: '010839000018756510'
pkgCodeSee: 0136570000040210104444112406071724121421UT240607000802
hosGoodsId: h034700004021
hosGoodsCode: '00004021'
......@@ -30,7 +30,7 @@
extInfo: '{"pkgUdi": "0136570000040210104444112406071724121421UT240607000802",
"pkgDefId": "", "pkgDefQty": 1, "pkgDefName": "", "inStockTime": "2024-06-07
08:26:58", "pkgBarcodeId": "UT240607000802"}'
bottleId: UT2406070008020004
bottleId: UT2406070008020005
pkgType: '67'
miDjmc: ''
miCode: ''
......
......@@ -77,7 +77,7 @@ setInterval(updateTime, 1000); // 每秒更新一次时间
<tr width="600">
<td class='details-col-elapsed'>1</td>
<td class='details-col-elapsed'>1</td>
<td class='details-col-elapsed'>0分14秒</td>
<td class='details-col-elapsed'>0分43</td>
<td class="details-col-elapsed">100.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="success">成功</td>
<td class="details-col-elapsed">14.064</td>
<td class="details-col-elapsed">42.861</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