|
|
|
@ -2589,10 +2589,6 @@ export default { |
|
|
|
this.$message.warning('请先选择替代!') |
|
|
|
return |
|
|
|
} |
|
|
|
// if (this.detailData.status != null && this.detailData.status !== '' && this.detailData.status !== 'Tentative') { |
|
|
|
// this.$message.warning('不可编辑的替代状态!') |
|
|
|
// return |
|
|
|
// } |
|
|
|
this.componentData = { |
|
|
|
flag: '1', |
|
|
|
site: this.modalData.site, |
|
|
|
@ -2644,10 +2640,6 @@ export default { |
|
|
|
* 编辑模态框 |
|
|
|
*/ |
|
|
|
updateComponentModal (row) { |
|
|
|
// if (this.detailData.status != null && this.detailData.status !== '' && this.detailData.status !== 'Tentative') { |
|
|
|
// this.$message.warning('不可编辑的替代状态!') |
|
|
|
// return |
|
|
|
// } |
|
|
|
this.componentData = { |
|
|
|
flag: '2', |
|
|
|
site: row.site, |
|
|
|
@ -2942,10 +2934,6 @@ export default { |
|
|
|
* 删除子物料 |
|
|
|
*/ |
|
|
|
deleteComponentPart () { |
|
|
|
// if (this.detailData.status != null && this.detailData.status !== '' && this.detailData.status !== 'Tentative') { |
|
|
|
// this.$message.warning('不可编辑的替代状态!') |
|
|
|
// return |
|
|
|
// } |
|
|
|
if (this.checkedDetail.length === 0) { |
|
|
|
this.$message.warning('请选择要删除子物料!') |
|
|
|
return |
|
|
|
|