loulijun2021
2022-07-30 8d9280f3a6b7346b5ce4751ecccb08ef1012769c
1.修改滚动条问题
已修改4个文件
46 ■■■■ 文件已修改
src/views/kb/cgdd.vue 12 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/kb/ckgl.vue 13 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/kb/kbCommon.css 11 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/kb/zhkb.vue 10 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/kb/cgdd.vue
@@ -68,6 +68,7 @@
                <el-table-column
                  prop="jgdh"
                  label="加工单号"
                  width="207"
                />
                <el-table-column
                  prop="cpmc"
@@ -124,6 +125,7 @@
              <div class="content_head">供应商延期交货排行</div>
              <div class="content_body">
                <el-table
                  ref="tableDataRank"
                  :data="tableDataRank"
                  style="width: 100%;"
                  :header-cell-style="headerCellStyle"
@@ -133,7 +135,7 @@
                  <el-table-column
                    prop="xh"
                    label="序号"
                    width="70"
                    width="75"
                  />
                  <el-table-column
                    prop="cj"
@@ -143,10 +145,11 @@
                  <el-table-column
                    prop="cx"
                    label="产线"
                    width="100"
                    width="120"
                  />
                  <el-table-column
                    prop="cp"
                    width="138"
                    label="产品"
                  />
                  <el-table-column
@@ -531,4 +534,9 @@
::v-deep .el-table__body-wrapper {
  background-color: #000;
}
::v-deep .el-table__body-wrapper::-webkit-scrollbar {
  /* width: 0;宽度为0暗藏 */
  width: 0;
}
</style>
src/views/kb/ckgl.vue
@@ -48,6 +48,7 @@
                  <el-table-column
                    prop="jgdh"
                    label="加工单号"
                    width="207"
                  />
                  <el-table-column
                    prop="cpmc"
@@ -130,6 +131,7 @@
                  <el-table-column
                    prop="jgdh"
                    label="加工单号"
                    width="207"
                  />
                  <el-table-column
                    prop="cpmc"
@@ -198,6 +200,7 @@
              <div class="content_head">库存排行</div>
              <div class="content_body">
                <el-table
                  ref="tableDataRank"
                  :data="tableDataRank"
                  style="width: 100%;"
                  :header-cell-style="headerCellStyle"
@@ -207,7 +210,7 @@
                  <el-table-column
                    prop="xh"
                    label="序号"
                    width="70"
                    width="75"
                  />
                  <el-table-column
                    prop="cj"
@@ -217,10 +220,11 @@
                  <el-table-column
                    prop="cx"
                    label="产线"
                    width="100"
                    width="120"
                  />
                  <el-table-column
                    prop="cp"
                    width="138"
                    label="产品"
                  />
                  <el-table-column
@@ -594,4 +598,9 @@
::v-deep .el-table__body-wrapper{
  background-color: #000;
}
::v-deep .el-table__body-wrapper::-webkit-scrollbar {
  /* width: 0;宽度为0暗藏 */
  width: 0;
}
</style>
src/views/kb/kbCommon.css
@@ -31,6 +31,7 @@
  margin-left: 56px;
  /*margin-left: 40px;*/
}
.kb_headTime{
  position: absolute;
  right: 10px;
@@ -70,14 +71,14 @@
}
/*
定义滚动条高宽及背景
高宽分别对应横竖滚动条的尺寸
*/
::-webkit-scrollbar {
  width: 0;
}
/*::-webkit-scrollbar {*/
/*  width: 0 !important;*/
/*  height: 0 !important;*/
/*  display: none !important;*/
/*}*/
/*scrollbar END*/
src/views/kb/zhkb.vue
@@ -540,6 +540,7 @@
                <el-table-column
                  prop="jgdh"
                  label="加工单号"
                  width="207"
                />
                <el-table-column
                  prop="cpmc"
@@ -616,10 +617,11 @@
                  <el-table-column
                    prop="cx"
                    label="产线"
                    width="100"
                    width="120"
                  />
                  <el-table-column
                    prop="cp"
                    width="138"
                    label="产品"
                  />
                  <el-table-column
@@ -861,7 +863,7 @@
    // setInterval(this.handleData, 2000)
    this.getEcharts()
    // this.gettableDataRankRoll()
    this.gettableDataRankRoll()
  },
  methods: {
@@ -1127,4 +1129,8 @@
  background-color: #000;
}
::v-deep .el-table__body-wrapper::-webkit-scrollbar {
  /* width: 0;宽度为0暗藏 */
  width: 0;
}
</style>