| | |
| | | placeholder="请选择" |
| | | :disabled="row.numberjudge==='N'" |
| | | /> |
| | | <div v-else>{{ row.unit?row.unit:'/' }}</div> |
| | | <div v-else>{{ row.unit ? row.unit : '/' }}</div> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column |
| | |
| | | <template slot-scope="{row}"> |
| | | <div class="operationClass"> |
| | | <el-button v-if="row.isVisible===1" v-waves type="text" @click="saveZjlbRow(row)">确认</el-button> |
| | | <el-button v-if="row.isVisible===1&&isCancel" v-waves type="text" @click="cancelZjlbRow(row)">取消</el-button> |
| | | <el-button v-if="row.isVisible===1&&isCancel" v-waves type="text" @click="cancelZjlbRow(row)">取消 |
| | | </el-button> |
| | | <el-button v-if="row.isVisible!==1" v-waves type="text" @click="editZjlbRow(row)">编辑</el-button> |
| | | <el-button v-if="row.isVisible!==1" v-waves type="text" @click="delZjlbRow(row)">删除</el-button> |
| | | </div> |
| | |
| | | }) |
| | | }, |
| | | // 修改按钮 |
| | | async edit(operation, row) { |
| | | async edit(operation, row) { |
| | | this.operation = operation |
| | | this.dialogVisible = true |
| | | |
| | |
| | | |
| | | this.isCancel = true |
| | | this.checkitem = [] |
| | | this.CheckItemSelectArr = JSON.parse(JSON.stringify(this.CheckItemSelectAllArr)) |
| | | this.$refs.dialogForm.clearValidate() |
| | | }, |
| | | |