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
b3d5e5b9
Commit
b3d5e5b9
authored
Jun 07, 2024
by
xiao-hesheng
Browse files
流程十二脚本编写
parent
cebc389e
Changes
3
Hide whitespace changes
Inline
Side-by-side
air_case/b5_spd3_core_business_flow/a_b7流程十四退库业务_消耗退库.air/a_b7流程十四退库业务_消耗退库.py
View file @
b3d5e5b9
...
@@ -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'
)
...
...
data/b5_spd3_core_business_flow/message18
View file @
b3d5e5b9
条码信息
:
条码信息
:
list_a
:
list_a
:
-
&id001
-
&id001
id
:
UT240607000802000
1
id
:
UT240607000802000
3
snCode
:
UT240607000802000
1
snCode
:
UT240607000802000
3
ssccCode
:
'010839000018756
114
'
ssccCode
:
'010839000018756
312
'
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
:
UT240607000802000
1
bottleId
:
UT240607000802000
3
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:3
6'
inStockDate
:
'2024-06-07 14:
12:4
6'
mfrCode
:
mfrCode
:
made
:
德国
made
:
德国
price
:
price
:
...
...
report/summary.html
View file @
b3d5e5b9
...
@@ -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"
>
10
0.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"
>
4
7
.8
12
</td>
<td
class=
"details-col-elapsed"
>
4
9
.8
97
</td>
<td
class=
"details-col-elapsed"
>
xiaohesheng
</td>
<td
class=
"details-col-elapsed"
>
xiaohesheng
</td>
</tr>
</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