diff --git a/src/views/mealSurplusInformation/mealSurplusInformation.vue b/src/views/mealSurplusInformation/mealSurplusInformation.vue index 57ade83..5995fc0 100644 --- a/src/views/mealSurplusInformation/mealSurplusInformation.vue +++ b/src/views/mealSurplusInformation/mealSurplusInformation.vue @@ -27,7 +27,7 @@
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
@@ -120,7 +78,8 @@
@@ -215,6 +174,13 @@ export default { } // 处理已出菜品列表 + if (res.data.recipeFoodNotMadeList && res.data.recipeFoodNotMadeList.length) { + res.data.recipeFoodNotMadeList.map(function(item) { + item.foodWeight_kg = Math.round(item.foodWeight / 10) / 100; + return item; + }); + _this.recipeFoodNotMadeList = res.data.recipeFoodNotMadeList; + } if (res.data.recipeFoodProducedList && res.data.recipeFoodProducedList.length) { res.data.recipeFoodProducedList.map(function(item) { item.foodWeight_kg = Math.round(item.foodWeight / 10) / 100;