瀏覽代碼

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

1004749546@qq.com 4 年之前
父節點
當前提交
08ddf1edb7
共有 1 個文件被更改,包括 5 次插入5 次删除
  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,
           width: 100,
           align: 'center',
           align: 'center',
 		  customRender: (record, text) => {
 		  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,
           width: 100,
           align: 'center',
           align: 'center',
 		  customRender: (record, text) => {
 		  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,
           width: 100,
           align: 'center',
           align: 'center',
           customRender: (record, text) => {
           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,
           width: 100,
           align: 'center',
           align: 'center',
           customRender: (record, text) => {
           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,
           width: 100,
           align: 'center',
           align: 'center',
           customRender: (record, text) => {
           customRender: (record, text) => {
-            return record ? (record.maxWeight ? (record.maxWeight + '/' + record.rubbishType) : '--') : '--'
+            return record ? (record.maxWeight ? (record.maxWeight + '/' + record.rubbishTypeDictValue) : '--') : '--'
           }
           }
         }
         }
         ]
         ]