You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
32 lines
704 B
Markdown
32 lines
704 B
Markdown
---
|
|
date created: 2022-11-04 Fri
|
|
date updated: 2022-12-07 10:40 Wed
|
|
_Updated_: 2023-05-12 11:19 Fri
|
|
---
|
|
|
|
#📑docs
|
|
|
|
# 计算公式
|
|
|
|
%%
|
|
$profit\_margin=profit / web\_settlement$
|
|
$web\_settlement = transaction\_amount- commission$
|
|
%%
|
|
|
|
```
|
|
profit_margin = profit ÷ web_settlement
|
|
web_settlement = transaction_amount - commission
|
|
```
|
|
|
|
# 团号生成
|
|
|
|
- 团号的条件: 来源, 销售, 客人UID, 供应商, 店铺, 预定日期
|
|
- 同步的时候项目没有匹配到就没有团号, 手动选了之后, 重新点一下同步就行
|
|
- 团号生成只在执行同步的时候
|
|
|
|
# 订单项目匹配
|
|
|
|
`product_package`表:商品编码`sku_code`
|
|
|
|
> 没有`sku_code`, 或者值为空, 在订单列表显示红色
|