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
8b067d9b
Commit
8b067d9b
authored
Jun 28, 2024
by
xiao-hesheng
Browse files
脚本优化
parent
5175351a
Changes
4
Hide whitespace changes
Inline
Side-by-side
air_case/b5_spd3_core_business_flow/a_c1流程十八中心库业务_拆包功能.air/a_c1流程十八中心库业务_拆包功能.py
View file @
8b067d9b
...
...
@@ -175,7 +175,7 @@ def center_Stock_unpack(type): # 扫码发放(高值不能扫码发放)
purBillId
,
pkgDefName
,
distrBillId
,
inStockTime
,
distrDetailId
,
purMode
,
price
,
goodsMfrsName
,
goodsSpec
,
unit
,
goodsName
,
pkgDefId
,
pkgDefQty
,
pkgDefName
,
printNum
,
made
,
unitName
,
hosGoodsCode
,
purModeText
)
pkgDefName
,
printNum
,
made
,
unitName
,
hosGoodsCode
,
purModeText
,
tbStatus
)
print
(
'request_body'
,
'ccccccc'
,
request_body
)
# # # # 发送请求
result
=
commonFuc
().
http_post
(
url
,
request_body
,
headers
)
...
...
@@ -321,7 +321,7 @@ def center_Stock_unpack(type): # 扫码发放(高值不能扫码发放)
purBillId
,
pkgDefName
,
distrBillId
,
inStockTime
,
distrDetailId
,
purMode
,
price
,
goodsMfrsName
,
goodsSpec
,
unit
,
goodsName
,
pkgDefId
,
pkgDefQty
,
pkgDefName
,
printNum
,
made
,
unitName
,
hosGoodsCode
,
purModeText
)
pkgDefName
,
printNum
,
made
,
unitName
,
hosGoodsCode
,
purModeText
,
tbStatus
)
print
(
'request_body'
,
'ccccccc'
,
request_body
)
# # # # 发送请求
result
=
commonFuc
().
http_post
(
url
,
request_body
,
headers
)
...
...
data/b5_spd3_core_business_flow/data
View file @
8b067d9b
...
...
@@ -522,7 +522,7 @@ json_headers2: {
}
],
"pickType": "CB",
"tbStatus":
20
"tbStatus":
"%s"
}
"payload69": {
"stockId": "%s",
...
...
@@ -647,7 +647,7 @@ json_headers2: {
}
],
"pickType": "CB",
"tbStatus":
20
"tbStatus":
"%s"
}
"expected_value": "('00004260', 'h0347', 'p1e2ca', '177df1fadf39415ea5ce40e64edf449d', None, '11661208', '11661208', '11661208', '一次性注射器_低值hMY2F','一次性注射器', 'mfrs-11229', '德国歌德公司 Geuder AG', '', None, '', 'ycxzsq_dzhMY2F', None, '支', 'G-31891', Decimal('1.000000'), 2, '3', 10, None, None, '', None, Decimal('99.9999'), None, '德国', None, None, '', 1, None, 0, None, 0, '', '', None, None, 1, 0, 1, 'p1e2ca:UID-051951', datetime.datetime(2024, 6, 26, 7, 1, 39), 'p1e2ca:UID-051951', 0, 0, 1, None)"
"expected_value2": '{"hos_goods_code": "00004249","hos_id": "h0347","prov_id": "p1e2c6","prov_hos_goods_id": "%s","srv_id": null,"mdm_goods_code": "11661197","mdm_goods_spec_code": "11661197","spd_goods_code": "11661197","goods_name": "一次性注射器_低值qPW6a","goods_general_name": "一次性注射器","goods_mfrs_id": "mfrs-11229","goods_mfrs_name": "德国歌德公司 Geuder AG","goods_reg_cert": "","goods_agent_mfrs_id": null,"brand": "","short_pinyin": "ycxzsq_dzqPW6a","kind_sixtyeight_code": null,"unit": "支","goods_spec": "G-31891","goods_package": Decimal("1.000000"),"bar_code_mng": 2,"unique_code_strategy": "3","pur_mode": 10,"sub_pur_mode": null,"erp_code": null,"herp_code": "","hrp": null,"price": Decimal("99.9999"),"abroad_flag": null,"made": "德国","property": null,"mgr_level": null,"goods_desc": "","charge_flag": 1,"focus_control_type": null,"temp_flag": 0,"official_status": null,"focus_control": 0,"storage_conditions": "","transport_conditions": "","into_cost_flag": null,"rfid_flag": null,"purchase_flag": 1,"tb_status": 0,"version": 1,"create_user": "p1e2c6:UID-051946","create_time": datetime.datetime(2024,6,25,7,1,34),"last_modified_user": "p1e2c6:UID-051946","sterilize_flag": 0,"multi_charge_flag": 0,"use_frequency": 1,"charge_unit": null}'
data/b5_spd3_core_business_flow/message18
View file @
8b067d9b
条码信息
:
list_a
:
-
&id001
id
:
UT24062800110
6
snCode
:
UT24062800110
6
ssccCode
:
'010839000186052
025
'
pkgCodeSee
:
0137030000043000104444112406281725010421UT24062800110
6
id
:
UT24062800110
7
snCode
:
UT24062800110
7
ssccCode
:
'010839000186052
124
'
pkgCodeSee
:
0137030000043000104444112406281725010421UT24062800110
7
hosGoodsId
:
h034700004300
hosGoodsCode
:
'00004300'
goodsCode
:
'00004300'
...
...
report/summary.html
View file @
8b067d9b
...
...
@@ -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分
20
秒
</td>
<td
class=
'details-col-elapsed'
>
0分
19
秒
</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_c1流程十八中心库业务_拆包功能/log.html'
target=
'_blank'
>
a_c1流程十八中心库业务_拆包功能
</a></td>
<td
class=
"success"
>
成功
</td>
<td
class=
"details-col-elapsed"
>
20.166
</td>
<td
class=
"details-col-elapsed"
>
19.178
</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