ソースを参照

超节损按表格优化

zck 1 年間 前
コミット
d463ac0e0b
1 ファイル変更13 行追加10 行削除
  1. 13 10
      src/view/performance/12-orderAccounting/index.vue

+ 13 - 10
src/view/performance/12-orderAccounting/index.vue

@@ -198,16 +198,16 @@
               />
               <!-- 使用 v-for 循环渲染每一列 -->
               <el-table-column
-                v-for="column in tableCols1"
-                :key="column.prop"
-                :prop="column.prop"
-                :label="column.label"
-                :width="column.width"
-				:align='column.left'
-				:fixed='column.fixed'
-				:sortable="column.sortable"
-                show-overflow-tooltip="true"
-                sortable
+                    v-for="column in tableCols1"
+                    :key="column.prop"
+                    :prop="column.prop"
+                    :label="column.label"
+                    :width="column.width"
+                    :align='column.left'
+                    :fixed='column.fixed'
+                    :sortable="column.sortable"
+                    show-overflow-tooltip="true"
+                    sortable
               />
             </el-table>
           </div>
@@ -336,6 +336,7 @@ getSideData()
 const tableCols1 = [
   // { label: '超损工单', prop: 'csgd', width: '110' ,sortable:'sortable'},
   { label: '工单编号', prop: 'Gd_gdbh', width: '110',sortable:'sortable',fixed:'fixed',align:'left'},
+  { label: '参与考核', prop: '质量考核', width: '110' ,sortable:'sortable'},
   { label: '印件号', prop: 'jjcp_yjno', width: '70'},
   { label: '联数', prop: 'yj_ls', width: '70'},
   { label: '产品代号', prop: '成品编码', width: '110' ,sortable:'sortable'},
@@ -404,6 +405,7 @@ const handleNodeClick = async(node) => {
           ? '√'
           : '',
       date: date,
+      质量考核: item['质量考核'] === '0' ? '是' : '否'
     }))
     // console.log(tableData1.value )
   } else {
@@ -416,6 +418,7 @@ const handleNodeClick = async(node) => {
           ? '√'
           : '',
       date: date,
+      质量考核: item['质量考核'] === '0' ? '是' : '否'
     }))
   }
 }