qrpa 1.0.53__py3-none-any.whl → 1.0.55__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of qrpa might be problematic. Click here for more details.
- qrpa/mysql_module/shein_return_order_model.py +4 -0
- qrpa/shein_lib.py +14 -0
- {qrpa-1.0.53.dist-info → qrpa-1.0.55.dist-info}/METADATA +1 -1
- {qrpa-1.0.53.dist-info → qrpa-1.0.55.dist-info}/RECORD +6 -6
- {qrpa-1.0.53.dist-info → qrpa-1.0.55.dist-info}/WHEEL +0 -0
- {qrpa-1.0.53.dist-info → qrpa-1.0.55.dist-info}/top_level.txt +0 -0
|
@@ -124,6 +124,10 @@ class SheinReturnOrder(Base):
|
|
|
124
124
|
# 用户备注字段(供后续web界面使用)
|
|
125
125
|
user_notes = Column(Text, nullable=True, comment='用户备注')
|
|
126
126
|
|
|
127
|
+
return_factotry_status = Column(Integer, nullable=True, comment='退回工厂状态,1已退回,2未退回')
|
|
128
|
+
return_factotry_by = Column(String(50), nullable=True, comment='退回工厂操作人')
|
|
129
|
+
financial_settlement_status = Column(Integer, nullable=True, comment='财务结算状态,1已结算,2未结算')
|
|
130
|
+
|
|
127
131
|
# 定义索引
|
|
128
132
|
__table_args__ = (
|
|
129
133
|
Index('ix_return_order_no', 'return_order_no'),
|
qrpa/shein_lib.py
CHANGED
|
@@ -63,6 +63,20 @@ class SheinLib:
|
|
|
63
63
|
time.sleep(5)
|
|
64
64
|
wait_count += 1
|
|
65
65
|
|
|
66
|
+
if web_page.locator('//div[contains(text(),"同意签署协议")]').count() > 0:
|
|
67
|
+
while web_page.locator('//div[contains(text(),"同意签署协议")]').count() == 0:
|
|
68
|
+
log('等待协议内容出现')
|
|
69
|
+
web_page.wait_for_timeout(1000)
|
|
70
|
+
|
|
71
|
+
if web_page.locator('//div[contains(text(),"同意签署协议")]').count() > 0:
|
|
72
|
+
log('检测到同意签署协议')
|
|
73
|
+
web_page.wait_for_timeout(1000)
|
|
74
|
+
log('点击同意复选框')
|
|
75
|
+
web_page.locator('//i[@class="so-checkinput-indicator so-checkinput-checkbox"]').click()
|
|
76
|
+
web_page.wait_for_timeout(1000)
|
|
77
|
+
log('点击同意按钮')
|
|
78
|
+
web_page.locator('//button[span[text()="同意"]]').click()
|
|
79
|
+
|
|
66
80
|
if web_page.locator('//input[@name="username"]').is_visible():
|
|
67
81
|
log("用户名输入框可见 等待5秒点击'登录'按钮", self.store_username, self.store_name)
|
|
68
82
|
web_page.wait_for_timeout(5000)
|
|
@@ -11,7 +11,7 @@ qrpa/fun_web.py,sha256=F6cxwwOxB8twg2XK73oAvKla0FqpwDYJiM37CWmFwXo,6322
|
|
|
11
11
|
qrpa/fun_win.py,sha256=-LnTeocdTt72NVH6VgLdpAT9_C5oV9okeudXG6CftMA,8034
|
|
12
12
|
qrpa/shein_daily_report_model.py,sha256=H8oZmIN5Pyqe306W1_xuz87lOqLQ_LI5RjXbaxDkIzE,12589
|
|
13
13
|
qrpa/shein_excel.py,sha256=7dWDKP5JlD_2sb3Uv3JK_VJvppGwidsP3UAyPA89Ga8,115472
|
|
14
|
-
qrpa/shein_lib.py,sha256=
|
|
14
|
+
qrpa/shein_lib.py,sha256=0Yx9rFj1BwZe-pms1CV5SFPRs0u8gFrfi3laemNgNrU,109692
|
|
15
15
|
qrpa/shein_mysql.py,sha256=MGPJsz13evsLygZWhmitpPzUswiTKZ91VFvr8KA0M40,750
|
|
16
16
|
qrpa/shein_sqlite.py,sha256=ZQwD0Gz81q9WY7tY2HMEYvSF9r3N_G_Aur3bYfST9WY,5707
|
|
17
17
|
qrpa/shein_ziniao.py,sha256=kAOirjawPf-VxBxHFNpdDHCN2zL-O1U-2xybpmt34Xs,18692
|
|
@@ -22,8 +22,8 @@ qrpa/time_utils.py,sha256=ef0hhbN_6b-gcnz5ETIVOoxemIMvcxGVGGIRnHnGaBo,29564
|
|
|
22
22
|
qrpa/time_utils_example.py,sha256=shHOXKKF3QSzb0SHsNc34M61wEkkLuM30U9X1THKNS8,8053
|
|
23
23
|
qrpa/wxwork.py,sha256=gIytG19DZ5g7Tsl0-W3EbjfSnpIqZw-ua24gcB78YEg,11264
|
|
24
24
|
qrpa/mysql_module/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
25
|
-
qrpa/mysql_module/shein_return_order_model.py,sha256=
|
|
26
|
-
qrpa-1.0.
|
|
27
|
-
qrpa-1.0.
|
|
28
|
-
qrpa-1.0.
|
|
29
|
-
qrpa-1.0.
|
|
25
|
+
qrpa/mysql_module/shein_return_order_model.py,sha256=utrinAxntAQJPSWGxmXW81js_ZUZ-nfgxBOGzImK9iA,26563
|
|
26
|
+
qrpa-1.0.55.dist-info/METADATA,sha256=Ahc_utaRtumyLpcMaeIFNUrohKhPCR2X0BWl_qvQaPY,231
|
|
27
|
+
qrpa-1.0.55.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
28
|
+
qrpa-1.0.55.dist-info/top_level.txt,sha256=F6T5igi0fhXDucPPUbmmSC0qFCDEsH5eVijfVF48OFU,5
|
|
29
|
+
qrpa-1.0.55.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|