Commit 39b9208d authored by xiao-hesheng's avatar xiao-hesheng
Browse files

流程五脚本编写

parent 30e8931f
...@@ -405,9 +405,10 @@ try: ...@@ -405,9 +405,10 @@ try:
putaway() putaway()
putaway() putaway()
putaway() putaway()
settle() # 生成结算单 from air_case.public1.public1.public1 import *
OBD_ID = settle()# 生成结算单
# 调用审批结算单 # 调用审批结算单
approval_center() approval_center(OBD_ID)
except Exception as e: except Exception as e:
print('脚本出现异常,请检查脚本或者数据') print('脚本出现异常,请检查脚本或者数据')
print("发生异常:", str(e)) print("发生异常:", str(e))
......
...@@ -61,8 +61,8 @@ def invoice(OBh_ID='OBhxxxxxxxxxxxxxxx'): ...@@ -61,8 +61,8 @@ def invoice(OBh_ID='OBhxxxxxxxxxxxxxxx'):
i = i + 1 i = i + 1
if i >= 100: if i >= 100:
print('600秒过去了,数据还未查询出来,调用一下内网结算函数') print('600秒过去了,数据还未查询出来,调用一下内网结算函数')
settle() OBH_ID=settle()
approval_center() approval_center(OBH_ID)
continue continue
else: else:
break break
......
企业信息: 企业信息:
e_id: CR202404300057 e_id: CR202404300095
cname: 国药集团公司@Fnl# cname: 国药集团公司NCjd)
医院信息: 医院信息:
h_id: 湖南省人民医院EQSi$ h_id: 湖南省人民医院w9f1Z
h_name: 湖南省人民医院EQSi$ h_name: 湖南省人民医院w9f1Z
产品审核信息: 产品审核信息:
MSPid: MSP2404300016_1 MSPid: MSP2404300026_1
hosId: h0347 hosId: h0347
hosGoodsId: h034700003270 hosGoodsId: h034700003280
provGoodsid: provGood-99220379 provGoodsid: provGood-99220389
goodsAuditBillId: MSP2404300016 goodsAuditBillId: MSP2404300026
targetId: MSP2404300016_1 targetId: MSP2404300026_1
院区新增: 院区新增:
branch_id: h0347-3549 branch_id: h0347-3551
branch_name: 东土城路院区$PwX^ branch_name: 东土城路院区5K3VN
科室信息: 科室信息:
dept2_id: 8887b708eb1842f2b606b8827266dcaa dept2_id: ef93a7d6d1834dbdb527951fbdb59c32
dept2_name: 二级检验科002 dept2_name: 二级检验科002
...@@ -56,7 +56,7 @@ ...@@ -56,7 +56,7 @@
<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'>1</td> <td class='details-col-elapsed'>1</td>
<td class='details-col-elapsed'>1分27</td> <td class='details-col-elapsed'>9分21</td>
<td class="details-col-elapsed">100.0%</td> <td class="details-col-elapsed">100.0%</td>
</tr> </tr>
</table> </table>
...@@ -72,9 +72,9 @@ ...@@ -72,9 +72,9 @@
</tr> </tr>
<tr width="600"> <tr width="600">
<td class="details-col-elapsed"><a href='../log/a_a9流程_中心库入库结算_结算/log.html' target='_blank'>a_a9流程_中心库入库结算_结算</a></td> <td class="details-col-elapsed"><a href='../log/a_a7流程_中心库入库结算_正结算3_内网验收入库结算/log.html' target='_blank'>a_a7流程_中心库入库结算_正结算3_内网验收入库结算</a></td>
<td class="success">成功</td> <td class="success">成功</td>
<td class="details-col-elapsed">87.551</td> <td class="details-col-elapsed">561.729</td>
<td class="details-col-elapsed">xiaohesheng</td> <td class="details-col-elapsed">xiaohesheng</td>
</tr> </tr>
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment