|
|
|
@ -249,6 +249,7 @@
|
|
|
|
|
:key="item.attachId"
|
|
|
|
|
:label="item.attachName"
|
|
|
|
|
:value="item.attachId"
|
|
|
|
|
:disabled="isOptionDisabled(item.attachId)"
|
|
|
|
|
></el-option>
|
|
|
|
|
</el-select>
|
|
|
|
|
</el-form-item>
|
|
|
|
@ -323,6 +324,7 @@
|
|
|
|
|
:key="item.attachId"
|
|
|
|
|
:label="item.attachName"
|
|
|
|
|
:value="item.attachId"
|
|
|
|
|
:disabled="isOptionDisabled(item.attachId)"
|
|
|
|
|
></el-option>
|
|
|
|
|
</el-select>
|
|
|
|
|
</el-form-item>
|
|
|
|
@ -1208,8 +1210,8 @@ export default {
|
|
|
|
|
this.materialBomAttachIdList.push(attachInfo.attachId);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
this.blueprintModel = true;
|
|
|
|
|
});
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
//添加图纸提交
|
|
|
|
@ -1345,8 +1347,8 @@ export default {
|
|
|
|
|
this.materialBomAttachIdList.push(attachInfo.attachId);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
this.sopViewModel = true;
|
|
|
|
|
});
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
//添加sop提交
|
|
|
|
@ -1540,6 +1542,11 @@ export default {
|
|
|
|
|
this.uploadSopList[this.addProductPlanObject.dispatchCode + "-" + this.addProductPlanObject.processId].push(e.attachId);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
isOptionDisabled(attachId) {
|
|
|
|
|
// 根据业务逻辑,禁用某些选项的删除
|
|
|
|
|
return this.materialBomAttachIdList.includes(attachId); // 例如可以禁用某些特定选项
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
},
|
|
|
|
|