def addfunc(self): goods_ID = self.lineEdit_no.text() goods_Price = self.lineEdit_name.text() goods_Num = self.lineEdit_tel.text() data = (goods_ID, goods_Price, goods_Num) x = database() x.logging_data(4, data)
def addfunc(self): manager_ID = self.lineEdit_no.text() choice = self.comboBox.currentIndex() manager_rank = self.spinBox.text() data = (manager_ID, choice, manager_rank) x = database() x.logging_data(3, data);
def addfunc(self): client_ID = self.lineEdit_5.text() client_salary = self.lineEdit_2.text() his_manager_s_id = self.lineEdit_Eno.text() choice = self.comboBox.currentIndex() data = (client_ID, client_salary, his_manager_s_id, choice) print(data) x = database() x.logging_data(2, data)
def show_employee(self): print("hh") x = database() x.show_employee(self.tableWidget_2)
def show_cus_food(self): x = database() x.show_cus_food(self.tableWidget)
def show_customer(self): x = database() x.show_customer(self.tableWidget_2)
def show_manager(self): x = database() x.show_manager(self.tableWidget_2)
def check_left_info(self): x = database() x.check_left_info(self.tableWidget_2)
def show_man_emp(self): x = database() x.show_man_emp(self.tableWidget_2)