Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
test
autotest-airtest-web-spd
Commits
992e4b9a
Commit
992e4b9a
authored
Jun 07, 2024
by
xiao-hesheng
Browse files
流程十二脚本编写
parent
21bec154
Changes
5
Hide whitespace changes
Inline
Side-by-side
air_case/b5_spd3_core_business_flow/a_b7流程十四退库业务_消耗退库.air/a_b7流程十四退库业务_消耗退库.py
View file @
992e4b9a
...
...
@@ -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
:
...
...
air_case/public1/public1/public1.py
View file @
992e4b9a
...
...
@@ -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
))
...
...
data/b5_spd3_core_business_flow/data
View file @
992e4b9a
...
...
@@ -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}}
...
...
data/b5_spd3_core_business_flow/message18
View file @
992e4b9a
条码信息
:
list_a
:
-
&id001
id
:
UT240607000802000
4
snCode
:
UT240607000802000
4
ssccCode
:
'010839000018756
411
'
id
:
UT240607000802000
5
snCode
:
UT240607000802000
5
ssccCode
:
'010839000018756
510
'
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
:
UT240607000802000
4
bottleId
:
UT240607000802000
5
pkgType
:
'67'
miDjmc
:
''
miCode
:
''
...
...
report/summary.html
View file @
992e4b9a
...
...
@@ -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分
1
4秒
</td>
<td
class=
'details-col-elapsed'
>
0分4
3
秒
</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>
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment