diff --git a/ruoyi-ui/src/views/fantang/mealsStatistics/index.vue b/ruoyi-ui/src/views/fantang/mealsStatistics/index.vue
index 02bd413f9..33090355e 100644
--- a/ruoyi-ui/src/views/fantang/mealsStatistics/index.vue
+++ b/ruoyi-ui/src/views/fantang/mealsStatistics/index.vue
@@ -81,15 +81,16 @@
-
-
-
-
+
+
+
+
-
-
-
-
+
+
+
+
+
@@ -261,6 +262,71 @@ export default {
return '加餐';
},
+ formatToRice(row) {
+ if(row.rice)
+ return '加饭';
+ else
+ return '-';
+ },
+ formatToMeat(row) {
+ if(row.meat)
+ return '加肉';
+ else
+ return '-';
+ },
+ formatToVegetables(row) {
+ if(row.vegetables)
+ return '加菜';
+ else
+ return '-';
+ },
+ formatToEgg(row) {
+ if(row.egg)
+ return row.egg;
+ else
+ return '-';
+ },
+
+ formatToOpenFlag(row) {
+ if(row.openFlag)
+ return '是';
+ else
+ return '-';
+ },
+ formatToReplace(row) {
+ if (row.openFlag) {
+ if(row.isReplaceFood)
+ return '替';
+ else
+ return '加';
+ } else
+ return '-';
+ },
+
+
+ formatToNutritionName(row) {
+ if (row.openFlag) {
+ return row.nutritionName;
+ } else
+ return '-';
+ },
+ formatToNutritionFoodPrice(row) {
+ if (row.openFlag) {
+ return row.nutritionFoodPrice;
+ } else
+ return '-';
+ },
+ formatToNutritionFoodFlag(row) {
+ if (row.openFlag) {
+ if(row.nutritionFoodFlag)
+ return '报';
+ else
+ return '停';
+ } else
+ return '-';
+
+ },
+
/** 查询报餐管理列表 */
getList() {
this.loading = true;
@@ -268,6 +334,7 @@ export default {
this.mealsList = response.rows;
this.total = response.total;
this.loading = false;
+ console.log(this.mealsList);
});
},
// 取消按钮