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
48948ecd
Commit
48948ecd
authored
May 17, 2024
by
xiao-hesheng
Browse files
流程九脚本编写
parent
c1eb0bb8
Changes
3
Hide whitespace changes
Inline
Side-by-side
air_case/public1/public1/public1.py
View file @
48948ecd
...
...
@@ -955,10 +955,12 @@ def invoice(type=1, OBh_ID='OBhxxxxxxxxxxxxxxx'):
url
=
commonFuc
().
get_api_add_port_url
()
+
commonFuc
().
get_business_data
(
module
,
"mcmsInvoice_invoiceUpdateStatusList_url"
)
print
(
'url'
,
url
)
request_body
=
commonFuc
().
get_business_data
(
module
,
"payload12"
,
VI_id2
,
get_hosid
())
version2
=
int
(
version
)
+
1
request_body
=
commonFuc
().
get_business_data
(
module
,
"payload12"
,
VI_id2
,
version2
,
get_hosid
())
print
(
'request_body'
,
request_body
)
result
=
commonFuc
().
http_post
(
url
,
request_body
,
headers
)
print
(
'result'
,
'发票提交,下一步归档'
,
result
)
# ==============发票提交,下一步归档
# ==============发票归档列表查询
url
=
commonFuc
().
get_api_add_port_url
()
+
commonFuc
().
get_business_data
(
module
,
...
...
@@ -985,7 +987,8 @@ def invoice(type=1, OBh_ID='OBhxxxxxxxxxxxxxxx'):
url
=
commonFuc
().
get_api_add_port_url
()
+
commonFuc
().
get_business_data
(
module
,
"mcmsInvoice_invoiceUpdateStatusList_url"
)
print
(
'url'
,
url
)
request_body
=
commonFuc
().
get_business_data
(
module
,
"payload14"
,
VI_id3
,
get_hosid
())
version3
=
int
(
version2
)
+
1
request_body
=
commonFuc
().
get_business_data
(
module
,
"payload14"
,
VI_id3
,
version3
,
get_hosid
())
print
(
'request_body'
,
request_body
)
result
=
commonFuc
().
http_post
(
url
,
request_body
,
headers
)
print
(
'result'
,
'发票归档提交,下一步付款'
,
result
)
...
...
@@ -994,6 +997,7 @@ def invoice(type=1, OBh_ID='OBhxxxxxxxxxxxxxxx'):
url
=
commonFuc
().
get_api_add_port_url
()
+
commonFuc
().
get_business_data
(
module
,
"mcmsInvoice_listVoPage_url"
)
print
(
'url'
,
url
)
request_body
=
commonFuc
().
get_business_data
(
module
,
"payload15"
,
get_hosid
(),
get_hosid
())
print
(
'request_body'
,
request_body
)
result
=
commonFuc
().
http_post
(
url
,
request_body
,
headers
)
...
...
@@ -1014,7 +1018,8 @@ def invoice(type=1, OBh_ID='OBhxxxxxxxxxxxxxxx'):
url
=
commonFuc
().
get_api_add_port_url
()
+
commonFuc
().
get_business_data
(
module
,
"mcmsInvoice_genPaymentBills_url"
)
print
(
'url'
,
url
)
request_body
=
commonFuc
().
get_business_data
(
module
,
"payload16"
,
VI_id4
,
get_hosid
())
request_body
=
commonFuc
().
get_business_data
(
module
,
"payload16"
,
VI_id4
,
get_hosid
())
print
(
'request_body'
,
request_body
)
result
=
commonFuc
().
http_post
(
url
,
request_body
,
headers
)
print
(
'result'
,
'付款提交'
,
result
)
...
...
data/b5_spd3_core_business_flow/data
View file @
48948ecd
...
...
@@ -82,9 +82,9 @@ json_headers2: {
"payload10": {"billList":[{"id":"%s","version":"%s"}],"tbStatus":"15","comment":"test","hosId":"%s"}
"payload11": {"pageNum":1,"pageSize":50,"queryObject":{"invoiceNumber":"","invoiceDate1":"","invoiceDate2":"","checkDate1":"%s","checkDate2":"%s","tbStatus":"15","hosId":"%s"},"hosId":"%s"}
"payload12": {"billList":[{"id":"%s","version":
2
}],"tbStatus":"20","hosId":"%s"}
"payload12": {"billList":[{"id":"%s","version":
"%s"
}],"tbStatus":"20","hosId":"%s"}
"payload13": {"pageNum":1,"pageSize":50,"queryObject":{"invoiceNumber":"","invoiceDate1":"%sT01:18:05.672Z","invoiceDate2":"%sT01:18:05.672Z","checkDate1":"","checkDate2":"","tbStatus":"20","hosId":"%s"},"hosId":"%s"}
"payload14": {"billList":[{"id":"%s","version":
3
}],"tbStatus":"30","hosId":"%s"}
"payload14": {"billList":[{"id":"%s","version":
"%s"
}],"tbStatus":"30","hosId":"%s"}
"payload15": {"pageNum":1,"pageSize":50,"queryObject":{"invoiceNumber":"","invoiceDate1":"","invoiceDate2":"","checkDate1":"","checkDate2":"","tbStatus":"30","hosId":"%s"},"hosId":"%s"}
"payload16": {"invoiceBillIdList":["%s"],"payChannelEnum":"YGPT","hosId":"%s"}
"payload17": {"pageNum":1,"pageSize":50,"queryObject":{"areacodelist":["","","","","",""],"goodsName":"%s","branchId":"%s","purModes":[],"ssccCode":"","deptId":"","deptQuery":false,"bottleId":"","billModes":null,"provId":"","goodsSpec":"","batchCode":"","mfrCode":""}}
...
...
report/summary.html
View file @
48948ecd
...
...
@@ -55,9 +55,9 @@
<tr
width=
"600"
>
<td
class=
'details-col-elapsed'
>
1
</td>
<td
class=
'details-col-elapsed'
>
0
</td>
<td
class=
'details-col-elapsed'
>
1分
59
秒
</td>
<td
class=
"details-col-elapsed"
>
0.0%
</td>
<td
class=
'details-col-elapsed'
>
1
</td>
<td
class=
'details-col-elapsed'
>
1分
33
秒
</td>
<td
class=
"details-col-elapsed"
>
10
0.0%
</td>
</tr>
</table>
...
...
@@ -73,8 +73,8 @@
<tr
width=
"600"
>
<td
class=
"details-col-elapsed"
><a
href=
'../log/a_a9流程六_中心库入库结算_负结算/log.html'
target=
'_blank'
>
a_a9流程六_中心库入库结算_负结算
</a></td>
<td
class=
"
fail"
>
失败
</td>
<td
class=
"details-col-elapsed"
>
119.012
</td>
<td
class=
"
success"
>
成功
</td>
<td
class=
"details-col-elapsed"
>
93.143
</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