def showPayed(self): """显示已支付合同""" self.model.clear() c = CreditAbout() self.data = c.getFilter(key=1) if self.data: self.showTable()
def showNo(self): """显示所有未支付合同""" self.model.clear() c = CreditAbout() self.data = c.getFilter() if self.data: self.showTable()