判断单据体的字段,锁定单据头的字段

len(filter(lambda x:x.FBASESALJOINQTY  > 0 , FCRMContractEntry))>0

原文地址:https://www.cnblogs.com/zouhuaxin/p/14182616.html