소스 검색

王子文 月报 KBI、BCC装置主要原材料及公用工程消耗趋势分析

wangggziwen 2 년 전
부모
커밋
97295cb0a1
1개의 변경된 파일10개의 추가작업 그리고 2개의 파일을 삭제
  1. 10 2
      ui/src/views/production/monthly/index.vue

+ 10 - 2
ui/src/views/production/monthly/index.vue

@@ -2388,7 +2388,11 @@
       >{{ $t('取消') }}</el-button>
     </div>
     <el-table border :data="tableKBI" style="width: 100%;">
-      <el-table-column width="150" prop="title" label="KBI" fixed="left"></el-table-column>
+      <el-table-column width="150" prop="title" label="KBI" fixed="left">
+        <template slot-scope="scope">
+          <div @click="columnOnclick(scope.row)">{{scope.row.title}}</div>
+        </template>
+      </el-table-column>
       <el-table-column width="80" prop="unit" label="unit" fixed="left"></el-table-column>
       <el-table-column width="100" prop="currently" label="currently"></el-table-column>
       <el-table-column width="100" prop="jan" :label="this.monthList[0]">
@@ -2697,7 +2701,11 @@
     <!-- Summary -->
     <el-divider content-position="left">BCC装置主要原材料及公用工程消耗</el-divider>
     <el-table border :data="tableSummary" style="width: 100%;">
-      <el-table-column prop="title" label="项目" width="150" fixed="left"></el-table-column>
+      <el-table-column width="150" prop="title" label="项目" fixed="left">
+        <template slot-scope="scope">
+          <div @click="columnOnclick(scope.row)">{{scope.row.title}}</div>
+        </template>
+      </el-table-column>
       <el-table-column width="80" prop="unit" label="unit" fixed="left"></el-table-column>
       <el-table-column width="100" prop="currently" label="currently"></el-table-column>
       <el-table-column width="100" prop="jan" :label="this.monthList[0]"></el-table-column>