|
@@ -91,6 +91,14 @@
|
|
<span v-if="record.rubbishType=='MET_PLA'">{{ record.rubbishWeight }}</span>
|
|
<span v-if="record.rubbishType=='MET_PLA'">{{ record.rubbishWeight }}</span>
|
|
<span v-else>0</span>
|
|
<span v-else>0</span>
|
|
</template>
|
|
</template>
|
|
|
|
+ <template slot="seven" slot-scope="text, record">
|
|
|
|
+ <span v-if="record.rubbishType=='GLASS'">{{ record.rubbishWeight }}</span>
|
|
|
|
+ <span v-else>0</span>
|
|
|
|
+ </template>
|
|
|
|
+ <template slot="eight" slot-scope="text, record">
|
|
|
|
+ <span v-if="record.rubbishType=='RECYCLING'">{{ record.rubbishWeight }}</span>
|
|
|
|
+ <span v-else>0</span>
|
|
|
|
+ </template>
|
|
</s-table>
|
|
</s-table>
|
|
</a-card>
|
|
</a-card>
|
|
|
|
|
|
@@ -143,7 +151,9 @@ export default {
|
|
{ title: '废旧塑料', width: 100, align: 'center', scopedSlots: { customRender: 'three' } },
|
|
{ title: '废旧塑料', width: 100, align: 'center', scopedSlots: { customRender: 'three' } },
|
|
{ title: '废旧金属', width: 100, align: 'center', scopedSlots: { customRender: 'four' } },
|
|
{ title: '废旧金属', width: 100, align: 'center', scopedSlots: { customRender: 'four' } },
|
|
{ title: '有害垃圾', width: 100, align: 'center', scopedSlots: { customRender: 'five' } },
|
|
{ title: '有害垃圾', width: 100, align: 'center', scopedSlots: { customRender: 'five' } },
|
|
- { title: '废旧金属/塑料', width: 100, align: 'center', scopedSlots: { customRender: 'six' } }
|
|
|
|
|
|
+ { title: '废旧金属/塑料', width: 100, align: 'center', scopedSlots: { customRender: 'six' } },
|
|
|
|
+ { title: '废旧玻璃', width: 100, align: 'center', scopedSlots: { customRender: 'seven' } },
|
|
|
|
+ { title: '可回收物', width: 100, align: 'center', scopedSlots: { customRender: 'eight' } }
|
|
]
|
|
]
|
|
}
|
|
}
|
|
|
|
|