def click_moreSure(self): """计划更多确定""" self.is_click(search['计划更多确定']) sleep()
def click_selectShop1(self): """选择门店""" self.is_click(login['选择门店1']) sleep()
def input(self, input_name='input', content=None): """输入框""" assert content self.input_text(self.element[input_name], txt=content) sleep()
def mouse_stop1(self): """鼠标悬停当前登录人""" self.mouse_stop(login['当前登录人']) sleep(2)
def click_shopName(self): """点击门店""" self.is_click(login['点击门店']) sleep()
def input_search(self, content): """输入账号""" self.input_text(search['账号'], txt=content) sleep(2)
def input_code(self, content): """输入验证码""" self.input_text(search['验证码'], txt=content) sleep(2)
def click_pchsReturn(self): """采购退货""" self.is_click(search['采购退货']) sleep(2)
def click_pchsReturnAdd(self): """采退新增""" self.is_click(search['采退新增']) sleep()
def click_lscommitsure(self): """临时提交确定""" self.is_click(search['临时提交确定']) sleep(3)
def click_lsSure(self): """临时更多确定""" self.is_click(search['临时更多确定']) sleep()
def doubleclick_wcgys(self): """双击选择供应商""" self.is_doubleclick(search['双击选择供应商']) sleep(2)
def doubleclick_lsgys(self): """临时双击选择供应商""" self.is_doubleclick(search['临时双击选择供应商']) sleep(2)
def click_pchsls(self): """临时采购订单""" self.is_click(search['临时采购订单']) sleep(3)
def click_wccommitsure(self): """提交确定""" self.is_click(search['提交确定']) sleep(6)
def input_pchsReturnInputSupplier(self, content): """采退输入供应商""" self.input_text(search['采退输入供应商'], txt=content) sleep(2)
def input_search(self, content): """输入搜索""" self.input_text(search['搜索框'], txt=content) sleep()
def enter_pchsReturnInputSupplier(self): """采退输入供应商,回车键""" self.key_enter(search['采退输入供应商']) sleep()
def input_pass(self, content): """输入密码""" self.input_text(search['密码'], txt=content) sleep(2)
def click_pchsReturnSkuSearch(self): """采退点击查询""" self.is_click(search['采退点击查询']) sleep(2)
def click_loginButton(self): """点击登录""" self.is_click(login['登录按钮']) sleep()
def click_pchsReturnSelectButton(self): """采退点击选择按钮""" self.is_click(search['采退点击选择按钮']) sleep()
def click_loginOut(self): """退出登录""" self.is_click(login['退出登录']) sleep(2)
def click_pchsReturnSave(self): """采退点击保存按钮""" self.is_click(search['采退点击保存按钮']) sleep()
def click_loginSearch1(self): """点击查询""" self.is_click(login['点击查询1']) sleep(2)
def click_pchsReturnCommitSure(self): """采退点击提交确认按钮""" self.is_click(search['采退点击提交确认按钮']) sleep()
def click_shopSure1(self): """点击确定""" self.is_click(login['点击确定1']) sleep(3)
def click_pchsReturnSure(self): """采退点击退货确认按钮""" self.is_click(search['采退点击退货确认按钮']) sleep(4)
def click(self, click_name='button'): """点击搜索""" self.is_click(self.element[click_name]) sleep()
def click_plancommitsure(self): """计划提交确定""" self.is_click(search['计划提交确定']) sleep(5)