From 4d0445e26af1f7cfe9aa49b3406bfbdea4950810 Mon Sep 17 00:00:00 2001 From: xiao-hesheng Date: Mon, 8 Jul 2024 08:48:18 +0800 Subject: [PATCH] =?UTF-8?q?=E8=84=9A=E6=9C=AC=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ...21\344\270\255\345\277\203\345\272\223.py" | 5 ++- data/b5_spd3_core_business_flow/message21 | 6 +-- data/b5_spd3_core_business_flow/message22 | 4 +- main1/main_text.py | 38 +++++++++---------- 4 files changed, 28 insertions(+), 25 deletions(-) diff --git "a/air_case/b5_spd3_core_business_flow/a_b2\346\265\201\347\250\213\344\271\235\350\257\267\351\242\206\344\270\232\345\212\241\346\265\201_\344\272\214\347\272\247\345\272\223\345\220\221\344\270\255\345\277\203\345\272\223.air/a_b2\346\265\201\347\250\213\344\271\235\350\257\267\351\242\206\344\270\232\345\212\241\346\265\201_\344\272\214\347\272\247\345\272\223\345\220\221\344\270\255\345\277\203\345\272\223.py" "b/air_case/b5_spd3_core_business_flow/a_b2\346\265\201\347\250\213\344\271\235\350\257\267\351\242\206\344\270\232\345\212\241\346\265\201_\344\272\214\347\272\247\345\272\223\345\220\221\344\270\255\345\277\203\345\272\223.air/a_b2\346\265\201\347\250\213\344\271\235\350\257\267\351\242\206\344\270\232\345\212\241\346\265\201_\344\272\214\347\272\247\345\272\223\345\220\221\344\270\255\345\277\203\345\272\223.py" index e18caf32..4b6bdd36 100644 --- "a/air_case/b5_spd3_core_business_flow/a_b2\346\265\201\347\250\213\344\271\235\350\257\267\351\242\206\344\270\232\345\212\241\346\265\201_\344\272\214\347\272\247\345\272\223\345\220\221\344\270\255\345\277\203\345\272\223.air/a_b2\346\265\201\347\250\213\344\271\235\350\257\267\351\242\206\344\270\232\345\212\241\346\265\201_\344\272\214\347\272\247\345\272\223\345\220\221\344\270\255\345\277\203\345\272\223.py" +++ "b/air_case/b5_spd3_core_business_flow/a_b2\346\265\201\347\250\213\344\271\235\350\257\267\351\242\206\344\270\232\345\212\241\346\265\201_\344\272\214\347\272\247\345\272\223\345\220\221\344\270\255\345\277\203\345\272\223.air/a_b2\346\265\201\347\250\213\344\271\235\350\257\267\351\242\206\344\270\232\345\212\241\346\265\201_\344\272\214\347\272\247\345\272\223\345\220\221\344\270\255\345\277\203\345\272\223.py" @@ -407,7 +407,10 @@ def main(): second_dept_Request(FileUtils().r_info8("b5_spd3_core_business_flow", "产品审核信息", 'message3')['hosGoodsId'], 3) BuyCarSubmit() # 请领车提交 - for i in range(6): # 三个单据共审批6次 + """ + 这里的审批跟审批流的设置有关 + """ + for i in range(3): # 三个单据共审批6次 approval_center() updateUserLoginDefaultRange(get_listUserMgrRangePage(1)) #设置登录账号默认权限是中心库 #获取拣货单列表个数 diff --git a/data/b5_spd3_core_business_flow/message21 b/data/b5_spd3_core_business_flow/message21 index d9e3bfe6..2f6f76be 100644 --- a/data/b5_spd3_core_business_flow/message21 +++ b/data/b5_spd3_core_business_flow/message21 @@ -34,14 +34,14 @@ targetStockName: 东土城路院区IjnkG中心库房 purchaseFlag: 1 tempFlag: 0 - grantWay: 3 + grantWay: 1 deptGoodsStatus: codingType: 0 purModeText: 检验试剂 goodsGeneralName: 检测试剂 provName: 国药集团公司^n1@F - noRecPkgQty: 3.0 - noRecQty: 300.0 + noRecPkgQty: 4.0 + noRecQty: 400.0 autoUnpack: 0 consumeQty: consumePkgQty: diff --git a/data/b5_spd3_core_business_flow/message22 b/data/b5_spd3_core_business_flow/message22 index 5ee92324..e9392d4f 100644 --- a/data/b5_spd3_core_business_flow/message22 +++ b/data/b5_spd3_core_business_flow/message22 @@ -2,8 +2,8 @@ list_a: - &id001 - id: 84695465c4144015943479b370abbed2 - lastModified: '2024-07-08 08:21:02' - version: 2 + lastModified: '2024-07-08 08:36:15' + version: 3 createTime: '2024-07-08 05:03:31' createUser: h0347_UID-051402 lastModifiedUser: h0347_UID-051402 diff --git a/main1/main_text.py b/main1/main_text.py index d0821ecb..57e70c3d 100644 --- a/main1/main_text.py +++ b/main1/main_text.py @@ -29,7 +29,7 @@ def main_text(): window_width = root.winfo_screenwidth() window_height = root.winfo_screenheight() # 设置窗口大小 - root.geometry('395x280') + root.geometry('800x560') # 刷新窗口参数 root.update() # 计算窗口居中时左上角的坐标 @@ -172,24 +172,24 @@ def main_text(): return result # 文本显示的位置。 - Button(root, text='流程一', width=8, height=4,command=flow1).grid(row=2,column=0) - Button(root, text='流程二', anchor='center', width=8, height=4,command=flow2).grid(row=2,column=2) - Button(root, text='流程三', anchor='center', width=8, height=4,command=flow3).grid(row=2,column=4) - Button(root, text='流程四', anchor='center', width=8, height=4,command=flow4).grid(row=2,column=6) - Button(root, text='流程五', anchor='center', width=8, height=4,command=flow5).grid(row=2,column=8) - Button(root, text='流程六', anchor='center', width=8, height=4,command=flow6).grid(row=2,column=10) - Button(root, text='流程七', anchor='center', width=8, height=4,command=flow7).grid(row=3,column=0) - Button(root, text='流程八', anchor='center', width=8, height=4,command=flow8).grid(row=3,column=2) - Button(root, text='流程九', anchor='center', width=8, height=4,command=flow9).grid(row=3,column=4) - Button(root, text='流程十', anchor='center', width=8, height=4,command=flow10).grid(row=3,column=6) - Button(root, text='流程十一', anchor='center', width=8, height=4,command=flow11).grid(row=3,column=8) - Button(root, text='流程十二', anchor='center', width=8, height=4,command=flow12).grid(row=3,column=10) - Button(root, text='流程十三', anchor='center', width=8, height=4,command=flow13).grid(row=4,column=0) - Button(root, text='流程十四', anchor='center', width=8, height=4,command=flow14).grid(row=4,column=2) - Button(root, text='流程十五', anchor='center', width=8, height=4,command=flow15).grid(row=4,column=4) - Button(root, text='流程十六', anchor='center', width=8, height=4,command=flow16).grid(row=4,column=6) - Button(root, text='流程十七', anchor='center', width=8, height=4,command=flow17).grid(row=4,column=8) - Button(root, text='流程十八', anchor='center', width=8, height=4,command=flow18).grid(row=4,column=10) + Button(root, text='流程一\n外网企业注册审批', width=16, height=8,command=flow1).grid(row=2,column=0) + Button(root, text='流程二\n供货关系申请审批', anchor='center', width=16, height=8,command=flow2).grid(row=2,column=2) + Button(root, text='流程三\n流程三_产品导\n入和审批', anchor='center', width=16, height=8,command=flow3).grid(row=2,column=4) + Button(root, text='流程\n内网基础模块设置', anchor='center', width=16, height=8,command=flow4).grid(row=2,column=6) + Button(root, text='流程五\n中心库入库正结算\n开票', anchor='center', width=16, height=8,command=flow5).grid(row=2,column=8) + Button(root, text='流程六\n中心库入库负结算', anchor='center', width=16, height=8,command=flow6).grid(row=2,column=10) + Button(root, text='流程七\n中心库入库正负结算', anchor='center', width=16, height=8,command=flow7).grid(row=3,column=0) + Button(root, text='流程八\n高值跟台业务', anchor='center', width=16, height=8,command=flow8).grid(row=3,column=2) + Button(root, text='流程九\n请领业务二级库向\n中心库', anchor='center', width=16, height=8,command=flow9).grid(row=3,column=4) + Button(root, text='流程十\n请领业务流_二级库\n向边仓', anchor='center', width=16, height=8,command=flow10).grid(row=3,column=6) + Button(root, text='流程十一\n请领业务流_二级库\n向直送', anchor='center', width=16, height=8,command=flow11).grid(row=3,column=8) + Button(root, text='流程十二\n请领业务流_二级库\n向二级库', anchor='center', width=16, height=8,command=flow12).grid(row=3,column=10) + Button(root, text='流程十三\n\n请领业务流_三级库\n向二级库', anchor='center', width=16, height=8,command=flow13).grid(row=4,column=0) + Button(root, text='流程十四\n退库业务消耗退库', anchor='center', width=16, height=8,command=flow14).grid(row=4,column=2) + Button(root, text='流程十五\n退库业务三级库向\n二级库退库', anchor='center', width=16, height=8,command=flow15).grid(row=4,column=4) + 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中心库业务_拆包功能', 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=del_data).grid(row=5,column=4) Button(root, text='退 出', anchor='center', width=8, height=2,command=exit).grid(row=5,column=8) -- GitLab