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
48ab7fee
Commit
48ab7fee
authored
Mar 05, 2024
by
xiao-hesheng
Browse files
调整产品导入脚本
parent
04658c7f
Changes
3
Hide whitespace changes
Inline
Side-by-side
air_case/a5_mdm3_pdm/a1_1产品新增导入_高值.air/a1_1产品新增导入_高值.py
View file @
48ab7fee
...
...
@@ -43,6 +43,7 @@ def add_goods():
module
=
"a5_mdm3_pdm"
#b18供货目录申请_客户类型_医院_提交供货申请单_添加产品
url
=
commonFuc
().
get_api_url
()
+
commonFuc
().
get_business_data
(
module
,
"addGoodsHandleInfos_url"
)
print
(
'url'
,
url
)
# 获取请求头信息
headers
=
commonFuc
().
get_business_data
(
module
,
"json_headers2"
,
commonFuc
().
get_business_data
(
module
,
"json_contentType"
),
token
,
...
...
data/a5_mdm3_pdm/data
View file @
48ab7fee
...
...
@@ -99,7 +99,7 @@ json_headers2: {
"dataSource": "2",
"errorFlag": "",
"userId": "","purchaseContent":"100","purchaseUnit":"100","buyContent":"100","buyUnit":"100"}
}
"payload_1": {
"hosId": "%s",
"hosName": "%s",
...
...
@@ -182,7 +182,7 @@ json_headers2: {
"dataSource": "2",
"errorFlag": "",
"userId": "","purchaseContent":"100","purchaseUnit":"100","buyContent":"100","buyUnit":"100"}
}
"payload_2": {
"hosId": "%s",
"hosName": "%s",
...
...
@@ -265,7 +265,7 @@ json_headers2: {
"dataSource": "2",
"errorFlag": "",
"userId": "","purchaseContent":"100","purchaseUnit":"100","buyContent":"100","buyUnit":"100"}
}
"payload1": {
"queryObject":{"id":"","taskBillId":"","startDate":"","endDate":"","hosVersion":2},"pageNum":1,"pageSize":50
}
...
...
report/summary.html
View file @
48ab7fee
...
...
@@ -74,7 +74,7 @@
<tr
width=
"600"
>
<td
class=
"details-col-elapsed"
><a
href=
'../log/a1_1产品新增导入_高值/log.html'
target=
'_blank'
>
a1_1产品新增导入_高值
</a></td>
<td
class=
"success"
>
成功
</td>
<td
class=
"details-col-elapsed"
>
5.
407
</td>
<td
class=
"details-col-elapsed"
>
5.
291
</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