Selaa lähdekoodia

Signed-off-by: 1004749546@qq.com <1004749546@qq.com>
箱体设置修改箱体对应资源字段

1004749546@qq.com 4 vuotta sitten
vanhempi
commit
08ddf1edb7
1 muutettua tiedostoa jossa 5 lisäystä ja 5 poistoa
  1. 5 5
      src/views/equipmentManage/boxSetting/boxSetting.vue

+ 5 - 5
src/views/equipmentManage/boxSetting/boxSetting.vue

@@ -104,7 +104,7 @@ export default {
           width: 100,
           align: 'center',
 		  customRender: (record, text) => {
-		    return record ? (record.maxWeight ? (record.maxWeight + '/' + record.rubbishType) : '--') : '--'
+		    return record ? (record.maxWeight ? (record.maxWeight + '/' + record.rubbishTypeDictValue) : '--') : '--'
 		  }
         },
         {
@@ -113,7 +113,7 @@ export default {
           width: 100,
           align: 'center',
 		  customRender: (record, text) => {
-		    return record ? (record.maxWeight ? (record.maxWeight + '/' + record.rubbishType) : '--') : '--'
+		    return record ? (record.maxWeight ? (record.maxWeight + '/' + record.rubbishTypeDictValue) : '--') : '--'
 		  }
         },
         {
@@ -122,7 +122,7 @@ export default {
           width: 100,
           align: 'center',
           customRender: (record, text) => {
-            return record ? (record.maxWeight ? (record.maxWeight + '/' + record.rubbishType) : '--') : '--'
+            return record ? (record.maxWeight ? (record.maxWeight + '/' + record.rubbishTypeDictValue) : '--') : '--'
           }
         },
         {
@@ -131,7 +131,7 @@ export default {
           width: 100,
           align: 'center',
           customRender: (record, text) => {
-            return record ? (record.maxWeight ? (record.maxWeight + '/' + record.rubbishType) : '--') : '--'
+            return record ? (record.maxWeight ? (record.maxWeight + '/' + record.rubbishTypeDictValue) : '--') : '--'
           }
         },
         {
@@ -140,7 +140,7 @@ export default {
           width: 100,
           align: 'center',
           customRender: (record, text) => {
-            return record ? (record.maxWeight ? (record.maxWeight + '/' + record.rubbishType) : '--') : '--'
+            return record ? (record.maxWeight ? (record.maxWeight + '/' + record.rubbishTypeDictValue) : '--') : '--'
           }
         }
         ]