|
@@ -26,6 +26,36 @@
|
|
|
</a-button>
|
|
|
</div>
|
|
|
<a-table size="small" bordered :columns="columns" :data-source="data">
|
|
|
+ <template #gas="text,record">
|
|
|
+ <div @dblclick="handleEdit(record, 'yjh902')"> {{ text }} </div>
|
|
|
+ </template>
|
|
|
+ <template #gas="text,record">
|
|
|
+ <div @dblclick="handleEdit(record, 'yjh977')"> {{ text }} </div>
|
|
|
+ </template>
|
|
|
+ <template #gas="text,record">
|
|
|
+ <div @dblclick="handleEdit(record, 'yjh977Xl')"> {{ text }} </div>
|
|
|
+ </template>
|
|
|
+ <template #gas="text,record">
|
|
|
+ <div @dblclick="handleEdit(record, 'lhn')"> {{ text }} </div>
|
|
|
+ </template>
|
|
|
+ <template #gas="text,record">
|
|
|
+ <div @dblclick="handleEdit(record, 'lhnYjh')"> {{ text }} </div>
|
|
|
+ </template>
|
|
|
+ <template #gas="text,record">
|
|
|
+ <div @dblclick="handleEdit(record, 'lz')"> {{ text }} </div>
|
|
|
+ </template>
|
|
|
+ <template #gas="text,record">
|
|
|
+ <div @dblclick="handleEdit(record, 'lzYjh')"> {{ text }} </div>
|
|
|
+ </template>
|
|
|
+ <template #gas="text,record">
|
|
|
+ <div @dblclick="handleEdit(record, 'fhnYjh')"> {{ text }} </div>
|
|
|
+ </template>
|
|
|
+ <template #gas="text,record">
|
|
|
+ <div @dblclick="handleEdit(record, 'stockLhn')"> {{ text }} </div>
|
|
|
+ </template>
|
|
|
+ <template #gas="text,record">
|
|
|
+ <div @dblclick="handleEdit(record, 'stockLz')"> {{ text }} </div>
|
|
|
+ </template>
|
|
|
<template #gas="text,record">
|
|
|
<div @dblclick="handleEdit(record, 'gas')"> {{ text }} </div>
|
|
|
</template>
|
|
@@ -63,6 +93,86 @@ export default {
|
|
|
align: 'center',
|
|
|
width: 50
|
|
|
},
|
|
|
+ {
|
|
|
+ title: '902(月计划产量)',
|
|
|
+ dataIndex: 'yjh902',
|
|
|
+ key: 'yjh902',
|
|
|
+ align: 'center',
|
|
|
+ width: 100,
|
|
|
+ scopedSlots: { customRender: 'yjh902' }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ title: 'CS-977(月计划产量)',
|
|
|
+ dataIndex: 'yjh977',
|
|
|
+ key: 'yjh977',
|
|
|
+ align: 'center',
|
|
|
+ width: 100,
|
|
|
+ scopedSlots: { customRender: 'yjh977' }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ title: 'CS-977(月计划销售)',
|
|
|
+ dataIndex: 'yjh977Xl',
|
|
|
+ key: 'yjh977Xl',
|
|
|
+ align: 'center',
|
|
|
+ width: 100,
|
|
|
+ scopedSlots: { customRender: 'yjh977Xl' }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ title: '氯化钠(当日销售)',
|
|
|
+ dataIndex: 'lhn',
|
|
|
+ key: 'lhn',
|
|
|
+ align: 'center',
|
|
|
+ width: 100,
|
|
|
+ scopedSlots: { customRender: 'lhn' }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ title: '氯化钠(月计划销售)',
|
|
|
+ dataIndex: 'lhnYjh',
|
|
|
+ key: 'lhnYjh',
|
|
|
+ align: 'center',
|
|
|
+ width: 100,
|
|
|
+ scopedSlots: { customRender: 'lhnYjh' }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ title: '锂渣(当日销售)',
|
|
|
+ dataIndex: 'lz',
|
|
|
+ key: 'lz',
|
|
|
+ align: 'center',
|
|
|
+ width: 100,
|
|
|
+ scopedSlots: { customRender: 'lz' }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ title: '锂渣(月计划销售)',
|
|
|
+ dataIndex: 'lzYjh',
|
|
|
+ key: 'lzYjh',
|
|
|
+ align: 'center',
|
|
|
+ width: 100,
|
|
|
+ scopedSlots: { customRender: 'lzYjh' }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ title: '氟化钠(月计划销售)',
|
|
|
+ dataIndex: 'fhnYjh',
|
|
|
+ key: 'fhnYjh',
|
|
|
+ align: 'center',
|
|
|
+ width: 100,
|
|
|
+ scopedSlots: { customRender: 'fhnYjh' }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ title: '氯化钠(库存)',
|
|
|
+ dataIndex: 'stockLhn',
|
|
|
+ key: 'stockLhn',
|
|
|
+ align: 'center',
|
|
|
+ width: 100,
|
|
|
+ scopedSlots: { customRender: 'stockLhn' }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ title: '锂渣(库存)',
|
|
|
+ dataIndex: 'stockLz',
|
|
|
+ key: 'stockLz',
|
|
|
+ align: 'center',
|
|
|
+ width: 100,
|
|
|
+ scopedSlots: { customRender: 'stockLz' }
|
|
|
+ },
|
|
|
{
|
|
|
title: '天然气',
|
|
|
dataIndex: 'gas',
|