qrpa 1.1.16__py3-none-any.whl → 1.1.17__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/shein_excel.py
CHANGED
|
@@ -358,6 +358,7 @@ class SheinExcel:
|
|
|
358
358
|
add_sum_for_cell(sheet, [date_A, date_B])
|
|
359
359
|
column_to_right(sheet, ['金额', '汇总'])
|
|
360
360
|
sheet.autofit()
|
|
361
|
+
autofit_column(sheet,[date_A, date_B])
|
|
361
362
|
delete_sheet_if_exists(wb, 'Sheet1')
|
|
362
363
|
wb.save()
|
|
363
364
|
close_excel(app, wb)
|
|
@@ -374,17 +375,18 @@ class SheinExcel:
|
|
|
374
375
|
format_to_money(sheet, ['金额', '成本'])
|
|
375
376
|
format_to_datetime(sheet, ['时间'])
|
|
376
377
|
format_to_percent(sheet, ['成功率'], 0)
|
|
377
|
-
add_formula_for_column(sheet, '成功率', '=IF(J2=0, 0, k2/J2)',
|
|
378
|
+
add_formula_for_column(sheet, '成功率', '=IF(J2=0, 0, k2/J2)', 2)
|
|
378
379
|
# 聚合的不能使用这种公式
|
|
379
380
|
# add_formula_for_column(sheet, '新品上架数量',"=COUNTIF('新品转备货款明细'!A:A, B3)",3)
|
|
380
381
|
# add_formula_for_column(sheet, '成功转备货款',"=COUNTIFS('新品转备货款明细'!A:A, B3, '新品转备货款明细'!G:G, 1)",3)
|
|
381
382
|
add_sum_for_cell(sheet, ['在途商品金额', '在仓商品金额', '待结算金额', '可提现金额', '汇总', '销售出库金额',
|
|
382
|
-
|
|
383
|
+
date_A, date_B])
|
|
383
384
|
clear_for_cell(sheet, ['店铺账号', '导出时间'])
|
|
384
385
|
add_formula_for_column(sheet, '汇总', f'=SUM(D3:G3)', 3)
|
|
385
386
|
set_title_style(sheet)
|
|
386
387
|
column_to_right(sheet, ['金额', '汇总'])
|
|
387
|
-
|
|
388
|
+
# sheet.autofit()
|
|
389
|
+
autofit_column(sheet, ['店铺名称', '店铺账号', date_A, date_B, '导出时间'])
|
|
388
390
|
wb.save()
|
|
389
391
|
close_excel(app, wb)
|
|
390
392
|
WxWorkBot('b30aaa8d-1a1f-4378-841a-8b0f8295f2d9').send_file(excel_path)
|
|
@@ -10,7 +10,7 @@ qrpa/fun_file.py,sha256=yzjDV16WL5vRys7J4uQcNzIFkX4D5MAlSCwxcD-mwQo,11966
|
|
|
10
10
|
qrpa/fun_web.py,sha256=2aYrtRlf-p-P6AyjrlIcmMVq8oSDePEY48YLm4ZRS1A,11857
|
|
11
11
|
qrpa/fun_win.py,sha256=-LnTeocdTt72NVH6VgLdpAT9_C5oV9okeudXG6CftMA,8034
|
|
12
12
|
qrpa/shein_daily_report_model.py,sha256=H8oZmIN5Pyqe306W1_xuz87lOqLQ_LI5RjXbaxDkIzE,12589
|
|
13
|
-
qrpa/shein_excel.py,sha256=
|
|
13
|
+
qrpa/shein_excel.py,sha256=GuehKXlj9cRlag3j8u2bKwOD_03f4K18MKA3YnbXz0U,147665
|
|
14
14
|
qrpa/shein_lib.py,sha256=yOHww1FMetuTgYzpUlxgcl65iIh3FvR_gc554Jnjn-k,148318
|
|
15
15
|
qrpa/shein_mysql.py,sha256=XvEolaorH307PcPZMg10tZzFAtpVUlFM9rKIaNYA9VI,3335
|
|
16
16
|
qrpa/shein_sqlite.py,sha256=ZQwD0Gz81q9WY7tY2HMEYvSF9r3N_G_Aur3bYfST9WY,5707
|
|
@@ -25,7 +25,7 @@ qrpa/mysql_module/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU
|
|
|
25
25
|
qrpa/mysql_module/shein_ledger_model.py,sha256=O1pUFwXGC9hySU7-h07sAu70Xhzl0OxnXPMzRwphiGU,18629
|
|
26
26
|
qrpa/mysql_module/shein_product_model.py,sha256=v21_juWsZqTHj2k08GUGNkoRZ4hkKZKjaE-wmRl2a2k,19257
|
|
27
27
|
qrpa/mysql_module/shein_return_order_model.py,sha256=Zt-bGOH_kCDbakW7uaTmqqo_qTT8v424yidcYSfWvWM,26562
|
|
28
|
-
qrpa-1.1.
|
|
29
|
-
qrpa-1.1.
|
|
30
|
-
qrpa-1.1.
|
|
31
|
-
qrpa-1.1.
|
|
28
|
+
qrpa-1.1.17.dist-info/METADATA,sha256=8--x7_dpyJSVoTAseH_lgKfvKRBM6M6tJ_yL9dx1xN0,231
|
|
29
|
+
qrpa-1.1.17.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
30
|
+
qrpa-1.1.17.dist-info/top_level.txt,sha256=F6T5igi0fhXDucPPUbmmSC0qFCDEsH5eVijfVF48OFU,5
|
|
31
|
+
qrpa-1.1.17.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|