yangfeng
2023-10-18 69341e762daf9450dafdc87749813ed801cc50c3
列表公共组件样式修改
3个文件已修改
54 ■■■■■ 已修改文件
src/components/makepager/CommonFormTableView.vue 42 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/operate/inventoryAdjustment/index.vue 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/warehouseManage/listingRules/index.vue 10 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/components/makepager/CommonFormTableView.vue
@@ -9,7 +9,9 @@
    >
      <el-table
        :data="tableList.tableData"
        border
        style="width: 100%"
        :height="'calc(100% - 0px)'"
        :class="{ setHeight: isinventory || islistingrules }"
        :header-cell-style="{ background: '#f1f3f8', color: '#000009' }"
        :row-class-name="tableRowClassName"
@@ -552,9 +554,12 @@
    .custom-name {
      display: flex;
      justify-content: center;
      font-size: 12px;
      line-height: 17px;
      font-family: PingFangSC;
      .common-select-btn {
        margin-left: 5px;
        font-size: 18px;
        font-size: 13px;
        cursor: pointer;
      }
    }
@@ -564,21 +569,22 @@
  .el-form-item__label {
    display: none;
  }
  .el-form-item__content {
    // height: 28px; /* 设置高度 */
    line-height: 22px; /* 设置行高 */
  }
  .el-table__footer-wrapper tbody td.el-table__cell {
    background-color: #fff;
    // text-align: right;
    font-weight: bold;
  }
  .el-input--suffix .el-input__inner {
    padding-right: 0px;
  }
  .el-table .cell,
  .el-table th.el-table__cell > .cell {
    padding: 0 5px;
  }
  .el-input__inner {
    text-align: left;
  }
  // .el-input__inner {
  //   text-align: left;
  // }
}
::v-deep .el-table .cell {
@@ -596,27 +602,5 @@
  padding: 6px 0 !important;
  height: 35px;
  text-align: center;
}
::v-deep {
  .el-table .cell .el-button--text.el-button--small {
    padding: 4px 0;
  }
}
::v-deep .el-table .el-table__cell {
  padding: 6px 0 !important;
  height: 35px;
  text-align: center;
}
.overSpread1 {
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0;
  left: 0;
  background: rgba(0, 0, 0, 0);
  z-index: 10;
}
</style>
src/views/operate/inventoryAdjustment/index.vue
@@ -25,7 +25,7 @@
          @tableRowClick="tableRowClick"
        >
          <template slot="tableButton">
            <el-table-column label="操作" width="180" fixed="right" align="center">
            <el-table-column label="操作" width="180" align="center">
              <template slot-scope="scope">
                <span v-if="scope.row.isEdit" @click.stop="handleHistoryClick(scope.row)" class="yes-cursor">
                  <i class="el-icon-refresh-left"></i>
src/views/warehouseManage/listingRules/index.vue
@@ -23,11 +23,11 @@
          @selProductClick="selProductClick"
        >
          <template slot="tableButton">
            <el-table-column label="操作" width="90" fixed="right" align="center">
            <el-table-column label="操作" width="90" align="center">
              <template slot-scope="scope">
                <el-button v-if="scope.row.isEdit" @click.stop="delClick(scope)" type="text" size="small"
                  >删除</el-button
                >
                <span v-if="scope.row.isEdit" @click.stop="delClick(scope)" class="yes-cursor">
                  <span style="color: #2a78fb">删除</span>
                </span>
              </template>
            </el-table-column>
          </template>
@@ -201,9 +201,9 @@
          }).then((res) => {
            console.log(res)
            if (res.code === 200) {
              this.getData()
              let tipStr = this.currentRowId === 0 ? "添加成功" : "修改成功"
              this.$message.success(tipStr)
              this.getData()
            }
          })
        }