Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
当我创建报价单时,我只需要提供 2 个订单项。如何将它们限制为仅 2 个条目。任何人都可以帮助我吗?提前致谢
在 py 文件中使用 _constraint。并在功能中检查订单线的长度。并在发现超过 2 行的情况下引发错误
,