| | |
| | | <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> |
| | |
| | | }, |
| | | // 行点击 |
| | | 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 |