食谱制作状态

This commit is contained in:
huangdeliang
2021-03-13 18:21:03 +08:00
parent 0f201eb2fd
commit 51be6ba97a
10 changed files with 180 additions and 76 deletions

View File

@ -482,6 +482,8 @@ export function dealHealthy(customerHealthy) {
customerHealthy.notSportHeat = (customerHealthy.basicBMR * 1.3).toFixed(1);
customerHealthy.basicBMR += "千卡";
customerHealthy.notSportHeat += "千卡";
const lowRecProtein = customerHealthy.tall - 105;
customerHealthy.recProtein = `${lowRecProtein * 0.8} - ${lowRecProtein * 1.5}`;
needAttrName.forEach(name => {
if (customerHealthy.hasOwnProperty(name)) {