Răsfoiți Sursa

pms 瑞恒日报汇总 油耗

zhangcl 5 zile în urmă
părinte
comite
264db6b2f9

+ 12 - 0
src/views/pms/iotrhdailyreport/index.vue

@@ -246,6 +246,13 @@
                 :min-width="columnWidths.dailyPowerUsage.width"
                 resizable
               />
+              <el-table-column
+                label="油耗(L)"
+                align="center"
+                prop="dailyOilUsage"
+                :min-width="columnWidths.dailyOilUsage.width"
+                resizable
+              />
             </el-table-column>
             <el-table-column
               label="非生产时间(H)"
@@ -625,6 +632,11 @@ const columnWidths = ref<
     prop: 'dailyPowerUsage',
     width: '120px'
   },
+  dailyOilUsage: {
+    label: '油耗(L)',
+    prop: 'dailyOilUsage',
+    width: '120px'
+  },
   nonProductionTime: {
     label: '非生产时间(H)',
     prop: 'nonProductionTime',

+ 2 - 2
src/views/pms/iotrhdailyreport/summary.vue

@@ -130,7 +130,7 @@ const totalWorkKeys = [
   ['notReported', '个', '未填报', 'i-material-symbols:cancel-outline-rounded text-rose'],
   [
     'totalFuelConsumption',
-    '',
+    'L',
     '累计油耗',
     'i-material-symbols:directions-car-outline-rounded text-sky'
   ],
@@ -226,7 +226,7 @@ const columns = (type: string) => {
       prop: 'cumulativePowerConsumption'
     },
     {
-      label: '累计油耗()',
+      label: '累计油耗(L)',
       prop: 'cumulativeFuelConsumption'
     }
   ]