loulijun2021
2023-11-14 edd82d6c67f1f26b42e5b5a7b8a467247ffa3835
src/views/kanbanManager/zhkb.vue
@@ -54,8 +54,8 @@
                      </div>
                      <div class="content02Parent">
                        <div class="content02">
                          <div class="content02_1 ">任务</div>
                          <div class="content02_2 borderTop ">{{ parseFloat(it.planqty) }}</div>
                          <div class="content02_1 ">开工</div>
                          <div class="content02_2 borderTop ">{{ parseFloat(it.startqty) }}</div>
                        </div>
                        <div class="content02">
                          <div class="content02_1 ">合格</div>
@@ -143,7 +143,7 @@
                <el-table-column
                  prop="saleOrderCode"
                  label="销售订单号"
                  width="170"
                  width="160"
                >
                  <template slot-scope="{row}">
                    <div v-if="row.saleOrderCode">{{ row.saleOrderCode }}</div>
@@ -153,7 +153,7 @@
                <el-table-column
                  prop="wo_code"
                  label="加工单号"
                  width="190"
                  width="200"
                />
                <el-table-column
                  prop="partname"
@@ -308,6 +308,7 @@
        { code: '205', name: '包装车间' },
        { code: '204', name: '喷涂车间' },
        { code: '203', name: '抛光车间' },
        // { code: '001', name: '压铸车间' }
        { code: '201', name: '压铸车间' }
      ],
      title: '车间综合'
@@ -326,7 +327,7 @@
    // 两小时看板刷新一次
    setInterval(() => {
      window.location.reload()
    }, 1000 * 60 * 60 * 10)
    }, 1000 * 60 * 120)
  },
  mounted() {
    // 监听网络是否在线
@@ -561,13 +562,13 @@
            LineSearchTopRightData({ shopcode: this.ShopArr.join(',') }).then(res => {
              this.tableDataRightTop = res.data
              if (this.tableDataRightTop.length > 10) {
              if (this.tableDataRightTop.length > 9) {
                clearInterval(temp)
                this.getLineSearchTopRightData()
              }
            })
          }
        }, this.tableDataRightTop.length <= 10 ? 1000 * 15 : 300)
        }, this.tableDataRightTop.length <= 9 ? 1000 * 15 : 300)
      })
      // let startValue = 0 // 初始值
@@ -607,13 +608,13 @@
            LineSearchBottomLeftData({ shopcode: this.ShopArr.join(',') }).then(res => {
              this.tableDataLeftBottom = res.data
              if (this.tableDataLeftBottom.length > 10) {
              if (this.tableDataLeftBottom.length > 9) {
                clearInterval(this.TableDataRollTask)
                this.getLeftBottomData()
              }
            })
          }
        }, this.tableDataLeftBottom.length <= 10 ? 1000 * 15 : 200)
        }, this.tableDataLeftBottom.length <= 9 ? 1000 * 15 : 200)
      })
      // let startValue = 0 // 初始值