|
|
|
@ -244,7 +244,7 @@ |
|
|
|
<div class="rq"> |
|
|
|
<el-table |
|
|
|
:data="chooseDataList" |
|
|
|
height="345px" |
|
|
|
height="273px" |
|
|
|
border |
|
|
|
style="width:100%"> |
|
|
|
<!-- <el-table-column--> |
|
|
|
@ -351,7 +351,7 @@ |
|
|
|
width="60" |
|
|
|
label="操作"> |
|
|
|
<template slot-scope="scope"> |
|
|
|
<el-link v-if="currentRow.stepId === 10 || currentRow.stepId == null || currentRow.stepId === ''" style="cursor: pointer" @click="deleteChooseDataModal(scope.row)">删除</el-link> |
|
|
|
<el-link style="cursor: pointer" @click="deleteChooseDataModal(scope.row)">删除</el-link> |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
</el-table> |
|
|
|
@ -4132,6 +4132,10 @@ |
|
|
|
|
|
|
|
// 删除所选技术参数卡 |
|
|
|
deleteChooseDataModal (row) { |
|
|
|
if (!(this.currentRow.stepId === 10 || this.currentRow.stepId == null || this.currentRow.stepId === '')) { |
|
|
|
this.$message.warning('变更单已提交,不能删除!') |
|
|
|
return; |
|
|
|
} |
|
|
|
this.$confirm(`是否删除该技术参数卡的变更?`, '提示', { |
|
|
|
confirmButtonText: '确定', |
|
|
|
cancelButtonText: '取消', |
|
|
|
@ -4713,6 +4717,10 @@ |
|
|
|
|
|
|
|
// 新增技术参数卡 |
|
|
|
addChangeDetail () { |
|
|
|
if (!(this.currentRow.stepId === 10 || this.currentRow.stepId == null || this.currentRow.stepId === '')) { |
|
|
|
this.$message.warning('变更单已提交,不能新增!') |
|
|
|
return; |
|
|
|
} |
|
|
|
this.searchData2.buNo = this.modalData.buNo |
|
|
|
technicalSpecificationSearch2(this.searchData2).then(({data}) => { |
|
|
|
if (data.code === 0) { |
|
|
|
|