loulijun2021
2023-05-23 00a4538b06beaf8b21dfdc6c4cec25e61ebc0ee5
src/views/kb/jgcj.vue
@@ -29,8 +29,8 @@
                <div class="circle"   style="background-color: rgb(255 255 255)"></div>
                <div  style="margin-left: 10px" >未开始</div>
                <div class="circle"  style="margin-left: 10px;background-color: blue;"></div>
                <div  style="margin-left: 10px" >开工</div>
<!--                <div class="circle"  style="margin-left: 10px;background-color: blue;"></div>-->
<!--                <div  style="margin-left: 10px" >开工</div>-->
                <div class="circleYellow" style="margin-left: 10px"></div>
                <div  style="margin-left: 10px" >执行中</div>
@@ -44,7 +44,7 @@
              <div v-for="item in lineContent3" :key="item.workcode" class="kb_left_top_block">
                <div class="kb_block02 kb_pd10">
                  <div>
                    <div>销售订单:{{ item.saleordercode }}</div>
<!--                    <div>销售订单:{{ item.saleordercode }}</div>-->
                    <div class="kb_mt10">
                      加工单号:{{ item.workcode }}
                    </div>
@@ -89,13 +89,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)"
                        />
@@ -136,7 +136,7 @@
                <el-table-column
                  prop="status"
                  width="80"
                  width="100"
                  label="状态"
                >
                  <template slot-scope="{row}">
@@ -148,26 +148,26 @@
                <el-table-column
                  prop="lm_date"
                  label="派发时间"
                  width="140"
                  width="180"
                >
                  <template slot-scope="{row}">
                    <div>{{ row.lm_date.substring(0, 10) }}</div>
                  </template>
                </el-table-column>
                <el-table-column
                  prop="saleOrderCode"
                  label="销售订单号"
                  width="190"
                >
                  <template slot-scope="{row}">
                    <div v-if="row.saleOrderCode">{{ row.saleOrderCode }}</div>
                    <div v-else>/</div>
                  </template>
                </el-table-column>
<!--                <el-table-column-->
<!--                  prop="saleOrderCode"-->
<!--                  label="销售订单号"-->
<!--                  width="190"-->
<!--                >-->
<!--                  <template slot-scope="{row}">-->
<!--                    <div v-if="row.saleOrderCode">{{ row.saleOrderCode }}</div>-->
<!--                    <div v-else>/</div>-->
<!--                  </template>-->
<!--                </el-table-column>-->
                <el-table-column
                  prop="wo_code"
                  label="加工单号"
                  width="220"
                  width="240"
                />
                <el-table-column
                  prop="partname"
@@ -182,12 +182,12 @@
                <el-table-column
                  prop="plan_qty"
                  label="任务数量"
                  width="125"
                  width="165"
                />
                <el-table-column
                  prop="good_qty"
                  label="完工数量"
                  width="125"
                  width="165"
                />
<!--                <el-table-column-->
<!--                  prop="ng_qty"-->
@@ -196,7 +196,7 @@
<!--                />-->
                <el-table-column
                  label="完成率"
                  width="134"
                  width="164"
                >
                  <template slot-scope="{row}">
                    <div>{{ parseFloat((row.good_qty * 100 / row.plan_qty).toFixed(2)) }}%</div>