loulijun2021
2023-05-06 cbcf2f774d7bd505502cf05a09eb38ee553f7c34
src/views/kb/ckgl.vue
@@ -34,7 +34,7 @@
                  <el-table-column
                    prop="voucherdate"
                    label="单据日期"
                    width="140"
                    width="160"
                  >
                    <template slot-scope="{row}">
                      <div v-if="row.voucherdate" class="ellipsis">{{ row.voucherdate.substring(0, 10) }}</div>
@@ -50,15 +50,15 @@
                      <div class="ellipsis">{{ row.wo }}</div>
                    </template>
                  </el-table-column>
                  <el-table-column
                    prop="wkshp_name"
                    label="生产车间"
                    width="105"
                  >
                    <template slot-scope="{row}">
                      <div class="ellipsis">{{ row.wkshp_name }}</div>
                    </template>
                  </el-table-column>
                  <!--                  <el-table-column-->
                  <!--                    prop="wkshp_name"-->
                  <!--                    label="生产车间"-->
                  <!--                    width="105"-->
                  <!--                  >-->
                  <!--                    <template slot-scope="{row}">-->
                  <!--                      <div class="ellipsis">{{ row.wkshp_name }}</div>-->
                  <!--                    </template>-->
                  <!--                  </el-table-column>-->
                  <el-table-column
                    prop="saleOrderCode"
                    label="销售订单号"
@@ -81,7 +81,7 @@
                  <el-table-column
                    prop="materiel_name"
                    label="产品名称"
                    width="180"
                    width="205"
                  >
                    <template slot-scope="{row}">
                      <div class="ellipsis">{{ row.materiel_name }}</div>
@@ -100,7 +100,7 @@
                  <el-table-column
                    prop="stck_name"
                    label="预入仓库"
                    width="100"
                    width="120"
                  >
                    <template slot-scope="{row}">
                      <div v-if="row.stck_name" class="ellipsis">{{ row.stck_name }}</div>
@@ -110,7 +110,7 @@
                  <el-table-column
                    prop="quantity"
                    label="数量"
                    width="63"
                    width="83"
                  />
                  <el-table-column
                    prop="totalStockInQuantity"
@@ -140,7 +140,7 @@
                  <el-table-column
                    prop="preFinishDate"
                    label="预计入库"
                    width="140"
                    width="160"
                  >
                    <template slot-scope="{row}">
                      <div v-if="row.preFinishDate">{{ row.preFinishDate.substring(0, 10) }}</div>
@@ -423,13 +423,13 @@
            WareHouseTopLeftData().then(res => {
              this.tableDataTop = res.data
              this.number1 = this.tableDataTop.length
              if (this.tableDataTop.length > 9) {
              if (this.tableDataTop.length > 10) {
                clearInterval(this.tableTopTask)
                this.getWareHouseTopLeftData()
              }
            })
          }
        }, this.tableDataTop.length <= 9 ? 1000 * 3 : 100)
        }, this.tableDataTop.length <= 10 ? 1000 * 15 : 100)
      })
    },
    // 获取左下table数据
@@ -457,7 +457,7 @@
              }
            })
          }
        }, this.tableDataBottom.length <= 10 ? 1000 * 3 : 100)
        }, this.tableDataBottom.length <= 10 ? 1000 * 15 : 100)
      })
    },