座位号
(self)
| 108 | self.sql[Tourist.name] = self.lineEditName.text().strip() |
| 109 | |
| 110 | def applySeat(self): |
| 111 | """座位号""" |
| 112 | if not self.checkBoxSeat.isChecked(): |
| 113 | if Tourist.seatnumber in self.sql: |
| 114 | # 移除 |
| 115 | self.sql.pop(Tourist.seatnumber) |
| 116 | # 更新或添加到字典里 |
| 117 | else: |
| 118 | self.sql[Tourist.seatnumber] = self.lineEditSeat.text().strip() |
| 119 | |
| 120 | def applyLicense(self): |
| 121 | """证件号""" |
no test coverage detected