wangyang há 5 anos atrás
pai
commit
9e147c672b
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      src/views/foodModifier/index.vue

+ 1 - 1
src/views/foodModifier/index.vue

@@ -160,7 +160,7 @@ export default {
           this.dialogHtml += `******************************<br>`
           for (let i=0; i < nutrients.length; i++) {
             const nutrient = nutrients[i]
-            const quantity = nutrient.normalizedQuantity * res.data.ratio * row.inIni
+            const quantity = nutrient.normalizedQuantity * res.data.ratio * row.inInit
             this.dialogHtml += `${nutrient.nutrientName}:${quantity}${nutrient.unit}。<br>`
             this.dialogHtml += `营养素计量为:${nutrient.quantity}${nutrient.unit}。Nv_Spec为:${nutrient.nvSpec}${nutrient.nvSpecUnit}。<br>`
             this.dialogHtml += `******************************<br>`