loulijun2021
2023-03-10 611446cb920baf56751c36e286b0da05909bcd05
src/views/kb/cjzl.vue
@@ -50,7 +50,7 @@
            <el-table
              ref="tableDataLeftCenterRef"
              :data="tableDataCenterTop"
              class="tableData"
              class="tableData tableDataCell"
              style="width: 100%;"
              :header-cell-style="headerCellStyleCenter"
              :cell-style="cellStyleCenter"
@@ -59,7 +59,7 @@
              <el-table-column
                prop="lm_date"
                label="日期"
                width="115"
                width="100"
              >
                <template slot-scope="{row}">
                  <div
@@ -72,7 +72,7 @@
              </el-table-column>
              <el-table-column
                prop="eqp_name"
                width="95"
                width="80"
                label="产线名称"
              >
                <template slot-scope="{row}">
@@ -82,7 +82,7 @@
              <el-table-column
                prop="wo_code"
                label="生产单号"
                width="188"
                width="173"
              >
                <template slot-scope="{row}">
                  <div style="color: #00FFFF">{{ row.wo_code }}</div>
@@ -91,7 +91,7 @@
              <el-table-column
                prop="partname"
                width="100"
                width="190"
                label="产品名称"
              >
                <template slot-scope="{row}">
@@ -110,16 +110,16 @@
              <el-table-column
                prop="ng_qty"
                label="不良数量"
                width="92"
                width="77"
              />
              <el-table-column
                prop="report_qty"
                label="报工数量"
                width="92"
                width="77"
              />
              <el-table-column
                label="不良占比"
                width="92"
                width="77"
              >
                <template slot-scope="{row}">
                  <div>{{ parseFloat((row.ng_qty*100/(row.ng_qty+row.report_qty)).toFixed(2)) }}%</div>
@@ -359,6 +359,13 @@
.el-table__empty-text{
  color: $main_color;
}
.tableDataCell {
  ::v-deep .cell{
    padding: 0 2px ;
  }
}
</style>
<!--星空-->