haoxuan
2024-04-22 6d5a9b68644735008e5fe5a70b2aa483ba3d9a7c
库存调整模块 添加点击自身报错位置id的问题修改
1个文件已修改
8 ■■■■ 已修改文件
src/views/operate/inventoryAdjustment/index.vue 8 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/operate/inventoryAdjustment/index.vue
@@ -35,8 +35,8 @@
                  <i class="el-icon-setting"></i>
                  <span>设置</span>
                </span> -->
                <template v-if="scope.row.status === 3">
                  <span @click.stop="handleUseClick(scope.row)" class="margin_left_5px">
                <template v-if="scope.row.status == 3">
                  <span @click.stop="handleUseClick(scope.row)" class="margin_left_5px cursor_pointer">
                    <i class="el-icon-document"></i>
                    <span>应用</span>
                  </span>
@@ -275,13 +275,13 @@
    },
    // 行点击
    tableRowClick(row, rowIndex) {
      this.locationId = row.locationId
      this.rowIndex = rowIndex
      this.isSel()
      //!this.isNoProduct && this.currentRowId == 0
      if (!this.isNoProduct) {
        this.$message.error("请完成当前保存或取消保存!")
      } else {
        this.locationId = row.locationId
        this.rowIndex = rowIndex
        this.currentRowId = row.id
        this.addTitle = "保存"
        this.showDiscard = true