loulijun2021
2023-05-06 895591fc02d18c553fa1b93c1732967b2b787c08
src/views/kb/zhkb.vue
@@ -24,6 +24,21 @@
            <!--            <svg-icon icon-class="sccx" />-->
            产线加工中任务
            <div style="margin-left: 30px">{{ number1 }} 单</div>
            <div style="display: flex;margin-left: 25px;">
              <div class="circle" style="background-color: rgb(255 255 255)" />
              <div style="margin-left: 10px">未开始</div>
              <!--              <div class="circle" style="margin-left: 10px;background-color: blue;" />-->
              <!--              <div style="margin-left: 10px">开工</div>-->
              <div class="circleYellow" style="margin-left: 10px" />
              <div style="margin-left: 10px">执行中</div>
              <div class="circle" style="margin-left: 10px" />
              <div style="margin-left: 10px">完工</div>
            </div>
          </div>
          <div class="kb_left_top kb_pd10">
@@ -80,13 +95,13 @@
                      class="kb_block03_02_content flex_c_c"
                    >
                      <div class="flex_c_c content01">
                        <!--                        <div-->
                        <!--                          v-if="it.status==='START'&&(parseFloat(it.ngqty)===0||it.ngqty==='')&&(parseFloat(it.goodqty)===0||it.goodqty==='')"-->
                        <!--                          class="circle"-->
                        <!--                          style="background-color: blue;"-->
                        <!--                        />-->
                        <div
                          v-if="it.status==='START'&&(parseFloat(it.ngqty)===0||it.ngqty==='')&&(parseFloat(it.goodqty)===0||it.goodqty==='')"
                          class="circle"
                          style="background-color: blue;"
                        />
                        <div
                          v-else-if="it.status==='ALLO'&&(parseFloat(it.ngqty)===0||it.ngqty==='')&&(parseFloat(it.goodqty)===0||it.goodqty==='')"
                          v-if="it.status==='ALLO'&&(parseFloat(it.ngqty)===0||it.ngqty==='')&&(parseFloat(it.goodqty)===0||it.goodqty==='')"
                          class="circle"
                          style="background-color: rgb(255 255 255)"
                        />
@@ -141,7 +156,8 @@
                    width="115"
                  >
                    <template slot-scope="{row}">
                      <div>{{ row.lm_date.substring(0, 10) }}</div>
                      <div v-if="row.lm_date">{{ row.lm_date.substring(0, 10) }}</div>
                      <div v-else>/</div>
                    </template>
                  </el-table-column>
                  <el-table-column
@@ -219,7 +235,8 @@
                    width="115"
                  >
                    <template slot-scope="{row}">
                      <div>{{ row.planstartdate.substring(0, 10) }}</div>
                      <div v-if="row.planstartdate">{{ row.planstartdate.substring(0, 10) }}</div>
                      <div v-else>/</div>
                    </template>
                  </el-table-column>
                  <el-table-column
@@ -228,7 +245,8 @@
                    width="125"
                  >
                    <template slot-scope="{row}">
                      <div>{{ row.planenddate.substring(0, 10) }}</div>
                      <div v-if="row.planenddate">{{ row.planenddate.substring(0, 10) }}</div>
                      <div v-else>/</div>
                    </template>
                  </el-table-column>
                </el-table>
@@ -635,7 +653,7 @@
              }
            })
          }
        }, this.tableData.length <= 10 ? 1000 * 3 : 100)
        }, this.tableData.length <= 10 ? 1000 * 15 : 100)
      })
    },
    // 当日完工产品数量排行
@@ -963,4 +981,15 @@
  background-color: rgb(255 255 0);
  border-radius: 50%;
}
::v-deep .el-table__body-wrapper{
  overflow: hidden !important;
}
.circle {
  width: 26px;
  height: 26px;
  background-color: #00ff8b;
  border-radius: 50%;
}
</style>