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
1c21f776
Commit
1c21f776
authored
Apr 24, 2024
by
xiao-hesheng
Browse files
优化脚本
parent
8c790563
Changes
4
Expand all
Hide whitespace changes
Inline
Side-by-side
air_case/b5_spd3_core_business_flow/a_a6流程五_中心库入库结算_正结算2_外网配送.air/a_a6流程五_中心库入库结算_正结算2_外网配送.py
View file @
1c21f776
...
@@ -246,7 +246,12 @@ def order_dp(type=1):
...
@@ -246,7 +246,12 @@ def order_dp(type=1):
info
=
(
id1
,
id1
)
info
=
(
id1
,
id1
)
titlename
=
(
'distrBillId1'
,
'distrBillId2'
)
titlename
=
(
'distrBillId1'
,
'distrBillId2'
)
# 将配送订单信息息写入到文件中
# 将配送订单信息息写入到文件中
FileUtils
().
w_info8
(
info
,
'b5_spd3_core_business_flow'
,
'低值配送单号'
,
titlename
,
'message10'
)
if
type
==
1
:
FileUtils
().
w_info8
(
info
,
'b5_spd3_core_business_flow'
,
'低值配送单号'
,
titlename
,
'message10'
)
elif
type
==
2
:
FileUtils
().
w_info8
(
info
,
'b5_spd3_core_business_flow'
,
'高值配送单号'
,
titlename
,
'message10'
)
elif
type
==
3
:
FileUtils
().
w_info8
(
info
,
'b5_spd3_core_business_flow'
,
'试剂配送单号'
,
titlename
,
'message10'
)
if
code
==
0
:
if
code
==
0
:
commonFuc
().
check_text_exist
(
code
,
result
)
commonFuc
().
check_text_exist
(
code
,
result
)
else
:
else
:
...
...
air_case/b5_spd3_core_business_flow/a_a7流程五_中心库入库结算_正结算3_内网验收入库结算.air/a_a7流程五_中心库入库结算_正结算3_内网验收入库结算.py
View file @
1c21f776
This diff is collapsed.
Click to expand it.
data/b5_spd3_core_business_flow/data
View file @
1c21f776
"check_wait_page_url": "/api/herpService/stock/check/wait/page"
"check_wait_page_url": "/api/herpService/stock/check/wait/page"
"check_wait_detail_url": "/api/herpService/stock/check/wait/detail"
"check_barcode_save_url": "/api/herpService/stock/check/barcode/batch/save"
"check_submit_url": "/api/herpService/stock/check/submit"
"stock_detail_url": "/api/herpService/stock/in/detail"
"stock_detail_submit_url": "/api/herpService/stock/in/submit"
"stock_in_page_url": "/api/herpService/stock/in/page"
"username": "xhs1009"
"password": "1qaz!QAZ"
"password1": "a123456!"
"X-APP-CODE": "herp.pc"
json_contentType: "application/json"
json_headers: {
"Content-Type": "%s"
}
json_headers2: {
"Content-Type": "%s",
"token": "%s",
"X-APP-CODE":"%s"
}
"payload": {"pageNum": 1,"pageSize":50,"queryObject":{"hosId":"%s","branchId":"%s","sourceOrderNo":"%s","sourceOrgName":"","sourceType":"","taskType":0}}
"payload1": {"sourceId":"%s","sourceType":"%s","billMode":"%s","branchId":"%s"}
"payload2": {"sourceBillId":"%s","viewIdList":["%s"],"scanStatus":1}
"payload3": {"billMode":"%s","branchId":"%s","checkAll":1,"deptId":"%s","deptName":"%s","hosId":"%s","provId":"%s","provName":"%s","recOrgId":"%s","recOrgName":"%s","resendStatus":null,"rejectReason":null,"sourceId":"%s","sourceVersion":"%s","sourceType":"%s","tbStatus":"%s","createUser":"%s","sourceNo":"%s","sterilizeList":[],"remark":"","rejectFlag":0,"detailList":[{"id":"%s","viewId":"%s","settlement":"%s","checkQty":100,"recTemperature":"%s","recHumidity":"%s"}]}
"payload4": {"targetDeptId":"%s","targetAreaCode":"%s","hosId":"%s","sourceId":"%s","sourceType":"%s","pkgTaskId":null}
"payload5": {"batchList":[{"viewId":"%s","shelfCode":"%s"}],"sourceId":"%s","sourceType":"%s","sourceVersion":"%s","targetDeptId":"%s","targetDeptName":"%s","targetAreaCode":"%s","targetAreaName":"%s","pkgTaskId":null}
"payload6": {"pageNum":1,"pageSize":50,"orderBy":"","queryObject":{"branchId":"%s","taskType":0,"stockKind":"","sourceOrgName":"","hosId":"%s"}}
\ No newline at end of file
report/summary.html
View file @
1c21f776
...
@@ -54,10 +54,10 @@
...
@@ -54,10 +54,10 @@
</tr>
</tr>
<tr
width=
"600"
>
<tr
width=
"600"
>
<td
class=
'details-col-elapsed'
>
2
</td>
<td
class=
'details-col-elapsed'
>
1
</td>
<td
class=
'details-col-elapsed'
>
1
</td>
<td
class=
'details-col-elapsed'
>
1
</td>
<td
class=
'details-col-elapsed'
>
0分8秒
</td>
<td
class=
'details-col-elapsed'
>
1分54秒
</td>
<td
class=
"details-col-elapsed"
>
50.0%
</td>
<td
class=
"details-col-elapsed"
>
100.0%
</td>
</tr>
</tr>
</table>
</table>
...
@@ -72,9 +72,16 @@
...
@@ -72,9 +72,16 @@
</tr>
</tr>
<tr
width=
"600"
>
<tr
width=
"600"
>
<td
class=
"details-col-elapsed"
><a
href=
'../log/
a_a6流程五_中心库入库结算_正结算2_外网配送
/log.html'
target=
'_blank'
>
a_a6流程五_中心库入库结算_正结算2_外网配送
</a></td>
<td
class=
"details-col-elapsed"
><a
href=
'../log/
r_b9库房管理_库区设置_库房查询_查询全部
/log.html'
target=
'_blank'
>
r_b9库房管理_库区设置_库房查询_查询全部
</a></td>
<td
class=
"success"
>
成功
</td>
<td
class=
"success"
>
成功
</td>
<td
class=
"details-col-elapsed"
>
114.76
</td>
<td
class=
"details-col-elapsed"
>
2.129
</td>
<td
class=
"details-col-elapsed"
>
xiaohesheng
</td>
</tr>
<tr
width=
"600"
>
<td
class=
"details-col-elapsed"
><a
href=
'../log/r_c3库房管理_库区设置_新增库区/log.html'
target=
'_blank'
>
r_c3库房管理_库区设置_新增库区
</a></td>
<td
class=
"fail"
>
失败
</td>
<td
class=
"details-col-elapsed"
>
5.917
</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