Commit b8731673 authored by xiao-hesheng's avatar xiao-hesheng
Browse files

数据库验证流程十二脚本编写

parent cc63a341
...@@ -496,6 +496,7 @@ try: ...@@ -496,6 +496,7 @@ try:
second_dept_Request(FileUtils().r_info8("b5_spd3_core_business_flow", "产品审核信息", 'message3')['hosGoodsId'], 3) second_dept_Request(FileUtils().r_info8("b5_spd3_core_business_flow", "产品审核信息", 'message3')['hosGoodsId'], 3)
check_mcms_dept_buy_car(3) check_mcms_dept_buy_car(3)
BuyCarSubmit() # 请领车提交 BuyCarSubmit() # 请领车提交
time.sleep(8)
# 调用函数对数据库中的数据进行验证和比对 # 调用函数对数据库中的数据进行验证和比对
list_data = ['16', '20', '66'] list_data = ['16', '20', '66']
for i in list_data: for i in list_data:
......
...@@ -16,32 +16,32 @@ ...@@ -16,32 +16,32 @@
pkgDefName: '100' pkgDefName: '100'
pkgDefQty: 100.0 pkgDefQty: 100.0
pkgQty: pkgQty:
qty: 600.0 qty: 3700.0
goodsImg: [] goodsImg: []
pkgDefId: 8ce905b956f14453b958d0da398c0350 pkgDefId: c567d32761504700951570afcde929b1
buyPkgQty: buyPkgQty:
unitName: 100支/100 unitName: 100支/100
price: 99.9999 price: 99.9999
hosId: hosId:
branchId: branchId:
deptId: 7b4d11aec57042e096684a46e9148fdd deptId: b12c7c6ca56e4b46b418b319cbadbea5
deptName: deptName:
areaCode: areaCode:
areaName: areaName:
targetDeptId: d467187bce7f458eb5c4e1007f557353 targetDeptId: 63c734f07fcc422ea80f49ca8e5bbd95
targetDeptName: 设备科001 targetDeptName: 设备科001
targetStockId: 32bc153acdb34c969f4ed39bf10d58c2 targetStockId: 19d47ae6580b4dcf93b5b180771d2d85
targetStockName: 东土城路院区8SpTq中心库房 targetStockName: 东土城路院区7R4&E中心库房
purchaseFlag: 1 purchaseFlag: 1
tempFlag: 0 tempFlag: 0
grantWay: 2 grantWay: 3
deptGoodsStatus: deptGoodsStatus:
codingType: 0 codingType: 0
purModeText: 检验试剂 purModeText: 检验试剂
goodsGeneralName: 检测试剂 goodsGeneralName: 检测试剂
provName: 国药集团公司L1slG provName: 国药集团公司S57ui
noRecPkgQty: 12.0 noRecPkgQty: 41.0
noRecQty: 1200.0 noRecQty: 4100.0
autoUnpack: 0 autoUnpack: 0
consumeQty: consumeQty:
consumePkgQty: consumePkgQty:
......
...@@ -238,7 +238,7 @@ def main_text(): ...@@ -238,7 +238,7 @@ def main_text():
Button(root, text='流程十六\n退库业务_二级库向\n一级库退库', anchor='center', width=16, height=8,command=flow16).grid(row=4,column=6) Button(root, text='流程十六\n退库业务_二级库向\n一级库退库', anchor='center', width=16, height=8,command=flow16).grid(row=4,column=6)
Button(root, text='流程十七\n退库业务_中心库退\n供应商', anchor='center', width=16, height=8,command=flow17).grid(row=4,column=8) Button(root, text='流程十七\n退库业务_中心库退\n供应商', anchor='center', width=16, height=8,command=flow17).grid(row=4,column=8)
Button(root, text='流程十八\n中心库业务_拆包功能', anchor='center', width=16, height=8,command=flow18).grid(row=4,column=10) Button(root, text='流程十八\n中心库业务_拆包功能', anchor='center', width=16, height=8,command=flow18).grid(row=4,column=10)
Button(root, text='一键执行', anchor='center', width=8, height=2,command=flow0).grid(row=5,column=2) #Button(root, text='一键执行', anchor='center', width=8, height=2,command=flow0).grid(row=5,column=2)
Button(root, text='流程五开始\n一键执行', anchor='center', width=8, height=2,command=flow5_flow18).grid(row=5,column=4) Button(root, text='流程五开始\n一键执行', anchor='center', width=8, height=2,command=flow5_flow18).grid(row=5,column=4)
Button(root, text='删除垃圾\n数据', anchor='center', width=8, height=2,command=del_data).grid(row=5,column=6) Button(root, text='删除垃圾\n数据', anchor='center', width=8, height=2,command=del_data).grid(row=5,column=6)
Button(root, text='流程十一开始\n一键执行', anchor='center', width=8, height=2,command=flow11_flow18).grid(row=5,column=8) Button(root, text='流程十一开始\n一键执行', anchor='center', width=8, height=2,command=flow11_flow18).grid(row=5,column=8)
......
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